1 2015-06-25 Joseph Myers <joseph@codesourcery.com>
5 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
6 round-to-nearest internally then recompute results that
7 underflowed to zero in the original rounding mode.
8 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
12 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
13 * sysdeps/i386/fpu/libm-test-ulps: Update.
14 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
18 * NEWS: Fixed description of link with vector math library.
20 2015-06-25 Andreas Schwab <schwab@suse.de>
23 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24 * libio/test-fmemopen.c (do_test): Add test for it.
26 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
29 * Makeconfig (no-pie-ldflag): New.
30 (+link): Set to $(+link-pie) if default to PIE.
31 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
32 * config.make.in (build-pie-default): New.
33 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
35 * configure: Regenerated.
36 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
38 2015-06-24 Roland McGrath <roland@hack.frob.com>
40 * nptl/descr.h (struct pthread): Change type of field setxid_futex
43 * resolv/gai_misc.h (struct waitlist): Change type of field
44 counterp to 'volatile unsigned int *'.
45 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
47 * resolv/getaddrinfo_a.c (getaddrinfo_a):
48 Give local variable TOTAL type 'volatile unsigned int'.
49 (struct async_waitlist): Change type of field counter to 'unsigned int'.
50 * resolv/gai_suspend.c (gai_suspend):
51 Give local variable CNTR type 'unsigned int'.
53 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
54 counterp to 'volatile unsigned int *'.
55 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
56 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
57 (aio_suspend): Give local variable CNTR type 'unsigned int'.
58 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
59 Give local variable TOTAL type 'volatile unsigned int'.
60 (struct async_waitlist): Change type of field counter to 'unsigned int'.
62 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
65 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
66 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
67 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
68 comment for i386/x86-64.
69 (test-xfail-tst-tlsalign-extern-static): Removed.
71 2015-06-24 Joseph Myers <joseph@codesourcery.com>
73 * math/test-double.h: New file.
74 * math/test-float.h: Likewise.
75 * math/test-ldouble.h: Likewise.
76 * math/test-math-inline.h: Likewise.
77 * math/test-math-no-inline.h: Likewise.
78 * math/test-math-scalar.h: Likewise.
79 * math/test-math-vector.h: Likewise.
80 * math/test-vec-loop.h: Remove file. Contents moved into
82 * math/libm-test.inc (MATHCONST): Do not document macro.
83 * math/test-double.c: Include test-double.h, test-math-no-inline.h
84 and test-math-scalar.h.
86 (FUNC_TEST): Likewise.
88 (MATHCONST): Likewise.
89 (PRINTF_EXPR): Likewise.
90 (PRINTF_XEXPR): Likewise.
91 (PRINTF_NEXPR): Likewise.
92 (TEST_DOUBLE): Likewise.
93 (TEST_MATHVEC): Likewise.
94 (__NO_MATH_INLINES): Likewise.
95 * math/test-float.c: Include test-float.h, test-math-no-inline.h
96 and test-math-scalar.h.
98 (FUNC_TEST): Likewise.
100 (MATHCONST): Likewise.
101 (PRINTF_EXPR): Likewise.
102 (PRINTF_XEXPR): Likewise.
103 (PRINTF_NEXPR): Likewise.
104 (TEST_FLOAT): Likewise.
105 (TEST_MATHVEC): Likewise.
106 (__NO_MATH_INLINES): Likewise.
107 * math/test-idouble.c: Include test-double.h, test-math-inline.h
108 and test-math-scalar.h.
109 (FUNC): Remove macro.
110 (FUNC_TEST): Likewise.
112 (MATHCONST): Likewise.
113 (PRINTF_EXPR): Likewise.
114 (PRINTF_XEXPR): Likewise.
115 (PRINTF_NEXPR): Likewise.
116 (TEST_DOUBLE): Likewise.
117 (TEST_MATHVEC): Likewise.
118 (TEST_INLINE): Likewise.
119 (__NO_MATH_INLINES): Likewise.
120 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
122 (FUNC): Remove macro.
123 (FUNC_TEST): Likewise.
125 (MATHCONST): Likewise.
126 (PRINTF_EXPR): Likewise.
127 (PRINTF_XEXPR): Likewise.
128 (PRINTF_NEXPR): Likewise.
129 (TEST_FLOAT): Likewise.
130 (TEST_MATHVEC): Likewise.
131 (TEST_INLINE): Likewise.
132 (__NO_MATH_INLINES): Likewise.
133 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
134 and test-math-scalar.h.
135 (FUNC): Remove macro.
136 (FUNC_TEST): Likewise.
138 (MATHCONST): Likewise.
139 (PRINTF_EXPR): Likewise.
140 (PRINTF_XEXPR): Likewise.
141 (PRINTF_NEXPR): Likewise.
142 (TEST_LDOUBLE): Likewise.
143 (TEST_MATHVEC): Likewise.
144 (TEST_INLINE): Likewise.
145 (__NO_MATH_INLINES): Likewise.
146 * math/test-ldouble.c: Include test-ldouble.h,
147 test-math-no-inline.h and test-math-scalar.h.
148 (FUNC): Remove macro.
149 (FUNC_TEST): Likewise.
151 (MATHCONST): Likewise.
152 (PRINTF_EXPR): Likewise.
153 (PRINTF_XEXPR): Likewise.
154 (PRINTF_NEXPR): Likewise.
155 (TEST_LDOUBLE): Likewise.
156 (TEST_MATHVEC): Likewise.
157 (__NO_MATH_INLINES): Likewise.
158 * math/test-double-vlen2.h: Include test-double.h,
159 test-math-no-inline.h and test-math-vector.h.
160 (FLOAT): Remove macro.
162 (MATHCONST): Likewise.
163 (PRINTF_EXPR): Likewise.
164 (PRINTF_XEXPR): Likewise.
165 (PRINTF_NEXPR): Likewise.
166 (TEST_DOUBLE): Likewise.
167 (TEST_MATHVEC): Likewise.
168 (__NO_MATH_INLINES): Likewise.
171 (WRAPPER_NAME): Likewise.
172 (WRAPPER_DECL): Likewise.
173 (WRAPPER_DECL_ff): Likewise.
174 (WRAPPER_DECL_fFF): Likewise.
175 (VECTOR_WRAPPER): Likewise.
176 (VECTOR_WRAPPER_ff): Likewise.
177 (VECTOR_WRAPPER_fFF): Likewise.
178 (VEC_LEN): New macro.
179 * math/test-double-vlen4.h: Include test-double.h,
180 test-math-no-inline.h and test-math-vector.h.
181 (FLOAT): Remove macro.
183 (MATHCONST): Likewise.
184 (PRINTF_EXPR): Likewise.
185 (PRINTF_XEXPR): Likewise.
186 (PRINTF_NEXPR): Likewise.
187 (TEST_DOUBLE): Likewise.
188 (TEST_MATHVEC): Likewise.
189 (__NO_MATH_INLINES): Likewise.
192 (WRAPPER_NAME): Likewise.
193 (WRAPPER_DECL): Likewise.
194 (WRAPPER_DECL_ff): Likewise.
195 (WRAPPER_DECL_fFF): Likewise.
196 (VECTOR_WRAPPER): Likewise.
197 (VECTOR_WRAPPER_ff): Likewise.
198 (VECTOR_WRAPPER_fFF): Likewise.
199 (VEC_LEN): New macro.
200 * math/test-double-vlen8.h: Include test-double.h,
201 test-math-no-inline.h and test-math-vector.h.
202 (FLOAT): Remove macro.
204 (MATHCONST): Likewise.
205 (PRINTF_EXPR): Likewise.
206 (PRINTF_XEXPR): Likewise.
207 (PRINTF_NEXPR): Likewise.
208 (TEST_DOUBLE): Likewise.
209 (TEST_MATHVEC): Likewise.
210 (__NO_MATH_INLINES): Likewise.
213 (WRAPPER_NAME): Likewise.
214 (WRAPPER_DECL): Likewise.
215 (WRAPPER_DECL_ff): Likewise.
216 (WRAPPER_DECL_fFF): Likewise.
217 (VECTOR_WRAPPER): Likewise.
218 (VECTOR_WRAPPER_ff): Likewise.
219 (VECTOR_WRAPPER_fFF): Likewise.
220 (VEC_LEN): New macro.
221 * math/test-float-vlen4.h: Include test-float.h,
222 test-math-no-inline.h and test-math-vector.h.
223 (FLOAT): Remove macro.
225 (MATHCONST): Likewise.
226 (PRINTF_EXPR): Likewise.
227 (PRINTF_XEXPR): Likewise.
228 (PRINTF_NEXPR): Likewise.
229 (TEST_FLOAT): Likewise.
230 (TEST_MATHVEC): Likewise.
231 (__NO_MATH_INLINES): Likewise.
234 (WRAPPER_NAME): Likewise.
235 (WRAPPER_DECL): Likewise.
236 (WRAPPER_DECL_ff): Likewise.
237 (WRAPPER_DECL_fFF): Likewise.
238 (VECTOR_WRAPPER): Likewise.
239 (VECTOR_WRAPPER_ff): Likewise.
240 (VECTOR_WRAPPER_fFF): Likewise.
241 (VEC_LEN): New macro.
242 * math/test-float-vlen8.h: Include test-float.h,
243 test-math-no-inline.h and test-math-vector.h.
244 (FLOAT): Remove macro.
246 (MATHCONST): Likewise.
247 (PRINTF_EXPR): Likewise.
248 (PRINTF_XEXPR): Likewise.
249 (PRINTF_NEXPR): Likewise.
250 (TEST_FLOAT): Likewise.
251 (TEST_MATHVEC): Likewise.
252 (__NO_MATH_INLINES): Likewise.
255 (WRAPPER_NAME): Likewise.
256 (WRAPPER_DECL): Likewise.
257 (WRAPPER_DECL_ff): Likewise.
258 (WRAPPER_DECL_fFF): Likewise.
259 (VECTOR_WRAPPER): Likewise.
260 (VECTOR_WRAPPER_ff): Likewise.
261 (VECTOR_WRAPPER_fFF): Likewise.
262 (VEC_LEN): New macro.
263 * math/test-float-vlen16.h: Include test-float.h,
264 test-math-no-inline.h and test-math-vector.h.
265 (FLOAT): Remove macro.
267 (MATHCONST): Likewise.
268 (PRINTF_EXPR): Likewise.
269 (PRINTF_XEXPR): Likewise.
270 (PRINTF_NEXPR): Likewise.
271 (TEST_FLOAT): Likewise.
272 (TEST_MATHVEC): Likewise.
273 (__NO_MATH_INLINES): Likewise.
276 (WRAPPER_NAME): Likewise.
277 (WRAPPER_DECL): Likewise.
278 (WRAPPER_DECL_ff): Likewise.
279 (WRAPPER_DECL_fFF): Likewise.
280 (VECTOR_WRAPPER): Likewise.
281 (VECTOR_WRAPPER_ff): Likewise.
282 (VECTOR_WRAPPER_fFF): Likewise.
283 (VEC_LEN): New macro.
284 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
286 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
287 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
288 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
289 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
290 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
291 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
292 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
294 2015-06-24 Roland McGrath <roland@hack.frob.com>
296 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
297 (__getlogin_r): ... this.
299 2015-06-24 Joseph Myers <joseph@codesourcery.com>
302 * math/s_ccosh.c (__ccosh): Compare with least normal value
303 instead of comparing class with FP_SUBNORMAL.
304 * math/s_ccoshf.c (__ccoshf): Likewise.
305 * math/s_ccoshl.c (__ccoshl): Likewise.
306 * math/s_cexp.c (__cexp): Likewise.
307 * math/s_cexpf.c (__cexpf): Likewise.
308 * math/s_cexpl.c (__cexpl): Likewise.
309 * math/s_csin.c (__csin): Likewise.
310 * math/s_csinf.c (__csinf): Likewise.
311 * math/s_csinh.c (__csinh): Likewise.
312 * math/s_csinhf.c (__csinhf): Likewise.
313 * math/s_csinhl.c (__csinhl): Likewise.
314 * math/s_csinl.c (__csinl): Likewise.
315 * math/s_ctan.c (__ctan): Likewise.
316 * math/s_ctanf.c (__ctanf): Likewise.
317 * math/s_ctanh.c (__ctanh): Likewise.
318 * math/s_ctanhf.c (__ctanhf): Likewise.
319 * math/s_ctanhl.c (__ctanhl): Likewise.
320 * math/s_ctanl.c (__ctanl): Likewise.
321 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
322 csin, csinh, ctan and ctanh.
323 * math/auto-libm-test-out: Regenerated.
324 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
325 * sysdeps/i386/fpu/libm-test-ulps: Update.
326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
328 2015-06-24 Roland McGrath <roland@hack.frob.com>
330 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
331 return value is wrong, print the expected value too.
333 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
336 * elf/readlib.c (is_gdb_python_file): New.
337 (process_file): Don't issue errors on filenames with -gdb.py
340 2015-06-24 Joseph Myers <joseph@codesourcery.com>
342 * math/auto-libm-test-in: Add more tests of csin and csinh.
343 * math/auto-libm-test-out: Regenerated.
344 * math/libm-test.inc (csin_test_data): Remove tests moved to
346 (csinh_test_data): Likewise.
349 * math/s_csin.c (__csin): Negate before rather than after possibly
350 overflowing multiplication.
351 * math/s_csinf.c (__csinf): Likewise.
352 * math/s_csinh.c (__csinh): Likewise.
353 * math/s_csinhf.c (__csinhf): Likewise.
354 * math/s_csinhl.c (__csinhl): Likewise.
355 * math/s_csinl.c (__csinl): Likewise.
356 * math/auto-libm-test-in: Add some tests of csin and csinh.
357 * math/auto-libm-test-out: Regenerated.
358 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
359 (csinh_test_data): Likewise.
360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
363 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
364 underflow exception for small results.
366 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
368 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
369 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
370 variable and included header.
371 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
372 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
373 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
374 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
375 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
376 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
377 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
378 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
379 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
380 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
381 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
382 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
383 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
384 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
385 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
386 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
388 2015-06-23 Joseph Myers <joseph@codesourcery.com>
392 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
393 (__sin): Force underflow exception for arguments with small
395 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
396 (__kernel_sinf): Force underflow exception for arguments with
397 small absolute value.
398 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
399 (__kernel_sincosl): Force underflow exception for arguments with
400 small absolute value.
401 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
402 (__kernel_sinl): Force underflow exception for arguments with
403 small absolute value.
404 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
405 (__kernel_sincosl): Force underflow exception for arguments with
406 small absolute value.
407 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
408 (__kernel_sinl): Force underflow exception for arguments with
409 small absolute value.
410 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
411 (__kernel_sinl): Force underflow exception for arguments with
412 small absolute value.
413 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
414 (__kernel_sinf): Force underflow exception for arguments with
415 small absolute value.
416 * math/auto-libm-test-in: Add more tests of sin and sincos.
417 * math/auto-libm-test-out: Regenerated.
421 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
422 (__kernel_standard_l): Use feholdexcept and fesetenv around
423 conversion to double instead of special-casing overflow and
425 * math/libm-test.inc (fmod_test_data): Add more tests.
426 (remainder_test_data): Likewise.
427 (sqrt_test_data): Likewise.
429 2015-06-23 Torvald Riegel <triegel@redhat.com>
432 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
433 atomic_read_barrier, atomic_write_barrier): Define.
434 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
435 atomic_read_barrier, atomic_write_barrier): Define.
437 2015-06-23 Joseph Myers <joseph@codesourcery.com>
439 * math/Makefile [$(PERL) != no]
440 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
441 dependency on libm-test.stmp below the inclusion of Rules.
443 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
445 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
446 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
448 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
449 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
450 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
451 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
452 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
453 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
454 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
455 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
456 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
457 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
458 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
459 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
460 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
461 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
462 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
463 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
464 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
465 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
466 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
468 2015-06-23 Joseph Myers <joseph@codesourcery.com>
471 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
472 intermediate but not final result might underflow.
473 * math/s_csqrtf.c (__csqrtf): Likewise.
474 * math/s_csqrtl.c (__csqrtl): Likewise.
475 * math/auto-libm-test-in: Add more tests of csqrt.
476 * math/auto-libm-test-out: Regenerated.
477 * sysdeps/i386/fpu/libm-test-ulps: Update.
480 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
481 threshold on absolute value of exponent for which scaling is used.
482 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
483 * math/auto-libm-test-in: Add more tests of exp2.
484 * math/auto-libm-test-out: Regenerated.
486 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
489 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
490 when initializing interface list, based on the bug analysis
491 and the patch proposed by Eric Newton.
492 * resolv/tst-res_hconf_reorder.c: New test.
493 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
494 tst-res_hconf_reorder.
495 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
496 and $(shared-thread-library).
497 (tst-res_hconf_reorder-ENV): New variable.
499 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
502 2015-06-22 Joseph Myers <joseph@codesourcery.com>
505 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
506 (__expm1): Force underflow exception for arguments with small
508 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
509 (__expm1f): Force underflow exception for arguments with small
511 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
512 (__expm1): Force underflow exception for arguments with small
514 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
515 (__expm1f): Force underflow exception for arguments with small
517 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
518 Check for small arguments before calling __expm1.
519 * math/auto-libm-test-in: Do not mark underflow exceptions as
520 possibly missing for bug 16353.
521 * math/auto-libm-test-out: Regenerated.
523 2015-06-22 Andreas Schwab <schwab@suse.de>
526 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
529 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
531 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
533 * string/strcoll_l.c: Remove unused struct element idxnow.
535 2015-06-21 Joseph Myers <joseph@codesourcery.com>
538 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
539 underflow and return argument in case of subnormal argument.
540 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
542 * math/auto-libm-test-in: Add more tests of expm1.
543 * math/auto-libm-test-out: Regenerated.
546 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
547 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
549 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
550 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
552 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
553 mark underflow exceptions as possibly missing for bug 16361.
554 * math/auto-libm-test-out: Regenerated.
556 2015-06-19 Joseph Myers <joseph@codesourcery.com>
558 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
559 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
561 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
562 (test-xfail-XOPEN2K8/utmpx.h/conform).
564 * conform/conformtest.pl ($xerrors): New variable.
565 (note_error): New function.
566 (compiletest): New argument $xfail. Use not_error.
568 (top level): Handle xfail- lines. Update calls to compiletest and
569 runtest. Handle xfail- and optional- in headers listed with
571 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
573 (O_SEARCH): Likewise.
574 * conform/data/stropts.h-data (ioctl): Likewise.
575 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
576 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
577 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
578 (msghdr.msg_controllen): Likewise.
579 (cmsghdr.cmsg_len): Likewise.
580 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
581 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
583 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
584 (test-xfail-XPG4/stropts.h/conform): Likewise.
585 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
586 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
587 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
588 (test-xfail-UNIX98/stropts.h/conform): Likewise.
589 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
590 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
591 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
592 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
593 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
594 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
595 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
596 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
597 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
598 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
599 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
600 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
601 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
602 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
603 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
605 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
607 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
608 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
609 definitions for proper unfolding of __MATHDECL_VEC.
611 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
613 * benchtests/bench-strcoll.c:
615 (main): Remove unused variable res.
617 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
619 * timezone/Makefile (%/UTC %/Universal):
620 Generate test-result files for UTC and Universal.
622 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
624 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
626 2015-06-18 Joseph Myers <joseph@codesourcery.com>
629 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
630 for arguments with small absolute value.
631 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
632 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
633 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
634 (__asinh): Force underflow exception for arguments with small
636 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
637 (__asinhf): Force underflow exception for arguments with small
639 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
640 (__asinhl): Force underflow exception for arguments with small
642 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
643 (__asinhl): Force underflow exception for arguments with small
645 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
646 (__asinhl): Force underflow exception for arguments with small
648 * math/auto-libm-test-in: Do not mark underflow exceptions as
649 possibly missing for bug 16350.
650 * math/auto-libm-test-out: Regenerated.
652 * include/bits/ipc.h: Remove file.
653 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
655 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
656 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
657 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
658 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
659 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
660 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
661 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
662 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
663 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
665 * math/auto-libm-test-in: Remove spurious underflow allowance for
667 * math/auto-libm-test-out: Regenerated.
670 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
671 unconditional definition.
672 (MCAST_BLOCK_SOURCE): Likewise.
673 (MCAST_UNBLOCK_SOURCE): Likewise.
674 (MCAST_LEAVE_GROUP): Likewise.
675 (MCAST_JOIN_SOURCE_GROUP): Likewise.
676 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
677 (MCAST_MSFILTER): Likewise.
678 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
680 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
681 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
682 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
683 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
684 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
686 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
688 * NEWS: Mention addition of x86_64 vector sincosf.
689 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
690 * math/test-float-vlen4.h: Likewise.
691 * math/test-float-vlen8.h: Likewise.
692 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
693 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
694 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
695 * sysdeps/x86_64/fpu/Versions: New versions added.
696 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
697 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
698 Added build of SSE, AVX2 and AVX512 IFUNC versions.
699 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
700 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
701 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
702 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
703 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
704 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
705 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
706 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
707 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
708 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
709 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
710 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
711 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
712 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
713 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
714 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
715 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
716 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
717 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
718 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
719 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
721 * NEWS: Mention addition of x86_64 vector sincos.
722 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
723 * math/math.h (__MATHDECL_VEC): New macro.
724 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
725 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
726 declaration under condition.
727 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
728 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
729 TEST_VEC_LOOP change.
730 * math/test-double-vlen4.h: Likewise.
731 * math/test-double-vlen8.h: Likewise.
732 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
733 * math/test-float-vlen4.h: Likewise.
734 * math/test-float-vlen8.h: Likewise.
735 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
736 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
737 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
738 * sysdeps/x86_64/fpu/Versions: New versions added.
739 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
740 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
741 Added build of SSE, AVX2 and AVX512 IFUNC versions.
742 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
743 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
744 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
745 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
746 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
747 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
748 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
749 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
750 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
751 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
752 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
753 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
754 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
755 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
756 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
757 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
758 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
759 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
760 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
761 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
762 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
764 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
765 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
766 redirections for powf.
767 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
768 * sysdeps/x86_64/fpu/Versions: New versions added.
769 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
770 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
771 Added build of SSE, AVX2 and AVX512 IFUNC versions.
772 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
773 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
774 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
775 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
776 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
777 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
778 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
779 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
780 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
781 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
782 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
783 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
784 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
785 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
786 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
787 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
788 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
789 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
790 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
791 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
792 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
793 * math/test-float-vlen16.h: Fixed 2 argument macro.
794 * math/test-float-vlen4.h: Likewise.
795 * math/test-float-vlen8.h: Likewise.
796 * NEWS: Mention addition of x86_64 vector powf.
798 2015-06-17 Joseph Myers <joseph@codesourcery.com>
800 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
802 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
804 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
805 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
806 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
809 * resource/getpriority.c (getpriority): Rename to __getpriority
810 and define as weak alias of __getpriority.
811 * resource/setpriority.c (setpriority): Rename to __setpriority
812 and define as weak alias of __setpriority.
813 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
814 __getpriority and define as weak alias of __getpriority.
815 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
816 __setpriority and define as weak alias of __setpriority.
817 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
819 (setpriority): Use __setpriority as strong name.
820 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
821 __getpriority and define as weak alias of __getpriority.
822 * include/sys/resource.h (__getpriority): Declare. Use
824 (__setpriority): Likewise.
825 (getpriority): Don't use libc_hidden_proto.
826 (setpriority): Likewise.
827 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
828 getpriority. Call __setpriority instead of setpriority.
829 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
833 * misc/getttyent.c (getttynam): Rename to __getttynam and define
834 as weak alias of __getttynam. Use prototype function definition.
835 Call __setttyent, __getttyent and __endttyent instead of
836 setttyent, getttyent and endttyent.
837 (getttyent): Rename to __getttyent and define as weak alias of
838 __getttyent. Call __setttyent instead of setttyent. Call
839 __fgets_unlocked instead of fgets_unlocked.
840 (setttyent): Rename to __setttyent and define as weak alias of
842 (endttyent): Rename to __endttyent and define as weak alias of
844 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
845 (__setttyent): Likewise.
846 (__endttyent): Likewise.
847 (getttyent): Don't use libc_hidden_proto.
848 (setttyent): Likewise.
849 (endttyent): Likewise.
850 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
851 __endttyent instead of setttyent, getttyent and endttyent.
852 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
856 * socket/recv.c (__recv): Use libc_hidden_def.
857 * socket/socket.c (__socket): Likewise.
858 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
859 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
860 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
861 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
862 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
864 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
866 * include/sys/socket.h (__socket): Do not use attribute_hidden.
867 Use libc_hidden_proto.
869 * socket/Versions (libc): Export __recv and __socket at version
871 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
873 (init_mq_netlink): Call __socket instead of socket.
874 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
878 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
879 __mq_timedreceive and define as alias of __mq_timedreceive. Use
881 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
882 define as alias of __mq_timedsend. Use hidden_weak.
883 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
884 __mq_timedsend as strong name.
885 (mq_timedreceive): Use __mq_timedreceive as strong name.
886 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
887 (__mq_timedreceive): Likewise.
888 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
889 __mq_timedreceive instead of mq_timedreceive.
890 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
891 instead of mq_timedsend.
892 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
895 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
896 hidden_def and hidden_weak instead of libc_hidden_def and
898 (top level): Refer to hidden_def in comment.
899 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
900 macro. Use it instead of libc_hidden_def.
901 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
902 specify __GI_* name explicitly.
903 (mq_timedreceive): Likewise.
904 (mq_setattr): Likewise.
907 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
908 __pthread_barrier_init and define as weak alias of
909 __pthread_barrier_init.
910 * sysdeps/sparc/nptl/pthread_barrier_init.c
911 (pthread_barrier_init): Likewise.
912 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
913 __pthread_barrier_wait and define as weak alias of
914 __pthread_barrier_wait.
915 * sysdeps/sparc/nptl/pthread_barrier_wait.c
916 (pthread_barrier_wait): Likewise.
917 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
918 (pthread_barrier_wait): Likewise.
919 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
920 (pthread_barrier_wait): Likewise.
921 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
922 (pthread_barrier_wait): Likewise.
923 * nptl/Versions (libpthread): Export __pthread_barrier_init and
924 __pthread_barrier_wait at version GLIBC_PRIVATE.
925 * include/pthread.h (__pthread_barrier_init): Declare.
926 (__pthread_barrier_wait): Likewise.
927 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
928 Call __pthread_barrier_wait instead of pthread_barrier_wait.
929 (helper_thread): Likewise.
930 (init_mq_netlink): Call __pthread_barrier_init instead of
931 pthread_barrier_init.
934 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
935 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
936 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
937 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
939 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
943 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
944 strong alias of _IO_fflush. Use libc_hidden_def.
945 * libio/iofflush_u.c (fflush_unlocked): Rename to
946 __fflush_unlocked and define as weak alias of __fflush_unlocked.
947 Use libc_hidden_weak.
948 * include/stdio.h (__fflush_unlocked): Declare. Use
950 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
952 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
956 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
957 define as weak alias of __addseverity.
958 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
960 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
961 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
962 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
965 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
967 (__tdelete): Likewise.
969 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
970 __twalk to GLIBC_PRIVATE.
971 * include/search.h (__tsearch): Use libc_hidden_proto.
973 (__tdelete): Likewise.
975 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
976 Call __tdelete instead of tdelete.
977 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
978 tfind. Call __tsearch instead of tsearch.
979 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
980 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
982 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
985 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
986 (dprintf): Define as a weak alias of __dprintf, not a strong
988 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
989 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
991 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
993 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
994 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
997 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
999 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1003 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1004 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
1005 (in6addr_loopback): Rename to __in6addr_loopback and define as
1006 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
1007 * include/netinet/in.h (__in6addr_loopback): Declare. Use
1009 (__in6addr_any): Likewise.
1010 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1012 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1014 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1016 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
1018 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1019 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1020 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1021 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1022 redirections for pow.
1023 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1024 * sysdeps/x86_64/fpu/Versions: New versions added.
1025 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1026 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1027 build of SSE, AVX2 and AVX512 IFUNC versions.
1028 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1029 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1030 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1031 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1032 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1033 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1034 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1035 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1036 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1037 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1038 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1039 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1040 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1041 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1042 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1043 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1044 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1045 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1046 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1047 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1048 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1049 * NEWS: Mention addition of x86_64 vector pow.
1051 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1052 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1053 redirections for expf.
1054 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1055 * sysdeps/x86_64/fpu/Versions: New versions added.
1056 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1057 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1058 build of SSE, AVX2 and AVX512 IFUNC versions.
1059 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1060 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1061 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1062 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1063 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1064 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1065 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1066 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1067 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1068 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1069 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1070 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1071 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1072 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1073 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1074 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1075 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1076 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1077 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1078 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1079 * NEWS: Mention addition of x86_64 vector expf.
1081 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1082 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1083 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1084 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1085 redirections for exp.
1086 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1087 * sysdeps/x86_64/fpu/Versions: New versions added.
1088 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1089 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1090 build of SSE, AVX2 and AVX512 IFUNC versions.
1091 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1092 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1093 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1094 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1095 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1096 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1097 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1098 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1099 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1100 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1101 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1102 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1103 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1104 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1105 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1106 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1107 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1108 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1109 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1110 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1111 * NEWS: Mention addition of x86_64 vector exp.
1113 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1114 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1115 redirections for logf.
1116 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1117 * sysdeps/x86_64/fpu/Versions: New versions added.
1118 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1119 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1120 build of SSE, AVX2 and AVX512 IFUNC versions.
1121 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1122 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1123 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1124 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1125 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1126 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1127 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1128 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1129 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1130 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1131 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1132 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1133 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1134 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1135 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1136 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1137 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1138 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1139 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1140 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1141 * NEWS: Mention addition of x86_64 vector logf.
1143 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1144 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1145 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1146 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1147 redirections for log.
1148 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1149 * sysdeps/x86_64/fpu/Versions: New versions added.
1150 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1151 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1152 build of SSE, AVX2 and AVX512 IFUNC versions.
1153 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1154 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1155 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1156 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1157 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1158 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1159 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1160 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1161 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1162 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1163 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1164 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1165 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1167 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1168 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1169 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1170 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1171 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1172 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1173 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1174 * NEWS: Mention addition of x86_64 vector log.
1176 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1178 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1179 cfi_adjust_cfa_offset argument.
1180 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1181 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1184 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1185 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1186 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1187 ordering using ldar.
1188 (_dl_tlsdesc_dynamic): Likewise.
1189 (_dl_tlsdesc_return_lazy): Likewise.
1190 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1191 relaxed atomics instead of volatile and synchronize with release store.
1192 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1194 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1196 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1198 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1199 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1200 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1201 * sysdeps/x86_64/fpu/Versions: New versions added.
1202 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1203 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1204 build of SSE, AVX2 and AVX512 IFUNC versions.
1205 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1206 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1207 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1208 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1209 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1210 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1211 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1212 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1213 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1214 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1215 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1216 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1217 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1218 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1219 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1220 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1221 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1222 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1223 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1224 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1225 * NEWS: Mention addition of x86_64 vector sinf.
1227 2015-06-14 Joseph Myers <joseph@codesourcery.com>
1229 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1230 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1231 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1233 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1234 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1236 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1239 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1240 strong alias of _IO_fputs. Use libc_hidden_def.
1241 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1242 and define as weak alias of __fputs_unlocked. Use
1244 * include/stdio.h (__fputs_unlocked): Declare. Use
1246 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1250 * resolv/netdb.h [__USE_POSIX]: Change condition to
1252 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1254 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1255 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1256 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1257 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1258 [XPG4 || UNIX98] (AI_ALL): Likewise.
1259 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1260 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1261 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1262 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1263 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1264 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1265 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1266 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1267 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1268 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1269 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1270 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1271 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1272 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1273 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1274 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1275 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1276 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1277 [XPG4 || UNIX98] (gai_strerror): Likewise.
1278 [XPG4 || UNIX98] (getaddrinfo): Likewise.
1279 [XPG4 || UNIX98] (getnameinfo): Likewise.
1282 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1283 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1285 (getgrent): Likewise.
1286 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1288 [XPG3 || POSIX2008] (endgrent): Likewise.
1289 [XPG3] (setgrent): Likewise.
1290 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1292 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1295 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1296 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1297 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1298 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1299 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1300 * include/unistd.h (__getlogin_r): Declare. Use
1302 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1303 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1305 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1306 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1307 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1309 2015-06-12 Martin Sebor <msebor@redhat.com>
1312 * Makerules (check-install-supported): New target.
1313 (install): Add check-install-supported as a dependency.
1314 * manual/install.texi (Installing the C Library): Document
1315 that overriding prefix and exec_prefix is not supported.
1317 * INSTALL: Regenerate from the above.
1319 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1322 * posix/Versions (libc): Export __libc_pread at version
1324 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1326 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1331 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1332 (cvt_symbol): Use weak_alias instead of strong_alias.
1333 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1334 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1336 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1337 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1340 * inet/herrno.c (h_errno): Rename to __h_errno.
1341 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1342 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1343 to __h_errno instead of h_errno.
1344 * nptl/herrno.c (h_errno): Rename to __h_errno.
1345 (__h_errno_location): Refer to __h_errno not h_errno.
1346 * resolv/Versions (h_errno): Rename to __h_errno.
1347 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1349 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1351 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1353 * configure.ac: More strict check for AVX512 assembler support.
1354 * configure: Regenerated.
1356 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1357 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1358 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1359 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1360 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1361 * sysdeps/x86_64/fpu/Versions: New versions added.
1362 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1363 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1364 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1365 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1366 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1367 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1368 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1369 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1370 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1371 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1372 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1373 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1374 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1375 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1376 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1377 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1379 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1380 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1381 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1382 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1383 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1384 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1385 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1386 * NEWS: Mention addition of x86_64 vector sin.
1388 2015-06-11 Florian Weimer <fweimer@redhat.com>
1390 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1393 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1396 * nptl/pt-interp.c: New file.
1397 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1399 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1400 $(common-objpfx)runtime-linker.h.
1402 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1404 * Makeconfig (+interp): Remove unused variable.
1405 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1406 only. Depend on $(common-objpfx)runtime-linker.h instead of
1407 $(elf-objpfx)runtime-linker.h.
1408 ($(elf-objpfx)runtime-linker.h): Rename to
1409 $(common-objpfx)runtime-linker.h and move ...
1410 * Makerules [$(build-shared) = yes]: ... here.
1411 * elf/interp.c: Include <runtime-linker.h> instead of
1412 <elf/runtime-linker.h>.
1414 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1416 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1417 (__gettimeofday_syscall): Remove vsyscall fallback.
1418 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1419 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1420 Add syscall fallback function.
1421 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1422 if vDSO is not present.
1423 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1425 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1428 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1430 2015-06-09 Joseph Myers <joseph@codesourcery.com>
1433 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1435 (wcscmp): Define as weak alias of WCSCMP.
1436 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1438 (USE_HIDDEN_DEF): Define.
1439 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1440 __wcscoll. Don't use libc_hidden_weak.
1441 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1443 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1444 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1446 (weak_alias): Undefine and redefine.
1447 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1448 __wcscmp and define as weak alias of __wcscmp.
1449 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1450 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1451 (__wcscoll): Likewise.
1452 (wcscmp): Don't use libc_hidden_proto.
1453 (wcscoll): Likewise.
1454 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1456 * posix/regexec.c (check_node_accept_bytes): Likewise.
1457 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1459 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1460 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1463 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1464 __fstatvfs and define as weak alias of __fstatvfs. Use
1466 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1467 and define as weak alias of __statvfs. Use libc_hidden_weak.
1468 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1469 Define as alias of __fstatvfs, not fstatvfs.
1470 (fstatvfs64): Likewise.
1471 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1472 Define as alias of __statvfs, not statvfs.
1473 (statvfs64): Likewise.
1474 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1477 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1480 (HAVE_GETCPU_VSYSCALL): Define.
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1482 (HAVE_GETCPU_VSYSCALL): Likewise.
1483 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1484 * sysdeps/unix/sysv/linux/sched_getcpu.c
1485 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1486 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1487 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1489 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1490 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1491 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1494 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1495 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1496 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1497 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1499 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1501 * sysdeps/x86_64/fpu/Makefile: New file.
1502 * sysdeps/x86_64/fpu/Versions: New file.
1503 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1504 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1505 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1506 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1507 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1508 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1509 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1510 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1511 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1512 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1513 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1514 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1515 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1516 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1517 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1518 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1519 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1520 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1521 * sysdeps/x86_64/configure: Regenerated.
1522 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1523 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1524 * manual/install.texi (Configuring and compiling): Document
1526 * INSTALL: Regenerated.
1527 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1529 * math/Makefile: Added rules for vector tests.
1530 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1531 declaration under condition.
1532 * math/test-double-vlen2.h: New file.
1533 * math/test-double-vlen4.h: New file.
1534 * math/test-double-vlen8.h: New file.
1535 * math/test-vec-loop.h: Added initialization macro.
1536 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1537 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1538 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1539 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1540 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1541 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1542 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1543 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1544 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1545 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1546 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1548 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1549 * sysdeps/x86_64/fpu/Versions: New versions added.
1550 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1551 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1552 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1553 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1554 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1555 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1556 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1557 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1558 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1559 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1560 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1561 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1562 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1563 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1564 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1565 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1566 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1567 * NEWS: Mention addition of x86_64 vector cosf.
1569 * math/Makefile: Added CFLAGS for new tests.
1570 * math/test-float-vlen16.h: New file.
1571 * math/test-float-vlen4.h: New file.
1572 * math/test-float-vlen8.h: New file.
1573 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1574 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1575 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1576 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1577 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1578 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1579 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1580 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1581 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1582 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1583 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1585 2015-06-09 Marko Myllynen <myllynen@redhat.com>
1587 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1588 * locale/programs/ld-ctype.c: Likewise.
1590 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1592 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1593 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1594 bit_ZMM16_31_state): New macro.
1595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1596 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1598 2015-06-08 Joseph Myers <joseph@codesourcery.com>
1600 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1602 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1604 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1606 2015-06-05 Joseph Myers <joseph@codesourcery.com>
1609 * libio/memstream.c (open_memstream): Rename to __open_memstream
1610 and define as weak alias of __open_memstream.
1611 * include/stdio.h (__open_memstream): Declare. Use
1613 (open_memstream): Don't use libc_hidden_proto.
1614 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1616 * posix/getopt.c (_getopt_internal_r): Likewise.
1617 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1619 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1620 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1621 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1624 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1628 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1629 [__USE_XOPEN2K8]. Remove redundant #endif.
1630 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1631 Remove redundant #if.
1632 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1634 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1635 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1638 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1639 (__iswlower): Likewise.
1640 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1641 (__iswlower): Likewise.
1642 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1643 instead of towlower.
1644 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1645 instead of iswlower. Call __towupper instead of towupper.
1646 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1647 instead of iswalnum.
1649 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1651 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1654 2015-06-05 Florian Weimer <fweimer@redhat.com>
1658 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1659 Check for overflow properly. Check for O_APPEND. Ignore large
1660 file system block sizes. Add comments about problems.
1661 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1662 * manual/filesys.texi (Storage Allocation): New node.
1664 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1666 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1667 cancellable syscalls.
1668 (SYS_ify): Add guard to no redefine it.
1669 (INLINE_SYSCALL): Likewise.
1670 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1671 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1672 SYSCALL_CANCEL instead.
1673 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1674 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1675 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1676 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1677 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1678 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1679 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1680 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1681 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1682 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1683 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1684 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1685 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1686 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1687 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1688 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1690 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1691 (__libc_pread64): Likewise.
1692 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1693 (__libc_preadv): Likewise.
1694 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1695 (__libc_readv64): Likewise.
1696 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1697 (__libc_pwrite): Likewise.
1698 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1699 (__libc_pwrite64): Likewise.
1700 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1701 (__libc_pwritev): Likewise.
1702 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1703 (__libc_pwritev64): Likewise.
1704 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1705 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1706 (sync_file_range): Likewise.
1707 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1709 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1711 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1712 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1713 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1714 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1715 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1716 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1717 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1718 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1722 (__libc_read64): Likewise.
1723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1732 (__libc_pread64): Likewise.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1736 (__libc_pwrite64): Likewise.
1737 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1738 (sync_file_range): Likewise.
1739 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1740 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1741 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1742 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1743 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1744 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1745 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1746 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1747 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1748 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1749 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1750 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1751 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1752 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1753 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1754 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1755 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1756 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1757 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1759 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1761 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1762 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1764 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1765 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1766 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1767 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1769 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1770 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1771 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1772 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1773 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1775 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1777 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1779 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1780 Use VDSO routines for gettimeofday, clock_gettime if
1782 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1783 Declare VDSO symbols.
1784 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1785 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1786 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1787 * sysdeps/unix/sysv/linux/arm/Versions: Add
1788 __vdso_clock_gettime.
1790 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1792 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1793 be an inline implementation regardless of library is built within.
1794 (open_not_cancel_2): Likewise.
1795 (__read_nocancel): Likewise.
1796 (__write_nocancel): Likewise.
1797 (openat_not_cancel): Likewise.
1798 (openat_not_cancel_3): Likewise.
1799 (openat64_not_cancel): Likewise.
1800 (openat64_not_cancel_3): Likewise.
1801 (__close_nocancel): Likewise.
1802 (pause_not_cancel): Likewise.
1803 (nanosleep_not_cancel): Likewise.
1804 (sigsuspend_not_cancel): Likewise.
1806 2015-06-04 Torvald Riegel <triegel@redhat.com>
1809 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1811 (__pthread_rwlock_rdlock_slow): Likewise.
1812 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1814 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1816 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1817 * nptl/tst-rwlock16.c: New file.
1818 * nptl/Makefile (tests): Add new test.
1820 2015-06-04 Torvald Riegel <triegel@redhat.com>
1823 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1824 missing wake-up of readers.
1825 * nptl/tst-rwlock15.c: New file.
1826 * nptl/Makefile (tests): Add new test.
1828 2015-06-03 Roland McGrath <roland@hack.frob.com>
1830 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1831 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1832 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1833 and __nacl_supply_interface_rtld.
1834 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1835 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1836 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1837 Add __nacl_supply_interface_rtld.
1838 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1840 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1842 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1844 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1845 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1847 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1849 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1850 __signbit* with standard C99 macros.
1851 * math/e_exp10l.c: Likewise.
1852 * math/e_exp2l.c: Likewise.
1853 * math/e_scalb.c: Likewise.
1854 * math/e_scalbf.c: Likewise.
1855 * math/e_scalbl.c: Likewise.
1856 * math/s_ldexp.c: Likewise.
1857 * math/s_ldexpf.c: Likewise.
1858 * math/s_ldexpl.c: Likewise.
1859 * math/w_atan2.c: Likewise.
1860 * math/w_atan2f.c: Likewise.
1861 * math/w_atan2l.c: Likewise.
1862 * math/w_cosh.c: Likewise.
1863 * math/w_coshf.c: Likewise.
1864 * math/w_coshl.c: Likewise.
1865 * math/w_exp10.c: Likewise.
1866 * math/w_exp10f.c: Likewise.
1867 * math/w_exp10l.c: Likewise.
1868 * math/w_exp2.c: Likewise.
1869 * math/w_exp2f.c: Likewise.
1870 * math/w_exp2l.c: Likewise.
1871 * math/w_fmod.c: Likewise.
1872 * math/w_fmodf.c: Likewise.
1873 * math/w_fmodl.c: Likewise.
1874 * math/w_hypot.c: Likewise.
1875 * math/w_hypotf.c: Likewise.
1876 * math/w_hypotl.c: Likewise.
1877 * math/w_jnl.c: Likewise.
1878 * math/w_lgamma.c: Likewise.
1879 * math/w_lgamma_r.c: Likewise.
1880 * math/w_lgammaf.c: Likewise.
1881 * math/w_lgammaf_r.c: Likewise.
1882 * math/w_lgammal.c: Likewise.
1883 * math/w_lgammal_r.c: Likewise.
1884 * math/w_pow.c: Likewise.
1885 * math/w_powf.c: Likewise.
1886 * math/w_powl.c: Likewise.
1887 * math/w_remainder.c: Likewise.
1888 * math/w_remainderf.c: Likewise.
1889 * math/w_remainderl.c: Likewise.
1890 * math/w_scalb.c: Likewise.
1891 * math/w_scalbf.c: Likewise.
1892 * math/w_scalbl.c: Likewise.
1893 * math/w_scalbln.c: Likewise.
1894 * math/w_scalblnf.c: Likewise.
1895 * math/w_scalblnl.c: Likewise.
1896 * math/w_sinh.c: Likewise.
1897 * math/w_sinhf.c: Likewise.
1898 * math/w_sinhl.c: Likewise.
1899 * math/w_tgamma.c: Likewise.
1900 * math/w_tgammaf.c: Likewise.
1901 * math/w_tgammal.c: Likewise.
1902 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1903 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1904 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1905 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1906 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1908 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1909 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1910 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1911 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1912 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1913 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1914 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1915 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1916 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1917 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1918 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1919 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1920 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1921 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1922 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1923 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1924 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1925 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1926 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1927 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1928 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1929 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1930 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1931 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1932 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1933 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1934 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1935 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1936 * stdio-common/printf_fp.c: Likewise.
1937 * stdio-common/printf_fphex.c: Likewise.
1938 * stdio-common/printf_size.c: Likewise.
1940 2015-06-03 Joseph Myers <joseph@codesourcery.com>
1943 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1945 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1947 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1948 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1949 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1950 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1951 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1952 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1953 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1954 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1955 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1956 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1959 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1960 weak alias of __wmemchr. Use libc_hidden_weak.
1961 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
1962 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1965 2015-06-02 Roland McGrath <roland@hack.frob.com>
1968 * elf/tst-tlsalign-extern.c: New file.
1969 * elf/tst-tlsalign-extern-static.c: New file.
1970 * elf/tst-tlsalign-vars.c: New file.
1971 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1972 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1973 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1974 ($(objpfx)tst-tlsalign-extern-static): Likewise.
1975 (test-xfail-tst-tlsalign-extern-static): New variable.
1977 2015-06-02 Joseph Myers <joseph@codesourcery.com>
1979 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1980 Use variable name _sc_err instead of err.
1981 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1983 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1984 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1985 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1986 (INLINE_SYSCALL): Likewise.
1988 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1989 * include/string.h (__strnlen): Use libc_hidden_proto.
1990 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1991 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1992 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1993 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1994 (libc_hidden_def): Undefine and redefine.
1995 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1996 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1998 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2000 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2003 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2004 weak alias of __towlower. Use libc_hidden_weak.
2005 (towupper): Rename to __towupper and define as weak alias of
2006 __towupper. Use libc_hidden_weak.
2007 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
2008 (__towupper): Likewise.
2009 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2010 __towlower instead of towlower.
2012 2015-06-02 Roland McGrath <roland@hack.frob.com>
2014 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2015 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2017 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2019 * sysdeps/aarch64/libm-test-ulps: Update.
2021 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2023 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2025 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2027 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2028 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2029 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2030 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2031 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2033 2015-06-01 Martin Sebor <msebor@redhat.com>
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2037 (__setcontext): Use extended four-operand version of mtsf whenever
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2040 (__novec_swapcontext): Likewise.
2042 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2044 * benchtests/scripts/compare_bench.py: New file.
2045 * benchtests/scripts/import_bench.py (mean): New function.
2046 (split_list): Likewise.
2047 (do_for_all_timings): Likewise.
2048 (compress_timings): Likewise.
2050 * benchtests/scripts/import_bench.py: New file.
2051 * benchtests/scripts/validate_benchout.py: Import import_bench
2052 instead of jsonschema.
2053 (validate_bench): Remove function.
2054 (main): Use import_bench.
2056 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
2058 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2059 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2061 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2065 2015-05-28 Roland McGrath <roland@hack.frob.com>
2067 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2068 set THREAD_SELF->tid to a magic value and futex-wake it.
2069 Pass its address to the thread_exit system call.
2070 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2072 * sysdeps/nacl/lowlevellock.h: New file.
2073 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2075 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2076 Add TIMEOUT to current time, don't subtract it.
2078 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2081 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2082 ($(objpfx)tst-audit2.out): Also depend on
2083 $(objpfx)tst-auditmod9b.so.
2084 * elf/tst-audit2.c: Include <dlfcn.h>.
2085 (calloc_called): New.
2086 (calloc): Allow to be called more than once.
2087 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2089 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2091 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2092 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2094 2015-05-27 Marko Myllynen <myllynen@redhat.com>
2096 * stdlib/monetary.h: Fix comment.
2098 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2100 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2101 Avoid using variables in #defines that might cause shadowing.
2102 (INTERNAL_VSYSCALL_CALL): Likewise.
2104 2015-05-26 Roland McGrath <roland@hack.frob.com>
2106 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2108 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2109 * nptl/lll_timedlock_wait.c: ... to this new file.
2110 * nptl/Makefile (libpthread-routines): Add it.
2111 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2112 * nptl/lll_timedwait_tid.c: ... to this new file.
2113 * nptl/Makefile (libpthread-routines): Add it.
2114 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2115 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2116 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2117 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2118 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2119 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2120 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2121 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2122 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2123 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2125 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2127 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2128 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2129 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2130 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2131 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2132 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2133 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2134 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2135 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2136 * sysdeps/unix/sysv/linux/tile/sysdep.h
2137 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2138 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2139 using vDSO syscall macro.
2141 2015-05-26 Andriy Rysin <arysin@gmail.com>
2144 * uk_UA: Fix sorting order for Ukrainian locale
2146 2015-05-26 Marko Myllynen <myllynen@redhat.com>
2148 * stdlib/monetary.h: Fix comment.
2150 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2153 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2154 st_mtim and st_ctim members.
2155 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2156 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2157 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2158 (struct stat64): Likewise.
2159 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2160 (struct stat64): Likewise.
2161 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2162 (struct stat64): Likewise.
2164 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2166 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2167 Define and include sysdep-vdso.h.
2168 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2170 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2172 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2173 Define with VDSO_SYMBOL and use PTR_MANGLE.
2174 (__vdso_clock_gettime): Likewise.
2175 (__vdso_clock_getres): Likewise.
2176 (_libc_vdso_platform_setup): Likewise.
2177 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2179 (_libc_vdso_platform_setup): Likewise.
2180 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2182 (__vdso_clock_gettime): Likewise.
2183 (__vdso_clock_getres): Likewise.
2184 (__vdso_get_tbfreq): Likewise.
2185 (__vdso_getcpu): Likewise.
2186 (__vdso_time): Likewise.
2187 (__vdso_sigtramp_rt64): Likewise.
2188 (__vdso_signtramp32): Likewise.
2189 (__vdso_sigtramp_rt32): Likewise.
2190 (_libc_vdso_platform_setup): Likewise.
2191 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2193 (__vdso_clock_gettime): Likewise.
2194 (__vdso_clock_getres): Likewise.
2195 (_libc_vdso_platform_setup): Likewise.
2196 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2198 (__vdso_clock_gettime): Likewise.
2199 (_libc_vdso_platform_setup): Likewise.
2200 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2202 (__vdso_getcpu): Likewise.
2203 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2204 Use VDSO_SYMBOL macro to define.
2205 (__vdso_clock_gettime): Likewise.
2206 (__vdso_clock_getres): Likewise.
2207 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2209 (__vdso_clock_gettime): Likewise.
2210 (__vdso_clock_getres): Likewise.
2211 (__vdso_get_tbfreq): Likewise.
2212 (__vdso_getcpu): Likewise.
2213 (__vdso_time): Likewise.
2214 (__vdso_sigtramp_rt64): Likewise.
2215 (__vdso_signtramp32): Likewise.
2216 (__vdso_sigtramp_rt32): Likewise.
2217 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2219 (__vdso_clock_gettime): Likewise.
2220 (__vdso_clock_getres): Likewise.
2221 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2223 (__vdso_clock_gettime): Likewise.
2224 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2226 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2228 (INTERNAL_VSYSCALL): Likewise.
2229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2231 (INTERNAL_VSYSCALL): Likewise.
2232 (INTERNAL_VSYSCALL_NCS): Likewise.
2233 (INTERNAL_VSYSCALL_CALL): New macro.
2234 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2235 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2237 (INTERNAL_VSYSCALL): Likewise.
2238 (INTERNAL_VSYSCALL_NCS): Likewise.
2239 (INTERNAL_VSYSCALL_CALL): New macro.
2240 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2242 (INLINE_VSYSCALL): Remove macro.
2243 (INTERNAL_VSYSCALL): Remove macro.
2244 (INTERNAL_VSYSCALL_NCS): Remove macro.
2245 (INTERNAL_VSYSCALL_CALL): New macro.
2246 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2247 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2248 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2249 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2250 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2252 (INLINE_VSYSCALL): Remove macro.
2253 (INTERNAL_VSYSCALL): Likewise.
2254 (INTERNAL_VSYSCALL_NCS): Likewise.
2255 (INTERNAL_VSYSCALL_CALL): New macro.
2256 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2257 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2258 PTR_DEMANGLE on vDSO pointer.
2259 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2260 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2262 (INTERNAL_SYSCALL): Likewise.
2263 (INTERNAL_VSYSCALL_NCS): Remove macro.
2264 (INTERNAL_VSYSCALL_CALL): New macro.
2265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2267 (INTERNAL_VSYSCALL): Likewise.
2268 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2269 sysdep-vdso.h instead of libc-vdso.h.
2270 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2272 (INLINE_VSYSCALL): Likewise.
2273 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2274 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2276 (INLINE_VSYSCALL): Likewise.
2277 (INTERNAL_VSYSCALL): Likewise.
2278 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2279 * sysdeps/unix/sysv/linux/timespec_get.c
2280 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2281 (timespec_get): Use ANSI prototype.
2282 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2283 and definition for Linux.
2285 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
2287 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2288 * include/libc-symbols.h: libmvec_hidden_* macro series added.
2290 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
2293 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2294 for missing DT_PLTRELSZ.
2296 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2298 Remove obsolete aliases that broke 'locale -a'
2300 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2301 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2302 breaking some applications that use 'locale -a' output.
2303 Change the encoding of this file from Latin-1 to ASCII to avoid
2304 other potential problems with people grepping this file.
2306 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2308 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2309 -fasynchronous-unwind-tables.
2310 (CFLAGS-sendto.c): Likewise.
2311 (CFLAGS-sendmsg.c): Likewise.
2312 (CFLAGS-connect.c): Likewise.
2313 (CFLAGS-recvmsg.c): Likewise.
2314 (CFLAGS-recvfrom.c): Likewise.
2315 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2316 (SOCKETCALL): New macro: non-cancellable socketcall.
2317 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2318 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2319 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2320 * sysdeps/unix/sysv/linux/accept.c: New file.
2321 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2322 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2323 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2324 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2325 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2326 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2327 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2328 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2329 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2330 * sysdeps/unix/sysv/linux/send.c: Likewise.
2331 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2332 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2333 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2334 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2335 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2336 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2337 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2339 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2340 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2341 instead of __internal_xxx function.
2342 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2344 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2345 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2346 instead of __internal_xxx function.
2347 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2349 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2350 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2351 instead of __internal_xxx function.
2352 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2353 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2354 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2355 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2356 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2357 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2358 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2359 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2360 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2361 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2362 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2363 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2364 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2365 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2366 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2367 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2368 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2369 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2370 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2371 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2374 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2375 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2376 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2377 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2378 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2379 * sysdeps/unix/sysv/linux/send.S: Likewise.
2380 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2381 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2382 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2383 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2384 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2385 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2386 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2387 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2388 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2389 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2390 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2391 socketcall is implemented in GLIBC.
2393 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2395 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2396 (__fma): Ignore uninitialized warnings around packing.
2397 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2398 (__fmaf): Ignore uninitialized warnings around packing.
2399 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2400 (__fmal): Ignore uninitialized warnings around packing.
2402 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2403 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2404 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2405 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2407 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2408 switch statement into default case.
2409 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2411 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2412 a conditional in forcing "inexact".
2413 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2416 2015-05-22 Roland McGrath <roland@hack.frob.com>
2418 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2419 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2420 for each INTERNAL_SYSCALL use.
2422 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2425 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2426 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2430 * string/basename.c (basename): Rename to __basename and define as
2431 weak alias of __basename. Use libc_hidden_weak.
2432 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2433 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2434 __basename instead of basename.
2435 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2437 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2439 2015-05-18 Florian Weimer <fweimer@redhat.com>
2441 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2442 (_IO_JUMPS_FILE_plus): New.
2443 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2444 _IO_CAST_FIELD_ACCESS.
2445 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2446 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2447 * libio/freopen.c (freopen): Likewise.
2448 * libio/freopen64.c (freopen64): Likewise.
2449 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2450 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2451 * libio/iofwide.c (_IO_fwide): Likewise.
2452 * libio/memstream.c (open_memstream): Likewise.
2453 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2454 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2455 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2457 2015-05-21 Joseph Myers <joseph@codesourcery.com>
2459 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2460 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2462 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2463 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2465 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2466 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2469 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2472 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2473 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2475 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2476 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2477 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2479 2015-05-21 Florian Weimer <fweimer@redhat.com>
2481 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2482 Adjust jump table label generation macros.
2484 2015-05-21 Florian Weimer <fweimer@redhat.com>
2486 * stdio-common/vfprintf.c (vfprintf): Move local variables
2487 args_malloced, specs, specs_malloced, and the code after
2488 do_positional to the printf_positional function.
2489 (printf_positional): New function.
2491 2015-05-21 Florian Weimer <fweimer@redhat.com>
2493 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2495 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2496 STEP4_TABLE, process_arg): Move macro definitions
2497 out of the vfprintf function. (Cosmetic change only.)
2499 2015-05-21 Carlos O'Donell <carlos@redhat.com>
2501 * benchtests/Makefile (stdio-common-bench): Define.
2502 (benchset): Add stdio-common-bench.
2503 * sprintf-inputs: New file.
2504 * sprintf-source.c: New file.
2506 2015-05-21 Andreas Schwab <schwab@suse.de>
2510 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2511 of struct __res_state.
2512 * resolv/res_send.c (__libc_res_nsend): Likewise.
2513 (get_nsaddr): New function.
2514 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2517 2015-05-20 Joseph Myers <joseph@codesourcery.com>
2519 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2520 -D_POSIX_C_SOURCE=199506L.
2522 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2524 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2525 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2526 Do not mention otherwise.
2527 [POSIX] (_XOPEN_VERSION): Do not expect.
2528 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2529 [POSIX] (_POSIX2_C_BIND): Likewise.
2530 [POSIX] (_POSIX2_VERSION): Likewise.
2531 [POSIX] (_XOPEN_XPG2): Likewise.
2532 [POSIX] (_XOPEN_XPG3): Likewise.
2533 [POSIX] (_XOPEN_XPG4): Likewise.
2534 [POSIX] (_XOPEN_UNIX): Likewise.
2535 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2536 [POSIX] (_POSIX_BARRIERS): Likewise.
2537 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2538 [POSIX] (_POSIX_CPUTIME): Likewise.
2539 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2540 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2541 [POSIX] (_POSIX_SHELL): Likewise.
2542 [POSIX] (_POSIX_SPAWN): Likewise.
2543 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2544 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2545 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2546 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2547 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2548 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2549 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2550 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2551 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2552 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2553 [POSIX] (_POSIX2_PBS): Likewise.
2554 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2555 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2556 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2557 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2558 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2559 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2560 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2561 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2562 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2563 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2564 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2565 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2566 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2567 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2568 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2569 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2570 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2571 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2572 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2573 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2574 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2575 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2576 [POSIX] (_SC_2_C_BIND): Likewise.
2577 [POSIX] (_SC_2_C_VERSION): Likewise.
2578 [POSIX] (_SC_2_PBS): Likewise.
2579 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2580 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2581 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2582 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2583 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2584 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2585 [POSIX] (_SC_BARRIERS): Likewise.
2586 [POSIX] (_SC_BASE): Likewise.
2587 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2588 [POSIX] (_SC_DEVICE_IO): Likewise.
2589 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2590 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2591 [POSIX] (_SC_FD_MGMT): Likewise.
2592 [POSIX] (_SC_FIFO): Likewise.
2593 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2594 [POSIX] (_SC_FILE_LOCKING): Likewise.
2595 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2596 [POSIX] (_SC_IOV_MAX): Likewise.
2597 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2598 [POSIX] (_SC_NETWORKING): Likewise.
2599 [POSIX] (_SC_PAGE_SIZE): Likewise.
2600 [POSIX] (_SC_PASS_MAX): Likewise.
2601 [POSIX] (_SC_PIPE): Likewise.
2602 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2603 [POSIX] (_SC_REGEXP): Likewise.
2604 [POSIX] (_SC_SHELL): Likewise.
2605 [POSIX] (_SC_SIGNALS): Likewise.
2606 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2607 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2608 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2609 [POSIX] (_SC_USER_GROUPS): Likewise.
2610 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2611 [POSIX] (_SC_STREAMS): Likewise.
2612 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2613 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2614 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2615 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2616 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2617 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2618 [POSIX] (_PC_FILESIZEBITS): Likewise.
2619 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2620 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2621 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2622 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2623 [POSIX] (uid_t): Likewise.
2624 [POSIX] (gid_t): Likewise.
2625 [POSIX] (off_t): Likewise.
2626 [POSIX] (pid_t): Likewise.
2627 [POSIX] (cuserid): Allow.
2628 (_SC_2_CHAR_TERM): Require constant.
2629 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2630 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2633 2015-05-20 Roland McGrath <roland@hack.frob.com>
2635 * sysdeps/nacl/pthread-pids.h: New file.
2636 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2637 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2639 * nptl/pthread-pids.h: New file.
2640 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2641 * nptl/nptl-init.c: Include <pthread-pids.h>.
2642 (__pthread_initialize_minimal_internal):
2643 Call __pthread_initialize_pids instead of set_tid_address syscall.
2645 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2646 * sysdeps/posix/usleep.c: ... here.
2648 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2650 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2651 call_pselect6 object.
2652 [$(subdir) = io]: Remove call_sync_file_range object.
2653 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2654 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2655 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2656 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2658 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2660 * math/s_cproj.c: Add include "math_private.h".
2661 * math/s_cprojf.c: Likewise.
2662 * math/s_cprojl.c: Likewise.
2664 2015-05-19 Joseph Myers <joseph@codesourcery.com>
2667 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2668 high mantissa bit when testing whether P is a NaN.
2669 * math/libm-test.inc (remainder_test_data): Add more tests.
2670 (remquo_test_data): Likewise.
2673 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2674 below -32, return the argument, with underflow if subnormal.
2675 * math/auto-libm-test-in: Add more tests of atanh.
2676 * math/auto-libm-test-out: Regenerated.
2678 2015-05-19 Roland McGrath <roland@hack.frob.com>
2681 * nptl/tst-sem15.c: New file.
2682 * nptl/Makefile (tests): Add it.
2683 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2684 s/<</>>/ to fix typo in EOVERFLOW check.
2685 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2687 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2689 * manual/strings.texi (envz_remove): Fix typo in safety
2692 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2693 Steve Ellcey <sellcey@imgtec.com>
2695 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2696 in order to avoid strict alias warnings.
2697 (iruserok_af): Ditto for ra.
2699 2015-05-19 James Lemke <jwlemke@codesourcery.com>
2703 (magicbyte): Convert to a function and avoid returning 0x01.
2704 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2705 (mem2chunk_check): Fix unsigned comparisons to zero.
2706 Hoist defs of sz and magic.
2708 2015-05-19 Richard Henderson <rth@redhat.com>
2710 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2712 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2714 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2717 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2718 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2719 (reused_arena): Find a non-corrupt arena.
2720 (heap_trim): Pass arena to unlink.
2721 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2723 (top_check): Likewise.
2724 (free_check): Likewise.
2725 (realloc_check): Likewise.
2726 * malloc/malloc.c (malloc_printerr): Add arena argument.
2728 (munmap_chunk): Adjust.
2729 (ARENA_CORRUPTION_BIT): New macro.
2730 (arena_is_corrupt): Likewise.
2731 (set_arena_corrupt): Likewise.
2732 (sysmalloc): Use mmap if there are no usable arenas.
2733 (_int_malloc): Likewise.
2734 (__libc_malloc): Don't fail if arena_get returns NULL.
2735 (_mid_memalign): Likewise.
2736 (__libc_calloc): Likewise.
2737 (__libc_realloc): Adjust for additional argument to
2739 (_int_free): Likewise.
2740 (malloc_consolidate): Likewise.
2741 (_int_realloc): Likewise.
2742 (_int_memalign): Don't touch corrupt arenas.
2743 * malloc/tst-malloc-backtrace.c: New test case.
2745 * Makefile (summarize-tests): Fix return value on success.
2747 * manual/string.texi (Envz Functions): Add envz_remove.
2749 2015-05-18 Roland McGrath <roland@hack.frob.com>
2751 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2752 (invalid_name): New function, broken out of ...
2753 (__opendirat): ... here. Call it.
2754 (need_isdir_precheck): New function, broken out of ...
2755 (__opendirat): ... here. Call it.
2756 Use __fxstatat64, not __xstatat64.
2757 (opendir_oflags): New function, broken out of ...
2758 (__opendirat): ... here. Call it.
2759 (opendir_tail): New function, broken out of ...
2760 (__opendirat): ... here. Call it.
2761 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2762 opendir_tail, rather than punting to __opendirat.
2763 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2765 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2767 * .gitignore: Ignore generated *.pyc.
2769 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
2771 * include/stdio.h: Define __need_wint_t.
2772 * test-skeleton.c: Avoid `for' loop initial declaration.
2773 * nptl/tst-initializers1.c: Use test-skeleton.c.
2775 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2778 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2780 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2783 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2784 (__ieee754_atanh): Force underflow exception for results with
2785 small absolute value.
2786 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2787 (__ieee754_atanhf): Force underflow exception for results with
2788 small absolute value.
2789 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2790 (__ieee754_atanh): Force underflow exception for results with
2791 small absolute value.
2792 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2793 (__ieee754_atanhf): Force underflow exception for results with
2794 small absolute value.
2795 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2796 (__ieee754_atanhl): Force underflow exception for results with
2797 small absolute value.
2798 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2799 (__ieee754_atanhl): Force underflow exception for results with
2800 small absolute value.
2801 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2802 (__ieee754_atanhl): Force underflow exception for results with
2803 small absolute value.
2804 * math/auto-libm-test-in: Do not allow missing underflow
2805 exceptions from atanh.
2806 * math/auto-libm-test-out: Regenerated.
2809 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2810 2**-28 as threshold for returning x or +/- 1/x.
2811 * math/auto-libm-test-in: Add more tests of tan.
2812 * math/auto-libm-test-out: Regenerated.
2815 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2816 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2817 * math/auto-libm-test-in: Add another test of lgamma.
2818 * math/auto-libm-test-out: Regenerated.
2820 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
2822 * stdio-common/printf_fp.c (___printf_fp): Use abs.
2823 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
2824 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2825 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2826 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
2827 (ADD2A): Use fabs. (SUB2A): Use fabs.
2828 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2829 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2830 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2831 (log1): Use fabs. (my_log2): Use fabs.
2832 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2833 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2834 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2835 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2836 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2837 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
2838 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
2839 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
2840 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
2841 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2842 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2844 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2847 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2848 as threshold for returning 1 - x.
2849 * math/auto-libm-test-in: Add more tests of erfc.
2850 * math/auto-libm-test-out: Regenerated.
2852 2015-05-14 Joseph Myers <joseph@codesourcery.com>
2855 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2856 threshold for large arguments.
2857 * math/auto-libm-test-in: Add another test of atan.
2858 * math/auto-libm-test-out: Regenerated.
2861 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2862 (__log1p): Force underflow exception for results with small
2864 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2865 (__log1pf): Force underflow exception for results with small
2867 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2868 (__log1p): Force underflow exception for results with small
2870 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2871 (__log1pf): Force underflow exception for results with small
2873 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2874 (__log1pl): Force underflow exception for results with small
2876 * math/auto-libm-test-in: Do not allow missing underflow
2877 exceptions from log1p.
2878 * math/auto-libm-test-out: Regenerated.
2880 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
2881 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2884 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2886 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
2888 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2889 (libmvec): New variable.
2890 * configure.ac: Added option for mathvec build.
2891 * configure: Regenerated.
2892 * mathvec/Depend: New file.
2893 * mathvec/Makefile: New file.
2894 * shlib-versions: Added libmvec.
2895 * math/Makefile: Added rule for libm.so installation.
2897 * bits/math-vector.h: New file.
2898 * bits/libm-simd-decl-stubs.h: New header.
2899 * math/Makefile (headers): Added new header
2900 libm-simd-decl-stubs.h.
2901 * math/math.h (__MATHCALL_VEC): New macro.
2903 * math/gen-libm-have-vector-test.sh: Script generates series of macros
2904 for conditions in testing functions.
2905 * math/Makefile: Added call of libm-have-vector-test.sh.
2906 * math/libm-test.inc (HAVE_VECTOR): New macros.
2908 * math/libm-test.inc: START refactored.
2909 * math/test-double.c (TEST_MATHVEC): Add define.
2910 * math/test-float.c: Likewise.
2911 * math/test-idouble.c: Likewise.
2912 * math/test-ifloat.c: Likewise.
2913 * math/test-ildoubl.c: Likewise.
2914 * math/test-ldouble.c: Likewise.
2915 * sysdeps/generic/math-tests-arch.h
2916 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2919 * math/test-double.c (FUNC_TEST): New macro.
2920 * math/test-float.c: Likewise.
2921 * math/test-idouble.c: Likewise.
2922 * math/test-ifloat.c: Likewise.
2923 * math/test-ildoubl.c: Likewise.
2924 * math/test-ldouble.c: Likewise.
2925 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2927 2015-05-13 Roland McGrath <roland@hack.frob.com>
2929 * sysdeps/nacl/fdopendir.c: New file.
2931 * dirent/scandir-tail.c: New file.
2932 * dirent/scandir64-tail.c: New file.
2933 * dirent/Makefile (routines): Add them.
2934 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2935 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2936 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2937 [!SCANDIR] (SCANDIR_TAIL): New macro.
2938 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2939 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2940 (SCANDIRAT): Macro removed.
2941 (SCANDIR_TAIL): New macro.
2942 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2943 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2944 (SCANDIRAT): Just call __opendirat and __scandir_tail.
2945 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2946 (READDIR): Macro removed.
2947 (SCANDIR_TAIL): New macro.
2948 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2949 (SCANDIR_TAIL): New macro.
2951 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2952 * dirent/scandir-cancel.c: ... to this new file.
2953 * dirent/Makefile (routines): Add it.
2954 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2955 * sysdeps/unix/sysv/linux/i386/scandir64.c
2956 (SKIP_SCANDIR_CANCEL): Macro removed.
2957 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2959 * dirent/tst-scandir.c: New file.
2960 * dirent/tst-scandir64.c: New file.
2961 * dirent/Makefile (tests): Add them.
2963 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
2966 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2968 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2970 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2973 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
2975 * benchtests/bench-strcoll.c: New benchmark.
2976 * benchtests/Makefile: Generate locales and run benchmark.
2977 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2978 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2979 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2980 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2981 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2982 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2983 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2984 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2985 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2986 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2987 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2988 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2989 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2990 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2991 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2992 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2993 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2994 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2995 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2996 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2997 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2998 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2999 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3000 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3002 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
3004 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3005 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3007 2015-05-12 Roland McGrath <roland@hack.frob.com>
3009 * posix/uname-values.h: New file.
3010 * posix/uname.c: Include that instead of <config-name.h>.
3011 * sysdeps/nacl/uname-values.h: New file.
3012 * sysdeps/arm/nacl/uname-values.h: New file.
3014 2015-05-12 Joseph Myers <joseph@codesourcery.com>
3016 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3017 splitting into fields.
3019 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
3021 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3022 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3023 * locale/localeinfo.h: Add enum collation_encoding_type.
3024 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3025 * programs/ld-collate.c (collate_output): Add encoding type info.
3026 * string/strcoll_l.c (STRDIFF): New function.
3027 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3028 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3030 2015-05-11 Joseph Myers <joseph@codesourcery.com>
3033 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3034 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3035 <fpu_control.h> instead of <math/fpu_control.c>.
3036 * sysdeps/mips/mips32/fpu/Makefile: New file.
3038 2015-05-11 Andreas Schwab <schwab@suse.de>
3041 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3043 (_nss_compat_endgrent): Call nss_endgrent.
3044 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3046 (_nss_compat_endpwent): Call nss_endpwent.
3047 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3048 needent, call nss_setspent only if non-zero.
3049 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3050 (internal_endspent): Don't call nss_endspent.
3051 (_nss_compat_endspent): Call nss_endspent.
3052 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3053 Remove. All uses removed.
3054 (internal_setent): Remove parameter stayopen, add parameter
3055 stream. Use it instead of global variable.
3056 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3057 (internal_endent, internal_getent): Add parameter stream. Use it
3058 instead of global variable.
3059 (CONCAT(_nss_files_end,ENTNAME))
3060 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3061 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3062 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3064 (internal_setent, internal_endent): Add parameter stream. Use it
3065 instead of global variable.
3066 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3068 (get_next_alias): Add parameter stream.
3069 (_nss_files_getaliasent_r): Pass global stream.
3070 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3071 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3072 (_nss_files_gethostbyname4_r): Pass local stream to
3073 internal_setent, internal_getent and internal_endent. Remove
3076 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3078 * tst-strfmon1.c (tests): Update expected currency symbol.
3080 2015-05-08 Roland McGrath <roland@hack.frob.com>
3082 * sysdeps/nacl/gethostname.c: New file.
3084 2015-05-08 Joseph Myers <joseph@codesourcery.com>
3086 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3088 * math/auto-libm-test-out: Regenerated.
3089 * sysdeps/i386/fpu/libm-test-ulps: Update.
3090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3092 2015-05-08 Carlos O'Donell <carlos@redhat.com>
3095 * stdlib/tst-setcontext3.c: New file.
3096 * stdlib/tst-setcontext3.sh: New file.
3097 * stdlib/Makefile (tests): Add tst-setcontext3.
3098 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3099 to verify test program created output file.
3100 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3101 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3102 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3103 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3105 2015-05-06 Roland McGrath <roland@hack.frob.com>
3108 * elf/tst-tlsalign.c: New file.
3109 * elf/tst-tlsalign-static.c: New file.
3110 * elf/tst-tlsalign-lib.c: New file.
3111 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3112 (tests-static): Add tst-tlsalign-static.
3113 (modules-names): Add tst-tlsalign-lib.
3114 (test-xfail-tst-tlsalign): New variable.
3115 (test-xfail-tst-tlsalign-static): New variable.
3117 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3118 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3120 2015-05-06 Joseph Myers <joseph@codesourcery.com>
3122 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3123 csqrt, erfc, sin and sincos.
3124 * math/auto-libm-test-out: Regenerated.
3125 * sysdeps/i386/fpu/libm-test-ulps: Update.
3126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3128 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3130 * sysdeps/aarch64/libm-test-ulps: Update.
3132 2015-05-05 Joseph Myers <joseph@codesourcery.com>
3134 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3135 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3136 * math/auto-libm-test-out: Regenerated.
3137 * sysdeps/i386/fpu/libm-test-ulps: Update.
3138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3140 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3143 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3144 (wcsncpy): Likewise.
3146 2015-05-05 Florian Weimer <fweimer@redhat.com>
3148 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3149 Assume __ASSUME_FALLOCATE is always true.
3150 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3151 (__posix_fallocate64_l64): Likweise.
3152 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3153 (posix_fallocate): Likewise.
3154 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3155 (__posix_fallocate64_l64): Likewise.
3156 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3157 [!__ASSUME_FALLOCATE]: Add comment.
3159 2015-05-05 Florian Weimer <fweimer@redhat.com>
3161 * sysdeps/unix/sysv/linux/i386/Makefile
3162 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3163 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3164 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3165 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3166 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3167 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3168 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3170 2015-05-02 Joseph Myers <joseph@codesourcery.com>
3172 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3173 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3175 * math/auto-libm-test-out: Regenerated.
3176 * sysdeps/i386/fpu/libm-test-ulps: Update.
3177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3179 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3181 * math/auto-libm-test-in: Add more tests of tgamma.
3182 * math/auto-libm-test-out: Regenerated.
3183 * sysdeps/i386/fpu/libm-test-ulps: Update.
3184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3186 * math/auto-libm-test-in: Add more tests of tanh.
3187 * math/auto-libm-test-out: Regenerated.
3188 * sysdeps/i386/fpu/libm-test-ulps: Update.
3189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3191 * math/auto-libm-test-in: Add more tests of tan.
3192 * math/auto-libm-test-out: Regenerated.
3193 * sysdeps/i386/fpu/libm-test-ulps: Update.
3194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3196 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3197 * math/auto-libm-test-out: Regenerated.
3198 * sysdeps/i386/fpu/libm-test-ulps: Update.
3199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3201 * math/auto-libm-test-in: Add another test of pow.
3202 * math/auto-libm-test-out: Regenerated.
3203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3205 * math/auto-libm-test-in: Add more tests of lgamma.
3206 * math/auto-libm-test-out: Regenerated.
3207 * sysdeps/i386/fpu/libm-test-ulps: Update.
3208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3210 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3212 * math/auto-libm-test-out: Regenerated.
3213 * sysdeps/i386/fpu/libm-test-ulps: Update.
3214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3216 2015-05-01 Mark Wielaard <mjw@redhat.com>
3218 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3219 Elf64_Chdr structs and ELFCOMPRESS constants.
3221 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3223 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3225 * math/auto-libm-test-out: Regenerated.
3226 * sysdeps/i386/fpu/libm-test-ulps: Update.
3227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3229 * math/auto-libm-test-in: Add more tests of erf and erfc.
3230 * math/auto-libm-test-out: Regenerated.
3231 * sysdeps/i386/fpu/libm-test-ulps: Update.
3232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3234 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3236 * config.h.in (HAVE_AARCH64_BE): Add.
3238 2015-04-30 Joseph Myers <joseph@codesourcery.com>
3240 * math/auto-libm-test-in: Add more tests of csqrt.
3241 * math/auto-libm-test-out: Regenerated.
3242 * sysdeps/i386/fpu/libm-test-ulps: Update.
3243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3245 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3246 * math/auto-libm-test-out: Regenerated.
3247 * sysdeps/i386/fpu/libm-test-ulps: Update.
3248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3250 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3252 2015-04-29 Roland McGrath <roland@hack.frob.com>
3254 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3255 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3257 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3258 (euidaccess, eaccess): Define as weak aliases.
3260 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3261 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3262 but __suseconds_t is often 'long int' so some sources assume that
3263 type is being used (e.g. they use %ld to print tv_usec).
3265 2015-04-29 Florian Weimer <fweimer@redhat.com>
3268 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3270 * nss/tst-nss-getpwent.c: New file.
3271 * nss/Makefile (tests): Add new test.
3273 2015-04-28 Joseph Myers <joseph@codesourcery.com>
3276 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3277 exponents less than 48 as cases where high part of mantissa needs
3278 examining to determine whether argument is integral.
3279 * math/libm-test.inc (round_test_data): Add more tests.
3281 2015-04-28 Mark Wielaard <mjw@redhat.com>
3283 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3285 2015-04-27 David S. Miller <davem@davemloft.net>
3287 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3289 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3291 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
3294 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3296 2015-04-27 Florian Weimer <fweimer@redhat.com>
3299 * time/tzset.c (parse_tzname): Return error on memory allocation
3301 * test-skeleton.c (struct temp_name_list): Change type of name
3302 member to non-const.
3303 (add_temp_file): Create a copy of the file name.
3304 (delete_temp_files): Deallocate memory.
3305 (create_temp_file): Add comment.
3307 2015-04-24 Florian Weimer <fweimer@redhat.com>
3309 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3310 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3312 2015-04-24 Roland McGrath <roland@hack.frob.com>
3314 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3315 * sysdeps/arm/configure: Regenerated.
3317 2015-04-24 Florian Weimer <fweimer@redhat.com>
3320 * time/tzfile.c (__tzfile_read): Check for large values of
3321 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3322 * time/tzset.c (__tzstring_len): New function, based on the old
3323 __tzstring function.
3324 (__tzstring): Call __tzstring_len.
3325 (parse_tzname): New helper function extracted from
3326 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3328 (parse_offset): New helper function extracted from
3329 __tzset_parse_tz. Replace switch with fallthrough with
3330 initialization before sscanf.
3331 (parse_rule): Likewise.
3332 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3333 new-style function definition.
3334 * timezone/Makefile (tests): Add tst-tzset.
3335 (tst-tzset.out): Dependencies on time zone files.
3336 (tst-tzset-ENV): Set TZDIR.
3337 (testdata/XT%): Copy crafted time zone files.
3338 * timezone/README: Mention crafted time zone files.
3339 * timezone/testdata/XT1, timezone/testdata/XT2,
3340 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3342 * timezone/tst-tzset.c: New test.
3344 2015-04-24 Florian Weimer <fweimer@redhat.com>
3346 * Makeconfig (+gccwarn): Remove -Winline.
3348 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3350 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3352 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3354 * NEWS: Mention sysconf() cache information support for s390.
3355 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3357 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3359 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3360 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3361 (__nearbyint): Likewise.
3362 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3363 (copysignl): Likewise.
3365 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
3368 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3369 based on padding. (CVE-2015-1781)
3371 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3373 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3375 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3376 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3377 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3378 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3379 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3380 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3381 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3382 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3383 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3384 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3385 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3386 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3387 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3388 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3389 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3390 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3391 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3392 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3393 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3394 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3395 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3396 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3397 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3399 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3401 * stdlib/setenv.c (__add_to_environ):
3402 Dump core quickly if setenv (..., NULL, ...) is called.
3403 This time, do it the right way, and pacify GCC with a pragma.
3405 2015-04-17 Roland McGrath <roland@hack.frob.com>
3407 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3408 IMAP->l_prev cannot be null, and #if out the code for the contrary
3409 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3410 believe that NS (&_dl_ns[NSID]) could point outside the array.
3412 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3413 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3414 before using NSID as an index.
3416 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3419 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3420 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3421 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3423 2015-04-17 Roland McGrath <roland@hack.frob.com>
3425 Add preliminary port to Google Native Client on ARM.
3426 * abi-tags (.*-.*-nacl.*): New entry.
3427 * sysdeps/arm/nacl: New directory.
3428 * sysdeps/nacl: New directory.
3430 2015-04-16 David S. Miller <davem@davemloft.net>
3432 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3433 lowlevellock-futex.h
3435 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3437 * sysdeps/tile/configure.ac: New file.
3438 * sysdeps/tile/configure: Regenerated.
3440 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3442 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3443 conditionals for weak_alias and libc_hidden_weak.
3444 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3445 libc_hidden_weak and weak_alias.
3446 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3447 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3448 and weak_alias for static one.
3450 2015-04-15 David S. Miller <davem@davemloft.net>
3452 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3454 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3457 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3458 Use signed comparision instead of substraction to avoid
3460 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3461 Take the sign of ret.
3462 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3463 Do not expect precise return values. Only the sign matters.
3464 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3465 * wcsmbs/test-wcsncmp.c: New File.
3466 * string/test-strncmp.c: Add wcsncmp support.
3468 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3471 * math/w_log1p.c: New file.
3472 * math/w_log1pf.c: Likewise.
3473 * math/w_log1pl.c: Likewise.
3474 * math/Makefile (libm-calls): Add w_log1p.
3475 * math/s_log1pl.c (log1pl): Remove weak_alias.
3476 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3477 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3478 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3479 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3480 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3481 [NO_LONG_DOUBLE] (log1pl): Likewise.
3482 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3483 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3484 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3485 (log1p): Remove long_double_symbol.
3486 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3487 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3488 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3489 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3490 remove weak_alias for corresponding log1p function.
3491 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3492 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3493 * sysdeps/ia64/fpu/w_log1p.c: New file.
3494 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3495 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3496 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3498 2015-04-10 Joseph Myers <joseph@codesourcery.com>
3501 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3502 decimal exponent by 1.
3503 * stdlib/tst-strtod-round-data: Add more tests.
3504 * stdlib/tst-strtod-round.c (tests): Regenerated.
3506 2015-04-09 Joseph Myers <joseph@codesourcery.com>
3508 * math/auto-libm-test-in: Add more tests of clog and clog10.
3509 * math/auto-libm-test-out: Regenerated.
3510 * sysdeps/i386/fpu/libm-test-ulps: Update.
3511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3513 2015-04-09 Roland McGrath <roland@hack.frob.com>
3515 * Makeconfig (module-cppflags): Exclude all .v.i files.
3516 (skip-module-cppflags): Variable removed.
3518 * configure.ac (libc_config_ok): Initialize before reading
3519 preconfigure scripts, not after.
3520 * configure: Regenerated.
3522 * test-skeleton.c (TIMEOUT): Move #define to top level.
3523 (main): Grok environment variable TEST_DIRECT. If set, print
3524 test expectation details into that file and then behave as if
3527 2015-04-09 Florian Weimer <fweimer@redhat.com>
3529 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3532 2015-04-08 David S. Miller <davem@davemloft.net>
3534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3536 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3538 * math/auto-libm-test-in: Add more tests of atanh.
3539 * math/auto-libm-test-out: Regenerated.
3540 * sysdeps/i386/fpu/libm-test-ulps: Update.
3541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3543 * math/auto-libm-test-in: Add more tests of atan.
3544 * math/auto-libm-test-out: Regenerated.
3545 * sysdeps/i386/fpu/libm-test-ulps: Update.
3546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3548 2015-04-08 Florian Weimer <fweimer@redhat.com>
3550 * elf/pldd.c (main): Rewrite to use struct
3551 scratch_buffer instead of extend_alloca.
3552 * elf/pldd-xx.c (find_maps): Likewise.
3553 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3555 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3556 scratch_buffer instead of extend_alloca.
3557 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3558 grp/compat-initgroups.c.
3559 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3560 Rewrite to use struct scratch_buffer instead of extend_alloca.
3561 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3562 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3564 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3566 * math/auto-libm-test-in: Add more tests of cbrt.
3567 * math/auto-libm-test-out: Regenerated.
3568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3570 * math/auto-libm-test-in: Add more tests of cabs.
3571 * math/auto-libm-test-out: Regenerated.
3572 * sysdeps/i386/fpu/libm-test-ulps: Update.
3573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3577 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3578 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3580 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3582 * math/auto-libm-test-out: Regenerated.
3583 * sysdeps/i386/fpu/libm-test-ulps: Update.
3584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3587 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3588 (atan): Set FE_TONEAREST mode for internal computations.
3589 * math/auto-libm-test-in: Add more tests of atan.
3590 * math/auto-libm-test-out: Regenerated.
3592 2015-04-07 James Cowgill <james410@cowgill.org.uk>
3595 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3597 2015-04-07 Florian Weimer <fweimer@redhat.com>
3599 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3601 2015-04-07 Florian Weimer <fweimer@redhat.com>
3603 * include/scratch_buffer.h: New file.
3604 * malloc/scratch_buffer_grow.c: Likewise.
3605 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3606 * malloc/scratch_buffer_set_array_size.c: Likewise.
3607 * malloc/tst-scratch_buffer.c: Likewise.
3608 * malloc/Makefile (routines): Add scratch_buffer_grow.
3609 (tests): Add test case.
3610 * malloc/Versions (GLIBC_PRIVATE): Export
3611 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3612 __libc_scratch_buffer_set_array_size.
3614 2015-04-06 Richard Henderson <rth@redhat.com>
3616 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3617 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3619 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3620 unsigned int before printing.
3622 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3625 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3626 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3628 2015-04-02 Florian Weimer <fweimer@redhat.com>
3630 * include/libc-internal.h (libc_max_align_t): Define.
3632 2015-04-02 Andreas Schwab <schwab@suse.de>
3635 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3637 2015-04-02 Mel Gorman <mgorman@suse.de>
3640 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3641 as well as the main arena.
3643 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3646 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3647 sharing L2 cache to 2 for Silvermont/Knights Landing.
3649 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3652 * config.make.in (have-protected-data): New.
3653 * configure.ac: Check linker support for protected data symbol.
3654 * configure: Regenerated.
3655 * elf/Makefile (modules-names): Add tst-protected1moda and
3656 tst-protected1modb if $(have-protected-data) is yes.
3657 (tests): Add tst-protected1a and tst-protected1b if
3658 $(have-protected-data) is yes.
3659 ($(objpfx)tst-protected1a): New.
3660 ($(objpfx)tst-protected1b): Likewise.
3661 (tst-protected1modb.so-no-z-defs): Likewise.
3662 * elf/tst-protected1a.c: New file.
3663 * elf/tst-protected1b.c: Likewise.
3664 * elf/tst-protected1mod.h: Likewise.
3665 * elf/tst-protected1moda.c: Likewise.
3666 * elf/tst-protected1modb.c: Likewise.
3668 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3671 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3672 indicates it is called from do_lookup_x on relocation against
3673 protected data, skip the data definion in the executable from
3675 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3676 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3677 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3678 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3679 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3681 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3682 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3683 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3684 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3685 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3686 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3688 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3690 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3691 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3693 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3695 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3697 * sysdeps/x86_64/nptl/tls.h: Ditto.
3699 2015-03-27 Roland McGrath <roland@hack.frob.com>
3701 * dlfcn/tststatic.c (main): Converted to ...
3702 (do_test): ... this.
3703 (TEST_FUNCTION): New macro.
3704 Include test-skeleton.c.
3706 2015-03-26 Alan Modra <amodra@gmail.com>
3708 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3709 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3710 zero for undefined weak.
3711 (elf_machine_plt_conflict): Similarly.
3713 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3715 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3717 * math/auto-libm-test-out: Regenerated.
3718 * sysdeps/i386/fpu/libm-test-ulps: Update.
3719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3721 * math/auto-libm-test-in: Add another test of asin.
3722 * math/auto-libm-test-out: Regenerated.
3723 * sysdeps/i386/fpu/libm-test-ulps: Update.
3724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3726 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3728 (LLL_EBX_REG): Likewise.
3729 (LLL_ENTER_KERNEL): Likewise.
3731 * math/auto-libm-test-in: Add more tests of asin.
3732 * math/auto-libm-test-out: Regenerated.
3733 * sysdeps/i386/fpu/libm-test-ulps: Update.
3734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3737 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3738 libc_do_syscall_args): New structure.
3739 (INTERNAL_SYSCALL_MAIN_0): New macro.
3740 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3741 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3742 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3743 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3744 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3745 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3746 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3747 Replace conditional definitions by conditional definitions of ....
3748 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3749 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3750 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3751 (libpthread-sysdep_routines): Add libc-do-syscall.
3752 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3753 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3754 to __NR_futex not 240.
3756 2015-03-25 Alan Modra <amodra@gmail.com>
3758 * NEWS: Advertise TLS optimization.
3759 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3760 (DT_PPC_NUM): Increment.
3761 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3762 (CHECK_STATIC_TLS): Use here.
3763 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3765 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3766 * sysdeps/powerpc/dl-tls.c: New file.
3767 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3768 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3769 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3770 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3775 2015-03-25 Alan Modra <amodra@gmail.com>
3777 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3778 for overlapping .opd entries" to "support...".
3779 * sysdeps/powerpc/powerpc64/configure: Regenerate
3781 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3783 * math/auto-libm-test-in: Add more tests of acos.
3784 * math/auto-libm-test-out: Regenerated.
3785 * sysdeps/i386/fpu/libm-test-ulps: Update.
3786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3788 * math/auto-libm-test-in: Add more tests of expm1.
3789 * math/auto-libm-test-out: Regenerated.
3790 * sysdeps/i386/fpu/libm-test-ulps: Update.
3791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3793 2015-03-24 Joseph Myers <joseph@codesourcery.com>
3795 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3796 * math/auto-libm-test-out: Regenerated.
3797 * sysdeps/i386/fpu/libm-test-ulps: Update.
3798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3800 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3803 * math/auto-libm-test-in: Add more tests of log2.
3804 * math/auto-libm-test-out: Regenerated.
3805 * sysdeps/i386/fpu/libm-test-ulps: Update.
3806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3808 2015-03-23 Roland McGrath <roland@hack.frob.com>
3810 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3811 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
3812 _IO_IS_APPENDING bit in READ_WRITE instead.
3814 2015-03-23 Florian Weimer <fweimer@redhat.com>
3816 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3817 (__determine_cpumask_size): Replace extend_alloca with a
3818 variable-length array. Do not treat res == 0 as an error.
3820 2015-03-23 Florian Weimer <fweimer@redhat.com>
3823 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3824 and integer overflow.
3825 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3826 (main): Add integer overflow tests.
3827 * manual/pattern.texi (Calling Wordexp): Document additional use
3830 2015-03-23 Alan Modra <amodra@gmail.com>
3832 * config.h.in: Remove HAVE_ASM_PPC_REL16.
3833 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3834 and false branch of conditional.
3835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3838 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
3840 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3842 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3843 unused declaration of _hurd_intr_rpc_msg_in_trap.
3844 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3845 defined instead of whether it is non-zero.
3846 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3847 input constraint instead of both input and output constraint. Use ecx
3848 clobber instead of %ecx.
3849 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3850 mutex_unlock): Use a statement expression instead of an expression list.
3851 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3852 type to vm_size_t instead of vm_address_t.
3853 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3854 defined instead of whether it is non-zero.
3855 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3856 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3857 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3858 comparisons with mapaddr.
3859 * nscd/nscd-client.h: Include <time.h>.
3860 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3861 9th parameter to __vm_region instead of int.
3862 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3863 * scripts/check-local-headers.sh (exclude): Add device/,
3864 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3867 2015-03-19 Roland McGrath <roland@hack.frob.com>
3869 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3870 to account for alignment padding.
3871 * sysdeps/arm/memmove.S: Likewise.
3873 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
3875 * sysdeps/unix/sysv/linux/generic/README: New file.
3877 2015-03-18 Joseph Myers <joseph@codesourcery.com>
3880 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3881 (futex_abstimed_wait)
3882 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3883 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3884 of lll_futex_timed_wait.
3886 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
3889 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3891 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
3898 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3899 entries with Static TLS too. Skip entries past the end of the
3900 allocated DTV, from Alan Modra.
3901 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
3902 Static TLS DTV entry set up from...
3903 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3904 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3905 * nptl/allocatestack.c (init_one_static_tls): ... and here...
3906 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3908 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
3909 that the slot we find is associated with the given map before
3910 using its generation count.
3911 * nptl_db/db_info.c: Include ldsodefs.h.
3912 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3913 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3914 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3915 (link_map::l_tls_offset): New struct field.
3916 (dtv_t::counter): Likewise.
3917 (rtld_global): New struct.
3918 (_rtld_global): New rtld variable.
3919 (dl_tls_dtv_slotinfo_list): New rtld global field.
3920 (dtv_slotinfo_list): New struct.
3921 (dtv_slotinfo): Likewise.
3922 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3923 (td_lookup): Rename to...
3924 (td_mod_lookup): ... this. Use new mod parameter instead of
3926 * nptl_db/td_thr_tlsbase.c: Include link.h.
3927 (dtv_slotinfo_list, dtv_slotinfo): New functions.
3928 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
3929 addresses even if the DTV is out of date or missing them.
3930 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3931 index zero-length arrays.
3932 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3933 (td_lookup): Make it a macro implemented in terms of...
3934 (td_mod_lookup): ... this declaration.
3935 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3936 (DB_MAIN_VARIABLE): Likewise.
3938 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
3941 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3943 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
3945 * stdlib/setenv.c (__add_to_environ): Revert previous change.
3947 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
3950 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3951 (atomic_add, atomic_increment_and_test)
3952 (atomic_decrement_and_test): Fix 64-bit arithmetic.
3954 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
3956 * stdlib/setenv.c (__add_to_environ):
3957 Dump core quickly if setenv (..., NULL, ...) is called.
3959 2015-03-13 Roland McGrath <roland@hack.frob.com>
3961 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3962 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3963 all the necessary asm magic in one place.
3964 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3967 2015-03-13 Carlos O'Donell <carlos@redhat.com>
3970 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3971 traced file mtime. Use consistent log message.
3972 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3973 (register_traced_file): Call install_watches. Always set mtime.
3974 (invalidate_cache): Iterate over all trace files. Call install_watches.
3975 (inotify_check_files): Don't inline. Handle watching parent
3976 directories and configuration file movement in and out.
3977 (handle_inotify_events): New function.
3978 (main_loop_poll): Call handle_inotify_events.
3979 (main_loop_epoll): Likewise.
3980 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3981 (struct traced_file): Use array of inotify fds. Add parent directory,
3983 (struct database_dyn): Remove unused file_mtime.
3984 (init_traced_file): New inline function.
3985 (define_traced_file): New macro.
3986 * nss/nss_db/db-init.c: Use define_traced_file.
3987 (_nss_db_init): Use init_traced_file.
3988 * nss/nss_files/files-init.c: Use define_traced_file.
3989 (_nss_files_init): Use init_traced_file.
3991 2015-03-12 Joseph Myers <joseph@codesourcery.com>
3993 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3994 [_LIBC]: Do not include <stdlib.h>.
3995 [!_LIBC] (abort): Remove declaration.
3996 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3997 _FP_STATIC_ASSERT instead of conditionally calling abort.
3998 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3999 (_FP_EXTEND_CNAN): Likewise.
4000 (FP_TRUNC): Likewise.
4001 (__FP_CLZ): Likewise.
4002 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4004 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
4006 * manual/string.texi (XPG basename): Fix prototype.
4008 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4011 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4012 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4013 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4014 (__setcontext): Likewise.
4015 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4016 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4017 Call rt_sigprocmask syscall one time to set new signal mask
4018 and retrieve the current signal mask instead of two calls.
4019 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4020 (__swapcontext): Likewise.
4021 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4022 * stdlib/tst-setcontext2.c: New file.
4024 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4026 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4028 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4031 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4034 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4037 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4039 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4041 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4042 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4044 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4045 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4046 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4047 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4048 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4049 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4051 * nptl_db/td_symbol_list.c (td_lookup): Remove
4052 HAVE_ASM_GLOBAL_DOT_NAME code.
4053 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4054 HAVE_ASM_GLOBAL_DOT_NAME check.
4055 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4056 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4057 (DOT_LABEL): Remove define.
4058 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4059 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4060 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4061 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4062 (__TLS_GET_ADDR): Likewise.
4063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4064 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4066 2015-03-11 Carlos O'Donell <carlos@redhat.com>
4069 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4070 (_FPU_SETCW): Initialize cw from fpsr before storing.
4071 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4072 (fesetexceptflag): Rewrite using fpu_control.h.
4073 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4075 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
4078 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4080 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4082 2015-03-11 Joseph Myers <joseph@codesourcery.com>
4084 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4085 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4087 (_FP_FMA): Likewise.
4088 (_FP_DIV): Likewise.
4090 2015-03-10 Roland McGrath <roland@hack.frob.com>
4092 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4093 with 0 in that case.
4094 * Makefile (summarize-tests): New canned sequence, factored out of
4095 commands for targets tests and xtests. Display summary lines that
4096 don't start with PASS: or XFAIL: rather than ones that do start with
4097 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4098 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4099 do start with ERROR: or FAIL:.
4100 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4101 (except for [$(build-shared) = yes]).
4102 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4103 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4104 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4105 * nptl/Makefile: Revert 2015-03-04 changes.
4106 [$(CXX) empty] (tests-unsupported): New variable.
4107 * debug/Makefile: Likewise.
4109 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4110 gnulib file. Replace __attribute with __attribute__ throughout.
4112 2015-03-10 Carlos O'Donell <carlos@redhat.com>
4114 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4116 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4119 * math/auto-libm-test-in: Add another test of pow.
4120 * math/auto-libm-test-out: Regenerated.
4122 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4124 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4125 $(config-cflags-nofma).
4127 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4129 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4130 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4131 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4132 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4133 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4134 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4135 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4136 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4137 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4138 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4139 Add comment on closing #endif.
4141 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4143 * posix/wordexp.c (CHAR_IN_SET): New macro.
4144 (parse_param): Use it.
4146 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4148 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4150 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4153 * posix/wordexp.c (parse_param): Fix buffer overflow.
4154 * posix/wordexp-test.c (test_case): Add test case.
4156 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4159 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4160 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4162 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4165 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4166 (do_bz18043): Delete.
4168 (testit): Refactor to have words at the edge of unreadable page.
4170 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4173 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4174 Cleanup read-only streams as well.
4175 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4177 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4179 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4182 2015-03-07 Joseph Myers <joseph@codesourcery.com>
4184 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4186 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4187 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4188 * soft-fp/op-common.h (_FP_DECL): Likewise.
4190 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4192 * elf/ifuncdep2.c (global): Replace
4193 __attribute__((visibility("protected"))) with
4194 asm (".protected global").
4195 * elf/ifuncmod1.c (global): Likewise.
4196 * elf/ifuncmod5.c (global): Likewise.
4198 2015-03-06 Joseph Myers <joseph@codesourcery.com>
4200 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4201 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4203 2015-03-06 Roland McGrath <roland@hack.frob.com>
4205 * manual/install.texi (Configuring and compiling):
4206 Document test-wrapper-env-only.
4207 * INSTALL: Regenerated.
4209 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4212 * posix/wordexp.c (parse_param): Fix buffer overflow.
4213 * posix/wordexp-test.c (do_bz18043): Add test case.
4215 2015-03-06 Vincent Bernat <vincent@bernat.im>
4217 * time/tst-strptime2.c (do_test): Ensure failing tests are
4219 * time/tst-strptime3.c (do_test): Likewise.
4221 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4223 Fix aio_error thread-safety.
4224 * sysdeps/pthread/aio_error.c: New file
4225 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4228 2015-03-06 Florian Weimer <fweimer@redhat.com>
4230 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4231 (group_number, vfprintf): Use it.
4232 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4233 (JUMP, REF): Use it.
4234 (WORK_BUFFER_SIZE): New enum constant.
4235 (process_arg, vfprintf): Use it.
4237 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
4239 * manual/errno.texi (Error Messages): Complete example function
4240 by adding missing #define.
4241 (program_invocation_name): Add statement indicating GNU
4242 extension and reference which header file declares the variable.
4243 (program_invocation_short_name): Likewise.
4245 2015-03-06 Mike Frysinger <vapier@gentoo.org>
4247 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4250 2015-03-05 Roland McGrath <roland@hack.frob.com>
4252 * Makeconfig (test-wrapper-env-only): New variable.
4253 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4254 then use that with $(test-wrapper-env-only) rather than using
4255 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4257 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4260 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4261 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4262 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4263 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4264 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4265 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4266 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4267 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4269 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4270 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4272 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4274 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4276 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4278 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4279 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4281 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4283 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4284 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4286 2015-03-04 Roland McGrath <roland@hack.frob.com>
4288 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4289 (ETH_ALEN): New macro.
4290 (struct ether_addr): Use it for length of ether_addr_octet.
4292 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4293 (setdb): Don't call __nss_configure_lookup for "rpc".
4294 (do_test): Don't call test_rpc.
4295 (output_rpcent, test_rpc): Functions moved ...
4296 * sunrpc/test-rpcent.c: ... to this new file.
4297 * sunrpc/Makefile (tests): Add it.
4299 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4301 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4302 * nptl/tst-signal6.c: Likewise.
4303 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4304 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4306 * configure.ac (libc_cv_cxx_link_ok): New check.
4307 Reset CXX to empty if it fails to link.
4308 * configure: Regenerated.
4309 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4310 bug-atexit3-lib only if $(CXX) is nonempty.
4311 * nptl/Makefile (tests): Likewise for tst-cancel24.
4312 (tests, tests-static): Likewise for tst-cancel24-static.
4313 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4314 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4315 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4316 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4318 2015-03-04 Andreas Schwab <schwab@suse.de>
4321 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4322 for non-GCC compilers.
4323 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4326 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4329 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4330 integer before bitwise and assembly operations.
4331 (feclearexcept): Likewise.
4332 * math/test-fenvinline.c: New file.
4333 * math/Makefile: Add test-fenvinline test.
4335 2015-03-03 Alan Modra <amodra@gmail.com>
4338 * scripts/localplt.awk: Strip off symbol version.
4339 * NEWS: Mention bug fix.
4341 2015-03-02 Roland McGrath <roland@hack.frob.com>
4343 * sysdeps/pthread/timer_routines.c
4344 (timer_free_list, thread_free_list, thread_active_list): Make static.
4346 2015-03-02 Joseph Myers <joseph@codesourcery.com>
4349 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4350 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4352 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4353 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4355 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4356 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4359 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4362 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4363 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4365 2015-03-02 Andreas Schwab <schwab@suse.de>
4367 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4370 2015-03-02 Florian Weimer <fweimer@redhat.com>
4372 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4373 Return error status.
4375 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
4378 * locale/findlocale.c (_nl_find_locale): Introduce const
4379 version of loc_name and drop unsafe type casts.
4381 2015-02-27 Roland McGrath <roland@hack.frob.com>
4383 * dlfcn/tststatic2.c (main): Converted to ...
4384 (do_test): ... this.
4385 (TEST_FUNCTION): New macro.
4386 Include test-skeleton.c.
4388 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4391 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4392 (tests-pie): Add vismain.
4393 (CFLAGS-vismain.c): New.
4394 * elf/vismain.c: Add comments for PIE requirement.
4396 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4400 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4401 0x1p-56L as threshold for just returning the argument.
4402 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4403 0x1p-32L as threshold for just returning the argument.
4404 * math/auto-libm-test-in: Add more tests of atanh.
4405 * math/auto-libm-test-out: Regenerated.
4406 * sysdeps/i386/fpu/libm-test-ulps: Update.
4407 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4409 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4411 * string/bcopy.c (bcopy): Call memmove for performance.
4413 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4415 * string/bzero.c (__bzero): Call memset for performance.
4417 2015-02-27 John David Anglin <dave.anglin@bell.net>
4420 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4423 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4425 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4427 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4429 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4430 (__kernel_standard): Use CSTR macro when setting exc.name.
4431 * sysdeps/ieee754/Makefile [$(subdir) = math]
4432 (CFLAGS-k_standard.c): Remove variable.
4434 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4435 setting p and q from "else if" to "else".
4437 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4439 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4441 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4443 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4445 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4450 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4451 return pi/2 for arguments below 0x1p-113L.
4452 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4453 return pi/2 for arguments below 0x1p-106L.
4454 * math/auto-libm-test-in: Add more tests of acos.
4455 * math/auto-libm-test-out: Regenerated.
4458 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4460 (__ieee754_asin): Force underflow exception for results with small
4462 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4464 (__ieee754_asinf): Force underflow exception for results with
4465 small absolute value.
4466 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4467 (__ieee754_asin): Force underflow exception for results with small
4469 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4470 (__ieee754_asinf): Force underflow exception for results with
4471 small absolute value.
4472 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4473 (__ieee754_asinl): Force underflow exception for results with
4474 small absolute value.
4475 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4476 (__ieee754_asinl): Force underflow exception for results with
4477 small absolute value.
4478 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4479 (__ieee754_asinl): Force underflow exception for results with
4480 small absolute value.
4481 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4483 * math/auto-libm-test-in: Do not mark underflow exceptions as
4484 possibly missing for bug 16351.
4485 * math/auto-libm-test-out: Regenerated.
4488 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4489 of power of 2 down when low part has opposite sign.
4490 * math/libm-test.inc (logb_test_data): Add more tests.
4492 2015-02-26 Andreas Schwab <schwab@suse.de>
4495 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4496 over collating symbol inside a bracket expression. Minor cleanup.
4497 * posix/tst-fnmatch3.c (do_test): Add test case.
4499 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4502 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4503 Adjust exponent of power of 2 down when low part has opposite
4505 * math/libm-test.inc (ilogb_test_data): Add more tests.
4507 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
4510 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4511 the previous change.
4514 * locale/findlocale.c (_nl_find_locale): Retry archive search
4515 after alias expansion.
4517 2015-02-25 Roland McGrath <roland@hack.frob.com>
4519 * iconv/tst-iconv3.c (main): Converted to ...
4520 (do_test): ... this.
4521 (TEST_FUNCTION): New macro.
4522 Include test-skeleton.c.
4524 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4525 (convert): Make function static.
4526 (test_unalign): Likewise. Add const to argument pointee types.
4527 (main): Replace with static function do_test.
4528 Print "Succeeded." only if RET is zero.
4529 (TEST_FUNCTION): New macro.
4530 Include test-skeleton.c.
4532 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4533 returns a null pointer.
4535 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4537 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4538 to __memcpy_ppc only for static builds.
4540 2015-02-25 Joseph Myers <joseph@codesourcery.com>
4543 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4544 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4545 * math/auto-libm-test-in: Add more tests of asinh.
4546 * math/auto-libm-test-out: Regenerated.
4547 * sysdeps/i386/fpu/libm-test-ulps: Update.
4548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4550 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4553 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4554 and ip6_mtuinfo definitions here.
4555 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4556 in this define too. Update comment.
4558 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
4560 * elf/sprof.c (load_shobj): Tweak error message to match others.
4562 2015-02-24 Kevin Easton <kevin@guarana.org>
4564 [BZ #16145] (partial fix)
4565 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4566 to reduce lock contention.
4568 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4570 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4571 (struct timex): Update time comment.
4572 (ADJ_SETOFFSET): Define.
4574 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4577 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4578 2**56 not 2**28 as threshold for log (2x) formula.
4579 * math/auto-libm-test-in: Add more tests of acosh.
4580 * math/auto-libm-test-out: Regenerated.
4581 * sysdeps/i386/fpu/libm-test-ulps: Update.
4582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4584 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4586 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4587 parenthesis around the buf assignment.
4588 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4590 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4593 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4594 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4595 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4596 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4597 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4598 * math/libm-test.inc (scalb_test_data): Add more tests.
4600 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4603 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4604 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4606 2015-02-24 Eric Rannaud <e@nanocritical.com>
4609 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4610 * io/bits/fcntl2.h (open): Use it.
4612 * io/open.c (__libc_open): Likewise.
4613 * io/open64.c (__libc_open64): Likewise.
4614 * io/open64_2.c (__open64_2): Likewise.
4615 * io/open_2.c (__open_2): Likewise.
4616 * io/openat.c (__openat): Likewise.
4617 * io/openat64.c (__openat64): Likewise.
4618 * io/openat64_2.c (__openat64_2): Likewise.
4619 * io/openat_2.c (__openat_2): Likewise.
4620 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4621 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4622 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4623 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4624 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4625 (__open_nocancel): Likewise.
4626 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4627 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4628 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4630 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4633 * resolv/gethnamaddr.c (getanswer): Skip logging if
4634 RES_USE_DNSSEC is set.
4635 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4637 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4639 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4641 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
4643 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4644 201304L, for Unicode 7.
4646 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4649 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4650 shared library. Add gmon-start.os otherwise.
4651 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4652 $(objpfx)gmon-start.os if builing shared library.
4653 ($(objpfx)g$(static-start-installed-name)): Likewise.
4655 2015-02-23 Andreas Schwab <schwab@suse.de>
4657 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4659 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4662 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4663 (enlarge_userbuf): Likewise.
4665 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4667 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4668 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4669 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4670 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4672 2015-02-20 Joseph Myers <joseph@codesourcery.com>
4674 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4675 expression inside statement expression.
4677 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4679 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4680 <sysdeps/nptl/lowlevellock.h> and remove macros and
4681 functions that are now defined there.
4682 (SYS_futex): Remove.
4683 (lll_compare_and_swap): Remove.
4684 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4686 2015-02-19 Joseph Myers <joseph@codesourcery.com>
4689 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4690 instead of scandirat.
4691 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4692 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4693 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4695 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4696 (__scandirat): Declare. Use libc_hidden_proto.
4697 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4699 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4701 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4704 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4706 (__ieee754_atan2): For results with small absolute value, force
4707 underflow exception and remove excess range and precision from
4709 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4711 (__ieee754_atan2f): For results with small absolute value, force
4712 underflow exception and remove excess range and precision from
4714 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4716 (__atan): For results with small absolute value, force underflow
4717 exception and remove excess range and precision from return value.
4718 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4720 (__atanf): For results with small absolute value, force underflow
4721 exception and remove excess range and precision from return value.
4722 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4724 (__ieee754_atan2): Force underflow exception for results with
4725 small absolute value.
4726 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4728 (atan): Force underflow exception for results with small absolute
4730 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4731 (__atanf): Force underflow exception for results with small
4733 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4735 (__atanl): Force underflow exception for results with small
4737 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4738 (__atanl): Force underflow exception for results with small
4740 * sysdeps/x86/fpu/bits/mathinline.h
4741 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4742 (__ieee754_atan2): Only define inline for long double.
4743 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4744 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4745 * math/auto-libm-test-in: Do not mark underflow exceptions as
4746 possibly missing for bug 15319. Add more tests of atan2.
4747 * math/auto-libm-test-out: Regenerated.
4748 * math/libm-test.inc (casin_test_data): Do not mark underflow
4749 exceptions as possibly missing for bug 15319.
4750 (casinh_test_data): Likewise.
4751 * sysdeps/i386/fpu/libm-test-ulps: Update.
4753 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
4755 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4756 * sysdeps/mips/bits/endian.h: Fix comments.
4758 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4761 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4762 (hdestroy_r): Likewise.
4763 (hsearch_r): Likewise.
4764 (__hcreate_r): Declare and use libc_hidden_proto.
4765 (__hdestroy_r): Likewise.
4766 (__hsearch_r): Likewise.
4767 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4768 (hcreate): Call __hcreate_r instead of hcreate_r.
4769 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4770 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4771 as weak alias of __hcreate_r.
4772 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4774 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4776 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4778 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4779 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4780 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4781 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4783 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4785 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4786 arena_lock into a single arena_get.
4788 2015-02-17 Carlos O'Donell <carlos@redhat.com>
4790 * dl-reloc.c: Inlucde libc-internal.h.
4791 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4792 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4793 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4794 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4795 (grow_heap): Likewise.
4796 * malloc/malloc.c: Include libc-internal.h.
4797 (do_check_malloc): Call powerof2.
4798 (sysmalloc): Use pagesize. Call ALIGN_UP.
4799 (systrim): Use pagesize.
4800 (mremap_chunk): Use pagesize. Call ALIGN_UP.
4801 (__libc_valloc): Use pagesize.
4802 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4804 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4807 * include/sys/resource.h (__getrlimit64): Declare. Use
4809 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4810 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
4811 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4813 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4815 [!getrlimit64] (getrlimit64): Define as weak alias of
4816 __getrlimit64. Use libc_hidden_weak.
4817 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4818 using __getrlimit64 not __new_getrlimit64.
4819 (__GI_getrlimit64): Likewise.
4820 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4822 (__GI_getrlimit64): Likewise.
4823 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4825 (getrlimit): Add __getrlimit64 alias.
4826 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4828 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4830 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4831 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4833 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4835 * libio/fileops.c: Add missing sys/mman.h
4836 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4838 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4840 * manual/math.texi (Errors in Math Functions): Clarify goals
4841 regarding inexact and underflow exceptions.
4843 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4845 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4846 * sysdeps/mips/memset.S: Ditto.
4848 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4850 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4852 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4854 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4855 (__v1longjmp): Remove versioned symbol.
4856 (__v1siglongjmp): Remove alias and versioned symbol.
4857 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4858 (__v2siglongjmp): Likewise.
4860 2015-02-16 Torvald Riegel <triegel@redhat.com>
4862 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4864 2015-02-16 Mike Frysinger <vapier@gentoo.org>
4866 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4868 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4871 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4872 zero result does not depend on the sign resulting from
4874 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4876 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4877 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4878 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4879 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4880 * math/libm-test.inc (remquo_test_data): Add more tests.
4882 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
4884 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4885 Problem reported by J William Piggott.
4887 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4890 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4891 products 4 * y and 2 * y where those would overflow.
4892 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4894 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4895 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4896 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4897 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4898 * math/libm-test.inc (remquo_test_data): Add more tests.
4900 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4902 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4903 [defined _COMPILING_NEWLIB].
4904 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4905 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4907 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4908 [!defined __mips_isa_rev || __mips_isa_rev < 6].
4910 2015-02-16 Torvald Riegel <triegel@redhat.com>
4912 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4915 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
4918 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4919 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4920 HOST_STACK_END_ADDR): Likewise.
4922 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
4924 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4925 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4926 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4928 2015-02-13 Roland McGrath <roland@hack.frob.com>
4930 * sysdeps/generic/c++-types.data: New file.
4931 * sysdeps/generic/ld.abilist: New file.
4932 * sysdeps/generic/libBrokenLocale.abilist: New file.
4933 * sysdeps/generic/libanl.abilist: New file.
4934 * sysdeps/generic/libc.abilist: New file.
4935 * sysdeps/generic/libcrypt.abilist: New file.
4936 * sysdeps/generic/libdl.abilist: New file.
4937 * sysdeps/generic/libm.abilist: New file.
4938 * sysdeps/generic/libpthread.abilist: New file.
4939 * sysdeps/generic/libresolv.abilist: New file.
4940 * sysdeps/generic/librt.abilist: New file.
4942 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4945 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4946 Compute absolute value of x as modified by fmod, not original
4948 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4949 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
4950 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
4951 RUN_TEST_ffI_f1_mod8.
4952 (remquo_test_data): Add more tests.
4954 2015-02-13 Roland McGrath <roland@hack.frob.com>
4956 * sysdeps/init_array/pt-crti.S: New file.
4958 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4961 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4962 __builtin_fmaf instead of relying on contraction of a * b + c.
4964 2015-02-12 J William Piggott <elseifthen@gmx.com>
4967 * manual/time.texi: correct the zoneinfo path in the TZ Variable
4970 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4973 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4974 __builtin_fma instead of relying on contraction of a * b + c.
4976 2015-02-12 Roland McGrath <roland@hack.frob.com>
4978 * Makeconfig (ASFLAGS): Add -Werror=undef.
4979 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4980 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4981 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4983 * Makeconfig (after-link): New variable.
4984 (+link-pie, +link-pie-tests): Use it.
4985 (+link-static, +link-static-tests): Likewise.
4986 (+link, +link-tests): Likewise.
4987 * Makerules (build-module, build-module-asneeded): Likewise.
4988 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4990 * elf/Makefile ($(objpfx)ld.so): Likewise.
4992 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4995 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4996 both struct timeval and struct timespec.
4998 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5001 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5003 (__ieee754_exp2l): Do not multiply small fractional parts by
5005 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5007 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5008 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5009 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5010 * math/auto-libm-test-in: Add more tests of exp2.
5011 * math/auto-libm-test-out: Regenerated.
5013 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5015 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5018 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5020 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5023 2015-02-12 Andreas Schwab <schwab@suse.de>
5026 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5027 Filter out elision flags from value returned in kind.
5028 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5029 * nptl/tst-pthread-mutexattr.c: New file.
5031 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5033 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5034 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5035 into gnu-gnu, and update comment to refer to abi-tags.
5037 2015-02-11 Joseph Myers <joseph@codesourcery.com>
5040 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5041 (__sincos): Set errno to EDOM for infinite argument.
5042 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5043 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5044 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5045 (__sincosl): Set errno to EDOM for infinite argument.
5046 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5047 (__sincosl): Set errno to EDOM for infinite argument.
5048 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5049 (__sincosl): Set errno to EDOM for infinite argument.
5050 * math/libm-test.inc (sincos_test_data): Test errno setting.
5052 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
5054 * string/strxfrm_l.c: Remove #define STRCMP.
5055 * string/strcoll_l.c: Remove #define STRLEN.
5056 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5057 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5059 2015-02-10 Joseph Myers <joseph@codesourcery.com>
5061 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5062 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5063 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5064 * sysdeps/mips/mips64/Makefile: ... here.
5065 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5066 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5067 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5068 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5069 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5070 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5071 * sysdeps/mips/mips64/n64/Implies: Likewise.
5073 2015-02-10 Roland McGrath <roland@hack.frob.com>
5075 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5076 <sys/time.h>, <string.h>, and <errno.h>.
5077 (dest_offset, dest_address, value, zero): Remove unused variables.
5078 (ldouble): Remove typedef.
5079 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5080 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5082 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5083 (check): Function removed.
5085 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5086 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5087 Don't call set_sigaction_FP and remove_sigaction_FP here.
5088 (ldouble_test): Just use 'long double' as macro argument, no need for
5089 the 'ldouble' typedef.
5090 (do_test): Set up SIGFPE handler at start, using plain signal rather
5091 than sigaction. Fix code style.
5093 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5096 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5099 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5101 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5102 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5104 * sysdeps/powerpc/configure.ac: Remove file.
5105 * sysdeps/powerpc/configure: Likewise.
5107 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5108 [sysdep_routines]: Remove wordcopy-power6 object.
5109 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5110 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5111 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5112 (__memmove_ppc32): Likewise.
5113 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5115 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5116 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5117 Remove preprocessor.
5119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5120 [sysdep_routines]: Remove wide chars objects.
5121 [wcsmbs]: New rule for wide char objects.
5123 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5124 Remove wordcopy-power6 obejct.
5125 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5126 Use local call for wordcopy and memcpy symbols.
5127 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5128 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5129 implementation for loader.
5130 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5132 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5133 Remove wordcopy-power7 object.
5134 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5135 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5136 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5137 (_wordcopy_fwd_dest_aligned): Likewise.
5138 (_wordcopy_bwd_aligned): Likewise.
5139 (_wordcopy_bwd_dest_aligned): Likewise.
5141 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5142 Rewrite to call __memmove_ppc instead of include default
5145 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5146 Remove wide chars objects.
5147 [wcsmbs]: New rule for wide char objects.
5149 2015-02-09 Andreas Schwab <schwab@suse.de>
5152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5153 in terms of __O_DIRECTORY.
5155 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5157 * time/getdate.c: Include <stdbool.h>.
5158 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5160 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5163 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5165 Add ersatz _Static_assert on older C hosts
5166 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5167 pre-C11 C platform that is not known to support _Static_assert.
5169 2015-02-07 Richard Braun <rbraun@sceen.net>
5171 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5173 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5175 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5177 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5178 priority against unexistent AIO_PRIO_DELTA_MAX.
5179 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5181 * misc/fchflags.c (fchflags): Likewise.
5182 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5183 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5184 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5185 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5186 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5188 [__USE_MISC] (chflags, fchflags): Declare functions.
5189 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5190 EINVAL when nfds is greater than FD_SETSIZE.
5191 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5192 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5194 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5195 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5196 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5198 * hurd/hurd/signal.h (_hurd_self_sigstate,
5199 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5200 Explicit casts from void *.
5201 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5202 * abi-tags: Rename gnu-gnu os into gnu.
5205 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5206 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5207 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5208 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5209 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5210 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5213 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5214 duplicates ADDR->sun_path with sockaddr LEN limitation.
5215 * sysdeps/mach/hurd/connect.c: Include <string.h>
5216 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5217 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5218 * sysdeps/mach/hurd/sendto.c: Likewise.
5219 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5220 implementing it by hand.
5222 2015-02-06 Roland McGrath <roland@hack.frob.com>
5224 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5225 Use sfi_breg on ldr.
5226 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5229 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5231 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5232 Test SIGSETXID only if it's defined.
5234 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5236 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5237 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5239 * nptl/tst-align2.c: Moved ...
5240 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5241 * nptl/Makefile (tests): Remove tst-align2.
5242 * sysdeps/unix/sysv/linux/Makefile
5243 [$(subdir) = nptl] (tests): Add tst-align-clone.
5244 * nptl/tst-getpid1.c: Moved ...
5245 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5246 * nptl/tst-getpid2.c: Moved ...
5247 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5248 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5249 * sysdeps/unix/sysv/linux/Makefile
5250 [$(subdir) = nptl] (tests): ... here.
5251 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5252 * sysdeps/unix/sysv/linux/Makefile
5253 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5255 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5256 Drop trailing \n from perror argument. Use return rather than exit.
5258 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5260 * nptl/tst-cancel21.c (do_test): Likewise.
5261 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5262 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5263 [!SA_SIGINFO]: Make it a stub test.
5265 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5266 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5268 * posix/tst-getlogin.c: Move to ...
5269 * login/tst-getlogin.c: ... here.
5270 * posix/Makefile (tests): Move tst-getlogin to ...
5271 * login/Makefile (tests): ... here.
5273 * libio/tst-atime.c (do_test): Move local variables SV and E
5274 inside [ST_NOATIME] conditional.
5276 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5278 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5280 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5281 (wait_code): New function replaces macro.
5282 Call nanosleep rather than syscall.
5284 * nptl/pt-system.c: Rewritten. Put everything under
5285 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5286 Use IFUNC to redirect when possible.
5288 * nptl/pt-longjmp.c: Rewritten. Put everything under
5289 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5290 Use IFUNC to redirect when possible.
5292 * nptl/pt-fork.c: Rewritten. Put everything under
5293 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5294 Use IFUNC to redirect when possible.
5295 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5297 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5298 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5299 unconditionally nowadays. This included the only reference to
5300 __vdso_clock_gettime that appears outside libc proper.
5301 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5302 Remove version set (containing only __vdso_clock_gettime).
5303 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5304 Add attribute_hidden.
5305 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5306 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5307 libc_hidden_data_def.
5308 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5309 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5311 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5312 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5313 setrpcent, and getrpcport to ...
5314 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5315 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5316 getrpcbynumber_r, and getrpcent_r to ...
5317 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5318 * inet/getrpcbyname.c: Moved ...
5319 * sunrpc/getrpcbyname.c: ... here.
5320 * inet/getrpcbyname_r.c: Moved ...
5321 * sunrpc/getrpcbyname_r.c: ... here.
5322 * inet/getrpcbynumber.c: Moved ...
5323 * sunrpc/getrpcbynumber.c: ... here.
5324 * inet/getrpcbynumber_r.c: Moved ...
5325 * sunrpc/getrpcbynumber_r.c: ... here.
5326 * inet/getrpcent.c: Moved ...
5327 * sunrpc/getrpcent.c: ... here.
5328 * inet/getrpcent_r.c: Moved ...
5329 * sunrpc/getrpcent_r.c: ... here.
5330 * inet/Makefile (routines): Move those to ...
5331 * sunrpc/Makefile (routines): ... here.
5332 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5333 the $(subdirs) list.
5334 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5335 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5336 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5337 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5339 * elf/Makefile (routines): Include $(all-dl-routines), not just
5341 (rtld-routines): Likewise. Use = rather than :=.
5342 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5343 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5344 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5345 * sysdeps/arm/Makefile: Likewise.
5346 * sysdeps/i386/Makefile: Likewise.
5347 * sysdeps/x86_64/Makefile: Likewise.
5348 * sysdeps/hppa/Makefile [$(subdir) = elf]
5349 (sysdep_routines, sysdep-rtld-routines): Don't add
5350 $(sysdep-dl-routines) to these.
5351 * sysdeps/ia64/Makefile: Likewise.
5352 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5353 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5354 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5355 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5356 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5357 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5358 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5359 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5360 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5361 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5362 these; sysdep-dl-routines alone is enough.
5364 2015-02-06 Joseph Myers <joseph@codesourcery.com>
5367 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5368 where multiplication results in zero and third argument is finite
5370 * math/auto-libm-test-in: Add more tests of fma.
5371 * math/auto-libm-test-out: Regenerated.
5373 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5374 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5375 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5376 (_FP_CMP_EQ): Likewise.
5377 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5379 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5380 extra argument CHECK_NAN. Redefine as wrapper around
5383 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5385 * version.h (RELEASE): Set to "stable".
5386 (VERSION): Set to "2.21"
5387 * include/features.h (__GLIBC_MINOR__): Set to 21.
5389 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5391 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5392 Paul Eggert <eggert@cs.ucla.edu>
5395 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5396 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5397 size in bytes. Store needed elements in wpmax. Use needed size
5398 in bytes for extend_alloca.
5400 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5402 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5403 binutls 2.25, and texinfo 5.2.
5404 * INSTALL: Regenerate.
5405 * sysdeps/nios2/configure: Regenerate.
5406 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5407 * manual/contrib.texi: Update.
5431 * po/pt_BR.po: Update.
5440 * po/zh_CN.po: Update.
5441 * po/zh_TW.po: Update.
5443 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5444 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5445 * sysdeps/hppa/dl-irel.h: Remove #warning.
5446 * sysdeps/hppa/entry.h: Provide prototype for
5447 __canonicalize_funcptr_for_compare and cast argument.
5448 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5449 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5450 * sysdeps/hppa/sotruss-lib.c: New file.
5451 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5452 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5453 (atomic_compare_and_exchange_bool_acq): Likewise.
5454 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5455 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5457 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5458 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5459 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5461 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5463 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5464 called function in non-PIC case.
5466 2015-01-31 David S. Miller <davem@davemloft.net>
5468 * sysdeps/sparc/sparc32/bits/atomic.h
5469 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5470 unlock not after it.
5471 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5472 volatile register usage warnings from the compiler.
5474 * sysdeps/sparc/nptl/sem_init.c: Delete.
5475 * sysdeps/sparc/nptl/sem_post.c: Delete.
5476 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5477 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5478 * sysdeps/sparc/sparc32/sem_init.c: New file.
5479 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5480 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5481 padding explicitly initialized.
5482 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5483 padding for in-semaphore spinlock.
5484 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5485 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5486 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5487 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5488 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5489 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5490 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5491 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5493 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5494 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5496 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5500 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5501 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5503 (index_AVX_Fast_Unaligned_Load): Likewise.
5504 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5505 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5506 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5507 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5508 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5509 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5510 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5511 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5512 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5514 2015-01-29 Andreas Schwab <schwab@suse.de>
5516 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5518 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5521 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5523 2015-01-28 Martin Sebor <msebor@redhat.com>
5525 * math/README.libm-test: Clarify. Add "How to read the test output."
5527 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5529 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5532 2015-01-28 Joseph Myers <joseph@codesourcery.com>
5534 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5535 (__HAVE_64B_ATOMICS): Define to 0.
5537 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5540 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5541 value to set as new flag.
5544 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5545 and use _ARCH_PPCSQ instead.
5546 (__ieee754_sqrt): Likewise.
5547 (__ieee754_sqrtf): Likewise.
5548 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5549 _ARCH_PPCSQ is defined.
5550 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5552 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5553 _ARCH_PPCSQ is defined.
5554 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5556 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5558 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5560 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5561 bug (GCC BZ #64739).
5563 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5565 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5566 Mark _retval as used.
5567 (lll_futex_wake_unlock): Likewise.
5568 (lll_futex_timed_wait_requeue_pi): Likewise.
5570 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5571 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5574 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5577 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5578 (__bswap_64): Mark as __always_inline.
5580 2015-01-25 Bram <bug_rh@spam.wizbit.be>
5583 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5584 when none of the search directories exist.
5586 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5589 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5590 power8 in .machine directive.
5593 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5594 set dependency from opd value.
5596 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5599 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5602 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5605 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5607 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5609 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5610 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5611 Replace 1UL with (uint64_t) 1.
5612 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5615 2015-01-23 Roland McGrath <roland@hack.frob.com>
5617 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5618 (if_freenameindex): Likewise.
5620 * resource/getrlimit64.c: Add missing libc_hidden_def.
5622 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5624 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5626 (_FP_FMA): Likewise.
5627 (_FP_TO_INT_ROUND): Likewise.
5628 (_FP_FROM_INT): Likewise.
5630 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5633 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5634 Make code racy and cancel safe.
5636 2015-01-21 Carlos O'Donell <carlos@redhat.com>
5638 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5639 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5642 * pwd/tst-getpw.c: Rewrite.
5645 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5646 (modules-names): Add moddummy1 and moddummy2.
5647 ($(objpfx)tst-rec-dlopen): Define.
5648 * dlfcn/moddummy1.c: New file.
5649 * dlfcn/moddummy2.c: New file.
5650 * dlfcn/tst-rec-dlopen.c: New file.
5651 * elf/dl-cache.c (_dl_load_cache_lookup):
5652 Return char*. Copy result with alloca/strcpy/strdup.
5653 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5654 returns char*. Free cached. If not saving realname
5656 * elf/dl-open.c (dl_open_worker): Do not assert that
5657 _r_debug->r_state is RT_CONSISTENT.
5658 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5661 2015-01-21 Torvald Riegel <triegel@redhat.com>
5662 Carlos O'Donell <carlos@redhat.com>
5665 * nptl/sem_waitcommon.c: New file.
5666 * nptl/sem_wait.c: Include sem_waitcommon.c.
5667 (__sem_wait_cleanup, do_futex_wait): Remove.
5668 (__new_sem_wait): Adapt.
5669 (__new_sem_trywait): New function.
5670 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5671 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5672 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5673 (sem_timedwait): Adapt.
5674 * nptl/sem_post.c (__new_sem_post): Adapt.
5675 (futex_wake): New function.
5676 (__old_sem_post): Add release MO fence.
5677 * nptl/sem_open.c (sem_open): Adapt.
5678 * nptl/sem_init.c (__new_sem_init): Adapt.
5679 (futex_private_if_supported): New function.
5680 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5681 (__old_sem_getvalue): Add using previous code.
5682 * sysdeps/nptl/internaltypes.h: Adapt.
5683 * nptl/tst-sem13.c (do_test): Adapt.
5684 * nptl/tst-sem11.c (main): Adapt.
5685 * nptl/sem_trywait.c: Remove.
5686 * nptl/DESIGN-sem.txt: Remove.
5687 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5688 (gen-as-const-headers): Remove structsem.sym.
5689 * nptl/structsem.sym: Remove.
5690 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5691 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5692 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5693 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5694 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5695 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5696 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5697 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5698 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5699 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5700 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5701 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5702 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5703 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5704 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5705 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5706 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5707 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5708 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5709 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5710 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5711 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5713 2015-01-20 Carlos O'Donell <carlos@redhat.com>
5715 * INSTALL: Regenerated.
5717 * po/libc.pot: Regenerated.
5719 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5720 Sandra Loosemore <sandra@codesourcery.com>
5721 Andrew Jenner <andrew@codesourcery.com>
5722 Joseph Myers <joseph@codesourcery.com>
5723 Nathan Sidwell <nathan@codesourcery.com>
5725 * NEWS: Mention new Nios II port.
5726 * sysdeps/nios2/Implies: New file.
5727 * sysdeps/nios2/Makefile: New file.
5728 * sysdeps/nios2/Subdirs: New file.
5729 * sysdeps/nios2/Versions: New file.
5730 * sysdeps/nios2/__longjmp.S: New file.
5731 * sysdeps/nios2/abort-instr.h: New file.
5732 * sysdeps/nios2/backtrace.c: New file.
5733 * sysdeps/nios2/bits/endian.h: New file.
5734 * sysdeps/nios2/bits/fenv.h: New file.
5735 * sysdeps/nios2/bits/link.h: New file.
5736 * sysdeps/nios2/bits/setjmp.h: New file.
5737 * sysdeps/nios2/bsd-_setjmp.S: New file.
5738 * sysdeps/nios2/bsd-setjmp.S: New file.
5739 * sysdeps/nios2/configure: New generated file.
5740 * sysdeps/nios2/configure.ac: New file.
5741 * sysdeps/nios2/crti.S: New file.
5742 * sysdeps/nios2/crtn.S: New file.
5743 * sysdeps/nios2/dl-init.c: New file.
5744 * sysdeps/nios2/dl-machine.h: New file.
5745 * sysdeps/nios2/dl-sysdep.h: New file.
5746 * sysdeps/nios2/dl-tls.h: New file.
5747 * sysdeps/nios2/dl-trampoline.S: New file.
5748 * sysdeps/nios2/gccframe.h: New file.
5749 * sysdeps/nios2/gmp-mparam.h: New file.
5750 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5751 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5752 * sysdeps/nios2/ldsodefs.h: New file.
5753 * sysdeps/nios2/libc-tls.c: New file.
5754 * sysdeps/nios2/libm-test-ulps: New file.
5755 * sysdeps/nios2/machine-gmon.h: New file.
5756 * sysdeps/nios2/math-tests.h: New file.
5757 * sysdeps/nios2/math_private.h: New file.
5758 * sysdeps/nios2/memusage.h: New file.
5759 * sysdeps/nios2/nptl/Makefile: New file.
5760 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5761 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5762 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5763 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5764 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5765 * sysdeps/nios2/nptl/tls.h: New file.
5766 * sysdeps/nios2/preconfigure: New file.
5767 * sysdeps/nios2/s_fma.c: New file.
5768 * sysdeps/nios2/s_fmaf.c: New file.
5769 * sysdeps/nios2/setjmp.S: New file.
5770 * sysdeps/nios2/sfp-machine.h: New file.
5771 * sysdeps/nios2/sotruss-lib.c: New file.
5772 * sysdeps/nios2/stackguard-macros.h: New file.
5773 * sysdeps/nios2/stackinfo.h: New file.
5774 * sysdeps/nios2/start.S: New file.
5775 * sysdeps/nios2/sysdep.h: New file.
5776 * sysdeps/nios2/tls-macros.h: New file.
5777 * sysdeps/nios2/tst-audit.h: New file.
5778 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5779 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5780 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5781 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5782 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5783 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5784 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5785 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5786 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5787 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5788 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5789 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5790 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5791 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5792 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5793 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5794 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5795 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5796 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5797 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5798 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5799 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5800 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5801 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5802 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5803 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5804 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5805 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5806 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5807 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5808 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5809 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5810 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5811 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5812 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5813 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5814 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5815 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5816 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5817 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5818 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5819 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5820 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5821 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5823 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5826 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5827 (getutent): Use weak_alias in non SHARED case
5828 and default_symbol_version in SHARED case.
5829 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5830 (getutent_r, pututline): Likewise.
5831 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5832 (getutid): Likewise.
5833 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5834 (getutid_r): Likewise.
5835 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5836 (getutline): Likewise.
5837 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5838 (getutline_r): Likewise.
5839 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5840 (updwtmp): Likewise.
5842 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5845 * sysdeps/s390/s390-32/memcmp.S
5846 (memcmp_g5): Rename to __memcmp_g5.
5847 * sysdeps/s390/s390-32/memcpy.S
5848 (memcpy_g5): Rename to __memcpy_g5.
5849 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5850 (memcpy_mvcle) Rename to __memcpy_mvcle.
5851 * sysdeps/s390/s390-32/memset.S
5852 (memset_g5): Rename to __memset_g5.
5853 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5854 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5855 and use prefixed functions.
5856 * sysdeps/s390/s390-32/multiarch/memcmp.S
5857 (memcmp_z196): Rename to __memcmp_z196.
5858 (memcmp_z10): Rename to __memcmp_z10.
5859 (memcmp): Set alias to __memcmp_g5.
5860 (bcmp): Set alias to __memcmp_g5.
5861 * sysdeps/s390/s390-32/multiarch/memcpy.S
5862 (memcpy_z196): Rename to __memcpy_z196.
5863 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5864 (memcpy_z10): Rename to __memcpy_z10.
5865 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5866 (memcpy): Set alias to __memcpy_g5.
5867 * sysdeps/s390/s390-32/multiarch/memset.S
5868 (memset_z196): Rename to __memset_z196.
5869 Jump to __memset_mvcle instead of memset_mvcle.
5870 (memset_z10): Rename to __memset_z10.
5871 Jump to __memset_mvcle instead of memset_mvcle.
5872 (memset_mvcle) Rename to __memset_mvcle.
5873 (memset): Set alias to __memset_g5.
5874 * sysdeps/s390/s390-64/memcmp.S
5875 (memcmp_z900): Rename to __memcmp_z900.
5876 * sysdeps/s390/s390-64/memcpy.S
5877 (memcpy_z900): Rename to __memcpy_z900.
5878 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5879 (memcpy_mvcle) Rename to __memcpy_mvcle.
5880 * sysdeps/s390/s390-64/memset.S
5881 (memset_z900): Rename to __memset_z900.
5882 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5883 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5884 and use prefixed functions.
5885 * sysdeps/s390/s390-64/multiarch/memcmp.S
5886 (memcmp_z196): Rename to __memcmp_z196.
5887 (memcmp_z10): Rename to __memcmp_z10.
5888 (memcmp): Set alias to __memcmp_z900.
5889 (bcmp): Set alias to __memcmp_z900.
5890 * sysdeps/s390/s390-64/multiarch/memcpy.S
5891 (memcpy_z196): Rename to __memcpy_z196.
5892 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5893 (memcpy_z10): Rename to __memcpy_z10.
5894 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5895 (memcpy): Set alias to __memcpy_z900.
5896 * sysdeps/s390/s390-64/multiarch/memset.S
5897 (memset_z196): Rename to __memset_z196.
5898 Jump to __memset_mvcle instead of memset_mvcle.
5899 (memset_z10): Rename to __memset_z10.
5900 Jump to __memset_mvcle instead of memset_mvcle.
5901 (memset_mvcle) Rename to __memset_mvcle.
5902 (memset): Set alias to __memset_z900.
5904 2015-01-14 Joseph Myers <joseph@codesourcery.com>
5907 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5908 __fesetenv instead of fesetenv.
5910 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5912 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5915 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5917 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5920 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5921 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5922 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5923 strncmp-power8 object.
5924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5925 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5926 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5929 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5930 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5932 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5933 trailing byte check.
5935 2015-01-13 David S. Miller <davem@davemloft.net>
5937 * include/signal.h (__sigreturn): Guard with __USE_MISC.
5939 2015-01-13 Roland McGrath <roland@hack.frob.com>
5941 * login/logout.c (logout): Use memset rather than bzero.
5942 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5943 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5944 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5945 (_gethtbyaddr): Likewise.
5946 * locale/programs/simple-hash.c (bcopy): Macro removed.
5948 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5950 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5951 Add strcmp-power8 object.
5952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5953 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5954 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5955 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5956 __strcmp_power8 implementation.
5957 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5960 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5961 Add strncpy-power8 and stpncpy-power8 objects.
5962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5963 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5965 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5966 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5967 __stpncpy_power8 implementation.
5968 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5969 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5970 __strncpy_power8 implementation.
5971 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5972 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5975 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5976 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5977 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5979 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5980 strncat-power8 object.
5981 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5982 __strcat_power8 implementation.
5983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5984 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5985 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5986 optimized strcat for power8.
5988 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5989 strcpy-power8 and stpcpy-power8 objects.
5990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5991 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5993 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5994 multiarch stpcpy implementation for POWER8.
5995 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5996 multiarch strcpy implementation for POWER8.
5997 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5998 __strcpy_power8 function.
5999 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6001 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6005 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
6008 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6009 weights and rules. Use do_xfrm_cached if data fits in cache,
6010 do_xfrm otherwise. Moved former main loop to...
6011 * (do_xfrm_cached): New function.
6012 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6013 find_idx, find_position and stack_push.
6014 * (find_idx): New function.
6015 * (find_position): Likewise.
6016 * localedata/sort-test.sh: Added test run for do_xfrm.
6017 * localedata/xfrm-test.c (main): Added command line option
6018 -nocache to run the test with strings that are too large for
6021 2015-01-13 Torvald Riegel <triegel@redhat.com>
6023 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6024 variable to lll_futex_wake call, not the value itself.
6026 2015-01-12 Joseph Myers <joseph@codesourcery.com>
6029 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6030 twom64. Adjust value to 0x1p-64L.
6031 (__scalblnl): Only return standard underflowing result for K <=
6032 -64 not K <= -63; adjust exponent for underflowing result by 64
6034 * math/libm-test.inc (scalbn_test_data): Add more tests.
6035 (scalbln_test_data): Likewise.
6038 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6040 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6042 * math/libm-test.inc (scalbn_test_data): Add more tests.
6043 (scalbln_test_data): Likewise.
6045 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6046 Stefani Seibold <stefani@seibold.net>
6048 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6049 (sysdep_routines): Add dl-vdso here, ...
6050 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6051 (sysdep_routines): ... not here.
6052 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6053 fallback when vDSO is not presented.
6054 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6055 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6056 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6057 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6058 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6059 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6060 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6061 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6062 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6063 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6064 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6065 fallback configurable symbol when vDSO is not available.
6066 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6067 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6068 be able to redefine fallback symbol when vDSO is not available.
6069 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6070 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6072 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6074 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6075 (TLS_INIT_TP): Add tm_capable initialization.
6076 (TLS_DEFINE_INIT_TP): Likewise.
6077 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6079 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6080 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6082 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6083 transactoion is lock elision is built and TCB tm_capable is set.
6084 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6086 (INTERNAL_SYSCALL_NCS): Likewise.
6087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6088 (INTERNAL_SYSCALL_NCS): Likewise.
6089 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6091 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6093 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6094 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6095 and remove it for 32 bits case.
6096 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6097 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6099 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6100 Disable lock elision with rdlocks if elision is not available.
6102 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6103 (sysdep_routines): Add lock elision objects.
6104 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6105 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6106 [pthread_mutex_t] (__elision): Add field.
6107 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6108 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6109 elision definitions for powerpc.
6110 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6111 implementation of lock elision for powerpc.
6112 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6113 implementation of timed lock elision for powerpc.
6114 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6115 implementation of trylock with lock elision for powerpc.
6116 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6117 implementaion of unlock for lock elision for powerpc.
6118 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6119 automatic enable lock elision for mutexes.
6120 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6121 transaction execution definitions for powerpc.
6122 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6124 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6125 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6126 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6127 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6130 2015-01-09 Roland McGrath <roland@hack.frob.com>
6132 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6133 for #include of <shm-directory.h>.
6135 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6137 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6138 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6140 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6143 * NEWS: Mention bug fix.
6144 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6145 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6146 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6148 2015-01-09 Torvald Riegel <triegel@redhat.com>
6150 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6152 2015-01-09 Torvald Riegel <triegel@redhat.com>
6154 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6156 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6158 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6159 pointer and cast to uintptr_t.
6161 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6163 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6165 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6167 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6169 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6172 2015-01-08 Roland McGrath <roland@hack.frob.com>
6174 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6175 <nptl/pthreadP.h> instead.
6176 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6178 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6180 [__SIGRTMIN] (init): Function removed.
6181 [__SIGRTMIN] (initialized): Variable removed.
6182 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6183 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6184 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6185 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6186 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6187 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6188 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6189 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6190 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6191 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6192 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6193 * sysdeps/nptl/allocrtsig.c: New file.
6194 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6195 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6196 * sysdeps/generic/testrtsig.h: File removed.
6198 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6199 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6201 * nptl/nptl-init.c (pthread_functions): Conditionalize
6202 .ptr__nptl_setxid initialization on [SIGSETXID].
6204 * sysdeps/nptl/sys/procfs.h: New file.
6205 * nptl_db/Makefile (headers): Add it.
6206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6208 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6209 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6210 * nptl/pthread_attr_setaffinity.c: Include it.
6211 * nptl/pthread_setattr_default_np.c: Likewise.
6212 * nptl/check-cpuset.h: New file.
6214 2015-01-08 Richard Henderson <rth@redhat.com>
6216 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6217 (CFLAGS-tst-execstack-prog.c): Likewise.
6218 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6220 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6221 Sandra Loosemore <sandra@codesourcery.com>
6222 Andrew Jenner <andrew@codesourcery.com>
6223 Joseph Myers <joseph@codesourcery.com>
6224 Nathan Sidwell <nathan@codesourcery.com>
6226 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6227 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6228 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6229 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6230 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6231 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6232 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6233 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6234 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6235 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6236 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6237 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6238 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6239 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6240 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6241 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6242 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6244 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6246 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6247 timespec struct member in syscall macro.
6248 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6249 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6250 first timeval struct member in syscall macro.
6251 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6253 2015-01-07 Joseph Myers <joseph@codesourcery.com>
6256 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6257 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6258 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6259 __feupdateenv and define as weak alias of __feupdateenv. Use
6261 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6263 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6264 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6265 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6266 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6268 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6269 __feupdateenv and define as weak alias of __feupdateenv. Use
6271 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6273 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6274 __feupdateenv and define as weak alias of __feupdateenv. Use
6276 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6278 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6279 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6280 (__feupdateenv): Likewise.
6281 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6282 __feupdateenv and define as weak alias of __feupdateenv. Use
6284 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6285 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6287 * sysdeps/tile/math_private.h (__feupdateenv): New inline
6289 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6291 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6292 __feupdateenv instead of feupdateenv.
6293 (default_libc_feupdateenv_test): Likewise.
6294 (libc_feresetround_ctx): Likewise.
6296 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6298 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6301 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6303 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6304 COLL_SYM in a couple of places to avoid uninitialized variable
6305 wanings on tilegx gcc 4.8.2.
6307 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6309 * sysdeps/aarch64/strcpy.S: New file.
6310 * sysdeps/aarch64/stpcpy.S: New file.
6313 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6315 * sysdeps/aarch64/strrchr.S: New file.
6318 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
6321 * stdlib/setenv.c: Fix memory leak when setting large,
6324 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6327 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6328 and tabs from buffer before parsing fstab entry.
6329 * misc/tst-mntent.c (main): Add test for mount entry with
6330 trailing spaces and tabs.
6332 2015-01-06 Joseph Myers <joseph@codesourcery.com>
6335 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6336 * math/fesetround.c (fesetround): Rename to __fesetround and
6337 define as weak alias of __fesetround. Use libm_hidden_weak.
6338 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6339 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6340 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6341 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6342 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6343 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6344 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6345 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6346 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6347 __fesetround_inline.
6348 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6349 __fesetround_inline instead of __fesetround.
6350 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6351 __fesetround and define as weak alias of __fesetround. Use
6352 libm_hidden_weak. Call __fesetround_inline instead of
6354 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6355 __fesetround and define as weak alias of __fesetround. Use
6357 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6359 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6360 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6361 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6362 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6363 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6364 __fesetround and define as weak alias of __fesetround. Use
6366 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6367 __fesetround instead of fesetround.
6368 (default_libc_feholdexcept_setround): Likewise.
6369 (libc_feholdsetround_ctx): Likewise.
6370 (libc_feholdsetround_noex_ctx): Likewise.
6373 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6374 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6375 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6376 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6377 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6378 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6379 define as weak alias of __fesetenv. Use libm_hidden_weak.
6380 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6381 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6382 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6383 define as weak alias of __fesetenv. Use libm_hidden_weak.
6384 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6385 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6386 define as weak alias of __fesetenv. Use libm_hidden_weak.
6387 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6389 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6390 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6392 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6393 define as weak alias of __fesetenv. Use libm_hidden_weak.
6394 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6395 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6396 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6397 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6398 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6399 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6400 __fesetenv instead of fesetenv.
6401 (libc_feresetround_noex_ctx): Likewise.
6402 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6403 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6404 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6405 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6406 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6407 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6408 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6409 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6410 (__feupdateenv): Likewise.
6411 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6412 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6413 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6414 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6416 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6419 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6420 addresses have been freed.
6422 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6424 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6427 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
6429 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6430 Clean up check_pf allocation pattern. addresses
6432 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6434 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6435 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6436 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6437 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6438 * nptl/pthread_join.c (pthread_join): Likewise.
6439 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6440 * sysdeps/posix/waitid.c (__waitid): Likewise.
6441 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6442 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6443 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6444 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6445 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6447 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6448 (__libc_pread64): Likewise.
6449 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6450 (__libc_pwrite): Likewise.
6451 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6452 (__libc_pwrite64): Likewsie.
6453 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6454 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6455 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6456 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6457 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6458 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6459 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6463 (__libc_pread64): Likewise.
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6467 (__libc_pwrite64): Likewise.
6468 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6469 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6470 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6471 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6472 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6473 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6474 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6475 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6476 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6477 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6478 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6479 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6480 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6481 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6482 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6483 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6486 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6488 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6489 (CFLAGS-test-double.c): Likewise.
6490 (CFLAGS-test-ldouble.c): Likewise.
6491 (CPPFLAGS-test-ifloat.c): Likewise.
6492 (CPPFLAGS-test-idouble.c): Likewise.
6493 (CPPFLAGS-test-ildoubl.c): Likewise.
6494 (CFLAGS-test-test-fenv.c): Remove variable.
6495 (CFLAGS-test-misc.c): Likewise.
6497 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6500 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6501 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6502 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6503 CLOCKS_PER_SEC == 1000000.
6504 * time/clocktest.c (main): Replace %ld with %jd and cast to
6507 2015-01-05 Roland McGrath <roland@hack.frob.com>
6509 * sysdeps/generic/unwind-resume.h: New file.
6510 * sysdeps/gnu/unwind-resume.c: Include it.
6511 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6512 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6514 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6515 global rather than static.
6516 (_Unwind_Resume): Update user.
6517 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6518 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6519 rather than static. Add __attribute__ ((cold)).
6520 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6521 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6522 * sysdeps/arm/arm-unwind-resume.S: New file.
6523 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6524 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6525 * sysdeps/arm/Makefile [$(subdir) = csu]
6526 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6527 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6528 Add rt-arm-unwind-resume.
6530 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6531 Add pt-arm-unwind-resume.
6532 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6533 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6535 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6538 * include/fenv.h (__feholdexcept): Declare. Use
6540 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6541 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6542 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6543 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6544 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6545 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6546 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6547 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6548 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6549 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6550 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6551 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6552 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6553 (feholdexcept): Likewise.
6554 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6555 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6556 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6557 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6558 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6559 __feholdexcept instead of feholdexcept.
6560 (default_libc_feholdexcept_setround): Likewise.
6562 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6564 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6565 to avoid using stl/str to align destination.
6567 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6569 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6571 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6574 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6575 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6576 Define as weak alias not strong alias.
6578 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6580 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6581 bltzal with addiupc.
6582 (RTLD_START): Ditto.
6584 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6586 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6587 for __vdso_* functions in declarations.
6588 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6590 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6591 INTERNAL_VSYSCALL): Use struct return types to check for error.
6593 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6594 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6595 function with cast from llround().
6596 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6597 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6600 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6603 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6604 Define as weak alias not strong alias.
6607 * ctype/ctype-c99.c: New file. isblank implementation moved from
6609 * ctype/ctype-extn.c: ... here.
6610 (__isblank_l): Move to ...
6611 * ctype/ctype-c99_l.c: ... here. New file.
6612 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6613 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6615 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6616 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6617 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6618 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6619 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6622 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6623 (posix_fadvise64): Define as weak alias not strong alias.
6624 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6625 (posix_fallocate64): Likewise.
6626 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6628 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6629 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6630 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6631 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6632 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6634 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6637 * NEWS: Mention bug fix.
6638 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6639 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6640 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6641 (HOST_STACK_END_ADDR): Likewise.
6643 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6646 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6647 * math/fegetround.c (fegetround): Rename to __fegetround and
6648 define as weak alias of __fegetround. Use libm_hidden_weak.
6649 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6650 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6651 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6652 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6653 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6654 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6655 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6656 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6657 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6658 Undefine after rather than before function definition; use
6659 parentheses around function name in definition.
6660 (__fegetround): Also undefine macro after function definition.
6661 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6662 __fegetround and define as weak alias of __fegetround. Use
6663 libm_hidden_weak. Do not undefine as macro.
6664 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6666 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6667 __fegetround and define as weak alias of __fegetround. Use
6669 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6670 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6671 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6672 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6673 __fegetround and define as weak alias of __fegetround. Use
6675 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6676 __fegetround instead of fegetround.
6679 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6680 Condition macro definition on [__USE_MISC].
6683 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6684 (struct sigaction): Change type of sa_flags field to int.
6687 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6688 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6691 * nptl/version.c (banner): Use single year in copyright notice.
6693 * NEWS: Update copyright dates.
6694 * catgets/gencat.c (print_version): Likewise.
6695 * csu/version.c (banner): Likewise.
6696 * debug/catchsegv.sh: Likewise.
6697 * debug/pcprofiledump.c (print_version): Likewise.
6698 * debug/xtrace.sh (do_version): Likewise.
6699 * elf/ldconfig.c (print_version): Likewise.
6700 * elf/ldd.bash.in: Likewise.
6701 * elf/pldd.c (print_version): Likewise.
6702 * elf/sotruss.sh: Likewise.
6703 * elf/sprof.c (print_version): Likewise.
6704 * iconv/iconv_prog.c (print_version): Likewise.
6705 * iconv/iconvconfig.c (print_version): Likewise.
6706 * locale/programs/locale.c (print_version): Likewise.
6707 * locale/programs/localedef.c (print_version): Likewise.
6708 * login/programs/pt_chown.c (print_version): Likewise.
6709 * malloc/memusage.sh (do_version): Likewise.
6710 * malloc/memusagestat.c (print_version): Likewise.
6711 * malloc/mtrace.pl: Likewise.
6712 * manual/libc.texinfo: Likewise.
6713 * nptl/version.c (banner): Likewise.
6714 * nscd/nscd.c (print_version): Likewise.
6715 * nss/getent.c (print_version): Likewise.
6716 * nss/makedb.c (print_version): Likewise.
6717 * posix/getconf.c (main): Likewise.
6718 * scripts/test-installation.pl: Likewise.
6719 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6721 2015-01-02 Will Newton <will.newton@linaro.org>
6723 * sysdeps/arm/armv7/configure: Removed.
6724 * sysdeps/arm/armv7/configure.ac: Likewise.
6726 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6728 * All files with FSF copyright notices: Update copyright dates
6729 using scripts/update-copyrights.
6730 * intl/plural.c: Regenerated.
6731 * locale/programs/charmap-kw.h: Likewise.
6732 * locale/programs/locfile-kw.h: Likewise.
6734 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6736 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6738 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6741 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6742 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6743 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6744 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6745 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6746 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6747 define as weak alias of __fegetenv. Use libm_hidden_weak.
6748 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6749 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6750 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6751 define as weak alias of __fegetenv. Use libm_hidden_weak.
6752 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6753 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6754 define as weak alias of __fegetenv. Use libm_hidden_weak.
6755 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6757 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6758 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6760 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6761 define as weak alias of __fegetenv. Use libm_hidden_weak.
6762 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6763 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6764 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6765 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6766 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6767 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6768 __fegetenv instead of fegetenv.
6769 (libc_feholdsetround_noex_ctx): Likewise.
6771 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6773 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6774 (Elf_MIPS_ABIFlags_v0): New structure.
6775 (EF_MIPS_FP64): Define.
6776 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6777 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6778 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6779 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6780 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6781 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6782 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6783 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6784 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6785 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6786 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6787 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6788 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6789 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6790 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6791 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6792 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6793 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6794 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6795 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6796 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6797 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6799 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6801 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6802 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6803 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6804 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6805 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6806 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6807 * sysdeps/mips/tst-abi-interlink.c: Likewise.
6808 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6809 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6810 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6811 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6812 record the current FP ABI extension.
6813 (mips-mode-switch): Define to show if kernel headers support mode
6815 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6816 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6817 supported SYSV ABI version to 3.
6818 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6821 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6822 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6824 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6826 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6828 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6830 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6831 __fegetround and redefine to call __fegetround. Remove condition
6832 on [!__NO_MATH_INLINES].
6833 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6835 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6836 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6838 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6839 instead of <fenv_libc.h>.
6840 (__llrintl): Call fegetround instead of __fegetround.
6841 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6842 instead of <fenv_libc.h>.
6843 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6844 (__lrintl): Call fegetround instead of __fegetround.
6845 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6846 instead of <fenv_libc.h>.
6847 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6848 (__rintl): Call fegetround instead of __fegetround.
6850 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6852 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6855 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6858 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6859 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6860 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6862 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6864 * sysdeps/i386/tls-macros.h: Include <features.h>.
6865 (TLS_LE): Use non-PIC version for GCC >= 5.0.
6869 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6870 define for GCC >= 5.0.
6872 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
6874 * math/test-fenv.c (test_single_exception, set_single_exc,
6875 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6876 feexcp_mask_test, feenable_test, fe_single_test): Add
6877 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6878 case where they are not used.
6879 * math/libm-test.inc: Likewise.
6880 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6881 unused in the absence of FP rounding/exception support.
6882 * stdio-common/tst-printf-round.c: Likewise.
6883 * stdlib/tst-strtod-round.c: Likewise.
6884 * stdlib/tst-strtod-underflow.c: Likewise.
6886 2014-12-30 Joseph Myers <joseph@codesourcery.com>
6889 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6890 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6891 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6892 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6894 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6895 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6896 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6898 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6899 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6901 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6903 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6904 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6905 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6907 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6909 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6910 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6911 (__feraiseexcept): Likewise.
6912 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6913 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6915 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6916 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6918 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6919 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6920 Use libm_hidden_def.
6921 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6923 (feraiseexcept): Define as weak not strong alias. Use
6925 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6926 New inline function. Factored out of ...
6927 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
6928 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6929 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6931 * math/w_acos.c (__acos): Likewise.
6932 * math/w_asin.c (__asin): Likewise.
6933 * math/w_ilogb.c (__ilogb): Likewise.
6934 * math/w_j0.c (y0): Likewise.
6935 * math/w_j1.c (y1): Likewise.
6936 * math/w_jn.c (yn): Likewise.
6937 * math/w_log.c (__log): Likewise.
6938 * math/w_log10.c (__log10): Likewise.
6939 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6940 * sysdeps/aarch64/fpu/math_private.h
6941 (libc_feupdateenv_test_aarch64): Likewise.
6942 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6943 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6944 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6945 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6946 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6947 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6948 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6949 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6950 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6951 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6953 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6956 * io/test-utime.c (main): Replace %ld with %jd and cast to
6958 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6959 * nptl/tst-mutex5.c: Include <stdint.h>.
6960 (do_test): Replace %ld with %jd and cast to intmax_t.
6961 * posix/tst-regex.c (run_test): Likewise.
6962 (run_test_backwards): Likewise.
6963 * rt/tst-clock.c: Include <stdint.h>.
6964 (clock_test): Replace %ld with %jd and cast to intmax_t.
6965 * rt/tst-cpuclock1.c: Include <stdint.h>.
6966 (do_test): Replace %lu with %ju and cast to uintmax_t.
6967 * rt/tst-cpuclock2.c: Include <stdint.h>.
6968 (do_test): Replace %lu with %ju and cast to uintmax_t.
6969 * rt/tst-mqueue1.c: Include <stdint.h>.
6970 (check_attrs): Replace %ld with %jd and cast to intmax_t.
6971 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6973 * rt/tst-mqueue4.c (do_test): Likewise.
6974 * rt/tst-timer4.c: Include <stdint.h>.
6975 (check_ts): Replace %ld with %jd and cast to intmax_t.
6976 (do_test): Likewise.
6977 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6978 and cast to intmax_t.
6979 * sysdeps/pthread/tst-timer.c (main): Likewise.
6980 * time/clocktest.c (main): Likewise.
6981 * time/tst-posixtz.c (do_test): Likewise.
6982 * timezone/tst-timezone.c (main): Likewise.
6984 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6985 H.J. Lu <hongjiu.lu@intel.com>
6987 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6988 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6989 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6990 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6991 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6992 version if bit_Fast_Unaligned_Load is set.
6993 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6994 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6995 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6996 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6997 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6998 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7000 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7001 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7002 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7004 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7005 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7006 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7007 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7009 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
7011 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7012 instead of #if to avoid a Wundef warning.
7013 * stdlib/tst-limits.c (do_test): Likewise.
7015 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7016 parallel other exception macros.
7017 (fegetenv): Convert from macro to extern inline so that it applies
7018 retroactively to inline functions already seen by the compiler.
7019 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7021 * posix/Makefile (before-compile): Use $(objpfx) for
7022 posix-conf-vars-def.h.
7024 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7026 * posix/getconf.c (main): Use size_t for type of I.
7027 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7030 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7031 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7032 * posix/posix-envs.def: Likewise.
7033 * sysdeps/posix/sysconf.c: Likewise.
7034 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7035 (specs): Remove array.
7036 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7039 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7040 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7041 (__sysconf): Use CONF_IS_* macros.
7043 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7044 ($(objpfx)posix-conf-vars-def.h): New target.
7045 * posix/posix-conf-vars.list: New file.
7046 * posix/posix-conf-vars.h: New file.
7047 * posix/confstr.c: Include posix-conf-vars.h.
7048 (confstr): Use CONF_IS_* macros.
7049 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7051 * scripts/gen-posix-conf-vars.awk: New file.
7053 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7055 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7056 fegetround): Add no-op macros to avoid linknamespace issues.
7058 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7059 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7061 * sysdeps/unix/sysv/linux/tile/sysdep.h
7062 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7063 assembly-specific section to avoid a redefinition warning.
7065 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7066 long before casting to pointer to avoid a cast warning.
7068 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7070 * sysdeps/tile/tilegx/Implies: New file.
7072 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
7074 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7076 2014-12-23 Florian Weimer <fweimer@redhat.com>
7078 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7080 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7082 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7084 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7085 <kernel-features.h>.
7086 (__utimes) [__NR_utimes]: Make code unconditional.
7087 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7088 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7089 (__ASSUME_UTIMES): Do not undefine.
7090 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7091 (__ASSUME_UTIMES): Likewise.
7092 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7093 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7094 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7095 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7097 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7099 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7101 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7104 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7105 alias to weak alias for j0l, y0l.
7106 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7107 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7110 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7113 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7115 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7116 to zero if not already defined.
7118 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7121 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7122 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7123 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7124 (char *) casts added.
7125 * sysdeps/ieee754/k_standardf.c: New file.
7126 * sysdeps/ieee754/k_standardl.c: Likewise.
7127 * math/Makefile (libm-support): Remove k_standard.
7128 (libm-calls): Add k_standard.
7130 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7132 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7133 Optimize to avoid an unnecessary FPCR read.
7135 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7137 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7138 Optimize to reduce FPCR/FPSR accesses.
7140 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7142 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7143 Call libc_fetestexcept_aarch64.
7145 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7147 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7148 Call libc_fesetround_aarch64.
7150 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7153 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7154 (__bind): Do not define as weak alias.
7155 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7157 (__getsockname): Do not define as weak alias.
7159 2014-12-22 Will Newton <will.newton@linaro.org>
7161 * manual/install.texi: Document that we require bison 2.7
7163 * INSTALL: Regenerate.
7164 * configure.ac: Use AC_CHECK_PROG_VER instead of
7165 AC_PATH_PROG when checking for bison and check for
7166 version 2.7 or above.
7167 * configure: Regenerate.
7169 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7172 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7173 * sysdeps/tile/ffsll.c (ffsll): To here.
7175 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7177 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7179 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7181 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7183 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7184 hidden ___tls_get_addr.
7185 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7186 hidden __tls_get_addr.
7187 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7188 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7191 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7193 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7196 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7198 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7199 from "call _dl_init@PLT".
7200 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7202 2014-12-21 Anders Kaseorg <andersk@mit.edu>
7204 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7207 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7209 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7211 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7214 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7217 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7219 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7221 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7222 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7223 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7224 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7225 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7227 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7229 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7230 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7231 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7232 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7233 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7235 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7237 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
7239 * string/strncat.c (STRNCAT): Simplify implementation.
7241 2014-12-19 David S. Miller <davem@davemloft.net>
7243 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7244 access the quad as both a long double and as a series of 4 words.
7246 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7247 link_map->l_info array access.
7249 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7251 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7253 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7254 * math/atest-exp2.c (TIMEOUT): Likewise.
7255 * math/atest-sincos.c (TIMEOUT): Likewise.
7257 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7259 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7260 -Wno-error with -fno-builtin-lround.
7262 2014-12-19 Torvald Riegel <triegel@redhat.com>
7264 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7265 Contains futex constants and functions moved over from ...
7266 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7267 <lowlevellock-futex.h>.
7268 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7269 (lll_timedwait_tid): Add comments and parentheses around macro
7272 2014-12-19 Torvald Riegel <triegel@redhat.com>
7274 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7275 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7276 (__lll_private_flag): Remove.
7277 (lll_futex_wait): Likewise.
7278 (lll_futex_timed_wait): Likewise.
7279 (lll_futex_wake): Likewise.
7280 (lll_futex_requeue): Likewise.
7281 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7282 (__lll_timedwait_tid): Spell out argument names.
7283 (lll_timedwait_tid): Add comments and parentheses around macro
7285 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7286 LLL_SHARED and LLL_PRIVATE usable from assembly code.
7288 2014-12-19 Torvald Riegel <triegel@redhat.com>
7290 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7291 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7292 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7293 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7294 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7295 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7296 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7297 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7298 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7299 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7300 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7301 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7302 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7303 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7304 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7305 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7306 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7307 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7308 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7310 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7312 * sysdeps/x86_64/x32/Makefile: New file.
7314 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7316 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7317 1L with (mp_limb_t) 1.
7319 2014-12-17 Roland McGrath <roland@hack.frob.com>
7321 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7322 * nptl/libc_pthread_init.c: ... here.
7323 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7324 * nptl/register-atfork.c: ... here.
7326 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7327 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7328 Use assert_perror to check its return value.
7329 (__gai_create_helper_thread): Likewise.
7331 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7333 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7335 2014-12-17 Joseph Myers <joseph@codesourcery.com>
7338 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7340 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7342 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7344 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7346 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7347 (profil_counter): Likewise.
7348 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7349 (profil_counter): Likewise.
7350 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7352 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7354 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7355 (profil_counter): Likewise.
7356 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7358 [!__profil_counter] (profil_counter): Define as weak alias of
7360 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7361 (profil_counter): Rename to __profil_counter.
7362 [!__profil_counter] (profil_counter): Define as weak alias of
7364 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7365 (profil_counter): Rename to __profil_counter.
7366 [!__profil_counter] (profil_counter): Define as weak alias of
7368 * sysdeps/posix/profil.c: Update comment referring to
7370 (__profil): Use __profil_counter instead of profil_counter.
7371 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7372 __profil_counter. Use __profil_counter_ushort and
7373 __profil_counter_uint in definitions.
7374 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7375 instead of profil_counter_uint and profil_counter_ushort.
7378 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7379 define as weak alias of __inet_makeaddr.
7380 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7381 as weak alias of __inet_addr.
7382 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7383 as weak alias of __inet_pton. Use libc_hidden_weak.
7384 * include/arpa/inet.h (__inet_pton): Declare. Use
7386 (inet_makeaddr): Don't use libc_hidden_proto.
7387 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7388 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7389 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7390 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7392 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7393 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7395 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
7397 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7399 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7401 * stdio-common/bug-vfprintf-nargs.c (do_test):
7402 Cast value to intptr_t to avoid format warning
7403 for usage with PRIdPTR printing macro.
7405 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7407 * libio/tst-widetext.c (do_test):
7408 Use format type %td instead of %Zd for ptrdiff_t
7409 in order to avoid format warning.
7411 2014-12-17 Andreas Schwab <schwab@suse.de>
7413 * nscd/mem.c (gc): Add size_t cast to match printf format.
7415 2014-12-16 Roland McGrath <roland@hack.frob.com>
7417 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7418 (init): Apply PTR_MANGLE to pointers before storing them.
7419 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7422 2014-12-16 Joseph Myers <joseph@codesourcery.com>
7425 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7426 define as weak alias of __memrchr.
7427 (__memrchr): Do not define as strong alias of memrchr.
7428 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7430 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7431 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7432 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7435 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7436 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7437 (if_indextoname): Rename to __if_indextoname and define as weak
7438 alias of __if_indextoname. Use libc_hidden_weak.
7439 (if_freenameindex): Rename to __if_freenameindex and define as
7440 weak alias of __if_freenameindex.
7441 (if_nameindex): Rename to __if_nameindex and define as weak alias
7443 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7444 __if_nametoindex and define as weak alias of __if_nametoindex.
7445 Use libc_hidden_weak.
7446 (if_freenameindex): Rename to __if_freenameindex and define as
7447 weak alias of __if_freenameindex.
7448 (if_nameindex): Rename to __if_nameindex and define as weak alias
7450 (if_indextoname): Rename to __if_indextoname and define as weak
7451 alias of __if_indextoname. Use libc_hidden_weak.
7452 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7453 __if_nametoindex and define as weak alias of __if_nametoindex.
7454 Use libc_hidden_weak.
7455 (if_freenameindex): Rename to __if_freenameindex and define as
7456 weak alias of __if_freenameindex. Use libc_hidden_weak.
7457 (if_nameindex_netlink): Use __if_freenameindex instead of
7459 (if_nameindex): Rename to __if_nameindex and define as weak alias
7460 of __if_nameindex. Use libc_hidden_weak.
7461 (if_indextoname): Rename to __if_indextoname and define as weak
7462 alias of __if_indextoname. Use libc_hidden_weak.
7463 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7465 [!_ISOMAC] (__if_freenameindex): Likewise.
7466 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7468 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7470 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7471 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7472 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7473 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7474 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7475 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7476 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7478 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7480 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7481 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7483 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7485 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7486 subscript above bounds'
7488 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7491 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
7493 * libio/tst-fopenloc.c: Use test-skeleton.c.
7495 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7496 (entry): Rename to ITEM.
7497 (do_test, comp): Adjust.
7499 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7501 2014-12-16 Torvald Riegel <triegel@redhat.com>
7503 * string/tester.c: Include <libc-internal.h>.
7504 (test_memset): Ignore -Wmemset-transposed-args.
7506 2014-12-16 Torvald Riegel <triegel@redhat.com>
7508 * misc/tst-mntent2.c (do_test): Fix warning.
7510 2014-12-16 Torvald Riegel <triegel@redhat.com>
7512 * elf/tst-unique4lib.cc(a): Mark as used.
7514 2014-12-16 Florian Weimer <fweimer@redhat.com>
7517 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7520 2014-12-16 Allan McRae <allan@archlinux.org>
7522 * stdio-common/Makefile (tests): Re-add bug26.
7524 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
7527 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7530 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7532 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7533 (__lll_lock_wait): Likewise.
7534 (__lll_timedlock_wait): Likewise.
7535 (__lll_timedwait_tid): Likewise.
7536 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7537 (__lll_robust_timedlock_wait): Likewise.
7538 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7539 (lll_cond_trylock): Likewise.
7540 (__lll_lock): Likewise.
7541 (__lll_robust_lock): Likewise.
7542 (__lll_cond_lock): Likewise.
7543 (lll_robust_cond_lock): Likewise.
7544 (__lll_timedlock): Likewise.
7545 (__lll_robust_timedlock): Likewise.
7546 (__lll_unlock): Likewise.
7547 (__lll_robust_unlock): Likewise.
7548 (lll_wait_tid): Likewise.
7549 (lll_timedwait_tid): Likewise.
7551 2014-12-15 Torvald Riegel <triegel@redhat.com>
7553 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7555 2014-12-15 Torvald Riegel <triegel@redhat.com>
7557 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7559 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7561 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7562 * stdio-common/tst-sprintf.c: Likewise.
7564 2014-12-15 Torvald Riegel <triegel@redhat.com>
7566 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7568 2014-12-15 Jeff Law <law@redhat.com>
7571 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7572 on the heap. (CVE-2012-3406)
7573 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7574 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7575 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7577 2014-12-15 Will Newton <will.newton@linaro.org>
7579 * manual/install.texi: Bump required version of texinfo
7581 * INSTALL: Regenerated.
7582 * configure.ac: Check for makeinfo version 4.7 and above.
7583 * configure: Regenerated.
7585 2014-12-12 Roland McGrath <roland@hack.frob.com>
7587 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7588 PREFIX, string constant to insert between directory and name.
7589 * sysdeps/posix/shm_open.c: Update caller.
7590 * sysdeps/posix/shm_unlink.c: Likewise.
7591 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7592 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7593 (SEM_SHM_PREFIX): New macro.
7594 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7595 [$(have-thread-library) = no].
7596 * nptl/Makefile (libpthread-routines): Add shm-directory.
7597 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7598 * sysdeps/nptl/shm-directory.h: New file.
7599 * sysdeps/posix/shm-directory.c
7600 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7601 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7602 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7604 (__where_is_shmfs): Function removed.
7605 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7607 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7609 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7611 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7612 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7613 unconditional for use inside libpthread.
7614 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7616 2014-12-12 Roland McGrath <roland@hack.frob.com>
7618 * nptl/pthread_getaffinity.c: New file.
7619 * nptl/pthread_setaffinity.c: New file.
7620 * nptl/pthread_getname.c: New file.
7621 * nptl/pthread_setname.c: New file.
7623 * nptl/pthread_create.c (START_THREAD_DEFN)
7624 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7626 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7627 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7629 * resolv/res_send.c (send_vc): Disable warning resplen may
7630 be used uninitialized.
7632 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7635 (ATTR_NULL): New define checks ATTR against NULL.
7636 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7637 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7639 2014-12-11 James Lemke <jwlemke@codesourcery.com>
7643 (mem2mem_check): Revert my previous change.
7644 (malloc_check_get_size): Revert my previous change.
7645 (mem2chunk_check): Revert my previous change.
7647 2014-12-11 Roland McGrath <roland@hack.frob.com>
7649 * sysdeps/posix/shm-directory.c: New file.
7650 * sysdeps/posix/shm-directory.h: New file.
7651 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7652 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7653 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7654 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7655 Transmute EPERM to EACCES.
7656 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7658 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7659 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7661 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7663 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7664 pointer and cast to uintptr_t.
7665 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7666 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7667 Add cast to avoid warning.
7668 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7670 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7672 * nptl/semaphore.h: Move to ...
7673 * sysdeps/pthread/semaphore.h: ... here.
7674 * Makefile (installed-headers): Change nptl/semaphore.h to
7675 sysdeps/pthread/semaphore.h.
7677 2014-12-11 Roland McGrath <roland@hack.frob.com>
7679 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7680 generated error format strings.
7682 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7683 -Wformat-extra-args warnings for scanf formats.
7684 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7685 test of zero-length format (duh).
7686 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7687 corner-case scanf format test.
7688 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7689 generated fprintf format string.
7690 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7691 corner-case sprintf format tests.
7692 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7693 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7694 -Wformat-extra-args warnings throughout.
7695 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7696 (CFLAGS-scanf4.c): Likewise.
7697 (CFLAGS-scanf7.c): Likewise.
7698 (CFLAGS-tst-sprintf.c): Likewise.
7699 (CFLAGS-tst-printf.c): Likewise.
7700 (CFLAGS-tst-printfsz.c): Likewise.
7702 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7704 * include/cpio.h: New file.
7705 * include/fmtmsg.h: Likewise.
7707 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7708 corresponding format argument to size_t.
7709 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7711 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7712 corresponding format argument to size_t.
7713 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7715 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7716 corresponding format argument to size_t.
7717 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7718 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7719 (CFLAGS-tst-mbswcs2.c): Likewise.
7720 (CFLAGS-tst-mbswcs3.c): Likewise.
7721 (CFLAGS-tst-mbswcs4.c): Likewise.
7722 (CFLAGS-tst-mbswcs5.c): Likewise.
7723 (CFLAGS-tst-trans.c): Likewise
7725 2014-12-11 Roland McGrath <roland@hack.frob.com>
7727 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7728 rather than assuming they won't contain any '%'s.
7730 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7732 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7733 inhibit_loop_to_libcall to avoid recursive calls.
7734 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7735 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7737 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7739 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7742 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7744 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7745 integer value instead of boolean.
7747 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7749 * malloc/malloc.c: Fix powerof2 check.
7751 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7753 * locale/programs/locfile.h (maybe_swap_uint32):
7754 Remove inline and add unused attribute.
7756 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7758 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7759 Truncating assembler expression to a .long expression.
7761 2014-12-11 Andreas Schwab <schwab@suse.de>
7763 * elf/rtld.c (struct map_args): Constify str member.
7764 (do_preload): Constify fname argument.
7766 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7768 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7769 constants definition.
7771 2014-12-11 Andreas Schwab <schwab@suse.de>
7774 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7775 FORCE_ELISION instead of DO_ELISION.
7776 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7778 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7781 * iconvdata/gconv-modules: Remove duplicate entry.
7783 2014-12-11 Will Newton <will.newton@linaro.org>
7785 Merge gettext 0.19.3 into intl/.
7787 This involves a number of cosmetic changes to comments
7788 and ANSI function definitions and prototypes throughout
7789 all the files. The gettext copyright header is used but
7790 with the date ranges taken from the glibc copy.
7792 * NEWS: Add gettext merge to 2.21.
7793 * intl/bindtextdom.c: Switch to gettext copyright.
7794 Use ANSI definitions and prototypes.
7795 Use gl_* locking primitives rather than __libc_* ones.
7796 Use __builtin_expect rather than __glibc_likely/unlikely.
7797 * intl/dcgettext.c: Switch to gettext copyright.
7798 Use ANSI definitions and prototypes.
7799 * intl/dcigettext.c: Switch to gettext copyright.
7800 Use ANSI definitions and prototypes.
7801 (INTDIV0_RAISES_SIGFPE): New define.
7802 Use gl_* locking primitives rather than __libc_* ones.
7803 Include eval-plural.h instead of plural-eval.c.
7804 Use __builtin_expect rather than __glibc_likely/unlikely.
7805 * intl/dcngettext.c: Switch to gettext copyright.
7806 Use ANSI definitions and prototypes.
7807 * intl/dgettext.c: Likewise.
7808 * intl/dngettext.c: Likewise.
7809 * intl/plural-eval.c: Renamed to...
7810 * intl/eval-plural.h: ...this.
7811 * intl/explodename.c: Switch to gettext copyright.
7812 Use ANSI definitions and prototypes.
7813 (_nl_explode_name): Use strchr instead of __rawmemchr.
7814 * intl/finddomain.c: Switch to gettext copyright.
7815 Use ANSI definitions and prototypes.
7816 Use gl_* locking primitives rather than __libc_* ones.
7817 (_nl_find_domain): Use malloc rather than alloca for
7818 allocation of temporary locale name.
7819 * intl/gettext.c: Switch to gettext copyright.
7820 Use ANSI definitions and prototypes.
7821 * intl/gettextP.h: Switch to gettext copyright.
7822 Use ANSI definitions and prototypes.
7823 Use gl_* locking primitives rather than __libc_* ones.
7824 * intl/gmo.h: Switch to gettext copyright.
7825 (struct sysdep_string): Move struct segment_pair outside of
7827 * intl/hash-string.c: Use ANSI definitions and prototypes.
7828 * intl/hash-string.h: Switch to gettext copyright.
7829 Use ANSI definitions and prototypes.
7830 * intl/l10nflist.c: Switch to gettext copyright.
7831 Use ANSI definitions and prototypes.
7832 (_nl_normalize_codeset): Avoid integer overflow.
7833 * intl/loadinfo.h: Switch to gettext copyright.
7834 Use ANSI definitions and prototypes.
7835 (LIBINTL_DLL_EXPORTED): New define.
7836 (PATH_SEPARATOR): New define.
7837 * intl/loadmsgcat.c: Switch to gettext copyright.
7838 * intl/localealias.c: Switch to gettext copyright.
7839 Use ANSI definitions and prototypes.
7840 (_nl_expand_alias): Use PATH_SEPARATOR.
7841 * intl/ngettext.c: Switch to gettext copyright.
7842 Use ANSI definitions and prototypes.
7843 * intl/plural-exp.c: Likewise.
7844 * intl/plural-exp.h: Switch to gettext copyright.
7845 Use ANSI definitions and prototypes.
7846 (struct expression): Move definition of enum operator outside
7847 of struct definition.
7848 * intl/plural.c: Regenerate.
7849 * intl/plural.y: Switch to gettext copyright.
7850 Use ANSI definitions and prototypes.
7852 * intl/textdomain.c: Switch to gettext copyright.
7853 Use ANSI definitions and prototypes.
7854 Use gl_* locking primitives rather than __libc_* ones.
7856 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
7858 * debug/warning-nop.c: Add used atrribute.
7860 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7862 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7864 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7865 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7866 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7868 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7869 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7872 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7873 Undefine after defining function. Define as weak alias of
7874 __wcschr. Use libc_hidden_weak.
7875 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
7876 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7877 (libc_hidden_def): Also define __GI___wcschr alias.
7878 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7879 __wcschr and define as weak alias of __wcschr.
7880 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7882 [!WCSCHR] (DEFAULT_WCSCHR): Define.
7883 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7884 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
7885 libc_hidden_weak. Do not use libc_hidden_def.
7886 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7887 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7888 __GI___wcschr alias.
7889 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7890 [IS_IN (libc)] (wcschr): Define as macro expanding to
7892 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7893 [IS_IN (libc)] (__wcschr_power6): Likewise.
7894 [IS_IN (libc)] (__wcschr_power7): Likewise.
7895 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
7897 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7899 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7900 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7901 __wcschr and define as weak alias of __wcschr. Use
7902 libc_hidden_builtin_def.
7903 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7904 as weak alias of __wcschr. Use libc_hidden_weak.
7905 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7907 * time/era.c (_nl_init_era_entries): Likewise.
7908 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7910 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7911 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7913 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7915 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7916 format for long int variable.
7918 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
7921 * manual/search.texi: (Array Sort Function): Remove claim how to make
7924 2014-12-10 Andreas Schwab <schwab@suse.de>
7927 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7928 user-controlled locks.
7930 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
7932 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7935 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7937 * configure.ac (--disable-werror): New configure option.
7938 (enable_werror): New AC_SUBST.
7939 * configure: Regenerated.
7940 * config.make.in (enable-werror): New variable.
7941 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7943 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7944 * manual/install.texi (Configuring and compiling): Document
7946 * INSTALL: Regenerated.
7947 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7948 (CFLAGS-tst-chk2.c): Likewise.
7949 (CFLAGS-tst-chk3.c): Likewise.
7950 (CFLAGS-tst-chk4.cc): Likewise.
7951 (CFLAGS-tst-chk5.cc): Likewise.
7952 (CFLAGS-tst-chk6.cc): Likewise.
7953 (CFLAGS-tst-lfschk1.c): Likewise.
7954 (CFLAGS-tst-lfschk2.c): Likewise.
7955 (CFLAGS-tst-lfschk3.c): Likewise.
7956 (CFLAGS-tst-lfschk4.cc): Likewise.
7957 (CFLAGS-tst-lfschk5.cc): Likewise.
7958 (CFLAGS-tst-lfschk6.cc): Likewise.
7960 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7961 (main): Disable -Wdeprecated-declarations around calls to
7962 register_printf_function.
7964 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7965 (do_test): Disable -Wdiv-by-zero around some calls to
7966 fwrite_unlocked and fread_unlocked.
7968 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7969 (DIAG_POP_NEEDS_COMMENT): Likewise.
7970 (_DIAG_STR1): Likewise.
7971 (_DIAG_STR): Likewise.
7972 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7973 * stdio-common/bug21.c: Include <libc-internal.h>.
7974 (do_test): Disable -Wformat around call to sscanf.
7975 * stdio-common/scanf14.c: Include <libc-internal.h>.
7976 (main): Disable -Wformat around some calls to scanf functions.
7978 2014-12-09 Torvald Riegel <triegel@redhat.com>
7980 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7982 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7984 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7985 stack variable alignment.
7987 2014-12-06 Joseph Myers <joseph@codesourcery.com>
7990 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7991 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7992 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7993 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7994 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7995 __getrlimit instead of getrlimit.
7996 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7997 __gettimeofday instead of gettimeofday.
7998 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8000 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8002 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8003 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8005 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8006 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8008 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8010 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8011 for wide-character tests.
8013 2014-12-04 Roland McGrath <roland@hack.frob.com>
8015 * io/openat64.c: #include <libc-internal.h>
8016 (__openat64): Prototypify. Use ignore_value on MODE.
8017 * io/openat.c: Likewise.
8018 * misc/reboot.c: #include <libc-internal.h>
8019 (reboot): Prototypify. Use ignore_value on HOWTO.
8020 * misc/ptrace.c: #include <libc-internal.h>
8021 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
8023 2014-12-04 Joseph Myers <joseph@codesourcery.com>
8025 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8026 XPG4, UNIX98 and XOPEN2K.
8027 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8029 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8031 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8033 * libio/fileops.c: Use ISO C style for function definitions.
8034 * libio/iofopen.c: Likewise.
8035 * libio/wfileops.c: Likewise.
8038 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8040 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8041 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8042 (fgets_func): Function pointer to fgets and fgetws.
8043 (do_ftell_test): Add test to verify ftell value after read
8045 (do_test): Set fgets_func.
8047 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8048 O_TRUNC flag for w and w+ modes.
8049 (do_rewind_test): Likewise.
8050 (do_ftell_test): Likewise.
8051 (do_write_test): Likewise.
8054 * libio/fileops.c (do_ftell): Seek only when there are
8056 * libio/wfileops.c (do_ftell_wide): Likewise.
8057 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8059 (do_one_test): Call it.
8061 2014-12-03 Joseph Myers <joseph@codesourcery.com>
8063 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8064 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8065 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8067 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8068 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8069 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8071 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8073 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8075 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8078 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8079 as weak alias of __getifaddrs. Use libc_hidden_weak.
8080 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8081 __freeifaddrs. Use libc_hidden_weak.
8082 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8083 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8084 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8085 __freeifaddrs. Use libc_hidden_weak.
8086 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8087 __getifaddrs and define as weak alias of __getifaddrs. Use
8089 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8090 __freeifaddrs. Use libc_hidden_weak.
8091 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8093 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8094 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8096 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8099 * sysdeps/mips/start.S (__start): Use indirect jump to call
8102 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8104 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8106 * nptl/tst-mutex1.c: Include <stdbool.h>.
8107 [!ATTR] (ATTR_NULL): New macro.
8108 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8109 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8110 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8112 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8116 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8117 Change conditional to [__USE_MISC].
8120 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8122 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8124 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8126 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8128 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8129 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8130 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8131 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8132 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8133 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8134 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8135 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8136 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8138 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8140 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8142 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8143 Remove strpbrk objects.
8144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8145 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8146 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8147 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8148 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8149 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8151 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8152 Remove strcspn objects.
8153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8154 (__libc_ifunc_impl_list): Remove strcspn implementation.
8155 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8156 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8157 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8158 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8160 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8161 Remove strspn objetcs.
8162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8163 (__libc_ifunc_impl_list): Remove strspn implementation.
8164 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8165 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8166 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8167 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8169 2014-12-01 James Lemke <jwlemke@codesourcery.com>
8173 (mem2mem_check): Add a terminator to the chain of checking blocks.
8174 (malloc_check_get_size): Use it here.
8175 (mem2chunk_check): Ditto.
8177 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8179 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8180 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8182 2014-11-29 Carlos O'Donell <carlos@redhat.com>
8184 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8186 * nptl/nptl-init.c: Include libc-internal.h.
8187 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8189 * elf/ldconfig.c (search_dir): Expand comment.
8191 2014-11-29 Joseph Myers <joseph@codesourcery.com>
8193 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8195 (linknamespace-symlist-stdlibs-tests): Likewise.
8196 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8197 instead of $(objpfx)symlist-stdlibs.
8198 (linknamespace-libs-isoc): New variable.
8199 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8200 (linknamespace-libs-ISO): New variable.
8201 (linknamespace-libs-ISO99): Likewise.
8202 (linknamespace-libs-ISO11): Likewise.
8203 (linknamespace-libs-XPG3): Likewise.
8204 (linknamespace-libs-XPG4): Likewise.
8205 (linknamespace-libs-POSIX): Likewise.
8206 (linknamespace-libs-UNIX98): Likewise.
8207 (linknamespace-libs-XOPEN2K): Likewise.
8208 (linknamespace-libs-POSIX2008): Likewise.
8209 (linknamespace-libs-XOPEN2K8): Likewise.
8210 ($(objpfx)symlist-stdlibs): Replace by
8211 $(linknamespace-symlist-stdlibs-tests). Use
8212 $(linknamespace-libs-$*) as set of libraries.
8213 ($(linknamespace-header-tests)): Update dependencies. Use
8214 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8215 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8216 * conform/linknamespace.pl: Remove comment about considering
8217 definitions of symbols from irrelevant libraries.
8219 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8222 * elf/dl-tls.c: Include <atomic.h>.
8223 (oom): Remove #ifdef SHARED/#endif.
8224 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8225 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8226 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8228 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8229 * nptl/Makefile (tests): Add tst-stack4.
8230 (modules-names): Add tst-stack4mod.
8231 ($(objpfx)tst-stack4): New.
8232 (tst-stack4mod.sos): Likewise.
8233 ($(objpfx)tst-stack4.out): Likewise.
8234 ($(tst-stack4mod.sos)): Likewise.
8236 * nptl/tst-stack4.c: New file.
8237 * nptl/tst-stack4mod.c: Likewise.
8239 2014-11-27 J. Brown <jb999@gmx.de>
8241 * sysdeps/x86/bits/string.h: Add recent CPUs.
8243 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8245 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8248 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8251 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8254 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8256 * nscd/connections.c: Include libc-internal.h because of macro
8259 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8261 * string/bits/string3.h (__warn_memset_zero_len): Don't
8262 declare for gcc newer than 5.0.
8263 (memset): Don't test for zero-length __LEN for gcc newer than
8266 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8268 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8269 size_t for %zu format.
8271 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8272 difference, not %ju.
8274 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8276 * include/libc-internal.h (ignore_value): New macro.
8277 * nscd/connections.c (restart): Wrap calls to setuid and setgid
8280 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8283 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8284 pthread_cleanup_push to void *.
8286 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8291 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8292 instead of 1L << 52.
8294 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8295 * libio/bug-rewind2.c (do_test): Likewise.
8297 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8298 * debug/test-strcpy_chk-ifunc.c: Likewise.
8299 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8300 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8301 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8302 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8303 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8304 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8305 * Rules [$(multi-arch) = no] (tests): Do not filter out
8307 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8308 * debug/Makefile (tests-ifunc): Remove variable.
8309 (tests): Do not add $(tests-ifunc).
8310 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8311 (tests): Do not add $(tests-ifunc).
8312 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8313 [TEST_IFUNC]: Remove conditionals.
8314 * string/test-string.h (TEST_IFUNC): Remove macro.
8315 [TEST_IFUNC]: Remove conditionals.
8317 * string/test-strchr.c [!WIDE] (L): New macro.
8318 [WIDE] (L): Likewise.
8319 (check1): Use CHAR instead of char. Use L on string and character
8322 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8324 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8326 * sysdeps/powerpc/bits/atomic.h
8327 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8328 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8329 (atomic_exchange_and_add_acq): Likewise.
8330 (atomic_exchange_and_add_rel): Likewise.
8331 * sysdeps/powerpc/powerpc32/bits/atomic.h
8332 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8333 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8334 * sysdeps/powerpc/powerpc64/bits/atomic.h
8335 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8336 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8338 2014-11-26 Torvald Riegel <triegel@redhat.com>
8340 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8341 Change synchronization of __sched_fifo_min_prio and
8342 __sched_fifo_max_prio.
8343 * nptl/pthread_mutexattr_getprioceiling.c
8344 (pthread_mutexattr_getprioceiling): Likewise.
8345 * nptl/pthread_mutexattr_setprioceiling.c
8346 (pthread_mutexattr_setprioceiling): Likewise.
8347 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8348 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8351 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8353 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8356 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8358 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8359 third argument const.
8361 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8363 fnmatch: work around GCC compiler warning bug with uninit var
8364 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8365 This works around a bug with x86-64 GCC 4.9.2 and earlier
8366 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8367 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8368 used uninitialized in this function [-Wmaybe-uninitialized]".
8370 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8372 * posix/bug-regex31.c (main): Return RES not 0.
8374 2014-11-25 Anton Blanchard <anton@samba.org>
8376 * sysdeps/powerpc/bits/atomic.h
8377 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8379 2014-11-24 Sterling Augustine <saugustine@google.com>
8381 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8383 2014-11-24 Ryan Cumming <etaoins@gmail.com>
8386 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8388 2014-11-24 Joseph Myers <joseph@codesourcery.com>
8391 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8392 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8394 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8395 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8397 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8399 * string/strncpy.c (strncpy): Improve performance by using memset.
8401 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8403 * string/strcpy.c (strcpy):
8404 Improve performance by using strlen and memcpy.
8406 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
8408 * string/strcoll_l.c (get_next_seq): __always_inline.
8409 * string/strcoll_l.c (do_compare): __always_inline.
8411 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8413 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8415 * include/mqueue.h: Likewise.
8416 * include/stdlib.h: Likewise.
8418 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8419 (get_null_defines): Adjust.
8420 * sunrpc/Makefile: Adjust comment.
8421 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8422 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8423 (CFLAGS-interp.c): Likewise.
8424 (CFLAGS-ldconfig.c): Likewise.
8425 (CPPFLAGS-.os): Likewise.
8426 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8427 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8428 * extra-modules.mk (extra-modules.mk): Likewise.
8429 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8430 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8431 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8432 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8433 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8434 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8435 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8436 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8437 * iconvdata/Makefile (CPPFLAGS): Likewise.
8438 (cpp-srcs-left): Add libof for all iconvdata routines.
8439 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8440 * include/assert.h: Likewise.
8441 * include/ctype.h: Likewise.
8442 * include/errno.h: Likewise.
8443 * include/libc-symbols.h: Likewise.
8444 * include/math.h: Likewise.
8445 * include/netdb.h: Likewise.
8446 * include/resolv.h: Likewise.
8447 * include/stdio.h: Likewise.
8448 * include/stdlib.h: Likewise.
8449 * include/string.h: Likewise.
8450 * include/sys/stat.h: Likewise.
8451 * include/wctype.h: Likewise.
8452 * intl/l10nflist.c: Likewise.
8453 * libidn/idn-stub.c: Likewise.
8454 * libio/libioP.h: Likewise.
8455 * nptl/libc_multiple_threads.c: Likewise.
8456 * nptl/pthreadP.h: Likewise.
8457 * posix/regex_internal.h: Likewise.
8458 * resolv/res_hconf.c: Likewise.
8459 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8460 * sysdeps/arm/memmove.S: Likewise.
8461 * sysdeps/arm/sysdep.h: Likewise.
8462 * sysdeps/generic/_itoa.h: Likewise.
8463 * sysdeps/generic/symbol-hacks.h: Likewise.
8464 * sysdeps/gnu/errlist.awk: Likewise.
8465 * sysdeps/gnu/errlist.c: Likewise.
8466 * sysdeps/i386/i586/memcpy.S: Likewise.
8467 * sysdeps/i386/i586/memset.S: Likewise.
8468 * sysdeps/i386/i686/memcpy.S: Likewise.
8469 * sysdeps/i386/i686/memmove.S: Likewise.
8470 * sysdeps/i386/i686/mempcpy.S: Likewise.
8471 * sysdeps/i386/i686/memset.S: Likewise.
8472 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8473 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8474 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8475 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8476 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8477 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8478 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8479 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8480 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8481 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8482 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8483 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8484 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8485 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8486 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8487 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8488 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8489 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8490 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8491 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8492 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8493 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8494 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8495 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8496 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8497 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8498 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8499 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8500 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8501 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8502 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8503 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8504 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8505 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8506 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8507 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8508 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8509 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8510 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8513 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8514 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8515 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8516 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8517 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8518 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8519 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8520 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8521 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8522 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8523 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8524 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8525 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8526 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8527 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8528 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8529 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8530 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8531 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8532 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8533 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8534 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8535 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8536 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8537 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8538 * sysdeps/posix/closedir.c: Likewise.
8539 * sysdeps/posix/opendir.c: Likewise.
8540 * sysdeps/posix/readdir.c: Likewise.
8541 * sysdeps/posix/rewinddir.c: Likewise.
8542 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8543 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8544 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8545 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8546 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8547 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8548 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8549 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8550 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8551 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8552 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8553 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8554 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8555 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8556 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8557 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8558 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8559 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8560 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8561 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8562 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8563 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8564 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8565 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8566 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8567 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8568 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8569 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8570 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8571 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8573 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8575 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8577 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8578 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8579 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8580 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8581 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8582 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8583 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8584 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8585 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8586 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8587 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8588 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8589 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8590 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8591 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8592 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8593 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8594 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8595 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8596 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8597 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8598 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8599 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8600 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8601 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8602 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8603 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8604 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8605 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8606 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8607 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8608 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8609 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8610 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8611 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8612 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8613 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8614 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8615 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8616 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8617 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8618 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8619 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8620 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8621 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8622 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8623 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8624 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8625 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8626 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8627 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8628 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8629 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8630 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8631 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8632 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8633 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8634 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8635 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8636 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8637 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8638 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8639 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8640 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8641 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8642 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8643 * sysdeps/unix/alpha/sysdep.S: Likewise.
8644 * sysdeps/unix/alpha/sysdep.h: Likewise.
8645 * sysdeps/unix/make-syscalls.sh: Likewise.
8646 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8647 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8648 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8649 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8650 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8651 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8652 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8653 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8654 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8655 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8656 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8657 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8658 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8659 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8660 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8661 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8662 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8663 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8664 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8665 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8666 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8667 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8668 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8669 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8670 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8671 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8672 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8675 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8676 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8677 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8679 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8680 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8681 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8682 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8683 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8684 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8685 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8686 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8687 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8688 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8689 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8690 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8692 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8693 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8694 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8695 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8696 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8697 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8698 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8699 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8700 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8701 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8702 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8703 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8704 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8705 * sysdeps/x86_64/memcpy.S: Likewise.
8706 * sysdeps/x86_64/memmove.c: Likewise.
8707 * sysdeps/x86_64/memset.S: Likewise.
8708 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8709 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8710 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8711 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8712 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8713 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8714 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8715 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8716 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8717 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8718 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8719 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8720 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8721 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8722 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8723 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8724 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8725 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8726 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8727 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8728 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8729 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8730 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8731 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8732 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8733 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8734 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8735 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8736 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8737 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8738 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8739 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8740 * sysdeps/x86_64/strcmp.S: Likewise.
8742 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8744 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8745 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8746 * elf/rtld-Rules: Likewise.
8747 * elf/setup-vdso.h: Likewise.
8748 * include/assert.h: Likewise.
8749 * include/bits/stdlib-float.h: Likewise.
8750 * include/errno.h: Likewise.
8751 * include/sys/stat.h: Likewise.
8752 * include/unistd.h: Likewise.
8753 * sysdeps/aarch64/setjmp.S: Likewise.
8754 * sysdeps/alpha/setjmp.S: Likewise.
8755 * sysdeps/arm/__longjmp.S: Likewise.
8756 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8757 * sysdeps/arm/setjmp.S: Likewise.
8758 * sysdeps/arm/sysdep.h: Likewise.
8759 * sysdeps/generic/_itoa.h: Likewise.
8760 * sysdeps/generic/dl-sysdep.h: Likewise.
8761 * sysdeps/generic/ldsodefs.h: Likewise.
8762 * sysdeps/i386/dl-tls.h: Likewise.
8763 * sysdeps/i386/setjmp.S: Likewise.
8764 * sysdeps/m68k/setjmp.c: Likewise.
8765 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8766 * sysdeps/mach/hurd/opendir.c: Likewise.
8767 * sysdeps/posix/getcwd.c: Likewise.
8768 * sysdeps/posix/opendir.c: Likewise.
8769 * sysdeps/posix/profil.c: Likewise.
8770 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8771 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8772 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8773 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8774 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8775 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8776 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8777 * sysdeps/s390/dl-tls.h: Likewise.
8778 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8779 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8780 * sysdeps/sh/sh3/setjmp.S: Likewise.
8781 * sysdeps/sh/sh4/setjmp.S: Likewise.
8782 * sysdeps/unix/alpha/sysdep.h: Likewise.
8783 * sysdeps/unix/arm/sysdep.S: Likewise.
8784 * sysdeps/unix/i386/sysdep.S: Likewise.
8785 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8786 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8787 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8788 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8790 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8791 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8792 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8793 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8794 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8795 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8796 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8797 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8800 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8801 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8802 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8803 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8804 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8805 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8806 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8807 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8808 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8809 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8810 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8812 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8813 * sysdeps/x86_64/setjmp.S: Likewise.
8815 * include/math.h: Use IS_IN instead of IS_IN_libm.
8816 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8828 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8836 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8837 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8838 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8839 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8840 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8841 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8843 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8844 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8845 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8846 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8847 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8848 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8859 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8860 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8861 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8862 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8863 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8864 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8870 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8871 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8872 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8873 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8874 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8875 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8876 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8877 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8878 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8879 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8880 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8881 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8882 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8883 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8885 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8887 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8888 * nptl/pthreadP.h: Likewise.
8889 * nptl_db/structs.def: Likewise.
8890 * sysdeps/arm/sysdep.h: Likewise.
8891 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8892 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8893 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8894 * sysdeps/unix/alpha/sysdep.h: Likewise.
8895 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8896 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8897 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8898 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8899 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8900 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8901 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8902 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8903 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8904 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8905 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8906 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8907 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8908 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8911 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8912 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8913 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8915 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8916 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8917 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8918 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8919 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8920 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8922 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8923 * nptl/pthreadP.h: Likewise.
8924 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8925 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8926 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8927 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8928 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8929 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8930 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8931 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8932 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8933 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8934 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8935 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8940 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8941 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8942 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8944 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8945 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8946 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8947 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8949 * dlfcn/dladdr.c: Use IS_IN.
8950 * dlfcn/dladdr1.c: Likewise.
8951 * dlfcn/dlclose.c: Likewise.
8952 * dlfcn/dlerror.c: Likewise.
8953 * dlfcn/dlinfo.c: Likewise.
8954 * dlfcn/dlmopen.c: Likewise.
8955 * dlfcn/dlopen.c: Likewise.
8956 * dlfcn/dlsym.c: Likewise.
8957 * dlfcn/dlvsym.c: Likewise.
8959 * include/ifaddrs.h: Use IS_IN.
8960 * inet/check_pf.c: Likewise.
8961 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8962 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8964 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8966 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8967 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8969 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8970 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8973 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8975 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8976 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8977 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8978 * include/libc-symbols.h (IS_IN_LIB): New macro.
8979 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8980 * include/netdb.h: Likewise.
8981 * include/stap-probe.h: Remove all uses of IN_LIB.
8983 * Makeconfig (module-cppflags-real): Define MODULE_NAME
8984 instead of IN_MODULE.
8985 * include/libc-symbols.h (IN_MODULE): Define using
8987 (PASTE_NAME, PASTE_NAME1): New macros.
8988 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8990 (STAP_PROBE_ASM): Likewise.
8992 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
8994 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8995 __mach_init in dlopened libc.
8997 2014-11-22 Mike Frysinger <vapier@gentoo.org>
8999 * sysdeps/arm/preconfigure.ac: Delete EABI check.
9000 * sysdeps/arm/preconfigure: Regenerate.
9002 2014-11-21 Roland McGrath <roland@hack.frob.com>
9004 * nptl/pthread_create.c (__pthread_create_2_1): Set
9005 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9006 when copying values from IATTR into PD.
9008 2014-11-21 Will Newton <will.newton@linaro.org>
9009 Andrew Pinski <andrew.pinski@caviumnetworks.com>
9011 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9012 Refactor inline-asm. Also add comment.
9014 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9015 ElfW macro instead of hardcoded Elf64 types.
9016 (la_aarch64_gnu_pltenter): Likewise.
9017 * sysdeps/aarch64/dl-machine.h
9018 (elf_machine_runtime_setup): Use ElfW(Addr).
9020 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9021 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9022 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9023 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9024 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9025 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9026 (R_AARCH64_TLS_DTPMOD): This.
9027 (R_AARCH64_TLS_DTPREL64): Rename to ...
9028 (R_AARCH64_TLS_DTPREL): This.
9029 (R_AARCH64_TLS_TPREL64): Rename to ...
9030 (R_AARCH64_TLS_TPREL): This.
9031 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9032 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9033 R_AARCH64_TLS_TPREL64.
9034 (elf_machine_rela): Likewise.
9036 2014-11-21 Torvald Riegel <triegel@redhat.com>
9038 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9039 by setting it to 0. 64b atomics are not supported currently.
9041 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9044 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9045 search domain names.
9047 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9051 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9053 * posix/tst-getaddrinfo5.c: New.
9054 * posix/Makefile (tests): Add it.
9056 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9060 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9061 after parsing line but before break_if_match.
9062 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9063 if there is a protocol mismatch.
9065 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9067 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9068 because the potential race is on the user-supplied stream.
9070 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9072 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9073 string literal if not passed a buffer.
9074 * manual/job.texi (ctermid): Update reasoning, note deviation
9075 from posix, suggest mtasurace when not passed a buffer, for
9076 future non-preliminary safety notes.
9078 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9080 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9081 of not passing it a buffer.
9082 Reported by Peng Haitao.
9084 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9086 * manual/Makefile ($(objpfx)stamp-summary): Require
9087 check-safety.sh to pass.
9088 * manual/check-safety.sh: Wish for verification that every
9089 @deftypefn and @deftypefun is followed by a @safety remark.
9091 2014-11-20 Roland McGrath <roland@hack.frob.com>
9093 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9095 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9096 PTHREAD_CANCEL_ASYNCHRONOUS.
9097 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9100 * nptl/default-sched.h: New file.
9101 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9102 * nptl/pthread_create.c: Include it.
9103 (__pthread_create_2_1): Use collect_default_sched instead of making
9104 Linux syscalls here directly.
9106 2014-11-20 Torvald Riegel <triegel@redhat.com>
9108 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9109 __pthread_once): Use C11 atomics.
9111 2014-11-20 Torvald Riegel <triegel@redhat.com>
9113 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9115 2014-11-20 Torvald Riegel <triegel@redhat.com>
9117 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9118 atomic_thread_fence_acquire, atomic_thread_fence_release,
9119 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9120 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9121 atomic_compare_exchange_weak_relaxed,
9122 atomic_compare_exchange_weak_acquire,
9123 atomic_compare_exchange_weak_release,
9124 atomic_exchange_acquire, atomic_exchange_release,
9125 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9126 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9127 atomic_fetch_and_acquire,
9128 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9130 2014-11-20 Torvald Riegel <triegel@redhat.com>
9132 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9133 USE_ATOMIC_COMPILER_BUILTINS): Define.
9134 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9135 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9136 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9137 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9138 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9139 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9140 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9141 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9142 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9143 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9144 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9145 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9146 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9147 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9148 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9149 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9150 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9151 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9152 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9153 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9154 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9155 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9156 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9157 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9158 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9159 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9160 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9161 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9162 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9163 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9164 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9165 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9166 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9167 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9168 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9169 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9170 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9171 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9172 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9173 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9175 2014-11-19 Roland McGrath <roland@hack.frob.com>
9177 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9178 the sched_priority value here. It was already checked when the user
9179 called pthread_attr_setschedparam.
9181 * nptl/tst-bad-schedattr.c: New file.
9182 * nptl/Makefile (tests): Add it.
9184 2014-11-19 Carlos O'Donell <carlos@redhat.com>
9185 Florian Weimer <fweimer@redhat.com>
9186 Joseph Myers <joseph@codesourcery.com>
9187 Adam Conrad <adconrad@0c3.net>
9188 Andreas Schwab <schwab@suse.de>
9189 Brooks <bmoses@google.com>
9192 * wordexp-test.c (__dso_handle): Add prototype.
9193 (__register_atfork): Likewise.
9194 (__app_register_atfork): New function.
9195 (registered_forks): New global.
9196 (register_fork): New function.
9197 (test_case): Add 3 new tests for WRDE_CMDSUB.
9198 (main): Call __app_register_atfork.
9199 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9200 fork count is non-zero fail the test.
9201 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9203 (parse_dollars): Remove check for WRDE_NOCMD.
9204 (parse_dquote): Likewise.
9206 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9208 * Makeconfig (built-modules): List non-library modules to be
9210 (module-cppflags): Include libc-modules.h for
9211 everything except shlib-versions.v.i.
9213 (before-compile): Add libc-modules.h.
9214 ($(common-objpfx)libc-modules.h,
9215 $(common-objpfx)libc-modules.stmp): New targets.
9216 (common-generated): Add libc-modules.h and libc-modules.stmp.
9217 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9218 * include/libc-symbols.h: Don't include libc-modules.h.
9219 * include/libc-modules.h: Remove file.
9220 * scripts/gen-libc-modules.awk: New script to generate
9222 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9223 Depend on libc-modules.stmp.
9225 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9227 * Makeconfig (in-module): Get value of libof set for the
9229 (CPPFLAGS): Use $(in-module).
9230 * Makerules: Don't suffix routine names for nonlib.
9231 * include/libc-modules.h: New file.
9232 * include/libc-symbols.h: Include libc-modules.h
9233 (IS_IN): New macro to replace IS_IN_* macros.
9234 * elf/Makefile: Set libof-* for each routine.
9235 * elf/rtld-Rules: Likewise.
9236 * extra-modules.mk: Likewise.
9237 * iconv/Makefile: Likewise.
9238 * iconvdata/Makefile: Likewise.
9239 * locale/Makefile: Likewise.
9240 * malloc/Makefile: Likewise.
9241 * nss/Makefile: Likewise.
9242 * sysdeps/gnu/Makefile: Likewise.
9243 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9244 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9245 * sysdeps/s390/s390-64/Makefile: Likewise.
9246 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9247 CPPFLAGS for nscd instead of nonlib.
9249 2014-11-18 Roland McGrath <roland@hack.frob.com>
9251 * nptl/createthread.c: New file.
9253 * nptl/createthread.c: Moved ...
9254 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9256 * nptl/createthread.c: Add proper top-line comment.
9257 (do_clone): Folded into ...
9258 (create_thread): ... here. Take new arguments STOPPED_START and
9259 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9260 increment __nptl_threads, do event-reporting logic, do
9261 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9262 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9263 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9264 just send SIGCANCEL.
9265 * nptl/pthread_create.c: Forward-declare create_thread before
9266 including createthread.c.
9267 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9268 declaration, and new macro START_THREAD_SELF to replace argument.
9269 Remove return statement.
9270 (report_thread_creation): New function.
9271 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9272 synchronization logic, and __nptl_nthreads increment here, around
9273 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9274 PD->parent_cancelhandling here, before create_thread. When
9275 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9276 __deallocate_stack, and ENOMEM translation here.
9278 2014-11-18 Joseph Myers <joseph@codesourcery.com>
9281 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9282 (mptwo): Rename to __mptwo.
9283 (__inv): Use __mptwo instead of mptwo.
9284 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9285 (mptwo): Rename to __mptwo.
9286 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9287 of mpone and __mptwo instead of mptwo.
9288 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9290 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9291 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9292 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9293 of mpone and __mptwo instead of mptwo.
9294 (__mpranred): Use __mpone instead of mpone.
9295 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9297 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9298 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9299 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9300 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9301 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9302 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9303 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9304 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9305 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9306 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9307 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9308 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9309 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9310 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9311 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9312 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9313 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9314 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9315 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9317 2014-11-18 Tom de Vries <tom@codesoucery.com>
9319 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9320 replace BSD Handler xref with BSD Signal Handling.
9322 2014-11-17 Richard Henderson <rth@redhat.com>
9324 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9325 (_FP_PACK_RAW_2): Remove.
9326 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9327 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9328 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9329 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9330 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9331 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9332 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9333 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9334 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9335 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9336 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9337 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9338 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9339 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9340 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9341 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9343 2014-11-14 Roland McGrath <roland@hack.frob.com>
9345 * signal/signal.h [__USE_MISC]
9346 (struct sigvec): Remove type.
9347 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9348 (sigvec): Remove declaration.
9349 * sysdeps/posix/sigvec.c: Moved ...
9350 * signal/sigvec.c: ... here, replacing old file.
9351 (struct sigvec): New type, copied from old signal.h definition.
9352 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9353 (__sigvec): Convert definition to prototype.
9354 (sigvec): Replace weak_alias with compat_symbol.
9355 * signal/Versions (libc: GLIBC_2.21): New version set.
9356 * include/signal.h: Remove __sigvec declaration.
9357 * sysdeps/unix/bsd/sigvec.c: Remove file.
9358 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9359 * manual/signal.texi (BSD Handler): Remove subsection.
9360 Move siginterrupt up to ...
9361 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9362 (Blocking in BSD): Fold subsection into its parent.
9363 * NEWS: Mention sigvec removal.
9365 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9367 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9368 (DLA_FMS): Make definition conditional only on [__FMA4__].
9369 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9372 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9373 Make definition conditional only on [PROF].
9374 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9376 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9377 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9379 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9381 * include/signal.h (__sigpause): Move declaration above call to
9383 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9385 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9386 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9388 2014-11-14 David S. Miller <davem@davemloft.net>
9390 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9391 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9393 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9395 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9396 * configure: Regenerated.
9397 * manual/install.texi (Tools for Compilation): Document a
9398 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9399 compiler verified to work.
9400 * INSTALL: Regenerated.
9402 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9403 redeclare with asm name.
9404 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9405 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9406 including <string.h>.
9407 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9408 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9409 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9410 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9411 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9412 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9413 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9415 2014-11-13 Joseph Myers <joseph@codesourcery.com>
9417 * stdlib/strtol.c (__strtol): Use prototype definition.
9420 * stdlib/strtol.c (SYM__): New macro.
9422 (__strtol): Likewise.
9423 (strtol): Rename to __strtol and define as weak alias of
9424 __strtol. Use libc_hidden_weak.
9426 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9428 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9429 Use numbered labels in inline assembly.
9431 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9433 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9434 Add setjmp LIBC_PROBE.
9435 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9437 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9438 Add longjmp, longjmp_target LIBC_PROBE.
9439 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9442 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9444 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9445 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9446 to get rid of unused variable warning.
9448 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9450 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9451 Check for unwind_backtrace == NULL only in SHARED case.
9452 (__backchain_backtrace): Compile only in SHARED case.
9453 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9455 (__backchain_backtrace): Declare as static.
9457 2014-11-12 Roland McGrath <roland@hack.frob.com>
9459 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9460 (__libc_multiple_threads_ptr): Variable moved ...
9461 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9463 2014-11-12 Joseph Myers <joseph@codesourcery.com>
9465 * conform/GlibcConform.pm: New file.
9466 * conform/conformtest.pl: Use GlibcConform module.
9467 * conform/linknamespace.pl: New file.
9468 * conform/list-header-symbols.pl: Likewise.
9469 * conform/Makefile (linknamespace-symlists-base): New variable.
9470 (linknamespace-symlists-tests): Likewise.
9471 (linknamespace-header-base): Likewise.
9472 (linknamespace-header-tests): Likewise.
9473 (tests-special): Add new tests.
9474 ($(linknamespace-symlists-tests)): New rule.
9475 (linknamespace-libs): New variable.
9476 ($(objpfx)symlist-stdlibs): New rule.
9477 ($(linknamespace-header-tests)): Likewise.
9478 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9479 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9480 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9481 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9482 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9483 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9484 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9485 (test-xfail-ISO/math.h/linknamespace): Likewise.
9486 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9487 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9488 (test-xfail-ISO/time.h/linknamespace): Likewise.
9489 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9490 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9491 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9492 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9493 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9494 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9495 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9496 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9497 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9498 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9499 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9500 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9501 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9502 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9503 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9504 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9505 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9506 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9507 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9508 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9509 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9510 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9511 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9512 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9513 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9514 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9515 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9516 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9517 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9518 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9519 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9520 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9521 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9522 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9523 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9524 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9525 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9526 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9527 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9528 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9529 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9530 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9531 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9532 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9533 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9534 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9535 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9536 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9537 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9538 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9539 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9540 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9541 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9542 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9543 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9544 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9545 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9546 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9547 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9548 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9549 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9550 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9551 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9552 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9553 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9554 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9555 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9556 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9557 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9558 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9559 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9560 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9561 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9562 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9563 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9564 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9565 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9566 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9567 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9568 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9569 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9570 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9571 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9572 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9573 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9574 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9575 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9576 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9577 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9578 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9579 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9580 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9581 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9582 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9583 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9584 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9585 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9586 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9587 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9588 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9589 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9590 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9591 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9592 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9593 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9594 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9595 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9596 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9597 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9598 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9599 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9600 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9601 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9602 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9603 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9604 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9605 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9606 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9607 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9608 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9609 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9610 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9611 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9612 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9613 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9614 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9615 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9616 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9617 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9618 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9619 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9620 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9621 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9622 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9623 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9624 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9625 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9626 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9627 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9628 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9629 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9630 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9631 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9632 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9633 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9634 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9635 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9636 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9637 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9638 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9641 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9645 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9646 (memmem): Rename to __memmem and define as weak alias of
9647 __memmem. Use libc_hidden_weak.
9648 (__memmem): Use libc_hidden_def.
9649 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9650 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9654 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9655 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9656 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9657 and define as weak alias of __fgets_unlocked. Use
9659 (__fgets_unlocked): Use libc_hidden_def.
9660 * include/stdio.h (__fgets_unlocked): Declare. Use
9662 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9663 __fgets_unlocked instead of fgets_unlocked.
9664 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9665 (GET_NPROCS_CONF_PARSER): Likewise.
9666 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9667 (GET_NPROCS_CONF_PARSER): Likewise.
9670 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9671 weak alias of __wmemset. Use libc_hidden_weak.
9672 (__wmemset): Use libc_hidden_def.
9673 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9674 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9678 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9679 with asm name __mempcpy.
9680 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9683 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9684 and define as weak alias of __rawmemchr.
9685 (__rawmemchr): Do not define as strong alias of rawmemchr.
9688 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9690 (qsort): Call __qsort_r instead of qsort_r.
9691 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9692 (__qsort_r): Declare. Call libc_hidden_proto.
9693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9695 * nscd/gai.c (__qsort_r): Define to qsort_r.
9696 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9697 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9698 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9701 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9702 define as weak alias of __malloc_info.
9705 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9706 as weak alias of __rewinddir. Don't use libc_hidden_def.
9707 (__rewinddir): Use libc_hidden_def.
9708 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9709 as weak alias of __rewinddir. Don't use libc_hidden_def.
9710 (__rewinddir): Use libc_hidden_def.
9711 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9712 weak alias of __rewinddir. Don't use libc_hidden_def.
9713 (__rewinddir): Use libc_hidden_def.
9714 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9715 (__rewinddir): Use libc_hidden_proto.
9716 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9718 (__getcwd): Use __rewinddir instead of rewinddir.
9721 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9722 alias of __fileno. Use libc_hidden_weak.
9723 (__fileno): Use libc_hidden_def.
9724 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9725 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9727 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9729 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9730 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9732 (fread_unlocked): Don't use libc_hidden_ver.
9733 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9734 and define as weak alias of __fread_unlocked. Don't use
9736 (__fread_unlocked): Use libc_hidden_def.
9737 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9738 (ftello): Don't use libc_hidden_proto.
9739 (__ftello): Declare. Use libc_hidden_proto.
9740 (fread_unlocked): Don't use libc_hidden_proto.
9741 (__fread_unlocked): Declare. Use libc_hidden_proto.
9742 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9743 and __ftello instead of fileno, fread_unlocked and ftello.
9745 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9747 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9749 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9751 (_dl_start_user): Likewise.
9752 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9754 2014-11-12 Carlos O'Donell <carlos@redhat.com>
9755 Siddhesh Poyarekar <siddhesh@redhat.com>
9757 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9758 Move argv and envp down instead of moving argc up.
9759 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9761 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
9764 * test-skeleton.c (main): Return successful if one of
9765 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9766 * string/tst-strcoll-overflow.c: Define expected status.
9768 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9771 * locale/iso-639.def: Define Bhili and Tulu language codes.
9773 2014-11-11 Alan Hayward <alan.hayward@arm.com>
9775 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9777 2014-11-10 Renlin Li <Renlin.Li@arm.com>
9780 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9782 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9784 * configure.ac: Updated check of minimal required version to
9786 * manual/install.texi (Tools for Compilation): Updated version
9788 * configure: Regenerated.
9789 * INSTALL: Likewise.
9791 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9793 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9796 2014-11-07 Joseph Myers <joseph@codesourcery.com>
9798 * include/sys/wait.h (__libc_waitpid): Remove declaration.
9799 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9800 (__waitpid): Don't define as alias. Use libc_hidden_def not
9802 (waitpid): Define as alias of __waitpid.
9803 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9805 (__waitpid): Don't define as alias. Use libc_hidden_def not
9807 (waitpid): Define as alias of __waitpid.
9808 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9809 __libc_waitpid alias.
9810 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9811 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9813 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9814 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9815 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9817 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9819 (__waitpid): Don't define as alias. Use libc_hidden_def not
9821 (waitpid): Define as alias of __waitpid.
9823 2014-11-06 Carlos O'Donell <carlos@redhat.com>
9825 * manual/llio.texi: Add comment that write safety has been
9828 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9829 (localplt-build-dso): Add elf/ld.so.
9830 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9831 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9834 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9839 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9840 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9841 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9842 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9843 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9844 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9845 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9846 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9847 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9848 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9849 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9851 2014-11-05 Joseph Myers <joseph@codesourcery.com>
9854 * include/libc-symbols.h (INTUSE): Remove macro.
9856 (INTVARDEF): Likewise.
9857 (_INTVARDEF): Likewise.
9858 (INTDEF2): Likewise.
9859 (INTVARDEF2): Likewise.
9860 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9861 rtld_hidden_def instead of INTVARDEF.
9862 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9863 (_dl_starting_up_internal): Remove declaration.
9864 (_dl_starting_up): Use rtld_hidden_proto.
9865 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9867 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9868 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9870 * elf/dl-writev.h (_dl_writev): Likewise.
9871 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9872 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9873 _dl_starting_up_internal.
9875 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9877 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9880 2014-11-05 Will Newton <will.newton@linaro.org>
9882 * benchtests/Makefile: (bench-malloc): Add malloc thread
9883 scalability benchmark.
9884 * benchtests/bench-malloc-threads.c: New file.
9886 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
9888 * sysdeps/aarch64/strchrnul.S: New file.
9890 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9892 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9894 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9896 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9898 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9900 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9902 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9905 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
9907 * catgets/test-gencat.c: Use test-skeleton.c.
9908 * catgets/tst-catgets.c: Likewise.
9909 * csu/tst-empty.c: Likewise.
9910 * elf/tst-audit2.c: Likewise.
9911 * elf/tst-global1.c: Likewise.
9912 * elf/tst-pathopt.c: Likewise.
9913 * elf/tst-piemod1.c: Likewise.
9914 * elf/tst-tls10.c: Likewise.
9915 * elf/tst-tls11.c: Likewise.
9916 * elf/tst-tls12.c: Likewise.
9917 * gnulib/tst-gcc.c: Likewise.
9918 * iconvdata/tst-e2big.c: Likewise.
9919 * iconvdata/tst-loading.c: Likewise.
9920 * iconv/tst-iconv1.c: Likewise.
9921 * iconv/tst-iconv2.c: Likewise.
9922 * inet/test-inet6_opt.c: Likewise.
9923 * inet/tst-gethnm.c: Likewise.
9924 * inet/tst-network.c: Likewise.
9925 * inet/tst-ntoa.c: Likewise.
9926 * intl/tst-codeset.c: Likewise.
9927 * intl/tst-gettext2.c: Likewise.
9928 * intl/tst-gettext3.c: Likewise.
9929 * intl/tst-ngettext.c: Likewise.
9930 * intl/tst-translit.c: Likewise.
9931 * io/test-stat.c: Likewise.
9932 * libio/test-fmemopen.c: Likewise.
9933 * libio/tst-freopen.c: Likewise.
9934 * libio/tst-sscanf.c: Likewise.
9935 * libio/tst-ungetwc1.c: Likewise.
9936 * libio/tst-ungetwc2.c: Likewise.
9937 * libio/tst-widetext.c: Likewise.
9938 * localedata/tst-ctype.c: Likewise.
9939 * localedata/tst-digits.c: Likewise.
9940 * localedata/tst-leaks.c: Likewise.
9941 * localedata/tst-mbswcs1.c: Likewise.
9942 * localedata/tst-mbswcs2.c: Likewise.
9943 * localedata/tst-mbswcs3.c: Likewise.
9944 * localedata/tst-mbswcs4.c: Likewise.
9945 * localedata/tst-mbswcs5.c: Likewise.
9946 * localedata/tst-setlocale.c: Likewise.
9947 * localedata/tst-trans.c: Likewise.
9948 * localedata/tst-wctype.c: Likewise.
9949 * localedata/tst-xlocale1.c: Likewise.
9950 * login/tst-grantpt.c: Likewise.
9951 * malloc/tst-calloc.c: Likewise.
9952 * malloc/tst-malloc.c: Likewise.
9953 * malloc/tst-mallocstate.c: Likewise.
9954 * malloc/tst-mcheck.c: Likewise.
9955 * malloc/tst-mtrace.c: Likewise.
9956 * malloc/tst-obstack.c: Likewise.
9957 * math/atest-exp2.c: Likewise.
9958 * math/atest-exp.c: Likewise.
9959 * math/atest-sincos.c: Likewise.
9960 * math/test-matherr.c: Likewise.
9961 * math/test-misc.c: Likewise.
9962 * math/test-powl.c: Likewise.
9963 * math/tst-definitions.c: Likewise.
9964 * misc/tst-dirname.c: Likewise.
9965 * misc/tst-efgcvt.c: Likewise.
9966 * misc/tst-fdset.c: Likewise.
9967 * misc/tst-hsearch.c: Likewise.
9968 * misc/tst-mntent2.c: Likewise.
9969 * nptl/tst-sem7.c: Likewise.
9970 * nptl/tst-sem8.c: Likewise.
9971 * nptl/tst-sem9.c: Likewise.
9972 * nss/test-netdb.c: Likewise.
9973 * posix/tst-fnmatch.c: Likewise.
9974 * posix/tst-getlogin.c: Likewise.
9975 * posix/tst-gnuglob.c: Likewise.
9976 * posix/tst-mmap.c: Likewise.
9977 * pwd/tst-getpw.c: Likewise.
9978 * resolv/tst-inet_ntop.c: Likewise.
9979 * rt/tst-timer.c: Likewise.
9980 * stdio-common/test-fseek.c: Likewise.
9981 * stdio-common/test-popen.c: Likewise.
9982 * stdio-common/test-vfprintf.c: Likewise.
9983 * stdio-common/tst-cookie.c: Likewise.
9984 * stdio-common/tst-fileno.c: Likewise.
9985 * stdio-common/tst-gets.c: Likewise.
9986 * stdio-common/tst-obprintf.c: Likewise.
9987 * stdio-common/tst-perror.c: Likewise.
9988 * stdio-common/tst-sprintf2.c: Likewise.
9989 * stdio-common/tst-sprintf3.c: Likewise.
9990 * stdio-common/tst-sprintf.c: Likewise.
9991 * stdio-common/tst-swprintf.c: Likewise.
9992 * stdio-common/tst-tmpnam.c: Likewise.
9993 * stdio-common/tst-unbputc.c: Likewise.
9994 * stdio-common/tst-wc-printf.c: Likewise.
9995 * stdlib/tst-environ.c: Likewise.
9996 * stdlib/tst-fmtmsg.c: Likewise.
9997 * stdlib/tst-limits.c: Likewise.
9998 * stdlib/tst-rand48-2.c: Likewise.
9999 * stdlib/tst-rand48.c: Likewise.
10000 * stdlib/tst-random2.c: Likewise.
10001 * stdlib/tst-random.c: Likewise.
10002 * stdlib/tst-strtol.c: Likewise.
10003 * stdlib/tst-strtoll.c: Likewise.
10004 * stdlib/tst-tls-atexit.c: Likewise.
10005 * stdlib/tst-xpg-basename.c: Likewise.
10006 * string/test-ffs.c: Likewise.
10007 * string/tst-bswap.c: Likewise.
10008 * string/tst-inlcall.c: Likewise.
10009 * string/tst-strtok.c: Likewise.
10010 * string/tst-strxfrm.c: Likewise.
10011 * sysdeps/x86_64/tst-audit10.c: Likewise.
10012 * sysdeps/x86_64/tst-audit3.c: Likewise.
10013 * sysdeps/x86_64/tst-audit4.c: Likewise.
10014 * sysdeps/x86_64/tst-audit5.c: Likewise.
10015 * time/tst-ftime_l.c: Likewise.
10016 * time/tst-getdate.c: Likewise.
10017 * time/tst-mktime3.c: Likewise.
10018 * time/tst-mktime.c: Likewise.
10019 * time/tst-posixtz.c: Likewise.
10020 * time/tst-strptime2.c: Likewise.
10021 * time/tst-strptime3.c: Likewise.
10022 * wcsmbs/tst-btowc.c: Likewise.
10023 * wcsmbs/tst-mbrtowc.c: Likewise.
10024 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10025 * wcsmbs/tst-wchar-h.c: Likewise.
10026 * wcsmbs/tst-wcpncpy.c: Likewise.
10027 * wcsmbs/tst-wcrtomb.c: Likewise.
10028 * wcsmbs/tst-wcsnlen.c: Likewise.
10029 * wcsmbs/tst-wcstof.c: Likewise.
10031 2014-11-04 Joseph Myers <joseph@codesourcery.com>
10034 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10036 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10038 (_dl_mcount): Use rtld_hidden_proto.
10039 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10041 * elf/rtld.c (_rtld_global_ro): Likewise.
10044 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10045 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10046 of _dl_init_internal.
10047 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10048 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10049 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10050 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10051 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10052 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10053 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10054 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10055 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10056 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10057 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10058 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10059 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10060 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10061 * sysdeps/tile/dl-start.S (_start): Likewise.
10062 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10063 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10066 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10067 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10068 (rtld_progname): Make macro definition unconditional.
10069 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10071 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10072 (dl_main): Likewise.
10073 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10074 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10075 instead of _dl_argv_internal.
10076 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10077 __GI__dl_argv instead of INTUSE(_dl_argv).
10078 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10079 __GI__dl_argv instead of _dl_argv_internal.
10081 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10082 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10084 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10085 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10087 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10088 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10090 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10091 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10093 2014-11-04 Andreas Schwab <schwab@suse.de>
10095 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10097 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10099 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10100 mtvsrd instruction in binary form.
10102 2014-11-03 Andreas Schwab <schwab@suse.de>
10105 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10106 for less than MB_LEN_MAX use a local buffer of that size.
10107 * libio/tst-fputws.c: New file.
10108 * libio/Makefile (tests): Add tst-fputws.
10110 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10112 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10113 the size of the fpu_fr.fpu_dregs[] array.
10115 2014-11-01 Joseph Myers <joseph@codesourcery.com>
10117 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10118 (__nanosleep): Do not define as alias.
10119 (nanosleep): Define as alias of __nanosleep.
10120 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10121 __libc_nanosleep name.
10123 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10125 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10126 install.texi in comment.
10128 2014-10-31 Torvald Riegel <triegel@redhat.com>
10130 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10131 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10132 ... add here and use lwsync or sync ...
10133 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10134 ... and add here using lwsync.
10136 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10138 * elf/dl-machine-reject-phdr.h: New file.
10139 * elf/dl-load.c: #include that.
10140 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10141 if that returned true.
10143 2014-10-31 Roland McGrath <roland@hack.frob.com>
10146 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10147 gen-as-const-headers chunk. Add a big scare comment after the last
10148 safe place to touch before-compile.
10150 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10152 * manual/install.texi (Tools for Compilation): Update autoconf
10153 version requirements.
10154 * INSTALL: Regenerated.
10156 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10157 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10158 (__libc_pselect): Likewise.
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10166 2014-10-31 Torvald Riegel <triegel@redhat.com>
10168 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10169 correct barrier instruction.
10170 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10172 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10175 2014-10-30 Roland McGrath <roland@hack.frob.com>
10177 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10178 after defining inlines. Instead, just use parens to defeat macro
10179 expansion of __isctype in its declaration.
10181 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10183 * include/sys/uio.h (__libc_readv): Remove declaration.
10184 (__libc_writev): Likewise.
10185 * misc/readv.c (__libc_readv): Rename to __readv.
10186 (__readv): Do not define as alias.
10187 (readv): Define as alias of __readv.
10188 * misc/writev.c (__libc_writev): Rename to __writev.
10189 (__writev): Do not define as alias.
10190 (writev): Define as alias of __writev.
10191 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10192 (__readv): Do not define as alias.
10193 (readv): Define unconditionally as alias of __readv.
10194 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10195 (__writev): Do not define as alias.
10196 (writev): Define unconditionally as alias of __writev.
10197 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10199 (writev): Do not define __libc_writev name.
10201 2014-10-30 Roland McGrath <roland@hack.frob.com>
10203 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10204 (convert_charseq): New function, broken out of ...
10205 (use_from_charmap): ... here. Call it.
10206 (use_to_charmap): Use convert_charseq and free instead of duplicating
10207 its code with a variable-length stack struct.
10209 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10211 * include/fcntl.h (__libc_creat): Remove declaration.
10212 * io/creat.c (__libc_creat): Rename to creat.
10213 (creat): Do not define as alias.
10214 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10215 of creat instead of __libc_creat.
10216 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10218 (creat): Do not define as alias.
10219 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10221 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10223 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10226 2014-10-29 Carlos O'Donell <carlos@redhat.com>
10228 * manual/llio.texi: Add comments discussing why write() may be
10229 considered MT-unsafe on Linux.
10231 2014-10-28 Carlos O'Donell <carlos@redhat.com>
10233 * dl-load.c (local_strdup): Remove.
10234 (expand_dynamic_string_token): Use __strdup.
10235 (decompose_rpath): Likewise.
10236 (_dl_map_object): Likewise.
10238 2014-10-28 Joseph Myers <joseph@codesourcery.com>
10241 * sysdeps/generic/unwind-dw2-fde.c
10242 (__register_frame_info_bases_internal): Do not declare.
10243 (__register_frame_info_table_bases_internal): Likewise.
10244 (__deregister_frame_info_bases_internal): Likewise.
10245 (__register_frame_info_bases): Declare and use hidden_proto before
10246 definition. Use hidden_def instead of INTDEF.
10247 (__register_frame_info_table_bases): Likewise.
10248 (__deregister_frame_info_bases): Likewise.
10249 (__register_frame_info): Do not use INTUSE.
10250 (__register_frame): Likewise.
10251 (__register_frame_info_table): Likewise.
10252 (__register_frame_table): Likewise.
10253 (__deregister_frame_info): Likewise.
10254 (__deregister_frame): Likewise.
10256 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10258 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10259 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10261 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10263 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10266 2014-10-27 Joseph Myers <joseph@codesourcery.com>
10269 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10270 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10271 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10272 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10273 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10274 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10275 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10276 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10277 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10278 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10279 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10280 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10281 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10283 (setfsuid): Likewise.
10284 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10285 (setfsuid): Likewise.
10286 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10287 (setfsuid): Likewise.
10288 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10290 (setfsuid): Likewise.
10291 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10292 (setfsuid): Likewise.
10293 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10295 (setfsuid): Likewise.
10297 2014-10-27 Andreas Schwab <schwab@suse.de>
10300 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10301 check for Slow_SSE4_2 feature bit.
10302 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10303 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10304 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10305 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10307 2014-10-24 Roland McGrath <roland@hack.frob.com>
10309 * configure.ac: Validate compiler version with a empirical test of
10310 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10312 * configure: Regenerated.
10314 * inet/htons.c (htons): Prototypify.
10315 * inet/htonl.c (htonl): Likewise.
10317 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10319 * string/strncat.c (strncat): Improve performance by using strlen.
10321 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10323 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10325 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10327 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10328 Call libc_fetestexcept_aarch64.
10330 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10332 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10333 Call libc_feholdexcept_aarch64.
10335 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10337 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10338 Call get_rounding_mode.
10340 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10342 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10345 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10347 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10350 2014-10-24 Joseph Myers <joseph@codesourcery.com>
10353 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10354 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10355 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10356 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10357 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10358 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10359 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10360 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10361 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10362 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10363 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10364 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10365 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10366 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10367 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10368 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10369 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10370 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10371 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10372 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10373 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10374 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10375 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10376 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10377 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10378 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10379 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10380 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10381 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10382 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10383 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10384 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10385 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10386 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10387 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10388 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10389 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10390 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10391 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10392 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10393 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10395 (geteuid): Likewise.
10396 (getgid): Likewise.
10397 (getuid): Likewise.
10398 (getresgid): Likewise.
10399 (getresuid): Likewise.
10400 (getgroups): Likewise.
10401 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10402 (geteuid): Likewise.
10403 (getgid): Likewise.
10404 (getuid): Likewise.
10405 (getresgid): Likewise.
10406 (getresuid): Likewise.
10407 (getgroups): Likewise.
10408 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10409 (geteuid): Likewise.
10410 (getgid): Likewise.
10411 (getuid): Likewise.
10412 (getresgid): Likewise.
10413 (getresuid): Likewise.
10414 (getgroups): Likewise.
10415 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10417 (geteuid): Likewise.
10418 (getgid): Likewise.
10419 (getuid): Likewise.
10420 (getresgid): Likewise.
10421 (getresuid): Likewise.
10422 (getgroups): Likewise.
10423 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10424 (geteuid): Likewise.
10425 (getgid): Likewise.
10426 (getuid): Likewise.
10427 (getresgid): Likewise.
10428 (getresuid): Likewise.
10429 (getgroups): Likewise.
10430 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10432 (geteuid): Likewise.
10433 (getgid): Likewise.
10434 (getuid): Likewise.
10435 (getgroups): Likewise.
10438 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10439 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10440 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10441 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10442 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10443 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10444 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10445 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10446 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10447 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10448 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10449 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10450 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10452 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10453 (lchown): Likewise.
10454 (fchown): Likewise.
10455 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10457 (lchown): Likewise.
10458 (fchown): Likewise.
10459 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10460 (lchown): Likewise.
10461 (fchown): Likewise.
10462 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10464 (lchown): Likewise.
10465 (fchown): Likewise.
10467 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10469 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10472 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10474 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10477 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10479 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10480 Remove unused include.
10482 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10484 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10485 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10486 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10487 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10489 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10490 Helge Deller <deller@gmx.de>
10493 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10494 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10495 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10497 2014-10-23 Joseph Myers <joseph@codesourcery.com>
10500 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10501 Remove macro definition.
10502 (__ashrdi3_v_glibc20): Likewise.
10503 (__lshrdi3_v_glibc20): Likewise.
10504 (__cmpdi2_v_glibc20): Likewise.
10505 (__ucmpdi2_v_glibc20): Likewise.
10506 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10507 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10508 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10509 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10510 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10511 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10513 2014-10-22 Roland McGrath <roland@hack.frob.com>
10515 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10516 old GNU extension [0] syntax.
10517 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10518 alloca rather than an array member with variable length.
10519 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10520 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10521 (parse_opt): ... here. Likewise use alloca there.
10522 Validate the -i argument before checking for rootness.
10523 (send_shutdown): New function, broken out of ...
10524 (parse_opt): ... here.
10526 2014-10-22 Roland McGrath <roland@hack.frob.com>
10528 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10529 macro to get at the _rt_local_ro field.
10530 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10531 ([PIC] case) or _dl_hwcap ([!PIC] case).
10532 * sysdeps/arm/setjmp.S: Likewise.
10534 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10535 * sysdeps/arm/configure.ac: New check to define it.
10536 * sysdeps/arm/configure: Regenerated.
10537 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10538 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10539 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10540 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10541 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10542 Use move/movt pair instead of a load.
10543 (LDST_GLOBAL): Macro removed.
10544 (LDR_GLOBAL): New macro replaces it.
10545 (LDR_HIDDEN): New macro.
10546 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10547 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10549 * setjmp/tst-setjmp-static.c: New file.
10550 * setjmp/Makefile (tests): Add it.
10551 (tests-static): New variable.
10553 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10556 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10558 2014-10-21 Joseph Myers <joseph@codesourcery.com>
10561 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10563 2014-10-21 Roland McGrath <roland@hack.frob.com>
10565 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10567 2014-10-20 Roland McGrath <roland@hack.frob.com>
10569 * io/fts.c (dirent_not_directory): New function.
10570 (fts_build): Call it.
10572 2014-10-20 Roland McGrath <roland@hack.frob.com>
10574 * nptl/version.c (__nptl_main): Use normal __write rather than
10576 (banner): Update copyright years.
10578 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10580 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10581 * nptl/pthread_cond_timedwait.c: Likewise.
10582 * nptl/pthread_mutex_timedlock.c: Likewise.
10583 * nptl/sem_timedwait.c: Likewise.
10585 * sysdeps/nptl/bits/libc-lock.h
10586 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10587 (__libc_lock_init_recursive): Return void, not 0.
10588 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10589 (__libc_rwlock_init): Likewise.
10590 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10592 2014-10-20 Torvald Riegel <triegel@redhat.com>
10595 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10596 (__pthread_once_slow): ... here.
10597 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10598 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10600 2014-10-20 Torvald Riegel <triegel@redhat.com>
10603 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10604 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10605 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10606 * nptl/pthread_once.c (__pthread_once): Likewise.
10609 2014-10-20 Joseph Myers <joseph@codesourcery.com>
10612 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10614 (writev): Use __libc_writev as strong name.
10615 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10616 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10618 2014-10-17 Roland McGrath <roland@hack.frob.com>
10620 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10622 * sysdeps/i386/nptl/tls.h
10623 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10624 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10626 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10627 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10628 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10629 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10630 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10631 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10633 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10634 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10636 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10638 (__pthread_mutex_init): ... here. Call it.
10639 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10640 Conditionalize PI cases on [__NR_futex].
10641 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10642 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10643 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10645 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10646 conditional on [SIGSETXID].
10647 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10648 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10649 is defined. Likewise for SIGSETXID.
10650 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10651 Conditionalize definitions on [SIGSETXID].
10652 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10653 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10654 unblocking on [SIGCANCEL].
10656 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10657 [__NR_set_robust_list].
10659 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10661 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10662 (do_compare): Likewise.
10664 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
10667 * string/strcoll_l.c: Don't include stdio.h.
10668 (coll_seq): Remove members idxarr and rulearr.
10669 (get_next_seq_cached): Remove function.
10670 (get_next_seq): Likewise.
10671 (get_next_seq_nocache): Rename to get_next_seq.
10672 (do_compare): Remove function.
10673 (do_compare_nocache): Rename to do_compare.
10674 (STRCOLL): Remove weight and rules cache.
10676 2014-10-16 Roland McGrath <roland@hack.frob.com>
10678 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10679 * sysdeps/arm/sfp-machine.h: ... to here.
10680 * sysdeps/arm/Implies: Remove arm/soft-fp.
10682 2014-10-14 Joseph Myers <joseph@codesourcery.com>
10684 * conform/data/sys/utsname.h-data (*_t): Allow.
10685 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10686 [POSIX] (WEXITED): Do not expect constant.
10687 [POSIX] (WSTOPPED): Likewise.
10688 [POSIX] (WNOHANG): Likewise.
10689 [POSIX] (WNOWAIT): Likewise.
10690 [POSIX] (siginfo_t): Do not expect type or elements.
10691 [POSIX] (pid_t): Do not expect type.
10692 [POSIX] (signal.h): Do not allow header.
10693 [POSIX] (sys/resource.h): Likewise.
10694 [POSIX] (si_*): Do not allow pattern.
10695 [POSIX] (W*): Likewise.
10696 [POSIX] (P_*): Likewise.
10697 [POSIX] (BUS_*): Likewise.
10698 [POSIX] (CLD_*): Likewise.
10699 [POSIX] (FPE_*): Likewise.
10700 [POSIX] (ILL_*): Likewise.
10701 [POSIX] (POLL_*): Likewise.
10702 [POSIX] (SEGV_*): Likewise.
10703 [POSIX] (SI_*): Likewise.
10704 [POSIX] (TRAP_*): Likewise.
10705 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10708 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10711 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10712 infinite loop when __recvmsg returns 0.
10714 2014-10-10 Joseph Myers <joseph@codesourcery.com>
10716 * CANCEL-FCT-WAIVE: Remove file.
10717 * CANCEL-FILE-WAIVE: Likewise.
10720 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10721 instead of INTVARDEF.
10722 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10723 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10724 rtld_hidden_data_def instead of INTVARDEF.
10725 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10726 * elf/dl-deps.c (expand_dst): Likewise.
10727 * elf/dl-load.c (_dl_dst_count): Likewise.
10728 (_dl_dst_substitute): Likewise.
10729 (decompose_rpath): Likewise.
10730 (_dl_init_paths): Likewise.
10731 (open_path): Likewise.
10732 (_dl_map_object): Likewise.
10733 * elf/rtld.c (dl_main): Likewise.
10734 (process_dl_audit): Likewise.
10735 (process_envvars): Likewise.
10736 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10737 Remove declaration.
10738 (__libc_enable_secure): Use rtld_hidden_proto.
10740 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10743 (add_path): New function broken out of _dl_rtld_di_serinfo.
10744 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10746 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10748 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10749 parentheses around macro arguments.
10750 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10751 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10752 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10753 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10754 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10755 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10756 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10757 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10758 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10759 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10760 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10761 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10762 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10763 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10764 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10765 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10766 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10767 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10768 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10769 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10770 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10771 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10772 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10773 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10774 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10775 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10776 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10777 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10778 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10779 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10780 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10781 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10782 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10783 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10784 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10785 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10787 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10788 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10789 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10790 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10791 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10792 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10793 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10794 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10795 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10796 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10797 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10798 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10799 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10800 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10801 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10802 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10803 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10804 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10805 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10806 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10807 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10808 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10809 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10810 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10811 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10812 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10813 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10814 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10815 (_FP_FRAC_SRS_1): Likewise.
10816 (_FP_FRAC_CLZ_1): Likewise.
10817 (_FP_MUL_MEAT_1_imm): Likewise.
10818 (_FP_MUL_MEAT_1_wide): Likewise.
10819 (_FP_MUL_MEAT_1_hard): Likewise.
10820 (_FP_SQRT_MEAT_1): Likewise.
10821 (_FP_FRAC_ASSEMBLE_1): Likewise.
10822 (_FP_FRAC_DISASSEMBLE_1): Likewise.
10823 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10824 (__FP_CLZ_2): Likewise.
10825 (_FP_MUL_MEAT_2_wide): Likewise.
10826 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10827 (_FP_MUL_MEAT_2_gmp): Likewise.
10828 (_FP_MUL_MEAT_2_120_240_double): Likewise.
10829 (_FP_SQRT_MEAT_2): Likewise.
10830 (_FP_FRAC_ASSEMBLE_2): Likewise.
10831 (_FP_FRAC_DISASSEMBLE_2): Likewise.
10832 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10833 (_FP_FRAC_CLZ_4): Likewise.
10834 (_FP_MUL_MEAT_4_wide): Likewise.
10835 (_FP_MUL_MEAT_4_gmp): Likewise.
10836 (_FP_SQRT_MEAT_4): Likewise.
10837 (_FP_FRAC_ASSEMBLE_4): Likewise.
10838 (_FP_FRAC_DISASSEMBLE_4): Likewise.
10839 * soft-fp/op-common.h (_FP_CMP): Likewise.
10840 (_FP_CMP_EQ): Likewise.
10841 (_FP_CMP_UNORD): Likewise.
10842 (_FP_TO_INT): Likewise.
10843 (_FP_FROM_INT): Likewise.
10844 [!__FP_CLZ] (__FP_CLZ): Likewise.
10845 (_FP_DIV_HELP_imm): Likewise.
10846 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10848 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10849 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10850 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10851 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10852 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10853 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10854 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10855 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10856 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10857 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10858 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10859 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10860 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10861 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10862 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10863 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10864 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10865 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10866 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10867 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10868 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10869 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10870 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10871 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10872 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10873 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10874 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10875 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10876 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10877 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10878 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10879 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10880 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10881 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10882 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10883 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10884 (FP_UNPACK_RAW_SP): Likewise.
10885 (FP_PACK_RAW_S): Likewise.
10886 (FP_PACK_RAW_SP): Likewise.
10887 (FP_UNPACK_S): Likewise.
10888 (FP_UNPACK_SP): Likewise.
10889 (FP_UNPACK_SEMIRAW_S): Likewise.
10890 (FP_UNPACK_SEMIRAW_SP): Likewise.
10891 (FP_PACK_S): Likewise.
10892 (FP_PACK_SP): Likewise.
10893 (FP_PACK_SEMIRAW_S): Likewise.
10894 (FP_PACK_SEMIRAW_SP): Likewise.
10895 (_FP_SQRT_MEAT_S): Likewise.
10896 (FP_CMP_S): Likewise.
10897 (FP_CMP_EQ_S): Likewise.
10898 (FP_CMP_UNORD_S): Likewise.
10899 (FP_TO_INT_S): Likewise.
10900 (FP_FROM_INT_S): Likewise.
10902 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10904 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10905 (FP_EX_INVALID_IMZ): Likewise.
10906 (FP_EX_INVALID_IMZ_FMA): Likewise.
10907 (FP_EX_INVALID_ISI): Likewise.
10908 (FP_EX_INVALID_ZDZ): Likewise.
10909 (FP_EX_INVALID_IDI): Likewise.
10910 (FP_EX_INVALID_SQRT): Likewise.
10911 (FP_EX_INVALID_CVI): Likewise.
10912 (FP_EX_INVALID_VC): Likewise.
10913 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10914 "invalid" exceptions.
10915 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10916 (_FP_ADD_INTERNAL): Likewise.
10917 (_FP_MUL): Likewise.
10918 (_FP_FMA): Likewise.
10919 (_FP_DIV): Likewise.
10920 (_FP_CMP_CHECK_NAN): Likewise.
10921 (_FP_SQRT): Likewise.
10922 (_FP_TO_INT): Likewise.
10923 (FP_EXTEND): Likewise.
10925 2014-10-09 Allan McRae <allan@archlinux.org>
10927 * po/fr.po: Update French translation from translation project.
10929 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10932 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10934 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10935 (__cxa_atexit): Use libc_hidden_proto.
10936 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10939 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10941 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10942 [!_ISOMAC] (__iswspace_l_internal): Likewise.
10943 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10944 [!_ISOMAC] (__iswctype_internal): Likewise.
10945 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10946 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10948 (fcntl): Remove __fcntl_internal alias.
10949 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10950 __connect_internal alias.
10951 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10954 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10955 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10957 (_FP_CHECK_FLUSH_ZERO): New macro.
10958 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10959 (_FP_CMP): Likewise.
10960 (_FP_CMP_EQ): Likewise.
10961 (_FP_TO_INT): Do not set inexact for subnormal arguments if
10963 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10964 (FP_TRUNC): Likewise.
10966 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10967 treated as invalid conversion, not as normal exponent.
10969 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10970 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
10971 (_FP_CMP_EQ): Likewise.
10972 (_FP_CMP_UNORD): Likewise.
10973 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10974 (FP_CMP_EQ_D): Likewise.
10975 (FP_CMP_UNORD_D): Likewise.
10976 * soft-fp/extended.h (FP_CMP_E): Likewise.
10977 (FP_CMP_EQ_E): Likewise.
10978 (FP_CMP_UNORD_E): Likewise.
10979 * soft-fp/quad.h (FP_CMP_Q): Likewise.
10980 (FP_CMP_EQ_Q): Likewise.
10981 (FP_CMP_UNORD_Q): Likewise.
10982 * soft-fp/single.h (FP_CMP_S): Likewise.
10983 (FP_CMP_EQ_S): Likewise.
10984 (FP_CMP_UNORD_S): Likewise.
10985 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10986 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10987 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10988 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10989 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10990 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10991 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10992 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10993 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10994 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10995 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10996 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10997 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10999 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11001 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11002 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11004 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11006 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11007 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11008 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11009 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11011 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11013 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11014 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11016 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11018 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11019 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11020 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11021 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11024 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11025 a subnormal result, set the underflow exception if trapping on
11026 underflow is enabled.
11027 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11028 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11029 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11031 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11032 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11033 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11034 * soft-fp/extendxftf2.c (__extendxftf2): Use
11035 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11037 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11038 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11039 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11040 FP_HANDLE_EXCEPTIONS.
11041 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11042 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11043 FP_HANDLE_EXCEPTIONS.
11044 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11045 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11046 FP_HANDLE_EXCEPTIONS.
11047 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11048 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11049 FP_HANDLE_EXCEPTIONS.
11051 2014-10-08 Joseph Myers <joseph@codesourcery.com>
11054 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11055 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11057 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11058 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11060 (__adjtimex): Define using libc_hidden_ver.
11061 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11062 Remove declaration.
11063 (ntp_gettime): Call __adjtimex directly.
11064 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11065 Remove declaration.
11066 (ntp_gettimex): Call __adjtimex directly.
11067 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11068 __adjtimex_internal alias.
11070 2014-10-08 Roland McGrath <roland@hack.frob.com>
11073 * nscd/nscd.c (more_help): Rewrite list of tables collection
11074 using xstrdup and asprintf.
11076 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11078 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11079 Roland McGrath <roland@hack.frob.com>
11081 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11082 (do_lookup_unique): ... local function 'enter' here; update callers.
11084 2014-10-06 Joseph Myers <joseph@codesourcery.com>
11086 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11087 compat_symbol calls on [SHARED].
11088 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11089 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11091 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11092 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11093 (oldsetrlimit): Remove.
11094 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11096 (lchown): New syscall entry.
11097 (oldsetrlimit): Remove.
11098 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11099 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11100 (oldsetrlimit): Remove.
11101 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11104 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11105 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11106 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11107 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11108 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11109 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11110 (fchown): Likewise.
11111 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11112 (fchown): Likewise.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11116 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11118 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11119 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11120 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11121 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11122 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11124 (__old_sem_post): Likewise.
11126 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
11128 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11129 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11130 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11131 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11132 Use INLINE_VSYSCALL macro.
11133 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11134 __vdso_clock_gettime.
11135 * sysdeps/unix/sysv/linux/tile/init-first.c
11136 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11137 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11138 __vdso_clock_gettime.
11140 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11141 to set up frame more cleanly.
11143 * sysdeps/tile/memcmp.c: New file.
11145 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11147 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11148 * sysdeps/tile/tilegx/strcasestr.c: New file.
11149 * sysdeps/tile/tilegx/strnlen.c: New file.
11150 * sysdeps/tile/tilegx/strstr.c: New file.
11152 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11154 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
11156 * nptl/tst-setuid3.c: Write errors to stdout.
11158 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11161 (preload): New functions broken out of _dl_map_object_deps.
11162 (_dl_map_object_deps): Remove a nested function. Update call sites.
11164 2014-10-01 Joseph Myers <joseph@codesourcery.com>
11167 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11168 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11170 2014-10-01 Steve Ellcey <sellcey@mips.com>
11172 * sysdeps/mips/strcmp.S: New.
11174 2014-09-30 Joseph Myers <joseph@codesourcery.com>
11177 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11178 (linkat): Likewise.
11179 (mkdirat): Likewise.
11180 (readlinkat): Likewise.
11181 (renameat): Likewise.
11182 (symlinkat): Likewise.
11183 (unlinkat): Likewise.
11184 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11185 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11186 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11187 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11188 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11189 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11190 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11192 2014-09-30 Will Newton <will.newton@linaro.org>
11194 * math/math.h: Define long double math functions if
11195 _LIBC_TEST is defined.
11196 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11198 * localedata/Makefile: Move assignment to tests-special
11199 into an ifdef testing run-built-tests.
11200 * timezone/Makefile: Likewise.
11202 2014-09-29 Joseph Myers <joseph@codesourcery.com>
11204 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11205 with $(BASH) not $(SHELL).
11207 2014-09-29 Carlos O'Donell <carlos@redhat.com>
11208 Matthew LeGendre <legendre1@llnl.gov>
11211 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11214 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11216 * stdio-common/printf_fp.c
11217 (hack_digit): New function, broken out of ...
11218 (__printf_fp): ... local function here. Update call sites.
11219 hack_digit now takes an additional parameter that is a pointer
11220 to a struct of the referenced locals. Those locals moved inside
11221 the struct and references updated.
11223 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11225 * aclocal.m4: Require autoconf 2.69.
11226 * configure: Regenerated.
11227 * sysdeps/aarch64/configure: Likewise.
11228 * sysdeps/alpha/configure: Likewise.
11229 * sysdeps/arm/armv7/configure: Likewise.
11230 * sysdeps/arm/configure: Likewise.
11231 * sysdeps/ia64/configure: Likewise.
11232 * sysdeps/mach/configure: Likewise.
11233 * sysdeps/mips/configure: Likewise.
11234 * sysdeps/s390/configure: Likewise.
11235 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11238 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11240 * sysdeps/ia64/configure.ac: Likewise.
11242 2014-09-26 Joseph Myers <joseph@codesourcery.com>
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11245 specify symbol version for ld.so. Do not include entry for
11247 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11248 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11249 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11252 * Makeconfig [$(build-shared) = yes]
11253 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11255 [$(build-shared) = yes && $(soversions.mk-done) = t]
11256 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11257 [$(build-shared) = yes && $(soversions.mk-done) = t]
11258 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11260 [$(build-shared) = yes && $(soversions.mk-done) = t]
11261 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11263 [$(build-shared) = yes && $(soversions.mk-done) = t]
11264 (common-generated): Don't append gnu/lib-names.h and
11265 gnu/lib-names.stmp here.
11266 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11267 (lib-names-h-abi): New variable.
11268 [$(build-shared) = yes && $(soversions.mk-done) = t]
11269 (lib-names-stmp-abi): Likewise.
11270 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11271 abi-variants] (before-compile): Append
11272 $(common-objpfx)$(lib-names-h-abi).
11273 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11274 abi-variants] (common-generated): Append gnu/lib-names.h.
11275 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11276 abi-variants] (install-others-nosubdir): Depend on
11277 $(inst_includedir)/$(lib-names-h-abi).
11278 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11279 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11280 [$(build-shared) = yes && $(soversions.mk-done) = t]
11281 ($(common-objpfx)$(lib-names-h-abi)): New rule.
11282 [$(build-shared) = yes && $(soversions.mk-done) = t]
11283 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11284 [$(build-shared) = yes && $(soversions.mk-done) = t]
11285 (common-generated): Append $(lib-names-h-abi) and
11286 $(lib-names-stmp-abi).
11287 * scripts/lib-names.awk: Do not handle multi being set.
11288 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11290 (abi-lp64_be-ld-soname): Likewise.
11291 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11293 (abi-hard-ld-soname): Likewise.
11294 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11295 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11297 (abi-o32_hard-ld-soname): Likewise.
11298 (abi-o32_soft_2008-ld-soname): Likewise.
11299 (abi-o32_hard_2008-ld-soname): Likewise.
11300 (abi-n32_soft-ld-soname): Likewise.
11301 (abi-n32_hard-ld-soname): Likewise.
11302 (abi-n32_soft_2008-ld-soname): Likewise.
11303 (abi-n32_hard_2008-ld-soname): Likewise.
11304 (abi-n64_soft-ld-soname): Likewise.
11305 (abi-n64_hard-ld-soname): Likewise.
11306 (abi-n64_soft_2008-ld-soname): Likewise.
11307 (abi-n64_hard_2008-ld-soname): Likewise.
11308 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11310 (abi-64-v2-ld-soname): Likewise.
11311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11313 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11315 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11317 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11319 (abi-64-ld-soname): Likewise.
11320 (abi-x32-ld-soname): Likewise.
11321 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11323 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11325 2014-09-23 Joseph Myers <joseph@codesourcery.com>
11328 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11329 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11330 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11331 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11332 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11333 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11334 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11335 syscall entry for GLIBC_2.2 symbol version.
11336 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11339 (setrlimit): Likewise.
11340 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11343 2014-09-23 Will Newton <will.newton@linaro.org>
11345 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11346 _LINUX_ARM_SYSDEP_H include guard too.
11347 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11350 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11352 * sysdeps/unix/sysv/linux/eventfd.c:
11353 Make first argument unsigned.
11354 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11355 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11357 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
11359 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11360 * socket/sys/socket.h: Likewise
11361 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11363 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11365 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11367 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
11369 * time/tst-ftime.c: New test.
11370 * time/Makefile (tests): Add tst-ftime.
11372 2014-09-17 Joseph Myers <joseph@codesourcery.com>
11374 * soft-fp/extended.h: Fix comment formatting.
11375 * soft-fp/op-1.h: Likewise.
11376 * soft-fp/op-2.h: Likewise.
11377 * soft-fp/op-4.h: Likewise.
11378 * soft-fp/op-8.h: Likewise.
11379 * soft-fp/op-common.h: Likewise.
11380 * soft-fp/soft-fp.h: Likewise.
11382 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11384 2014-09-16 Joseph Myers <joseph@codesourcery.com>
11387 * Makeconfig (soversions-default-setname): Remove variable.
11388 ($(common-objpfx)soversions.i): Don't pass default_setname to
11390 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11391 oldest_abi to abi-versions.awk.
11392 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11393 * config.make.in (oldest-abi): Remove variable.
11394 * configure.ac (--enable-oldest-abi): Remove configure option.
11395 * configure: Regenerated.
11396 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11398 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11399 * scripts/soversions.awk: Do not handle default_setname variable.
11400 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11402 * sysdeps/mach/hurd/configure: Regenerated.
11403 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11405 * sysdeps/unix/sysv/linux/configure: Regenerated.
11407 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11409 * elf/Makefile (CFLAGS-interp.c): Remove.
11410 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11412 * elf/interp.c: Include generated runtime-linker.h
11414 * Makerules (lib%.so): Don't include $(+interp) in
11416 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11417 * dlfcn/eval.c: Remove file.
11419 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11423 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11427 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11429 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11430 Jakub Jelinek <jakub@redhat.com>
11433 * libio/stdio.h: Check definition of __fortify_function
11434 instead of __extern_always_inline to include bits/stdio2.h.
11435 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11436 check if __extern_always_inline is defined.
11437 [__USE_MISC || __USE_XOPEN]: Likewise.
11438 [__USE_ISOC99] Likewise.
11439 * misc/sys/cdefs.h (__fortify_function): Define only if
11440 __extern_always_inline is defined.
11441 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11442 __extern_always_inline and __extern_inline only for g++-4.3
11443 and newer or a compatible gcc.
11445 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11448 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11449 last change to handle zero prefix length.
11451 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11453 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11456 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11457 _POSIX_RAW_SOCKETS.
11459 2014-09-13 Allan McRae <allan@archlinux.org>
11461 * po/ru.po: Update Russian translation from translation project.
11463 2014-09-12 Roland McGrath <roland@hack.frob.com>
11465 * locale/programs/locale.c (show_locale_vars): Inline local function
11466 into its sole call site. Clean up some style nits.
11467 (print_item): New function, broken out of ...
11468 (show_info): ... local function here. Clean up style nits.
11470 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11472 (set_class_defaults): ... local function set_default here.
11473 Define set_default as a macro locally to pass constant parameters.
11474 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11475 rather than a shared local.
11477 * stdlib/rpmatch.c (try): New function, broken out of ...
11478 (rpmatch): ... local function here. Also, prototypify definition.
11480 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11482 * scripts/soversions.awk: Do not handle configuration names.
11483 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11484 vendor and os variables to soversions.awk.
11485 * configure.ac: Do not modify gnu-* host_os.
11486 * configure: Regenerated
11487 * shlib-versions: Remove first column with configuration names.
11488 * nptl/shlib-versions: Likewise.
11489 * nptl_db/shlib-versions: Likewise.
11490 * sysdeps/hppa/shlib-versions: Likewise.
11491 * sysdeps/m68k/shlib-versions: Likewise.
11492 * sysdeps/mach/hurd/shlib-versions: Likewise.
11493 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11494 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11495 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11496 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11497 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11498 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11499 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11500 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11503 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11504 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11505 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11506 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11507 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11508 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11509 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11510 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11513 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11516 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11518 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11520 * shlib-versions: Remove OS-specific entries. Moved to files in
11522 * sysdeps/mach/hurd/shlib-versions: New file.
11523 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11525 * nptl/shlib-versions: Remove architecture-specific entries.
11526 Moved to files in sysdeps.
11527 * shlib-versions: Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11530 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11531 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11532 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11533 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11535 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11536 (UDP_NO_CHECK6_RX): Likewise.
11538 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11540 * sysdeps/posix/sysconf.c (__sysconf): Spell
11541 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11543 2014-08-12 Florian Weimer <fweimer@redhat.com>
11545 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11547 * iconv/Versions (__gconv_transliterate): Export for use from
11549 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11550 (struct __gconv_trans_data, __gconv_trans_fct,
11551 __gconv_trans_context_fct, __gconv_trans_query_fct,
11552 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11554 (struct __gconv_step_data): Remove __trans member.
11555 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11556 longer hidden. Remove unused trans_data argument.
11557 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11558 (__gconv_translit_find): Remove declaration.
11559 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11561 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11562 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11563 trans_data argument. Add hidden definition.
11564 (__gconv_translit_find): Remove.
11565 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11566 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11567 * iconv/skeleton.c: Remove transliteration initialization.
11568 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11569 __gconv_step_data initialization.
11570 * libio/iofwide.c (__libio_translit_): Remove.
11571 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11572 * wcsmbs/btowc.c (__btowc): Likewise.
11573 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11574 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11575 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11576 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11577 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11578 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11579 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11580 * wcsmbs/wctob.c (wctob): Likewise.
11582 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11585 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11586 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11588 * sysdeps/x86/Makefile: Adjust.
11590 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11591 Roland McGrath <roland@hack.frob.com>
11593 * locale/weight.h: Add include guard.
11594 (findidx): Make static rather than auto; take new parameters
11595 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11596 * locale/weightwc.h: Likewise.
11597 * posix/fnmatch_loop.c
11598 (FCT): Change type of EXTRA from int32_t to wint_t.
11599 Don't include either header inside the function.
11600 Call FINDIDX rather than findidx, and pass new arguments.
11601 #undef FINDIDX at the end of the file.
11602 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11603 FINDIDX before including fnmatch_loop.c for the non-wide version.
11604 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11605 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11606 for the wide version.
11607 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11608 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11609 Pass new arguments to findidx.
11610 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11611 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11612 Don't #include it inside the function. Pass new arguments to findidx.
11613 * posix/regex_internal.h
11614 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11615 (re_string_elem_size_at): Don't #include it inside the function.
11616 Pass new arguments to findidx.
11617 * string/strcoll_l.c: #include WEIGHT_H at top level.
11618 (get_next_seq): Don't #include it inside the function.
11619 Pass new arguments to findidx.
11620 (get_next_seq_nocache): Likewise.
11621 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11622 (STRXFRM): Don't #include it inside the function.
11623 Pass new arguments to findidx.
11625 2014-09-11 Florian Weimer <fweimer@redhat.com>
11628 * malloc/malloc.c (unlink): Turn asserts into a call to
11631 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
11634 * libio/wfileops (do_ftell_wide): Free OUT.
11636 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11638 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11640 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11643 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11644 group if the current group is empty.
11646 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11648 * benchtests/bench-memset.c (test_main): Add more test from size
11649 from 32 to 512 bytes.
11650 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11651 Add POWER8 memset object.
11652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11653 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11654 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11656 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11658 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11659 multiarch POWER8 memset optimization.
11660 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11661 POWER8 memset optimization.
11663 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11664 Remove bzero multiarch objects.
11665 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11666 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11667 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11668 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11670 [__bzero]: Redefine to specific name.
11671 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11672 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11673 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11675 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11676 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11678 2014-09-10 Florian Weimer <fweimer@redhat.com>
11680 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11681 warnings into errors.
11683 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11684 __cxa_thread_atexit_impl prototype.
11686 2014-09-09 Steve Ellcey <sellcey@mips.com>
11688 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11689 Fix capitalization of error message.
11691 2014-09-09 Steve Ellcey <sellcey@mips.com>
11693 * sysdeps/mips/preconfigure: Modify ABI tests.
11695 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11697 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11699 2014-09-07 Roland McGrath <roland@hack.frob.com>
11700 Carlos O'Donell <carlos@systemhalted.org>
11702 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11703 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11704 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11705 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11706 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11707 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11708 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11709 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11710 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11711 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11712 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11713 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11714 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11715 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11716 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11717 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11718 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11719 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11720 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11721 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11722 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11723 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11724 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11725 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11726 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11727 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11728 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11729 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11730 Deconditionalize the code that was previously under [RESET_PID].
11731 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11732 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11733 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11734 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11737 2014-09-08 Allan McRae <allan@archlinux.org>
11739 * version.h (RELEASE): Set to "development".
11740 (VERSION): Set to "2.20.90"
11742 2014-09-07 Allan McRae <allan@archlinux.org
11744 * version.h (RELEASE): Set to "stable".
11745 (VERSION): Set to "2.20"
11746 * include/features.h (__GLIBC_MINOR__): Set to 20.
11748 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11751 * po/ko.po: Update Korean translation from translation project.
11753 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11756 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11757 macro for handling signed relocations.
11759 2014-09-03 Florian Weimer <fweimer@redhat.com>
11762 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11763 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11765 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11766 * iconvdata/ibm935.c (BODY): Likewise.
11767 * iconvdata/ibm937.c (BODY): Likewise.
11768 * iconvdata/ibm939.c (BODY): Likewise.
11769 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11771 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11773 * iconvdata/run-iconv-test.sh: New test loop for checking for
11776 2014-09-02 Khem Raj <raj.khem@gmail.com>
11778 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11781 2014-09-01 Allan McRae <allan@archlinux.org>
11783 * po/eo.po: Update Esperanto translation from translation project.
11785 * po/ca.po: Update Catalan translation from translation project.
11787 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11789 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11790 __proc_dostop call.
11792 2014-08-27 Mark Wielaard <mjw@redhat.com>
11795 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11796 to call set_thread_area instead of hand written asm.
11797 (__NR_set_thread_area): Removed define.
11798 (TLS_FLAG_WRITABLE): Likewise.
11799 (__ASSUME_SET_THREAD_AREA): Remove check.
11800 (TLS_EBX_ARG): Remove define.
11801 (TLS_LOAD_EBX): Likewise.
11803 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11805 Simplify atomicity of socket creation in bind.
11807 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11808 looking up the name after linking the file.
11810 2014-08-27 Allan McRae <allan@archlinux.org>
11812 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11814 2014-08-26 Florian Weimer <fweimer@redhat.com>
11817 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11818 trans_compare, open_translit, __gconv_translit_find):
11819 Remove module loading code.
11821 2014-08-26 Allan McRae <allan@archlinux.org>
11823 * po/vi.po: Update Vietnamese translation from translation project.
11825 * po/uk.po: Update Ukrainian translation from translation project.
11827 * po/fr.po: Update French translation from translation project.
11829 * po/ru.po: Update Russian translation from translation project.
11831 * po/pl.po: Update Polish translation from translation project.
11833 * po/cs.po: Update Czech translation from translation project.
11835 * po/de.po: Update German translation from translation project.
11837 * po/bg.po: Update Bulgarian translation from translation project.
11839 * po/sv.po: Update Sweedish translation from translation project.
11841 * po/nl.po: Update Dutch translation from translation project.
11843 * po/es.po: Update Spanish translation from translation project.
11845 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11847 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11849 * catgets/Makefile (CPPFLAGS-gencat): Remove.
11850 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11851 (CPPFLAGS-iconvconfig): Likewise.
11852 * timezone/Makefile (CPPFLAGS-zic): Likewise.
11854 * include/libc-symbols.h: Remove unnecessary check for
11856 * nptl/pthreadP.h: Likewise.
11857 * sysdeps/aarch64/setjmp.S: Likewise.
11858 * sysdeps/alpha/setjmp.S: Likewise.
11859 * sysdeps/arm/sysdep.h: Likewise.
11860 * sysdeps/i386/setjmp.S: Likewise.
11861 * sysdeps/m68k/setjmp.c: Likewise.
11862 * sysdeps/posix/getcwd.c: Likewise.
11863 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11864 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11865 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11866 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11867 * sysdeps/sh/sh3/setjmp.S: Likewise.
11868 * sysdeps/sh/sh4/setjmp.S: Likewise.
11869 * sysdeps/unix/alpha/sysdep.h: Likewise.
11870 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11871 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11872 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11873 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11876 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11877 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11878 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11880 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11881 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11882 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11883 * sysdeps/x86_64/setjmp.S: Likewise.
11885 2014-08-13 Joseph Myers <joseph@codesourcery.com>
11888 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11890 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11891 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11893 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11895 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11898 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11899 and __x86_64__ when disabling x87 inline functions.
11901 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
11904 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11905 asm statement with __cpuid_count.
11907 2014-08-12 Mike Frysinger <vapier@gentoo.org>
11909 * configure.ac: Change __ehdr_start code to dereference the struct.
11910 Run readelf on the output to look for relocations.
11911 * configure: Regenerated.
11913 2014-08-12 Joseph Myers <joseph@codesourcery.com>
11916 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11918 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11920 2014-08-12 Roland McGrath <roland@hack.frob.com>
11922 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11924 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
11927 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11928 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11930 2014-08-12 Sean Anderson <seanga2@gmail.com>
11932 * malloc/malloc.c: Fix typo in comment.
11934 2014-08-09 Allan McRae <allan@archlinux.org>
11936 * Regenerate libc.po.
11938 2014-08-08 Mike Frysinger <vapier@gentoo.org>
11940 * intl/tst-gettext2.sh: Check every lang file for creation.
11942 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11944 * sysdeps/aarch64/fpu/math_private.h
11945 (libc_feholdsetround_noex_aarch64_ctx): New function.
11947 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11949 * sysdeps/arm/armv6/strcpy.S (strcpy):
11950 Fix performance issue in misaligned cases.
11952 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11954 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11955 Move definition from termios.h.
11956 (struct termio): Likewise.
11957 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11958 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11959 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11960 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11962 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11963 Move definition to ioctl-types.h
11964 (struct termio): Likewise.
11965 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11966 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11967 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11968 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11971 2014-08-05 Richard Henderson <rth@redhat.com>
11973 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11975 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11977 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11978 Use __feraiseexcept.
11979 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11980 Protect libm symbols with IS_IN_libm.
11982 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11984 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
11986 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11988 2014-08-04 Will Newton <will.newton@linaro.org>
11990 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11993 2014-08-04 Mike Frysinger <vapier@gentoo.org>
11995 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11996 variants for each function.
11998 2014-08-04 Roland McGrath <roland@hack.frob.com>
12000 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12002 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12003 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12005 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12006 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12007 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12008 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12009 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12010 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12011 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12012 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12013 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12014 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12015 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12016 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12017 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12018 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12019 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12020 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12021 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12022 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12023 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12024 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12025 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12026 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12027 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12028 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12029 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12030 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12031 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12032 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12033 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12034 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12035 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12036 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12037 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12038 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12039 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12040 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12041 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12042 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12043 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12044 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12045 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12046 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12047 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12048 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12049 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12050 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12051 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12052 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12053 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12054 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12055 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12056 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12057 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12059 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12060 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12062 2014-08-04 Roland McGrath <roland@hack.frob.com>
12064 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12065 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12066 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12067 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12068 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12069 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12071 2014-08-04 Roland McGrath <roland@hack.frob.com>
12073 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12074 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12075 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12076 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12078 2014-08-04 Roland McGrath <roland@hack.frob.com>
12080 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12081 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12082 (__libc_vfork): Define function under this name.
12083 (__vfork): Define as an alias.
12084 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12085 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12087 2014-08-04 Roland McGrath <roland@hack.frob.com>
12089 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12090 that was previously under [RESET_PID].
12091 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12093 2014-08-04 Andreas Schwab <schwab@suse.de>
12095 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12097 2014-08-03 Mike Frysinger <vapier@gentoo.org>
12099 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12102 2014-08-01 Roland McGrath <roland@hack.frob.com>
12104 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12106 2014-08-01 Richard Henderon <rth@redhat.com>
12108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12109 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12110 typo in exact zero test.
12111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12112 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12113 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12115 2014-08-01 Roland McGrath <roland@hack.frob.com>
12117 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12118 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12119 * sysdeps/arm/sysdep.h: ... here.
12120 [!__ASSEMBLER__]: Include <stdint.h>.
12122 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12124 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12125 (HAVE_WCTYPE_H): Likewise.
12126 (HAVE_ISWCTYPE): Likewise.
12127 (ENABLE_NLS): Likewise.
12128 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12129 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12131 * posix/regex_internal.c: Check if DEBUG is defined and is
12134 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12135 (HAVE_MBSRTOWCS): Likewise.
12136 * posix/fnmatch.c: Include string.h unconditionally.
12138 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12140 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12143 2014-07-31 Roland McGrath <roland@hack.frob.com>
12145 * sysdeps/generic/safe-fatal.h: New file.
12146 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12147 * nptl/forward.c: Include it.
12148 (__pthread_unwind): Use __safe_fatal as default action, rather
12149 than a bogus use of INTERNAL_SYSCALL that could never work.
12151 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12152 * configure.ac (libc_cv_builtin_trap): New test.
12153 * configure: Regenerated.
12154 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12155 (ABORT_INSTRUCTION): Define using __builtin_trap.
12157 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12158 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12159 * sysdeps/nptl/nptl-signals.h: New file.
12160 * nptl/pthreadP.h: Include <nptl-signals.h>.
12162 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12164 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12165 (ONE_DIRECTION): Define.
12166 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12167 (ONE_DIRECTION): Define.
12168 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12169 (ONE_DIRECTION): Define.
12171 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12173 * sysdeps/s390/Makefile: Delete file.
12174 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12175 * sysdeps/s390/__longjmp.c: Delete file.
12176 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12177 Remove fields __flags and __reserved.
12178 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12179 and add versioning.
12180 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12181 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12182 * sysdeps/s390/rtld-setjmp.S: Likewise.
12183 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12184 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12185 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12186 * sysdeps/s390/s390-32/setjmp.S: ... here.
12188 (__sigsetjmp): Remove setting __flags field.
12189 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12190 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12191 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12192 * sysdeps/s390/s390-64/setjmp.S: ... here.
12194 (__sigsetjmp): Remove setting __flags field.
12195 * sysdeps/s390/setjmp.S: Delete file.
12196 * sysdeps/s390/sigjmp.c: Likewise.
12197 * sysdeps/s390/v1-longjmp.c: Likewise.
12198 * sysdeps/s390/v1-setjmp.h: Likewise.
12199 * sysdeps/s390/v1-sigjmp.c: Likewise.
12200 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12201 Remove v1-longjmp_chk.
12202 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12203 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12204 Include debug/longjmp_chk.c and add versioning.
12205 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12206 Include nptl/pt-longjmp.c and add versioning.
12207 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12208 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12209 Include __longjmp.c.
12210 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12212 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12213 (__getcontext): Remove setting __flags field.
12215 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12216 Don't restore upper high grps.
12217 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12219 (__swapcontext): Remove setting uc_flags field.
12220 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12222 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12223 Include __longjmp.c.
12224 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12226 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12227 (__getcontext): Remove setting __flags field.
12229 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12230 (__swapcontext): Remove setting uc_flags field.
12231 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12232 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12233 Remove fields uc_high_gprs and __reserved.
12234 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12235 New file with reverted content.
12236 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12237 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12239 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12242 2014-07-31 Andreas Schwab <schwab@suse.de>
12244 * config.h.in (HAVE_IFUNC): Define to 0.
12245 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12248 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12251 memmove-avx-unaligned, memcpy-avx-unaligned and
12252 mempcpy-avx-unaligned.
12253 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12254 Add tests for AVX memcpy functions.
12255 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12256 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12258 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12259 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12261 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12262 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12264 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12265 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12266 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12268 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12271 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12274 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
12277 * manual/llio.texi: Add section about open file description locks.
12278 * manual/examples/ofdlocks.c: Example of open file description
12280 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12281 F_OFD_SETLK, and F_OFD_SETLKW.
12283 2014-07-23 Allan McRae <allan@archlinux.org>
12285 * po/es.po: Update Spanish translation from translation project.
12287 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
12289 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12291 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12294 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12295 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12296 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12298 2014-07-17 Joseph Myers <joseph@codesourcery.com>
12301 * math/fesetenv.c (__fesetenv)
12302 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12303 * math/feupdateenv.c (__feupdateenv)
12304 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12306 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12307 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12308 (__ASSUME_SOCKETCALL): Do not define.
12310 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12311 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12312 (__ASSUME_SOCKETCALL): Do not define.
12313 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12314 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12315 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12316 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12317 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12318 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12319 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12320 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12322 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12323 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12324 (__ASSUME_SOCKETCALL): Do not define.
12325 (__ASSUME_IPC64): Define unconditionally.
12326 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12327 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12328 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12329 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12330 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12331 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12332 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12335 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12336 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12337 (__ASSUME_SOCKETCALL): Do not define.
12338 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12339 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12340 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12341 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12342 (__ASSUME_REQUEUE_PI): Define unconditionally.
12343 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12344 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12345 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12346 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12347 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12348 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12350 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12351 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12352 (__ASSUME_SOCKETCALL): Do not define.
12353 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12354 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12355 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12356 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12357 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12358 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12360 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12361 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12362 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12363 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12364 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12365 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12366 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12367 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12368 (__ASSUME_GETCPU_SYSCALL): Likewise.
12370 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12371 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12372 cases for individual architectures.
12373 * sysdeps/gnu/configure: Regenerated.
12374 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12375 LIBC_SLIBDIR_RTLDDIR.
12376 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12377 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12378 LIBC_SLIBDIR_RTLDDIR.
12379 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12381 LIBC_SLIBDIR_RTLDDIR.
12382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12384 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12385 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12387 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12388 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12390 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12391 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12392 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12393 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12395 * sysdeps/aarch64/shlib-versions: Move to ...
12396 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12397 * sysdeps/alpha/shlib-versions: Move to ...
12398 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12399 * sysdeps/arm/shlib-versions: Move to ...
12400 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12401 * sysdeps/hppa/shlib-versions: Move all contents except for
12402 libgcc_s entry to ...
12403 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12405 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12406 * sysdeps/ia64/shlib-versions: Move to ...
12407 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12409 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12410 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12411 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12412 * sysdeps/microblaze/shlib-versions: Move to ...
12413 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12414 * sysdeps/mips/shlib-versions: Move to ...
12415 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12417 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12418 * sysdeps/tile/shlib-versions: Move to ...
12419 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12420 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12422 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12423 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12425 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12427 2014-07-17 Will Newton <will.newton@linaro.org>
12429 * sysdeps/arm/bits/atomic.h
12430 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12431 (__arch_compare_and_exchange_bool_16_int): Likewise.
12432 (__arch_compare_and_exchange_bool_64_int): Likewise.
12434 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12435 into an #else block.
12437 2014-07-16 Roland McGrath <roland@hack.frob.com>
12439 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12440 just Linux configurations. Test empirically that the compiler sets
12441 __ARM_EABI__, rather than using the tuple to decide.
12442 * sysdeps/arm/preconfigure: Regenerated.
12443 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12444 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12445 contents appended ...
12446 * sysdeps/arm/configure.ac: ... here.
12447 * sysdeps/arm/configure: Regenerated.
12449 2014-07-15 Roland McGrath <roland@hack.frob.com>
12451 * nptl/pthread_kill.c: New file.
12452 * nptl/pthread_sigmask.c: New file.
12453 * nptl/pthread_sigqueue.c: New file.
12455 * sysdeps/nptl/lowlevellock.h: New file.
12456 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12457 * sysdeps/nptl/lowlevellock-futex.h: New file.
12459 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12460 Remove dead declarations.
12462 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12464 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12465 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12466 config-cflags-avx2.
12467 * sysdeps/x86_64/configure.ac: Likewise.
12468 * sysdeps/i386/configure: Regenerated.
12469 * sysdeps/x86_64/configure: Likewise.
12470 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12471 memset-avx2 only if config-cflags-avx2 is yes.
12472 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12473 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12475 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12476 only if HAVE_AVX2_SUPPORT is defined.
12477 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12479 2014-07-14 Alan Modra <amodra@gmail.com>
12482 * elf/elf.h (DT_PPC64_NUM): Correct value.
12483 * NEWS: Add to fixed bug list.
12485 2014-07-13 Jim Meyering <meyering@fb.com>
12488 regex: don't deref NULL upon heap allocation failure
12489 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12490 failure in one more place.
12491 To trigger the segfault, configure grep -with-included-regex,
12492 build it, and run these commands:
12493 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12495 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12497 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12499 2014-07-11 Richard Henderson <rth@redhat.com>
12501 * sysdeps/aarch64/libm-test-ulps: Update.
12503 2014-07-10 Florian Weimer <fweimer@redhat.com>
12506 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12507 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12508 (__nptl_setxid): Initialize error member. Call
12509 __nptl_setxid_error.
12510 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12511 * nptl/descr.h (struct xid_command): Add error member.
12512 * nptl/tst-setuid3.c: New file.
12513 * nptl/Makefile (tests): Add it.
12515 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12517 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12519 (__lll_trylock): Use __lll_base_trylock.
12520 (__lll_cond_trylock): Likewise.
12522 2014-07-10 Roland McGrath <roland@hack.frob.com>
12524 * nptl/pthread_create.c (start_thread): Use atomic_or and
12525 lll_futex_wake directly rather than lll_robust_dead.
12526 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12527 (lll_robust_dead): Macro removed.
12528 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12529 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12530 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12531 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12532 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12533 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12534 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12535 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12536 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12537 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12538 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12539 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12540 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12541 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12542 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12544 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12545 Use atomic_compare_and_exchange_val_acq directly rather than
12546 lll_robust_trylock.
12547 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12548 (__lll_robust_trylock, lll_robust_trylock): Removed.
12549 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12550 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12551 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12552 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12553 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12554 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12555 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12556 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12557 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12558 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12559 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12560 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12561 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12562 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12564 2014-07-02 Florian Weimer <fweimer@redhat.com>
12566 * manual/locale.texi (Locale Names): New section documenting
12567 locale name syntax. Adjust menu and node chaining accordingly.
12568 (Choosing Locale): Reference Locale Names, Locale Categories.
12569 Mention setting LC_ALL=C. Reflect that name syntax is now
12571 (Locale Categories): New section title. Reference Locale Names.
12572 LC_ALL is an environment variable, but not a category.
12573 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12574 description, now in Locale Name. Reference that section. Locale
12575 name syntax is now documented.
12577 2014-07-02 Florian Weimer <fweimer@redhat.com>
12580 * locale/findlocale.c (name_present, valid_locale_name): New
12582 (_nl_find_locale): Use the loc_name variable to store name
12583 candidates. Call name_present and valid_locale_name to check and
12584 validate locale names. Return an error if the locale is invalid.
12586 2014-07-02 Florian Weimer <fweimer@redhat.com>
12588 * locale/setlocale.c (setlocale): Use strdup for allocating
12589 composite name copy.
12591 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12593 Sync up with gnulib.
12594 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12595 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12596 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12597 and _GL_ARG_NONNULL.
12598 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12599 [!_LIBC]: Include code for Windows and Cygwin.
12600 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12601 Include prototype for int strerror_r.
12602 [!_LIBC] (is_open): New function.
12603 (flush_stdout): New function.
12604 (print_errno_message): Use it.
12606 (error_at_line): Likewise.
12607 (error_tail) Add function attribute macros. Use
12610 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12612 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12614 * io/ftw.c: Include sys/param.h unconditionally.
12616 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12619 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12621 (freecache): New function to free CACHE on exit.
12623 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12626 2014-07-09 David S. Miller <davem@davemloft.net>
12628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12630 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12631 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12632 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12633 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12634 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12635 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12636 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12637 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12638 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12639 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12640 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12641 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12642 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12644 2014-07-09 Andreas Schwab <schwab@suse.de>
12646 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12648 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12649 (do_test): Likewise.
12651 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12653 2014-07-09 Will Newton <will.newton@linaro.org>
12655 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12656 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12657 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12658 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12659 * sysdeps/hppa/start.S (_start): Likewise.
12661 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12663 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12665 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12668 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12670 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12671 after checking that it is non-NULL.
12673 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12675 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12677 * sysdeps/powerpc/memmove.c: Remove file.
12678 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12679 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12680 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12681 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12682 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12683 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12684 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12685 string memmove instead of removed powerpc one.
12687 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12688 [weak_alias]: Fix compiler warning due trailing data.
12689 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12690 [weak_alias]: Likewise.
12691 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12692 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12695 (__libc_ifunc_impl_list): Add memmove functions.
12697 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12699 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12701 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12703 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12705 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12707 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12709 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12711 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12713 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12715 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12717 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12719 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12721 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12723 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12725 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12727 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12729 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12731 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12734 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12736 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12737 to avoid alignment traps in non-cacheable memory.
12738 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12742 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12743 file: multiarch power7 memmove.
12744 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12745 multiarch default memmove.
12746 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12747 multiarch memove for powerpc32/power4.
12749 * string/bcopy.c: Use full path to include memmove.c.
12750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12752 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12753 bcopy for powerpc64.
12754 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12755 bcopy for powerpc64.
12756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12757 and memmove implementations.
12758 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12759 optimized multiarch memmove for POWER7/powerpc64.
12760 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12761 default multiarch memmove for powerpc64.
12762 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12763 multiarch for powerpc64.
12764 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12765 for POWER7/powerpc64.
12766 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12767 memmove for POWER7/powerpc64.
12769 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12772 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12773 __ELF_NATIVE_CLASS equal to 64.
12775 2014-07-07 Roland McGrath <roland@hack.frob.com>
12777 * sysdeps/nptl/lowlevellock.h: File removed.
12779 * NEWS: NPTL is no longer an add-on!
12780 * nptl/internaltypes.h: Moved ...
12781 * sysdeps/nptl/internaltypes.h: ... here.
12782 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12783 * sysdeps/nptl/fork.c: Likewise.
12784 * sysdeps/nptl/gai_misc.h: Likewise.
12785 * sysdeps/nptl/librt-cancellation.c: Likewise.
12786 * sysdeps/nptl/jmp-unwind.c: Likewise.
12787 * sysdeps/nptl/setxid.h: Likewise.
12788 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12789 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12790 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12791 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12792 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12793 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12794 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12795 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12796 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12797 * sysdeps/unix/sysv/linux/mips/Implies: New file.
12798 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12799 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12800 * sysdeps/unix/sysv/linux/sh/Implies: New file.
12801 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12802 * sysdeps/unix/sysv/linux/tile/Implies: New file.
12803 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12804 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12805 * nptl/Makeconfig: Moved ...
12806 * sysdeps/nptl/Makeconfig: ... here.
12807 * nptl/configure: File removed.
12808 * nptl/ANNOUNCE: File removed.
12809 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12810 * sysdeps/unix/sysv/linux/configure: Regenerated.
12812 * nptl/Makefile (routines): Add libc_pthread_init,
12813 libc_multiple_threads, register-atfork and unregister-atfork.
12814 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12815 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12816 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12817 pthread-pi-defines.sym, structsem.sym.
12818 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12819 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12820 [$(subdir) = nptl] (tests): Add tst-setgetname.
12821 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12822 * sysdeps/unix/sysv/linux/sigaction.c: Just include
12823 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12824 [!LIBC_SIGACTION]: Remove aliases.
12825 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12826 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12827 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12828 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12829 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12830 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12831 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12832 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12833 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12834 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12835 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12836 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12837 __libc_allocate_rtsig_private.
12838 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12839 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12840 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12841 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12842 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12843 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12844 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12845 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12846 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12847 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12848 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12849 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12850 * nptl/internaltypes.h: ... here.
12851 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12852 * sysdeps/nptl/jmp-unwind.c: ... here.
12853 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12854 * nptl/libc-lowlevellock.c: ... here.
12855 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12856 * nptl/libc_multiple_threads.c: ... here.
12857 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12858 * nptl/libc_pthread_init.c: ... here.
12859 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12860 * nptl/lowlevelbarrier.sym: ... here.
12861 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12862 * nptl/lowlevelcond.sym: ... here.
12863 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12864 * nptl/lowlevellock.c: ... here.
12865 * nptl/lowlevellock.h: Moved ...
12866 * sysdeps/nptl/lowlevellock.h: ... here.
12867 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12868 * nptl/lowlevelrobustlock.c: ... here.
12869 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12870 * nptl/lowlevelrobustlock.sym: ... here.
12871 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12872 * nptl/lowlevelrwlock.sym: ... here.
12873 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12874 * nptl/pt-fork.c: ... here.
12875 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12876 * nptl/pthread-pi-defines.sym: ... here.
12877 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12878 * nptl/pthread_attr_getaffinity.c: ... here.
12879 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12880 * nptl/pthread_attr_setaffinity.c: ... here.
12881 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12882 * nptl/pthread_mutex_cond_lock.c: ... here.
12883 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12885 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12886 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12887 * nptl/pthread_once.c: ... here, replacing old file.
12888 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12889 * nptl/pthread_yield.c: ... here.
12890 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12891 * nptl/register-atfork.c: ... here.
12892 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12893 * nptl/sem_post.c: ... here.
12894 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12895 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12896 * nptl/sem_timedwait.c: ... here.
12897 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12898 * nptl/sem_trywait.c: ... here.
12899 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12900 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12901 * nptl/sem_wait.c: ... here.
12902 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12903 * nptl/structsem.sym: ... here.
12904 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12905 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12906 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12907 * nptl/unregister-atfork.c: ... here.
12908 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12909 * nptl/unwindbuf.sym: ... here.
12910 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12911 * sysdeps/nptl/fork.c: ... here.
12912 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12913 * sysdeps/nptl/fork.h: ... here.
12914 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12915 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12916 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12917 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12918 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12919 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12920 * sysdeps/unix/sysv/linux/getpid.c: ... here.
12921 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12922 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12923 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12924 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12925 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12926 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12927 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12928 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12929 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12930 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12931 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12932 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12933 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12934 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12935 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12936 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12937 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12938 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12939 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12940 * sysdeps/unix/sysv/linux/raise.c: ... here.
12941 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12942 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12943 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12944 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12945 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12946 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12947 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12948 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12949 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12950 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12951 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12952 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12953 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12954 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12955 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12957 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12959 * sysdeps/generic/memcopy.h: Add comment for
12960 MEMCPY_OK_FOR_FWD_MEMMOVE.
12962 2014-07-04 Will Newton <will.newton@linaro.org>
12964 * string/memchr.c: Merge from gnulib.
12965 [_LIBC]: Remove conditionals.
12966 (__ptr_t): Remove define.
12967 (LONG_MAX_32_BITS): Likewise.
12968 (LONG_MAX): Likewise.
12969 (MEMCHR): Use ANSI prototype and optimize algorithm.
12971 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12973 2014-07-03 Roland McGrath <roland@hack.frob.com>
12975 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12976 (lll_futex_timed_wait_bitset): Fix syscall argument count.
12978 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12979 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12980 in a bare environment with no <stdlib.h> installed.
12981 * sysdeps/nptl/configure: Regenerated.
12983 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12985 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12986 AC_EGREP_CPP for kernel header checks, so they only succeed if
12987 including <linux/version.h> actually works right.
12988 * sysdeps/unix/sysv/linux/configure: Regenerated.
12990 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12991 value so it's not diagnosed as unused.
12993 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12994 thing) with "ifeq ($(subdir),rt)".
12996 2014-07-03 Richard Henderson <rth@redhat.com>
12998 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12999 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13000 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13002 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13003 (math_force_eval): New.
13005 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13006 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13008 * sysdeps/alpha/fpu/s_round.c: Remove file.
13009 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13011 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13012 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13013 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13014 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13015 (_dl_start, print_statistics): Likewise.
13016 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13017 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13019 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13020 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13021 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13022 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13023 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13024 (HP_SMALL_TIMING_AVAIL): Define.
13025 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13026 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13027 (HP_SMALL_TIMING_AVAIL): Define.
13028 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13029 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13031 * sysdeps/aarch64/hp-timing.h: New file.
13033 * sysdeps/generic/hp-timing.h: Remove dead comment.
13034 * sysdeps/generic/hp-timing-common.h: New file.
13035 * sysdeps/alpha/hp-timing.h: Include it.
13036 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13037 * sysdeps/i386/i686/hp-timing.h: Likewise.
13038 * sysdeps/ia64/hp-timing.h: Likewise.
13039 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13040 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13041 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13042 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13043 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13044 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13045 (hp_timing_t): New.
13047 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13048 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13049 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13050 * elf/rtld.c (_dl_start_final): Likewise.
13051 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13052 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13053 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13054 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13055 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13056 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13057 (HP_TIMING_DIFF_INIT): Remove.
13058 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13059 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13060 (HP_TIMING_DIFF_INIT): Remove.
13061 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13062 * sysdeps/i386/i686/hp-timing.c: Remove file.
13063 * sysdeps/x86_64/hp-timing.c: Remove file.
13064 * sysdeps/ia64/hp-timing.c: Remove file.
13065 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13066 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13067 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13068 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13070 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13071 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13072 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13073 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13074 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13075 (HP_TIMING_ACCUM): Remove.
13076 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13077 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13078 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13080 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13081 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13082 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13083 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13084 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13085 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13086 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13087 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13089 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13091 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13093 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13095 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13097 Sync up with gettext.
13098 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13099 [_MSC_VER]: Include malloc.h
13100 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13101 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13102 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13103 TEMP_FAILURE_RETRY. Cast return of alloca.
13104 [!_LIBC] Call gl_rwlock_init.
13105 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13107 2014-07-02 Roland McGrath <roland@hack.frob.com>
13109 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13110 before checking its value.
13112 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13114 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13116 * debug/memcpy_chk.c: Don't include pagecopy.h.
13117 * debug/mempcpy_chk.c: Likewise.
13118 * string/memcpy.c: Likewise.
13119 * string/memmove.c: Likewise.
13120 * sysdeps/powerpc/memmove.c: Likewise.
13121 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13122 definition of PAGE_COPY_FWD_MAYBE here...
13123 * sysdeps/generic/pagecopy.h: ... from here.
13124 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13126 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13127 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13129 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13133 (__libc_ifunc_impl_list): Likewise.
13134 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13135 multiarch strcat for PPC64.
13136 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13137 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13139 2014-07-02 Roland McGrath <roland@hack.frob.com>
13141 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13143 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13145 * intl/loadmsgcat.c: Remove declaration of
13146 get_sysdep_segment_value.
13147 (get_sysdep_segment_value): Use ISO C style.
13148 (_nl_load_domain): Use ISO C style. Get rid of redundant
13149 semicolon. Fix typo and formatting in comment.
13150 (_nl_unload_domain): Use ISO C style.
13152 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13154 2014-07-02 Will Newton <will.newton@linaro.org>
13156 * malloc/obstack.c: Merge from gnulib master.
13157 [HAVE_CONFIG_H]: Remove conditional code.
13158 [!_LIBC]: Include config.h.
13159 [!ELIDE_CODE]: Don't include inttypes.h, include
13160 stdint.h unconditionally.
13161 (print_and_abort): Mark as _Noreturn.
13162 (_obstack_allocated_p): Mark as __attribute_pure__.
13163 (obstack_free): Rename to __obstack_free.
13164 [!__attribute__]: Remove conditional code.
13165 * malloc/obstack.h: Merge from gnulib master.
13166 [__cplusplus]: Move conditional down.
13167 [!__attribute_pure__]: Define __attribute_pure__ here
13168 if it is not already defined.
13169 (_obstack_memory_used): Mark as __attribute_pure__.
13170 [!__obstack_free]: Define as obstack_free.
13171 [__GNUC__]: Remove check for ancient NeXT gcc.
13173 2014-07-02 Will Newton <will.newton@linaro.org>
13174 Paul Eggert <eggert@cs.ucla.edu>
13176 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13178 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13180 * resolv/gethnamaddr.c: Add comment warning that the file is
13183 2014-07-01 Carlos O'Donell <carlos@redhat.com>
13185 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13188 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13189 entry for aio_cancel and aio_cancel64.
13190 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13191 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13192 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13193 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13194 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13195 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13196 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13197 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13198 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13199 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13200 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13201 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13202 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13204 2014-07-01 Roland McGrath <roland@hack.frob.com>
13206 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13207 * nptl/pthread_mutex_lock.c: Likewise.
13208 * nptl/pthread_mutex_timedlock.c: Likewise.
13209 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13211 2014-07-01 Richard henderson <rth@redhat.com>
13213 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13214 (__isnan, __isnanl): Remove.
13215 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13217 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13219 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13221 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13223 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13225 * resolv/nss_dns/dns-host.c (getanswer_r)
13226 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13228 2014-07-01 Joseph Myers <joseph@codesourcery.com>
13230 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13231 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13233 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13234 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13236 2014-07-01 Roland McGrath <roland@hack.frob.com>
13238 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13239 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13241 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13242 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13244 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13245 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13247 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13248 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13250 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13251 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13252 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13253 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13255 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13256 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13257 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13258 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13259 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13261 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13263 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13264 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13265 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13266 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13267 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13268 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13269 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13270 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13271 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13272 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13273 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13274 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13275 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13276 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13277 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13278 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13279 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13280 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13281 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13282 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13284 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13285 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13286 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13287 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13288 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13289 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13290 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13291 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13293 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13295 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13296 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13297 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13300 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13304 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13306 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13307 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13309 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13311 * sysdeps/arm/libm-test-ulps: Regenerated.
13313 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13314 Roland McGrath <roland@hack.frob.com>
13316 * test-skeleton.c (signal_handler): Kill the whole process group
13317 before killing the child individually.
13318 (main): Report any failure on `setpgid'.
13320 2014-06-30 Roland McGrath <roland@hack.frob.com>
13322 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13323 from _TLS_H to _ARM_NPTL_TLS_H.
13324 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13325 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13327 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13330 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13331 (__expm1l): Return argument unchanged when small but not
13334 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13335 include macro name.
13336 (_FP_UNPACK_RAW_1_P): Likewise.
13337 (_FP_PACK_RAW_1): Likewise.
13338 (_FP_PACK_RAW_1_P): Likewise.
13339 (_FP_MUL_MEAT_1_wide): Likewise.
13340 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13341 (_FP_MUL_MEAT_1_hard): Likewise.
13342 (_FP_DIV_MEAT_1_imm): Likewise.
13343 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13344 (_FP_DIV_MEAT_1_udiv): Likewise.
13345 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13346 (_FP_UNPACK_RAW_2): Likewise.
13347 (_FP_UNPACK_RAW_2_P): Likewise.
13348 (_FP_PACK_RAW_2): Likewise.
13349 (_FP_PACK_RAW_2_P): Likewise.
13350 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13351 (_FP_MUL_MEAT_2_wide): Likewise.
13352 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13353 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13354 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13355 (_FP_MUL_MEAT_2_gmp): Likewise.
13356 (_FP_DIV_MEAT_2_udiv): Likewise.
13357 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13358 (_FP_FRAC_SRL_4): Likewise.
13359 (_FP_FRAC_SRST_4): Likewise.
13360 (_FP_FRAC_SRS_4): Likewise.
13361 (_FP_UNPACK_RAW_4): Likewise.
13362 (_FP_UNPACK_RAW_4_P): Likewise.
13363 (_FP_PACK_RAW_4): Likewise.
13364 (_FP_PACK_RAW_4_P): Likewise.
13365 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13366 (_FP_MUL_MEAT_4_wide): Likewise.
13367 (_FP_MUL_MEAT_4_gmp): Likewise.
13368 (umul_ppppmnnn): Likewise.
13369 (_FP_DIV_MEAT_4_udiv): Likewise.
13370 (__FP_FRAC_ADD_4): Likewise.
13371 (__FP_FRAC_SUB_3): Likewise.
13372 (__FP_FRAC_SUB_4): Likewise.
13373 (__FP_FRAC_DEC_3): Likewise.
13374 (__FP_FRAC_DEC_4): Likewise.
13375 (__FP_FRAC_ADDI_4): Likewise.
13376 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13377 (_FP_FRAC_SRL_8): Likewise.
13378 (_FP_FRAC_SRS_8): Likewise.
13380 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13381 include macro name.
13382 (FP_UNPACK_RAW_EP): Likewise.
13383 (FP_PACK_RAW_E): Likewise.
13384 (FP_PACK_RAW_EP): Likewise.
13385 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13386 (_FP_ISSIGNAN): Likewise.
13387 (_FP_ADD_INTERNAL): Likewise.
13388 (_FP_FMA): Likewise.
13389 (_FP_CMP): Likewise.
13390 (_FP_SQRT): Likewise.
13391 (_FP_TO_INT): Likewise.
13392 (_FP_FROM_INT): Likewise.
13393 (FP_EXTEND): Likewise.
13394 (_FP_DIV_MEAT_N_loop): Likewise.
13396 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13398 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13401 2014-06-29 Joseph Myers <joseph@codesourcery.com>
13404 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13405 result with correct sign in case of exponents that produce
13406 overflow except for X very close to 1.
13408 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13410 mktime: merge #if/#ifdef usage from glibc
13411 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13412 as that works with both Glibc's and Gnulib's style.
13413 See thread starting at Siddhesh Poyarekar's bug report at:
13414 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13416 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13418 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13419 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13420 * sysdeps/tile/tilegx/memmove.c: Remove file.
13422 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13424 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13425 abi-name definition.
13426 * scripts/soversions.awk: Do not handle or generate ABI lines.
13427 * shlib-versions: Remove ABI entries.
13428 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13429 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13431 2014-06-27 Roland McGrath <roland@hack.frob.com>
13433 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13434 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13435 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13436 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13437 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13438 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13439 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13441 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13444 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13445 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13446 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13447 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13448 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13449 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13450 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13451 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13452 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13453 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13454 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13455 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13457 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13459 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13460 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13461 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13462 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13464 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13467 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13469 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13472 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13474 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13476 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13477 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13478 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13479 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13481 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13483 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13484 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13486 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13487 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13489 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13490 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13491 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13492 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13494 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13496 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13497 Identical file removed.
13498 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13500 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13501 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13502 Identical file removed.
13503 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13504 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13505 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13507 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13508 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13509 Identical file removed.
13510 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13511 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13512 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13513 Identical file removed.
13514 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13515 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13516 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13517 Identical file removed.
13518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13519 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13520 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13521 Identical file removed.
13522 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13524 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13525 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13526 Identical file removed.
13527 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13529 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13530 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13531 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13532 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13533 Identical file removed.
13534 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13536 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13538 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13539 Identical file removed.
13540 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13542 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13543 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13544 Identical file removed.
13545 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13547 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13548 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13549 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13550 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13551 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13552 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13554 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13555 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13556 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13558 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13559 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13560 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13561 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13562 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13564 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
13567 * nscd/nscd.c (monitor_child): Return exit status of child
13568 instead of return value from wait syscall.
13570 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13572 * configure.ac (libc_commonpagesize): Remove variable.
13573 (libc_relro_required): Likewise.
13574 (libc_cv_z_relro): Remove configure test.
13575 * configure: Regenerated.
13576 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13578 (libc_relro_required): Likewise.
13579 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13580 (libc_relro_required): Likewise.
13581 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13582 (libc_relro_required): Likewise.
13583 * sysdeps/arm/preconfigure: Regenerated.
13584 * sysdeps/ia64/preconfigure: Remove file.
13585 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13587 (libc_relro_required): Likewise.
13591 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13592 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13593 recompute overflowing results in original rounding mode.
13594 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13595 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13596 recompute overflowing results in original rounding mode.
13597 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13598 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13599 recompute overflowing results in original rounding mode.
13600 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13601 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13602 recompute overflowing results in original rounding mode.
13603 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13604 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13605 recompute overflowing results in original rounding mode.
13606 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13607 (libc_feholdsetround_ctx): New macro.
13608 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13609 * sysdeps/i386/fpu/libm-test-ulps: Update.
13610 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13612 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13614 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13615 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13616 corresponding .cpsetup call.
13618 2014-06-26 Roland McGrath <roland@hack.frob.com>
13620 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13621 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13622 * sysdeps/arm/Makefile [$(subdir) = csu]
13623 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13624 (static-only-routines): Add aeabi_read_tp here.
13625 (shared-only-routines): Add libc-aeabi_read_tp here.
13626 (CFLAGS-libc-start.c): Add -fexceptions here.
13627 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13628 (sysdep_routines, static-only-routines, shared-only-routines):
13629 Don't add to these here.
13630 (CFLAGS-libc-start.c): Likewise.
13632 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13633 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13634 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13635 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13636 * sysdeps/arm/Makefile [$(subdir) = rt]
13637 (librt-sysdep_routines, librt-shared-only-routines):
13638 Append rt-aeabi_unwind_cpp_pr1 here.
13639 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13640 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13641 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13642 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13643 Append nptl-aeabi_unwind_cpp_pr1 here.
13644 (tests): Filter out tst-cleanupx4 here.
13645 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13646 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13647 Don't do those here.
13649 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13651 * scripts/list-sources.sh: Do not handle ports specially.
13653 2014-06-26 Roland McGrath <roland@hack.frob.com>
13655 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13656 * sysdeps/arm/feupdateenv.c: Likewise.
13658 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13660 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13662 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13663 trailing whitespace removed.
13664 * scripts/config.guess: Update to version 2014-03-23.
13665 * scripts/config.sub: Update to version 2014-05-01
13666 * scripts/install-sh: Update to version 2013-12-25.23.
13667 * scripts/move-if-change: Update from gnulib.
13669 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13671 * debug/memmove_chk.c: Remove pagecopy.h include.
13673 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13675 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13676 identical to gnulib mktime.
13678 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13680 * configure.ac: Do not test for machine being rs6000. Do not test
13681 for powerpc*-*soft.
13682 * configure: Regenerated.
13685 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13687 * configure: Regenerated.
13688 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13689 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13690 Remove configure test.
13691 * sysdeps/arm/configure: Regenerated.
13692 * sysdeps/nptl/configure.ac: Do not check
13693 libc_cv_asm_cfi_directives.
13694 * sysdeps/nptl/configure: Regenerated.
13695 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13696 * sysdeps/x86_64/nptl/configure: Remove generated file.
13697 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13699 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13701 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13703 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13704 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13705 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13708 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13709 instead of whether it is defined.
13710 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13711 * sysdeps/hppa/dl-machine.h: Likewise.
13712 * sysdeps/ia64/dl-machine.h: Likewise.
13713 * sysdeps/m68k/dl-machine.h: Likewise.
13714 * sysdeps/microblaze/dl-machine.h: Likewise.
13715 * sysdeps/mips/dl-machine.: Likewise.
13716 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13717 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13718 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13719 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13720 * sysdeps/sh/dl-machine.h: Likewise.
13721 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13722 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13723 * sysdeps/tile/dl-machine.h: Likewise.
13724 * sysdeps/x86_64/dl-machine.h: Likewise.
13726 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13728 (verify_persistent_db): Likewise.
13730 2014-06-26 Roland McGrath <roland@hack.frob.com>
13732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13733 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13735 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13738 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13741 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13743 Identical file removed.
13744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13745 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13747 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13749 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13751 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13753 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13756 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13758 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13760 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13763 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13765 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13767 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13769 Identical file removed.
13770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13771 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13773 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13776 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13779 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13781 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13783 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13785 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13787 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13790 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13793 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13795 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13798 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13800 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13802 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13804 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13805 * sysdeps/unix/sysv/linux/s390/Versions
13806 (libpthread: GLIBC_2.19): New version set.
13807 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13808 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13809 (librt: GLIBC_2.3.3): New version set.
13810 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13811 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13812 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13813 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13814 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13815 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13816 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13817 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13818 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13819 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13820 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13821 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13822 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13823 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13824 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13825 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13826 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13827 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13828 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13829 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13830 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13831 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13832 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13833 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13834 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13835 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13836 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13837 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13838 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13839 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13840 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13841 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13843 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13844 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13845 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13846 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13847 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13848 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13849 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13850 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13852 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13853 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13854 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13856 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13857 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13858 (__libc_vfork): Define the function under this name.
13859 [!NOT_IN_libc] (__vfork): Make this an alias.
13860 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13861 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13862 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13863 (__libc_vfork): Define the function under this name.
13864 [!NOT_IN_libc] (__vfork): Make this an alias.
13865 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13866 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13867 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13869 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13870 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13872 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13873 code that was previously under [RESET_PID].
13874 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13875 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13876 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13878 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13879 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13880 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13881 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13882 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13883 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13884 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13885 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13886 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13887 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13888 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13890 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13891 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13892 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13893 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13894 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13895 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13896 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13897 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13898 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13899 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13900 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13901 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13902 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13903 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13904 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13905 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13906 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13907 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13908 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13909 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13910 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13911 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13912 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13913 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13914 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13915 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13916 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13917 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13918 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13920 2014-06-25 Roland McGrath <roland@hack.frob.com>
13922 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13923 that was previously under [RESET_PID].
13924 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13926 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13928 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13929 not undefine and redefine.
13930 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13931 [O_CLOEXEC]: Make code unconditional.
13932 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13933 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13934 <kernel-features.h>.
13935 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13936 conditional variable definition.
13937 (shm_open) [O_CLOEXEC]: Make code unconditional.
13938 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13941 * configure.ac (USE_REGPARMS): Don't define here.
13942 * configure: Regenerated.
13943 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13944 * sysdeps/i386/configure: Regenerated.
13946 * nptl/createthread.c: Don't include kernel-features.h.
13947 * nptl/pthread_cancel.c: Likewise.
13948 * nptl/pthread_condattr_setclock.c: Likewise.
13949 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13950 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13951 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13952 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13953 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13954 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13955 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13956 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13957 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13958 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13959 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13960 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13961 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13962 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13963 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13964 * nscd/gai.c: Likewise.
13965 * nss/nss_db/db-open.c: Likewise.
13966 * sysdeps/generic/ldsodefs.h: Likewise.
13967 * sysdeps/sh/nptl/tls.h: Likewise.
13968 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13969 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13970 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13971 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13972 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13973 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13974 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13975 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13976 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13977 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13978 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13979 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13980 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13981 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13982 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13983 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13984 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13985 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13986 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13987 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13988 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13989 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13990 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13991 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13992 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13993 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13994 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13995 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13996 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13997 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13998 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13999 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14000 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14001 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14002 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14003 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14004 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14005 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14006 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14007 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14008 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14009 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14010 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14011 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14012 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14013 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14014 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14015 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14016 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14017 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14018 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14019 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14020 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14021 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14022 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14023 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14024 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14025 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14048 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14049 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14050 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14051 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14052 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14053 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14054 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14055 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14056 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14057 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14058 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14059 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14060 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14061 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14062 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14063 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14064 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14065 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14066 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14067 * sysdeps/unix/sysv/linux/system.c: Likewise.
14068 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14069 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14070 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14071 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14072 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14073 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14074 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14076 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14077 * configure: Regenerated.
14078 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14080 * configure.ac (base_machine): Do not set specially for particular
14082 * configure: Regenerated.
14083 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14084 settings from configure.ac.
14085 * sysdeps/i386/preconfigure: New file.
14086 * sysdeps/s390/preconfigure: Likewise.
14087 * sysdeps/sh/preconfigure: Likewise.
14088 * sysdeps/sparc/preconfigure: Likewise.
14090 2014-06-25 Roland McGrath <roland@hack.frob.com>
14092 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14093 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14094 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14095 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14096 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14097 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14098 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14099 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14100 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14101 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14102 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14103 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14104 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14105 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14106 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14107 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14108 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14109 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14110 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14112 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14113 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14114 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14115 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14116 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14117 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14118 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14119 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14120 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14121 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14122 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14123 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14124 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14125 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14126 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14127 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14128 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14129 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14130 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14131 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14132 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14133 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14134 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14135 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14136 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14137 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14138 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14139 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14140 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14141 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14142 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14143 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14144 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14145 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14146 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14147 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14148 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14149 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14152 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14154 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14157 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14160 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14162 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14165 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14167 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14169 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14171 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14174 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14177 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14179 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14182 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14184 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14186 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14188 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14190 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14193 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14196 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14198 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14201 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14203 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14205 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14207 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14210 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14213 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14215 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14218 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14220 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14222 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14224 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14226 * timezone/checktab.awk: Update from tzcode 2014e.
14227 * timezone/private.h: Likewise.
14228 * timezone/tzfile.h: Likewise.
14229 * timezone/zdump.c: Likewise.
14230 * timezone/zic.c: Likewise.
14232 * sysdeps/unix/sysv/linux/kernel-features.h
14233 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14234 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14235 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14236 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14237 Remove conditional code.
14239 2014-06-25 Will Newton <will.newton@linaro.org>
14241 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14242 (_dl_arm_cap_flags): Add HWCAP2 values.
14243 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14244 (_DL_HWCAP_COUNT): Increase to 37.
14245 (_DL_HWCAP_LAST): New define.
14246 (_DL_HWCAP2_LAST): New define.
14247 (_dl_procinfo): Add support for printing
14249 (_dl_string_hwcap): Use _dl_hwcap_string.
14251 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14255 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14257 * README: Do not mention ports directory.
14259 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14261 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14262 <kernel-features.h>.
14263 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14264 conditional variable definition.
14265 (__futimes): Update comment.
14266 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14267 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14270 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14271 arguments close to 0.
14272 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14274 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14276 * math/auto-libm-test-in: Add more tests of exp10.
14277 * math/auto-libm-test-out: Regenerated.
14278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14280 * sysdeps/unix/sysv/linux/kernel-features.h
14281 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14282 * sysdeps/unix/sysv/linux/readv.c: Do not include
14283 <kernel-features.h>.
14284 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14285 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14286 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14288 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14290 * sysdeps/unix/sysv/linux/writev.c: Do not include
14291 <kernel-features.h>.
14292 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14293 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14294 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14296 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14299 2014-06-25 Will Newton <will.newton@linaro.org>
14301 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14302 comment changes throughout the file. Remove checks
14303 for HAVE_*_H definitions that are not required.
14304 (__gen_tempname): Call abort if an unknown kind value is
14307 2014-06-25 Andreas Schwab <schwab@suse.de>
14310 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14311 scalbln, scalblnf, scalblnl in libc.
14313 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14316 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14317 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14318 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14320 2014-06-24 Roland McGrath <roland@hack.frob.com>
14322 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14323 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14324 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14325 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14327 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14328 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14330 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14331 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14332 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14333 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14334 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14335 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14336 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14337 * sysdeps/x86/bits/semaphore.h: ... here.
14338 * sysdeps/x86/nptl/elide.h: Moved ...
14339 * sysdeps/x86/elide.h: ... here.
14340 * sysdeps/x86_64/nptl/Implies: File removed.
14341 * sysdeps/i386/nptl/Implies: File removed.
14343 2014-06-24 Joseph Myers <joseph@codesourcery.com>
14346 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14347 return the argument for normal arguments with exponent below -64.
14348 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14350 * math/auto-libm-test-in: Add another test of expm1.
14351 * math/auto-libm-test-out: Regenerated.
14354 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14355 calling __erfcl for arguments at least 16.
14356 * math/auto-libm-test-in: Add more tests of erf.
14357 * math/auto-libm-test-out: Regenerated.
14359 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14360 individual architectures.
14361 * sysdeps/unix/sysv/linux/configure: Regenerated.
14362 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14363 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14364 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14365 (ldd_rewrite_script): Define variable.
14366 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14371 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14372 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14373 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14374 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14375 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14376 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14377 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14378 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14380 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14383 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14384 Rename member __data.d to __data.__elision_data.
14386 2014-06-24 Wilco <wdijkstr@arm.com>
14388 * NEWS: Add 16918 to fixed bug list.
14390 2014-06-24 Wilco <wdijkstr@arm.com>
14392 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14394 2014-06-24 Wilco <wdijkstr@arm.com>
14396 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14397 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14398 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14399 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14400 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14401 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14402 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14405 2014-06-24 Wilco <wdijkstr@arm.com>
14407 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14409 2014-06-24 Wilco <wdijkstr@arm.com>
14411 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14412 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14413 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14414 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14416 2014-06-24 Wilco <wdijkstr@arm.com>
14419 * sysdeps/arm/feupdateenv.c (feupdateenv):
14420 Rewrite to reduce FPSCR accesses and fix return value.
14422 2014-06-24 Wilco <wdijkstr@arm.com>
14424 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14425 Optimize to avoid unnecessary FPSCR writes.
14426 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14427 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14428 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14429 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14431 2014-06-24 Wilco <wdijkstr@arm.com>
14433 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14434 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14435 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14436 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14437 Call libc_fetestexcept_vfp.
14438 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14439 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14440 __SOFTFP__ ifdef so that they can be built for softfp.
14442 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14444 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14445 argument type signed char.
14447 * Makerules (check-abi): Dump diff of symlist if the test
14450 2014-06-23 Roland McGrath <roland@hack.frob.com>
14452 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14455 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14456 Remove unused variable ST.
14458 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14462 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14463 small arguments before calling __expm1.
14464 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14465 small arguments before calling __expm1f.
14466 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14467 small arguments before calling __expm1l.
14468 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14470 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14471 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14472 spurious underflow for some cosh tests.
14473 * math/auto-libm-test-out: Regenerated.
14474 * sysdeps/i386/fpu/libm-test-ulps: Update.
14477 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14478 (__ieee754_y1): Set errno if return value overflows.
14479 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14480 (__ieee754_y1f): Set errno if return value overflows.
14481 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14482 (__ieee754_y1l): Set errno if return value overflows.
14483 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14484 (__ieee754_y1l): Set errno if return value overflows.
14485 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14486 * math/auto-libm-test-out: Regenerated.
14488 * math/gen-auto-libm-tests.c: Document use of
14489 ignore-zero-inf-sign.
14490 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14491 (input_flags): Add ignore-zero-inf-sign.
14492 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14493 * math/gen-libm-test.pl (generate_testfile): Handle
14494 ignore-zero-inf-sign.
14495 * math/auto-libm-test-in: Mark some cpow tests with
14496 ignore-zero-inf-sign and some with xfail-rounding.
14497 * math/auto-libm-test-out: Regenerated.
14498 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14499 * sysdeps/i386/fpu/libm-test-ulps: Update.
14500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14503 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14504 overflowing or underflowing operations take place with sign of
14506 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14507 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14508 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14509 (__ieee754_pow): Recompute overflowing and underflowing results in
14510 original rounding mode.
14511 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14512 (__powl_helper): Allow negative argument X and scale negated value
14513 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14514 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14515 overflowing or underflowing operations take place with sign of
14517 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14519 * math/auto-libm-test-in: Add more tests of pow.
14520 * math/auto-libm-test-out: Regenerated.
14521 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14522 (pow_tonearest_test_data): Remove.
14523 (pow_test_tonearest): Likewise.
14524 (pow_towardzero_test_data): Likewise.
14525 (pow_test_towardzero): Likewise.
14526 (pow_downward_test_data): Likewise.
14527 (pow_test_downward): Likewise.
14528 (pow_upward_test_data): Likewise.
14529 (pow_test_upward): Likewise.
14530 (main): Don't call removed functions.
14531 * sysdeps/i386/fpu/libm-test-ulps: Update.
14532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14534 2014-06-23 Roland McGrath <roland@hack.frob.com>
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14710 2014-06-23 Will Newton <will.newton@linaro.org>
14711 Wilco <wdijkstr@arm.com>
14713 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14714 implementation. Include get-rounding-mode.h.
14715 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14716 [!libc_feholdsetround_noex_ctx]: Define
14717 libc_feholdsetround_noex_ctx.
14718 [!libc_feholdsetround_noexf_ctx]: Define
14719 libc_feholdsetround_noexf_ctx.
14720 [!libc_feholdsetround_noexl_ctx]: Define
14721 libc_feholdsetround_noexl_ctx.
14722 (libc_feholdsetround_ctx): New function.
14723 (libc_feresetround_ctx): New function.
14724 (libc_feholdsetround_noex_ctx): New function.
14725 (libc_feresetround_noex_ctx): New function.
14727 2014-06-23 Roland McGrath <roland@hack.frob.com>
14729 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14730 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14731 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14732 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14733 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14734 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14736 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14737 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14738 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14739 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14740 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14741 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14742 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14743 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14744 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14745 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14746 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14748 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14750 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14751 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14752 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14753 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14754 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14756 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14757 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14758 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14759 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14760 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14762 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14765 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14766 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14768 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14769 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14770 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14773 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14774 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14775 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14776 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14777 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14778 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14779 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14780 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14781 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14782 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14784 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14786 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14787 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14788 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14789 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14790 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14791 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14792 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14793 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14794 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14795 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14796 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14797 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14798 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14800 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14801 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14802 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14803 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14804 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14807 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14808 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14809 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14810 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14811 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14813 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14814 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14815 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14816 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14817 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14818 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14819 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14820 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14821 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14822 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14823 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14824 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14825 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14826 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14827 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14828 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14829 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14830 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14831 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14832 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14833 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14834 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14835 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14836 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14837 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14838 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14839 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14840 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14842 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14844 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14845 (FALLOC_FL_COLLAPSE_RANGE): New macro.
14846 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14847 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14848 (IPV6_PMTUDISC_INTERFACE): Likewise.
14849 (IPV6_PMTUDISC_OMIT): Likewise.
14851 2014-06-23 Andreas Schwab <schwab@suse.de>
14853 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14854 Remove unused errout label.
14856 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14858 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14859 macro: hardware supports Vector Crypto instructions.
14861 2014-06-23 Will Newton <will.newton@linaro.org>
14863 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14864 rather than __builtin_expect.
14866 * elf/dl-lookup.c (undefined_msg): Remove variable.
14867 (_dl_lookup_symbol_x): Replace undefined_msg with string
14870 * elf/dl-lookup.c (do_lookup_unique): New function.
14871 (do_lookup_x): Move STB_GNU_UNIQUE handling code
14872 to a separate function.
14874 2014-06-23 Andreas Schwab <schwab@suse.de>
14877 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14878 before reading the next line.
14880 2014-06-23 Will Newton <will.newton@linaro.org>
14882 * test-skeleton.c (signal_handler): Use printf and %m
14883 rather than perror. Use printf rather than fprintf to
14884 stderr. Use puts rather than fputs to stderr.
14887 2014-06-22 Ludovic Courtès <ludo@gnu.org>
14889 * nscd/nscd.c (thread_info_t): Remove typedef.
14890 (thread_info): Remove variable.
14892 2014-06-21 Allan McRae <allan@archlinux.org>
14894 * NEWS: Mention CVE-2014-4043.
14896 2014-06-20 Roland McGrath <roland@hack.frob.com>
14898 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14899 * nptl/smp.h: ... here.
14901 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14903 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14904 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14905 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14906 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14908 * nptl/allocatestack.c: Include <stack-aliasing.h>.
14909 * nptl/stack-aliasing.h: New file.
14910 * sysdeps/i386/i686/stack-aliasing.h: New file.
14911 * sysdeps/i386/i686/nptl/Makefile: File removed.
14912 * sysdeps/x86_64/stack-aliasing.h: New file.
14913 * sysdeps/x86_64/nptl/Makefile
14914 (CFLAGS-pthread_create.c): Variable removed.
14916 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14917 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14919 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14920 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14923 2014-06-21 Joseph Myers <joseph@codesourcery.com>
14925 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14926 (__ASSUME_SIGFRAME_V2): Remove macro.
14927 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14928 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14929 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14930 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14931 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14932 Declare as function. Remove conditional macro definitions.
14933 (__default_rt_sa_restorer): Likewise.
14934 (__default_sa_restorer_v1): Remove declaration.
14935 (__default_sa_restorer_v2): Likewise.
14936 (__default_rt_sa_restorer_v1): Likewise.
14937 (__default_rt_sa_restorer_v2): Likewise.
14938 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14939 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14940 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14942 2014-06-20 Roland McGrath <roland@hack.frob.com>
14944 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14945 (libpthread-routines): Add sysdep.
14946 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14947 * sysdeps/unix/sysv/linux/sparc/Versions
14948 (libpthread: GLIBC_2.3.3): New version set.
14949 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14950 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14951 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14952 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14953 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
14954 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14956 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14957 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14958 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14959 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14960 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14961 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14962 * sysdeps/sparc/nptl/sem_init.c: ... here.
14963 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14964 * sysdeps/sparc/nptl/sem_post.c: ... here.
14965 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14966 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14967 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14968 * sysdeps/sparc/nptl/sem_wait.c: ... here.
14969 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14970 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14971 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14972 (libpthread-routines): Add cpu_relax.
14973 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14975 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14976 (librt: GLIBC_2.3.3): New version set.
14977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14978 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14979 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14980 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14983 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14986 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14988 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14990 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14992 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14994 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14997 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15001 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15005 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15009 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15013 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15017 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15020 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15022 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15024 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15026 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15028 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15031 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15033 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15035 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15037 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15039 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15040 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15041 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15042 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15043 * nscd/nscd.c: Likewise.
15044 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15045 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15046 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15047 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15049 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15050 <kernel-features.h>.
15051 (init_mq_netlink): Remove conditional have_sock_cloexec
15052 definitions. Remove code conditional on have_sock_cloexec < 0.
15053 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15054 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15055 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15056 <kernel-features.h>.
15057 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15058 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15060 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15062 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15063 Add tests for memset_chk and memset.
15065 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15068 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15071 * elf/tst-dl-iter-static.c: New file.
15072 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15074 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15077 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15079 * sysdeps/unix/sysv/linux/kernel-features.h
15080 (__ASSUME_F_GETOWN_EX): Remove macro.
15081 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15082 <kernel-features.h>.
15083 (miss_F_GETOWN_EX): Remove variable or macro.
15084 (do_fcntl): Do not check miss_F_GETOWN_EX.
15085 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15087 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15089 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15090 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15091 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15093 * sysdeps/unix/sysv/linux/kernel-features.h
15094 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15095 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15096 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15097 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15099 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15102 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15103 Fix calculation of the symbol's value.
15104 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15105 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15106 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15107 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15108 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15109 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15110 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15111 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15112 (modules-names): Add `tst-armtlsdescmod',
15113 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15114 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15115 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15116 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15117 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15118 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15119 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15120 ($(objpfx)tst-armtlsdescloc): New dependency.
15121 ($(objpfx)tst-armtlsdescextnow): Likewise.
15122 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15123 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15124 TLS scheme support.
15125 * sysdeps/arm/configure: Regenerate.
15127 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15129 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15130 (__atfct_seterrno_2): Likewise.
15131 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15132 <kernel-features.h>.
15133 (__ASSUME_ATFCTS): Do not undefine and redefine.
15134 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15135 (__have_atfcts): Remove conditional definition.
15136 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15137 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15138 unreachable if [__ASSUME_ATFCTS].
15139 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15140 not undefine and redefine.
15141 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15142 <kernel-features.h>.
15143 (faccessat) [__NR_faccessat]: Make code unconditional.
15144 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15145 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15146 <kernel-features.h>.
15147 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15148 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15149 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15150 <kernel-features.h>.
15151 (fchownat) [__NR_fchownat]: Make code unconditional.
15152 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15153 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15154 <kernel-features.h>.
15155 (futimesat) [__NR_futimesat]: Make code unconditional.
15156 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15157 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15158 <kernel-features.h>.
15159 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15160 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15161 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15162 <kernel-features.h>.
15163 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15164 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15165 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15166 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15167 <kernel-features.h>.
15168 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15169 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15170 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15171 <kernel-features.h>.
15172 (linkat) [__NR_linkat]: Make code unconditional.
15173 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15174 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15175 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15176 <kernel-features.h>.
15177 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15178 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15179 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15180 <kernel-features.h>.
15181 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15182 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15183 * sysdeps/unix/sysv/linux/openat.c: Do not include
15184 <kernel-features.h>.
15185 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15186 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15187 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15188 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15189 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15190 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15191 <kernel-features.h>.
15192 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15193 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15194 result of INLINE_SYSCALL directly, not via int variable.
15195 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15196 <kernel-features.h>.
15197 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15198 (renameat) [__NR_renameat]: Make code unconditional.
15199 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15200 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15201 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15202 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15203 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15204 (__ASSUME_ATFCTS): Do not undefine and redefine.
15205 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15206 <kernel-features.h>.
15207 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15208 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15209 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15210 <kernel-features.h>.
15211 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15212 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15213 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15214 (__ASSUME_ATFCTS): Do not undefine and redefine.
15215 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15216 <kernel-features.h>.
15217 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15218 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15219 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15220 <kernel-features.h>.
15221 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15222 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15224 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15226 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15228 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15231 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15232 constructed tree before returning error.
15233 * posix/bug-regexp36.c: Expand test case.
15235 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15238 * math/libm-test.inc (scalbln_test_date):
15239 Add errno expectations.
15240 * math/w_scalblnf.c: New File.
15241 Add wrapper which checks for setting errno to ERANGE.
15242 Add weak_alias for corresponding scalbln function.
15243 * math/w_scalbln.c: Likewise.
15244 * math/w_scalblnl.c: Likewise.
15245 * math/Makefile (libm-calls): Add w_scalbln.
15246 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15247 Remove weak_alias for corresponding scalbln function.
15248 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15249 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15250 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15251 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15252 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15253 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15254 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15255 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15256 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15257 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15258 Remove long_double_symbol for scalblnl function in libm, libc.
15259 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15260 Add wrapper which checks for setting errno to ERANGE.
15261 Add long_double_symbol for scalblnl function in libm, libc.
15262 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15263 Remove long_double_symbol for scalblnl in libm.
15264 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15265 Add wrapper which checks for setting errno to ERANGE.
15266 Add long_double_symbol for scalblnl function in libm.
15267 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15268 Do not use wrapper because of own implementation.
15270 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15272 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15273 3 bytes for __pad1 for x32.
15274 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15276 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15277 H.J. Lu <hongjiu.lu@intel.com>
15279 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15280 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15281 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15282 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15283 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15285 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
15288 * posix/regcomp.c (parse_expression): Deallocate partially
15289 constructed tree before returning error.
15290 * posix/Makefile.c (tests): Add bug-regex36.
15291 (generated): Add bug-regex36.mtrace.
15292 (tests-special): Add $(objpfx)bug-regex36-mem.out
15293 (bug-regex36-ENV): New variable.
15294 ($(objpfx)bug-regex36-mem.out): New rule.
15295 * posix/bug-regex36.c: New file.
15297 2014-06-19 Will Newton <will.newton@linaro.org>
15299 * malloc/malloc.c (systrim): If extra is zero then return
15302 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15304 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15306 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
15308 * sysdeps/aarch64/strchr.S: New file.
15310 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15313 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15314 from arguments -2 or below.
15315 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15316 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15318 2014-06-18 Andreas Schwab <schwab@suse.de>
15321 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15322 of a bracket expr not to run off the end of the string.
15323 * posix/Makefile (tests): Add tst-fnmatch3.
15324 * posix/tst-fnmatch3.c: New file.
15326 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15328 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15329 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15330 [$(cross-compiling) = no]: Likewise.
15331 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15332 [$(cross-compiling) = no]: Likewise.
15334 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15337 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15338 double, adjusted for any remainder from the high double.
15339 * math/libm-test.inc (nearbyint): Add tests.
15342 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15344 * nptl/sysdeps/powerpc/Makefile: Moved ...
15345 * sysdeps/powerpc/nptl/Makefile: ... here.
15346 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15347 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15348 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15349 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15350 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15351 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15352 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15353 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15354 * nptl/sysdeps/powerpc/tls.h: Moved ...
15355 * sysdeps/powerpc/nptl/tls.h: ... here.
15357 2014-06-16 Joseph Myers <joseph@codesourcery.com>
15360 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15361 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15362 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15363 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15364 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15365 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15366 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15367 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15368 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15370 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15372 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15374 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15376 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15379 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15382 2014-06-16 Florian Weimer <fweimer@redhat.com>
15385 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15386 non-executed part of the test.
15388 2014-06-16 Andreas Schwab <schwab@suse.de>
15390 * string/bits/string2.h (strdup, strndup): Update feature guard.
15392 2014-06-14 David S. Miller <davem@davemloft.net>
15394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15396 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15398 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15399 that was previously under [RESET_PID].
15400 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15402 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15403 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15404 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15405 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15406 (__libc_vfork): New strong alias.
15407 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15409 2014-06-14 Andi Kleen <ak@linux.intel.com>
15411 * sysdeps/generic/elide.h: New file.
15413 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15415 * Makefile (installed-headers): Adjust path of pthread.h header.
15417 2014-06-13 Roland McGrath <roland@hack.frob.com>
15419 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15420 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15421 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15422 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15424 * nptl/sysdeps/s390/Makefile: Moved ...
15425 * sysdeps/s390/nptl/Makefile: ... here.
15426 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15427 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15428 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15429 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15430 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15431 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15432 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15433 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15434 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15435 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15436 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15437 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15438 * nptl/sysdeps/s390/tls.h: Moved ...
15439 * sysdeps/s390/nptl/tls.h: ... here.
15441 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15442 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15444 2014-06-13 David S. Miller <davem@davemloft.net>
15446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15449 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15453 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15454 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15455 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15456 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15457 Remove RESET_PID cpp guards.
15458 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15459 Remove RESET_PID cpp guards.
15460 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15462 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15464 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15467 2014-06-13 Andi Kleen <ak@linux.intel.com>
15469 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15470 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15471 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15472 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15473 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15474 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15475 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15476 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15477 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15478 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15479 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15480 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15481 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15482 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15483 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15484 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15485 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15486 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15487 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15488 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15490 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15491 (pthread_rwlock_rdlock): Add elision.
15492 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15493 (pthread_rwlock_wrlock): Add elision.
15494 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15495 (pthread_rwlock_trywrlock): Add elision.
15496 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15497 (pthread_rwlock_tryrdlock): Add elision.
15498 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15499 (pthread_rwlock_tryrdlock): Add elision unlock.
15500 * nptl/sysdeps/pthread/pthread.h:
15501 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15502 (PTHREAD_RWLOCK_INITIALIZER,
15503 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15504 Handle new elision field.
15505 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15506 * sysdeps/arm/nptl/bits/pthreadtypes.h
15507 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15508 * sysdeps/sh/nptl/bits/pthreadtypes.h
15509 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15510 * sysdeps/tile/nptl/bits/pthreadtypes.h
15511 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15512 * sysdeps/a/nptl/bits/pthreadtypes.h
15513 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15514 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15515 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15516 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15517 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15518 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15519 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15520 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15521 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15522 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15523 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15524 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15525 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15526 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15527 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15528 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15529 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15530 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15531 (elision_init): Set try_xbegin to zero when no RTM.
15532 * sysdeps/x86/nptl/bits/pthreadtypes.h
15533 (pthread_rwlock_t): Change __pad1 to __rwelision.
15534 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15536 2014-06-13 Andi Kleen <ak@linux.intel.com>
15538 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15539 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15540 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15541 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15543 2014-06-13 Meador Inge <meadori@codesourcery.com>
15546 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15547 that the cached result has been set before returning it.
15549 2014-06-12 Roland McGrath <roland@hack.frob.com>
15551 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15552 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15553 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15554 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15555 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15556 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15558 * nptl/sysdeps/sparc/Makefile: Moved ...
15559 * sysdeps/sparc/nptl/Makefile: ... here.
15560 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15561 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15562 * nptl/sysdeps/sparc/tls.h: Moved ...
15563 * sysdeps/sparc/nptl/tls.h: ... here.
15564 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15565 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15566 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15567 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15568 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15569 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15570 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15571 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15572 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15573 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15574 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15575 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15576 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15577 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15578 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15579 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15580 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15581 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15583 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15584 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15586 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15587 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15589 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15590 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15593 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15595 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15596 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15598 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15599 (struct list_links): Type removed.
15600 (struct thread_node, struct timer_node): Replace struct list_links
15601 with struct list_head.
15602 (list_unlink_ip): Likewise.
15603 * sysdeps/pthread/timer_routines.c
15604 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15605 (list_append, list_insbefore): Likewise.
15606 (list_init): Function removed.
15607 (thread_init, init_module): Use INIT_LIST_HEAD instead.
15608 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15609 * sysdeps/pthread/Makefile: ... here, new file.
15611 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15612 * sysdeps/nptl/Implies: ... here.
15613 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15614 * nptl/sysdeps/pthread/list.h: Moved ...
15615 * include/list.h: ... here.
15616 * nptl/sysdeps/pthread/createthread.c: Moved ...
15617 * nptl/createthread.c: ... here.
15618 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15619 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15620 * nptl/pt-longjmp.c: ... here.
15621 * nptl/sysdeps/pthread/Makefile: Moved ...
15622 * sysdeps/nptl/Makefile: ... here.
15623 * nptl/sysdeps/pthread/Subdirs: Moved ...
15624 * sysdeps/nptl/Subdirs: ... here.
15625 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15626 * sysdeps/nptl/aio_misc.h: ... here.
15627 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15628 * sysdeps/nptl/bits/libc-lock.h: ... here.
15629 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15630 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15631 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15632 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15633 * nptl/sysdeps/pthread/configure: Moved ...
15634 * sysdeps/nptl/configure: ... here.
15635 * nptl/sysdeps/pthread/configure.ac: Moved ...
15636 * sysdeps/nptl/configure.ac: ... here.
15637 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15638 * sysdeps/nptl/gai_misc.h: ... here.
15639 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15640 * sysdeps/nptl/librt-cancellation.c: ... here.
15641 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15642 * sysdeps/nptl/malloc-machine.h: ... here.
15643 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15644 * sysdeps/nptl/pthread-functions.h: ... here.
15645 * nptl/sysdeps/pthread/pthread.h: Moved ...
15646 * sysdeps/nptl/pthread.h: ... here.
15647 * nptl/sysdeps/pthread/setxid.h: Moved ...
15648 * sysdeps/nptl/setxid.h: ... here.
15649 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15650 * sysdeps/nptl/sigfillset.c: ... here.
15651 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15652 * sysdeps/nptl/tcb-offsets.h: ... here.
15653 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15654 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15655 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15656 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15657 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15658 * sysdeps/pthread/allocalim.h: ... here.
15659 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15660 * sysdeps/pthread/bits/sigthread.h: ... here.
15661 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15662 * sysdeps/pthread/flockfile.c: ... here.
15663 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15664 * sysdeps/pthread/ftrylockfile.c: ... here.
15665 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15666 * sysdeps/pthread/funlockfile.c: ... here.
15667 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15668 * sysdeps/pthread/posix-timer.h: ... here.
15669 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15670 * sysdeps/pthread/timer_create.c: ... here.
15671 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15672 * sysdeps/pthread/timer_delete.c: ... here.
15673 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15674 * sysdeps/pthread/timer_getoverr.c: ... here.
15675 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15676 * sysdeps/pthread/timer_gettime.c: ... here.
15677 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15678 * sysdeps/pthread/timer_routines.c: ... here.
15679 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15680 * sysdeps/pthread/timer_settime.c: ... here.
15681 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15682 * sysdeps/pthread/tst-timer.c: ... here.
15683 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15684 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15686 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15687 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15689 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15690 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15691 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15692 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15693 Update #include target.
15694 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15695 * sysdeps/i386/i686/nptl/Makefile: ... here.
15696 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15697 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15698 Update #include target.
15699 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15700 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15701 * nptl/sysdeps/i386/Makefile: Moved ...
15702 * sysdeps/i386/nptl/Makefile: ... here.
15703 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15704 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15705 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15706 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15707 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15708 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15709 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15710 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15711 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15712 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15713 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15714 * nptl/sysdeps/i386/tls.h: Moved ...
15715 * sysdeps/i386/nptl/tls.h: ... here.
15717 * sysdeps/sh/Makefile [$(subdir) = csu]
15718 (gen-as-const-headers): Add tcb-offsets.sym.
15719 * nptl/sysdeps/sh/Makefile: File removed.
15720 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15721 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15722 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15723 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15724 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15725 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15726 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15727 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15728 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15729 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15730 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15731 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15732 * nptl/sysdeps/sh/tls.h: Moved ...
15733 * sysdeps/sh/nptl/tls.h: ... here.
15734 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15735 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15736 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15737 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15738 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15739 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15740 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15741 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15742 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15743 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15744 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15745 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15746 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15747 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15748 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15749 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15750 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15751 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15752 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15753 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15754 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15755 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15756 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15757 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15758 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15760 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15761 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15763 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15764 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15765 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15766 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15767 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15768 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15769 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15770 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15771 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15772 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15773 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15774 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15775 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15776 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15777 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15778 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15779 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15780 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15781 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15783 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15785 * posix/spawn_faction_addopen.c: Include string.h.
15787 2014-06-11 Roland McGrath <roland@hack.frob.com>
15789 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15790 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15791 * nptl/sysdeps/x86_64/Makefile: Moved ...
15792 * sysdeps/x86_64/nptl/Makefile: ... here.
15793 * nptl/sysdeps/x86_64/configure: Moved ...
15794 * sysdeps/x86_64/nptl/configure: ... here.
15795 * nptl/sysdeps/x86_64/configure.ac: Moved ...
15796 * sysdeps/x86_64/nptl/configure.ac: ... here.
15797 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15798 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15799 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15800 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15801 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15802 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15803 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15804 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15805 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15806 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15807 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15808 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15809 * nptl/sysdeps/x86_64/tls.h: Moved ...
15810 * sysdeps/x86_64/nptl/tls.h: ... here.
15811 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15812 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15813 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15814 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15816 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15818 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15822 2014-06-11 Joseph Myers <joseph@codesourcery.com>
15824 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15826 [POSIX] (off_t): Likewise.
15827 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15828 [POSIX] (S_ISBLK): Require macro.
15829 [POSIX] (S_ISCHR): Likewise.
15830 [POSIX] (S_ISDIR): Likewise.
15831 [POSIX] (S_ISFIFO): Likewise.
15832 [POSIX] (S_ISREG): Likewise.
15833 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15835 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15837 [POSIX] (time_t): Likewise.
15838 [POSIX] (timer_t): Likewise.
15840 2014-06-11 Florian Weimer <fweimer@redhat.com>
15843 * posix/spawn_int.h (struct __spawn_action): Make the path string
15844 non-const to support deallocation.
15845 * posix/spawn_faction_addopen.c
15846 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15847 * posix/spawn_faction_destroy.c
15848 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
15849 path in all spawn_do_open actions.
15850 * posix/tst-spawn.c (do_test): Exercise the copy operation in
15851 posix_spawn_file_actions_addopen.
15853 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15855 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15856 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15857 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15858 conditional code always true.
15859 (__libc_vfork): New alias.
15861 2014-06-11 Roland McGrath <roland@hack.frob.com>
15863 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15864 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15866 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15868 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15869 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15871 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15872 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15874 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15875 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15877 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15879 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15880 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15881 multiarch strcmp for PPC64.
15882 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15883 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15885 multiarch optimizations.
15886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15887 (__libc_ifunc_impl_list): Likewise.
15889 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15891 * benchtests/scripts/validate_benchout.py: New script.
15892 * benchtests/Makefile (bench-func): Call it.
15893 * benchtests/scripts/benchout.schema.json: New file.
15895 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
15897 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15898 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15899 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15900 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15901 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15902 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15903 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15904 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15905 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15906 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15907 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15908 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15909 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15910 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15911 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15912 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16016 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16017 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16018 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16019 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16020 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16022 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16024 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16025 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16026 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16027 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16028 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16029 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16030 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16031 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16032 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16033 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16034 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16035 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16036 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16038 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16039 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16041 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16042 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16043 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16044 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16046 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16048 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16049 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16050 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16051 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16052 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16054 2014-06-10 Wilco <wdijkstr@arm.com>
16056 * math/test-fenv-return.c: New file.
16057 * math/Makefile: Add new test test-fenv-return.
16059 2014-06-10 Joseph Myers <joseph@codesourcery.com>
16062 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16063 when x - 1 is zero.
16064 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16065 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16066 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16067 0.0L for an argument of 1.0L.
16068 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16070 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16071 value when x - 1 is zero.
16072 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16073 * sysdeps/i386/fpu/libm-test-ulps: Update.
16074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16076 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16079 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16081 2014-06-09 Roland McGrath <roland@hack.frob.com>
16083 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16084 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16086 2014-06-09 Roland McGrath <roland@hack.frob.com>
16088 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16089 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16091 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16092 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16094 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16095 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16097 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16098 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16100 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16101 if not already defined.
16102 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16103 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16104 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16105 (TLS_INIT_TP): Use it.
16106 (TLS_DEFINE_INIT_TP): New macro.
16107 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16109 2014-06-09 Joseph Myers <joseph@codesourcery.com>
16111 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16113 [POSIX] (IXANY): Likewise.
16114 [POSIX] (OLCUC): Likewise.
16115 [POSIX || POSIX2008] (CBAUD): Do not allow.
16116 [POSIX || POSIX2008] (DEFECHO): Likewise.
16117 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16118 [POSIX || POSIX2008] (ECHOKE): Likewise.
16119 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16120 [POSIX || POSIX2008] (EXTA): Likewise.
16121 [POSIX || POSIX2008] (EXTB): Likewise.
16122 [POSIX || POSIX2008] (FLUSHO): Likewise.
16123 [POSIX || POSIX2008] (LOBLK): Likewise.
16124 [POSIX || POSIX2008] (PENDIN): Likewise.
16125 [POSIX || POSIX2008] (SWTCH): Likewise.
16126 [POSIX || POSIX2008] (VDISCARD): Likewise.
16127 [POSIX || POSIX2008] (VDSUSP): Likewise.
16128 [POSIX || POSIX2008] (VLNEXT): Likewise.
16129 [POSIX || POSIX2008] (VREPRINT): Likewise.
16130 [POSIX || POSIX2008] (VSTATUS): Likewise.
16131 [POSIX || POSIX2008] (VWERASE): Likewise.
16132 (B*): Change to B[0123456789]*.
16133 * conform/data/time.h-data [POSIX || UNIX98]
16134 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16135 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16136 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16137 [POSIX] (tm_*): Do not allow.
16139 2014-06-07 Joseph Myers <joseph@codesourcery.com>
16141 * Makefile (install): Don't set LANGUAGE.
16142 * Makefile.in (install): Likewise.
16143 * assert/Makefile (test-assert-ENV): Remove variable.
16144 (test-assert-perr-ENV): Likewise.
16145 * elf/Makefile (neededtest4-ENV): Likewise.
16146 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16147 [$(cross-compiling) = no]: Don't set LANGUAGE.
16148 * io/ftwtest-sh (LANG): Remove variable.
16149 * libio/Makefile (tst-widetext-ENV): Likewise.
16150 * manual/install.texi (Running make install): Don't refer to
16151 environment settings for make install.
16152 * INSTALL: Regenerated.
16153 * nptl/tst-tls6.sh: Don't set LANG.
16154 * posix/globtest.sh (LANG): Remove variable.
16155 * string/Makefile (tester-ENV): Likewise.
16156 (inl-tester-ENV): Likewise.
16157 (noinl-tester-ENV): Likewise.
16158 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16159 [$(cross-compiling) = no]: Don't set LANGUAGE.
16160 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16161 without explicit environment settings.
16163 2014-06-06 Roland McGrath <roland@hack.frob.com>
16165 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16166 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16167 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16168 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16170 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16172 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16173 other files in the crypt directory.
16174 * crypt/crypt.c: Remove duplicate includes.
16175 * crypt/crypt-entry.c: Likewise.
16176 * crypt/crypt_util.c: Likewise.
16178 2014-06-06 Joseph Myers <joseph@codesourcery.com>
16180 * Makeconfig (run-program-env): New variable.
16181 (run-program-prefix-before-env): Likewise.
16182 (run-program-prefix-after-env): Likewise.
16183 (run-program-prefix): Define in terms of new variables.
16184 (built-program-cmd-before-env): New variable.
16185 (built-program-cmd-after-env): Likewise.
16186 (built-program-cmd): Define in terms of new variables.
16187 (test-program-prefix-before-env): New variable.
16188 (test-program-prefix-after-env): Likewise.
16189 (test-program-prefix): Define in terms of new variables.
16190 (test-program-cmd-before-env): New variable.
16191 (test-program-cmd-after-env): Likewise.
16192 (test-program-cmd): Define in terms of new variables.
16193 * Rules (make-test-out): Use $(run-program-env).
16194 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16195 (help): Do not mention environment variables. Mention
16196 --timeoutfactor option.
16197 (timeoutfactor): New variable.
16198 (blacklist_exports): Remove function.
16199 (exports): Remove variable.
16200 (command): Do not include ${exports}.
16201 * manual/install.texi (Configuring and compiling): Do not mention
16202 test wrappers preserving environment variables. Mention that last
16203 assignment to a variable must take precedence.
16204 * INSTALL: Regenerated.
16205 * benchtests/Makefile (run-bench): Use $(run-program-env).
16206 * catgets/Makefile ($(objpfx)test1.cat): Use
16207 $(built-program-cmd-before-env), $(run-program-env) and
16208 $(built-program-cmd-after-env).
16209 ($(objpfx)test2.cat): Do not specify environment variables
16211 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16212 $(run-program-env) and $(built-program-cmd-after-env).
16213 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16214 $(run-program-env) and $(test-program-cmd-after-env).
16215 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16217 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16218 run_program_env and test_program_cmd_after_env arguments.
16219 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16220 * elf/tst-pathopt.sh: Use run_program_env argument.
16221 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16222 $(test-wrapper-env) and $(run-program-env).
16223 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16224 run_program_env arguments.
16225 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16226 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16227 $(test-program-prefix-before-env), $(run-program-env) and
16228 $(test-program-prefix-after-env).
16229 ($(objpfx)tst-gettext2.out): Likewise.
16230 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16231 run_program_env and test_program_prefix_after_env arguments.
16232 * intl/tst-gettext2.sh: Likewise.
16233 * intl/tst-gettext4.sh: Do not set environment variables
16235 * intl/tst-gettext6.sh: Likewise.
16236 * intl/tst-translit.sh: Likewise.
16237 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16238 $(test-program-prefix-before-env), $(run-program-env) and
16239 $(test-program-prefix-after-env).
16240 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16241 run_program_env and test_program_prefix_after_env arguments.
16242 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16243 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16244 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16245 explicitly with each use of ${test_wrapper_env}.
16246 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16247 $(test-program-prefix-before-env), $(run-program-env) and
16248 $(test-program-prefix-after-env).
16249 * posix/tst-getconf.sh: Do not set environment variables
16251 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16252 run_program_env and test_program_prefix_after_env arguments.
16253 * stdio-common/tst-printf.sh: Do not set environment variables
16255 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16256 $(test-program-prefix-before-env), $(run-program-env) and
16257 $(test-program-prefix-after-env).
16258 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16259 run_program_env and test_program_prefix_after_env arguments.
16260 Split $test calls into $test_pre and $test.
16261 * timezone/Makefile (build-testdata): Use
16262 $(built-program-cmd-before-env), $(run-program-env) and
16263 $(built-program-cmd-after-env).
16265 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16267 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16268 strlen for non SHARED builds.
16270 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16272 * nptl/allocatestack.c (check_list): Inlined function...
16273 (__reclaim_stacks): ... here.
16275 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16278 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16281 2014-06-05 Joseph Myers <joseph@codesourcery.com>
16283 * Rules (make-test-out): Include
16284 LOCPATH=$(common-objpfx)localedata in default environment.
16285 * debug/Makefile (tst-chk1-ENV): Remove variable.
16286 (tst-chk2-ENV): Likewise.
16287 (tst-chk3-ENV): Likewise.
16288 (tst-chk4-ENV): Likewise.
16289 (tst-chk5-ENV): Likewise.
16290 (tst-chk6-ENV): Likewise.
16291 (tst-lfschk1-ENV): Likewise.
16292 (tst-lfschk2-ENV): Likewise.
16293 (tst-lfschk3-ENV): Likewise.
16294 (tst-lfschk4-ENV): Likewise.
16295 (tst-lfschk5-ENV): Likewise.
16296 (tst-lfschk6-ENV): Likewise.
16297 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16298 (tst-iconv7-ENV): Likewise.
16299 * intl/Makefile (LOCPATH-ENV): Likewise.
16300 (tst-codeset-ENV): Likewise.
16301 (tst-gettext3-ENV): Likewise.
16302 (tst-gettext5-ENV): Likewise.
16303 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16304 (tst-fopenloc-ENV): Likewise.
16305 (tst-fgetws-ENV): Remove variable.
16306 (tst-ungetwc1-ENV): Likewise.
16307 (tst-ungetwc2-ENV): Likewise.
16308 (bug-ungetwc2-ENV): Likewise.
16309 (tst-swscanf-ENV): Likewise.
16310 (bug-ftell-ENV): Likewise.
16311 (tst-fgetwc-ENV): Likewise.
16312 (tst-fseek-ENV): Likewise.
16313 (tst-ftell-partial-wide-ENV): Likewise.
16314 (tst-ftell-active-handler-ENV): Likewise.
16315 (tst-ftell-append-ENV): Likewise.
16316 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16317 (tst-regexloc-ENV): Likewise.
16318 (bug-regex1-ENV): Likewise.
16319 (tst-regex-ENV): Likewise.
16320 (tst-regex2-ENV): Likewise.
16321 (bug-regex5-ENV): Likewise.
16322 (bug-regex6-ENV): Likewise.
16323 (bug-regex17-ENV): Likewise.
16324 (bug-regex18-ENV): Likewise.
16325 (bug-regex19-ENV): Likewise.
16326 (bug-regex20-ENV): Likewise.
16327 (bug-regex22-ENV): Likewise.
16328 (bug-regex23-ENV): Likewise.
16329 (bug-regex25-ENV): Likewise.
16330 (bug-regex26-ENV): Likewise.
16331 (bug-regex30-ENV): Likewise.
16332 (bug-regex32-ENV): Likewise.
16333 (bug-regex33-ENV): Likewise.
16334 (bug-regex34-ENV): Likewise.
16335 (bug-regex35-ENV): Likewise.
16336 (tst-rxspencer-ENV): Likewise.
16337 (tst-rxspencer-no-utf8-ENV): Likewise.
16338 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16339 (tst-sscanf-ENV): Likewise.
16340 (tst-swprintf-ENV): Likewise.
16341 (tst-swscanf-ENV): Likewise.
16342 (test-vfprintf-ENV): Likewise.
16343 (scanf13-ENV): Likewise.
16344 (bug14-ENV): Likewise.
16345 (tst-grouping-ENV): Likewise.
16346 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16347 (tst-strtod3-ENV): Likewise.
16348 (tst-strtod4-ENV): Likewise.
16349 (tst-strtod5-ENV): Likewise.
16350 (testmb2-ENV): Likewise./
16351 * string/Makefile (tst-strxfrm-ENV): Likewise.
16352 (tst-strxfrm2-ENV): Likewise.
16353 (bug-strcoll1-ENV): Likewise.
16354 (test-strcasecmp-ENV): Likewise.
16355 (test-strncasecmp-ENV): Likewise.
16356 * time/Makefile (tst-strptime-ENV): Likewise.
16357 (tst-ftime_l-ENV): Likewise.
16358 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16359 (tst-mbrtowc-ENV): Likewise.
16360 (tst-wcrtomb-ENV): Likewise.
16361 (tst-mbrtowc2-ENV): Likewise.
16362 (tst-c16c32-1-ENV): Likewise.
16363 (tst-mbsnrtowcs-ENV): Likewise.
16365 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16367 * manual/resource.texi (How to get information about the memory
16368 subsystem?): Fix typo.
16369 Reported by Peon de la Parra Ivan <peon@keba.com>
16371 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16374 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16375 (pthread_spin_lock): Branch out of spin loop to proper location.
16376 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16377 (pthread_spin_lock): Likewise.
16379 * nptl/tst-spin4.c: New test.
16380 * nptl/Makefile (tests): Add tst-spin4.
16382 2014-06-03 Andreas Schwab <schwab@suse.de>
16385 * resolv/res_send.c (send_dg): Reload file descriptor after
16388 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16390 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16392 2014-06-03 Richard Henderson <rth@redhat.com>
16394 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16395 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16396 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16397 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16398 in the SAVE_PID block.
16399 (__libc_vfork): New alias.
16400 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16402 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16403 child in registers, not on the stack. Remove RESET_PID conditionals.
16404 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16406 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16408 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16410 2014-06-03 Wilco <wdijkstr@arm.com>
16412 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16413 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16414 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16415 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16416 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16419 2014-06-03 Wilco <wdijkstr@arm.com>
16421 * sysdeps/aarch64/fpu/math_private.h
16422 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16423 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16424 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16425 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16428 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16430 * crypt/crypt-private.h: Include ufc-crypt.h.
16431 (__b64_from_24bit): Declare extern.
16432 * crypt/crypt_util.c(__b64_from_24bit): New function.
16433 (b64t): New static const variable.
16434 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16435 (b64t): Remove variable.
16436 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16437 * crypt/sha256-crypt.c: Include crypt-private.h.
16438 (b64t): Remove variable.
16439 (__sha256_crypt_r): Remove b64_from_24bit and replace
16440 with __b64_from_24bit.
16441 * crypt/sha512-crypt.c: Likewise.
16443 2014-06-02 Roland McGrath <roland@hack.frob.com>
16445 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16446 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16447 Label the code __libc_vfork rather than __vfork.
16448 [!NOT_IN_libc] (vfork): Define as weak alias.
16449 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16450 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16451 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16453 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16455 * malloc/malloc.c (malloc_info): Fix format specifier for
16458 2014-06-02 Wilco <wdijkstr@arm.com>
16460 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16463 2014-06-02 Wilco <wdijkstr@arm.com>
16466 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16467 Rewrite to reduce FPCR/FPSR accesses.
16469 2014-06-01 David S. Miller <davem@davemloft.net>
16471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16473 2014-05-31 David S. Miller <davem@davemloft.net>
16475 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16476 to occur in round to nearest mode when |x| >= 2.0
16478 2014-05-30 Richard Henderson <rth@twiddle.net>
16480 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16481 (PSEUDO_RET_NOERRNO): Remove.
16482 (ret): Don't redefine.
16483 (ret_NOERRNO): Define in terms of ret.
16484 (ret_ERRVAL): Likewise.
16486 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16487 use of PSEUDO_RET; perform the error check directly.
16489 2014-05-30 Marko Myllynen <myllynen@redhat.com>
16491 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16494 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16496 * malloc/malloc (malloc_info): Fix formatting.
16498 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16499 Roland McGrath <roland@hack.frob.com>
16501 * malloc/malloc (malloc_info): Also print mmapped statistics.
16503 2014-05-30 Roland McGrath <roland@hack.frob.com>
16505 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16506 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16508 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
16510 * malloc/malloc.c (malloc_info): Inline mi_arena.
16512 2014-05-29 Richard Henderson <rth@twiddle.net>
16514 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16515 Remove comma before expanding ASM_ARGS_##nr.
16516 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16517 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16519 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16520 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16521 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16522 (ASM_ARGS_1): Add leading comma.
16524 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16525 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16526 to __errno_location.
16527 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16528 Remove the expected plt for __errno_location.
16530 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16531 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16534 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16535 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16536 it and break it down.
16537 (DOCARGS_0, DOCARGS_1): Do nothing.
16538 (DOCARGS_2): Update to store into the new stack frame.
16539 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16540 (UNDOCARGS_1): Update to restore from the new stack frame.
16541 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16542 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16544 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16545 (SINGLE_THREAD_P): New parameter for result regno.
16546 (PSEUDO): Update to match; use cbz instead of beq.
16548 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16549 Use ENTRY to define the _nocancel entry point. Share the syscall
16550 and syscall error check paths with the cancel path.
16553 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16554 whitespace; tabs before and after asm mnemonics.
16556 2014-05-29 Eric Wong <normalperson@yhbt.net>
16559 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16560 Call fstat64 or stat64 internally, depending on arguments passed.
16561 Replace stat buffer argument with file descriptor argument.
16562 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16563 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16564 Pass fd to __internal_statvfs instead of calling fstat64.
16565 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16566 Pass fd to __internal_statvfs64 instead of calling fstat64.
16567 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16568 Pass -1 to __internal_statvfs instead of calling stat64.
16569 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16570 Pass -1 to __internal_statvfs64 instead of calling stat64.
16572 2014-05-28 Roland McGrath <roland@hack.frob.com>
16574 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16575 that was previously under [RESET_PID].
16576 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16578 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16579 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16581 2014-05-27 Roland McGrath <roland@hack.frob.com>
16583 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16585 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16586 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16588 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
16590 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16592 2014-05-27 Andreas Schwab <schwab@suse.de>
16594 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16596 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16597 * elf/rtld.c (init_tls, dl_main): Likewise.
16598 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16599 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16600 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16601 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16602 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16603 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16604 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16605 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16606 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16607 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16608 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16609 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16610 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16611 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16612 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16613 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16614 * sysdeps/generic/tls.h: Update description.
16616 2014-05-27 Will Newton <will.newton@linaro.org>
16619 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16620 and restore r2 rather than just restoring.
16622 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16625 * libio/tst-ftell-append.c: New test case.
16626 * libio/Makefile (tests): Add test case.
16627 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16629 * libio/wfileops.c (do_ftell_wide): Likewise.
16631 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16635 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16639 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16640 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16641 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16642 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16643 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16644 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16645 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16648 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16651 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16652 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16653 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16654 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16655 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16657 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16658 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16660 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16662 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16664 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16665 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16666 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16668 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16669 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16670 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16671 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16673 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16676 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16679 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16682 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16686 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16689 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16694 conditional [RESET_PID].
16695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16696 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16703 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16704 (__libc_vfork): New strong alias.
16705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16712 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16713 (__libc_vfork): New strong alias.
16714 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16716 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16719 2014-05-26 Carlos O'Donell <carlos@redhat.com>
16721 * malloc/malloc.c (mi_arena): New function.
16722 (malloc_info): Remove nested function mi_arena. Call non-nosted
16725 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16727 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16729 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16730 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16731 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16732 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16733 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16734 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16735 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16737 2014-05-26 Andreas Schwab <schwab@suse.de>
16740 * locale/programs/repertoire.c (repertoire_read): Add slash
16741 between I18NPATH element and file name.
16742 * locale/programs/locfile.c (locfile_read): Likewise.
16744 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16746 * nptl/pthread_mutexattr_settype.c
16747 (__pthread_mutexattr_settype):
16748 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16750 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16752 * nptl/tst-mutex5 (do_test):
16753 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16755 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16757 * benchtests/README: Document 'init' directive.
16758 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16760 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16761 (parse_file): Recognize 'init' directive.
16763 2014-05-26 Kyle McMartin <kyle@redhat.com>
16766 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16767 alignment of struct pthread.
16769 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16772 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16773 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16774 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16775 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16777 2014-05-25 Richard Henderson <rth@twiddle.net>
16779 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16780 (SINGLE_THREAD_P_PIC): Remove.
16781 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16782 (SINGLE_THREAD_P_PIC): Remove.
16784 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16785 branch to syscall error ...
16786 (PSEUDO): ... here.
16787 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16788 from __local_syscall_error to .Lsyscall_error.
16789 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16790 (SYSCALL_ERROR): Update label name.
16792 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16793 Do not use DOARGS/UNDOARGS.
16794 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16795 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16796 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16797 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16798 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16800 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16803 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16804 define if !NOT_IN_libc.
16805 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16806 define with non-default symbol versions.
16808 2014-05-23 Richard Henderson <rth@twiddle.net>
16810 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16811 (vfork, __vfork): Define via compat_symbol.
16813 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16814 [!HAVE_IFUNC] (vfork_compat): Remove.
16815 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16817 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16820 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16821 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16824 2014-05-23 Richard Henderson <rth@twiddle.net>
16826 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16827 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16828 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16829 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16831 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16832 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16833 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16834 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16835 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16836 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16837 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16838 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16839 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16840 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16841 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16842 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16843 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16844 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16845 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16846 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16847 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16848 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16849 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16850 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16851 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16852 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16853 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16854 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16855 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16856 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16857 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16858 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16859 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16860 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16861 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16862 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16863 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16864 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16865 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16866 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16867 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16868 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16869 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16870 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16871 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16872 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16873 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16874 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16875 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16876 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16877 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16878 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16879 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16880 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16881 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16882 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16883 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16884 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16885 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16886 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16888 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16889 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16890 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
16891 before exiting on error.
16892 (__libc_vfork): New strong alias.
16893 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16894 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16896 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16897 that was previously under [RESET_PID].
16898 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16900 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16902 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16905 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16906 value when x - 1 is zero.
16907 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16908 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16909 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16910 0.0L for an argument of 1.0L.
16911 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16913 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16914 value when x - 1 is zero.
16915 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16916 * sysdeps/i386/fpu/libm-test-ulps: Update.
16917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16919 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16921 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16922 alphasort and versionsort.
16924 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16926 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16928 [copysignf]: Likewise.
16930 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16932 * crypt/md5-crypt.c: Fix formatting.
16934 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16936 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16937 (b64_from_24bit): New function.
16939 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16941 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16942 libc_hidden_builtin_def to ifunc.
16943 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16944 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16946 2014-05-21 Roland McGrath <roland@hack.frob.com>
16948 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16949 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16951 2014-05-21 Joseph Myers <joseph@codesourcery.com>
16953 * nscd/Depend (linuxthreads): Remove.
16955 * resolv/Depend (linuxthreads): Remove.
16956 * rt/Depend (linuxthreads): Remove.
16958 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16959 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16960 $(common-objpfx)elf/.
16961 (link-libc-before-gnulib): Likewise.
16962 (elfobjdir): Remove variable.
16963 * Makefile (install): Use $(elf-objpfx) instead of
16964 $(common-objpfx)elf/.
16965 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16967 (link-libc-deps): Likewise.
16968 ($(common-objpfx)libc.so): Likewise.
16969 ($(common-objpfx)linkobj/libc.so): Likewise.
16970 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16971 instead of $(common-objpfx)elf/.
16972 (symbolic-link-list): Likewise.
16973 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16974 [$(cross-compiling) = no]: Likewise.
16975 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16977 (static-gnulib-arch): Likewise.
16978 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16979 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16980 $(common-objpfx)elf/.
16982 2014-05-21 Richard Henderson <rth@redhat.com>
16984 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16985 (SINGLE_THREAD_P): Use the correct width load. Fold
16986 into the ldr offset.
16988 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16989 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16991 2014-05-20 Joseph Myers <joseph@codesourcery.com>
16993 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16994 (libgcc_s_resume): Use __attribute_used__.
16995 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16998 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17000 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17001 optimization when used with float constants.
17003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17005 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
17008 * locale/nl_langinfo_l.c: Make direct reference to every
17009 _nl_current_CATEGORY symbol.
17010 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17011 (tests-static): Add tst-langinfo-static.
17012 (tests-special): Add tst-langinfo-static.out.
17013 ($(objpfx)tst-langinfo.out): Redirect output.
17014 ($(objpfx)tst-langinfo-static.out): New.
17015 * localedata/tst-langinfo.sh: Send output to stdout.
17016 * localedata/tst-langinfo-static.c: New file.
17019 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17020 when the shift amount is modulo the limb size.
17022 2014-05-20 Richard Henderson <rth@redhat.com>
17025 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17026 Change type of sa_flags from unsigned int to int.
17029 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17031 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17033 2014-05-20 Will Newton <will.newton@linaro.org>
17035 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17036 Test the return value of the system call in the nocancel case.
17038 2014-05-20 Will Newton <will.newton@linaro.org>
17039 Yvan Roux <yvan.roux@linaro.org>
17041 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17042 #include of asm/ptrace.h.
17043 (PTRACE_GET_THREAD_AREA): Remove #undef.
17044 (PTRACE_GETHBPREGS): Likewise.
17045 (PTRACE_SETHBPREGS): Likewise.
17046 (struct user_regs_struct): New structure.
17047 (struct user_fpsimd_struct): New structure.
17048 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17049 #include of asm/ptrace.h and second #include of sys/user.h.
17050 (PTRACE_GET_THREAD_AREA): Remove #undef.
17051 (PTRACE_GETHBPREGS): Likewise.
17052 (PTRACE_SETHBPREGS): Likewise.
17053 (ELF_NGREG): Use new struct user_regs_struct.
17054 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17056 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17058 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17059 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17061 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17064 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17065 membar to avoid block loads/stores to overlap previous stores.
17067 2014-05-17 Richard Henderson <rth@redhat.com>
17069 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17070 Create the __##syscall_name##_nocancel entry point.
17071 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17072 Remove; let the sysdep-cancel.h code create it.
17074 2014-05-17 David S. Miller <davem@davemloft.net>
17076 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17077 Protect with __USE_GNU.
17078 (TIOCSET_TEMPT): Likewise.
17079 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17080 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17081 these are already provided in bits/ioctl-types.h
17083 2014-05-16 Roland McGrath <roland@hack.frob.com>
17085 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17086 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17088 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17089 Use wait4 regardless of [__NR_waitpid].
17091 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17094 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17095 (_FP_NANSIGN_Q): Set the quiet bit.
17097 2014-05-16 Joseph Myers <joseph@codesourcery.com>
17099 * benchtests/Makefile
17100 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17101 not $(common-objpfx)math/libm.so.
17102 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17103 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17104 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17105 $(common-objpfx)dlfcn/libdl.so.
17106 ($(objpfx)tst-audit8): Depend on $(libm), not
17107 $(common-objpfx)math/libm.so.
17108 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17109 not $(common-objpfx)dlfcn/libdl.so.
17111 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17112 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17113 [$(build-shared) = yes].
17114 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17115 $(common-objpfx)nptl/libpthread.so.
17116 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17117 $(common-objpfx)math/libm.so$(libm.so-version) or
17118 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17119 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17120 $(common-objpfx)dlfcn/libdl.so.
17121 * setjmp/Makefile (link-libm): Remove variable.
17122 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17123 * stdio-common/Makefile (link-libm): Remove variable.
17124 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17125 * stdlib/Makefile (link-libm): Remove variable.
17126 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17127 ($(objpfx)tst-strtod-round): Likewise.
17128 ($(objpfx)tst-tininess): Likewise.
17129 ($(objpfx)tst-strtod-underflow): Likewise.
17130 ($(objpfx)tst-strtod6): Likewise.
17131 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17132 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17133 $(common-objpfx)dlfcn/libdl.so.
17135 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17137 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17138 BSD terminal modes definitions.
17140 2014-05-16 Roland McGrath <roland@hack.frob.com>
17142 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17143 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17145 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17146 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17147 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17148 Don't do #include_next.
17149 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17150 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17151 Don't do #include_next.
17152 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17153 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17154 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17155 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17157 2014-05-16 Allan McRae <allan@archlinux.org>
17159 * po/sv.po: Update Swedish translation from translation project.
17161 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17164 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17167 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17168 errno if the TIOCGPTN ioctl fails with an error different than
17170 * login/tst-ptsname.c: New file.
17171 * login/Makefile (tests): Add tst-ptsname.
17174 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17177 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17181 herrno to return EAI_AGAIN.
17183 2014-05-14 Roland McGrath <roland@hack.frob.com>
17185 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17186 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17187 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17188 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17189 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17190 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17191 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17192 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17193 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17194 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17195 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17196 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17197 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17198 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17199 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17200 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17201 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17202 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17203 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17204 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17205 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17206 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17207 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17208 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17209 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17210 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17211 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17212 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17213 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17214 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17216 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17218 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17221 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17223 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17225 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17227 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17229 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17231 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17233 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17235 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17237 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17239 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17241 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17243 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17245 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17247 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17250 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17252 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17254 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17256 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17258 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17260 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17262 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17264 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17266 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17268 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17271 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17273 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17275 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17276 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17277 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17278 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17279 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17280 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17281 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17282 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17283 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17284 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17285 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17286 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17287 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17288 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17289 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17290 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17291 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17292 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17293 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17294 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17295 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17296 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17297 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17298 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17299 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17300 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17301 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17302 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17303 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17304 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17305 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17307 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17308 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17310 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17311 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17312 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17313 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17314 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17315 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17317 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17318 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17320 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17321 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17323 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17324 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17326 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17327 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17328 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17329 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17331 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17332 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17333 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17334 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17335 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17336 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17337 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17338 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17340 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17341 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17343 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17345 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17346 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17347 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17348 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17349 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17351 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17353 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17355 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17356 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17357 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17358 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17359 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17360 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17362 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17363 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17365 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17366 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17368 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17369 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17371 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17372 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17373 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17374 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17376 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17377 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17378 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17379 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17380 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17381 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17382 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17383 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17385 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17386 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17388 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17390 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17391 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17392 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17393 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17394 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17396 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17398 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17400 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17401 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17402 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17403 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17404 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17405 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17406 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17407 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17408 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17409 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17411 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17412 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17414 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17415 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17417 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17418 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17420 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17421 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17422 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17423 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17424 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17425 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17427 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17428 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17429 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17430 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17431 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17432 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17433 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17434 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17436 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17437 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17439 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17441 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17442 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17443 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17444 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17445 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17447 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17449 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17451 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17452 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17453 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17454 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17455 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17456 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17457 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17458 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17459 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17460 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17461 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17463 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17464 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17466 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17467 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17469 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17470 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17471 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17472 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17473 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17474 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17475 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17476 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17477 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17478 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17479 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17480 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17481 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17482 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17483 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17484 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17485 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17486 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17488 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17489 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17490 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17491 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17493 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17494 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17495 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17496 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17497 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17498 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17499 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17500 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17502 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17503 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17505 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17506 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17507 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17509 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17511 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17512 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17513 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17514 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17515 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17516 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17517 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17518 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17519 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17520 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17521 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17523 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17524 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17525 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17526 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17527 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17529 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17530 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17531 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17532 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17533 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17534 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17535 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17536 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17537 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17538 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17540 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17541 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17543 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17544 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17545 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17546 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17547 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17548 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17549 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17550 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17551 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17552 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17553 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17554 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17555 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17556 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17557 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17559 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17561 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17565 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17567 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17577 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17578 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17579 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17580 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17581 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17582 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17583 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17584 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17585 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17586 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17587 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17588 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17589 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17590 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17591 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
17593 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17594 that was previously under [RESET_PID].
17595 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17596 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17597 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17599 * sysdeps/i386/nptl/Implies: New file.
17600 * sysdeps/x86_64/nptl/Implies: New file.
17601 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17602 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17603 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17604 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17606 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17607 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17608 (__libc_vfork): New strong alias.
17609 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17610 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17612 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17613 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17614 (__libc_vfork): New strong alias.
17615 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17616 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17618 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17619 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17620 (__libc_vfork): New strong alias.
17621 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17622 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17623 * nptl/pt-vfork.c: New file.
17624 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17625 (libpthread: GLIBC_2.20): New version set (empty).
17627 2014-05-14 Will Newton <will.newton@linaro.org>
17629 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17632 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17635 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17636 arguments with exponent 65 or above.
17637 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17638 arguments 0x1p113L or above.
17639 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17640 to arguments 0x1p107L or above.
17641 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17642 positive arguments with exponent 65 or above.
17643 * math/auto-libm-test-in: Add more tests of log1p.
17644 * math/auto-libm-test-out: Regenerated.
17647 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17648 non-finite arguments is +0.
17649 * math/s_cacosf.c (__cacosf): Likewise.
17650 * math/s_cacosl.c (__cacosl): Likewise.
17651 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17652 * sysdeps/i386/fpu/libm-test-ulps: Update.
17653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17656 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17658 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17659 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17660 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17661 for explicit high bit of mantissa when testing for argument equal
17663 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17664 * sysdeps/i386/fpu/libm-test-ulps: Update.
17665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17668 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17669 (__erf): Scale by 16 instead of 8 in potentially underflowing
17670 case. Ensure exception if result actually underflows.
17671 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17672 (__erff): Scale by 16 instead of 8 in potentially underflowing
17673 case. Ensure exception if result actually underflows.
17674 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17675 (efx8): Remove variable.
17676 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17677 case. Ensure exception if result actually underflows.
17678 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17679 (efx8): Remove variable.
17680 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17681 case. Ensure exception if result actually underflows.
17682 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17683 (efx8): Remove variable.
17684 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17685 case. Ensure exception if result actually underflows.
17686 * math/auto-libm-test-in: Add more tests of erf.
17687 * math/auto-libm-test-out: Regenerated.
17689 2014-05-14 Andreas Schwab <schwab@suse.de>
17691 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17692 Remove code conditionalized on USE___THREAD.
17694 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17695 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17698 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17700 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17701 Define unconditionally.
17702 (__ASSUME_O_CLOEXEC): Likewise.
17703 (__ASSUME_SOCK_CLOEXEC): Likewise.
17704 (__ASSUME_IN_NONBLOCK): Likewise.
17705 (__ASSUME_PIPE2): Likewise.
17706 (__ASSUME_EVENTFD2): Likewise.
17707 (__ASSUME_SIGNALFD4): Likewise.
17708 (__ASSUME_DUP3): Likewise.
17709 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17710 (__ASSUME_DUP3): Do not define.
17711 (__ASSUME_EVENTFD2): Likewise.
17712 (__ASSUME_IN_NONBLOCK): Likewise.
17713 (__ASSUME_O_CLOEXEC): Likewise.
17714 (__ASSUME_PIPE2): Likewise.
17715 (__ASSUME_SIGNALFD4): Likewise.
17716 (__ASSUME_SOCK_CLOEXEC): Likewise.
17717 (__ASSUME_UTIMES): Undefine.
17718 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17719 (__ASSUME_UTIMES): Do not define.
17720 (__ASSUME_O_CLOEXEC): Likewise.
17721 (__ASSUME_SOCK_CLOEXEC): Likewise.
17722 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17723 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17725 (__ASSUME_PIPE2): Likewise.
17726 (__ASSUME_EVENTFD2): Likewise.
17727 (__ASSUME_SIGNALFD4): Likewise.
17728 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17729 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17731 (__ASSUME_EVENTFD2): Likewise.
17732 (__ASSUME_SIGNALFD4): Likewise.
17733 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17734 (__ASSUME_32BITUIDS): Likewise.
17735 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17736 (__ASSUME_IPC64): Likewise.
17737 (__ASSUME_ST_INO_64_BIT): Likewise.
17738 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17739 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17740 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17741 (__ASSUME_UTIMES): Do not define.
17742 (__ASSUME_PSELECT): Likewise.
17743 (__ASSUME_PPOLL): Likewise.
17744 (__ASSUME_O_CLOEXEC): Likewise.
17745 (__ASSUME_SOCK_CLOEXEC): Likewise.
17746 (__ASSUME_IN_NONBLOCK): Likewise.
17747 (__ASSUME_PIPE2): Likewise.
17748 (__ASSUME_EVENTFD2): Likewise.
17749 (__ASSUME_SIGNALFD4): Likewise.
17750 (__ASSUME_DUP3): Likewise.
17751 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17752 (__ASSUME_UTIMES): Likewise.
17753 (__ASSUME_O_CLOEXEC): Likewise.
17754 (__ASSUME_SOCK_CLOEXEC): Likewise.
17755 (__ASSUME_IN_NONBLOCK): Likewise.
17756 (__ASSUME_PIPE2): Likewise.
17757 (__ASSUME_EVENTFD2): Likewise.
17758 (__ASSUME_SIGNALFD4): Likewise.
17759 (__ASSUME_DUP3): Likewise.
17760 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17761 (__ASSUME_UTIMES): Likewise.
17762 (__ASSUME_O_CLOEXEC): Likewise.
17763 (__ASSUME_SOCK_CLOEXEC): Likewise.
17764 (__ASSUME_IN_NONBLOCK): Likewise.
17765 (__ASSUME_PIPE2): Likewise.
17766 (__ASSUME_EVENTFD2): Likewise.
17767 (__ASSUME_SIGNALFD4): Likewise.
17768 (__ASSUME_DUP3): Likewise.
17769 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17771 (__ASSUME_UTIMES): Likewise.
17772 (__ASSUME_EVENTFD2): Likewise.
17773 (__ASSUME_SIGNALFD4): Likewise.
17774 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17775 (__ASSUME_O_CLOEXEC): Likewise.
17776 (__ASSUME_SOCK_CLOEXEC): Likewise.
17777 (__ASSUME_IN_NONBLOCK): Likewise.
17778 (__ASSUME_PIPE2): Likewise.
17779 (__ASSUME_EVENTFD2): Likewise.
17780 (__ASSUME_SIGNALFD4): Likewise.
17781 (__ASSUME_DUP3): Likewise.
17782 (__ASSUME_UTIMES): Undefine.
17784 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17785 feclearexcept. Remove symbol versioning code.
17786 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17787 symbol versioning code.
17788 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17789 symbol versioning code.
17790 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17791 feupdateenv. Remove symbol versioning code.
17792 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17793 fegetexceptflag. Remove symbol versioning code.
17794 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17795 fesetexceptflag. Remove symbol versioning code.
17796 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17797 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
17798 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17799 (__posix_fadvise64_l32): Remove prototype.
17800 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17803 2014-05-13 Roland McGrath <roland@hack.frob.com>
17805 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17806 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17807 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17808 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17810 2014-05-13 Sami Kerola <kerolasa@iki.fi>
17812 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17813 current working directory
17815 2014-05-13 Roland McGrath <roland@hack.frob.com>
17817 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17818 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17819 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17820 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17821 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17822 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17823 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17824 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17825 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17826 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17827 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17828 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17829 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17830 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17831 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17832 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17833 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17834 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17835 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17836 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17837 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17838 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17839 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17840 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17841 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17842 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17843 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17844 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17845 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17846 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17847 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17848 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17849 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17850 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17851 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17852 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17853 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17854 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17855 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17856 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17857 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17858 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17860 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17861 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17863 * sysdeps/unix/sysv/linux/arm/Makefile
17864 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17865 Add rt-aeabi_unwind_cpp_pr1.
17866 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17867 Add nptl-aeabi_unwind_cpp_pr1.
17868 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17869 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17870 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17871 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17872 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17873 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17875 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17876 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17877 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17878 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17880 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17881 Deconditionalize the code that was previously under [RESET_PID].
17882 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17884 * sysdeps/generic/exit-thread.h: New file.
17885 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17886 * include/unistd.h (__exit_thread): Remove declaration.
17887 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17888 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17889 * csu/libc-start.c: Include <exit-thread.h>.
17890 (LIBC_START_MAIN): Pass no argument to __exit_thread.
17891 * nptl/pthread_create.c: Include <exit-thread.h>.
17892 (start_thread): Call __exit_thread in place of __exit_thread_inline.
17893 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17894 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17895 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17896 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17897 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17898 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17899 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17900 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17901 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17902 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17903 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17904 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17905 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17906 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17907 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17908 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17910 2014-05-13 Andreas Schwab <schwab@suse.de>
17912 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17914 2014-05-12 Joseph Myers <joseph@codesourcery.com>
17916 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17917 (__ASSUME_UTIMES): Do not condition on kernel version.
17918 (__ASSUME_PSELECT): Define unconditionally.
17919 (__ASSUME_PPOLL): Likewise.
17920 (__ASSUME_ATFCTS): Likewise.
17921 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17922 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17923 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17924 (__ASSUME_UTIMENSAT): Define unconditionally.
17925 (__ASSUME_PRIVATE_FUTEX): Likewise.
17926 (__ASSUME_FALLOCATE): Likewise.
17927 (__ASSUME_O_CLOEXEC): Likewise.
17928 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17929 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17930 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17931 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17932 (__ASSUME_IN_NONBLOCK): Likewise.
17933 (__ASSUME_PIPE2): Likewise.
17934 (__ASSUME_EVENTFD2): Likewise.
17935 (__ASSUME_SIGNALFD4): Likewise.
17936 (__ASSUME_DUP3): Likewise.
17937 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17938 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17939 (__ASSUME_AT_RANDOM): Likewise.
17940 (__ASSUME_PREADV): Likewise.
17941 (__ASSUME_PWRITEV): Likewise.
17942 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17943 (__ASSUME_F_GETOWN_EX): Define unconditionally.
17944 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17945 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17946 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17947 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17948 (__ASSUME_O_CLOEXEC): Define unconditionally.
17949 (__ASSUME_PSELECT): Do not undefine conditionally.
17950 (__ASSUME_PPOLL): Likewise.
17951 (__ASSUME_ATFCTS): Likewise.
17952 (__ASSUME_SET_ROBUST_LIST): Likewise.
17953 (__ASSUME_UTIMENSAT): Likewise.
17954 (__ASSUME_FDATASYNC): Define unconditionally.
17955 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17956 (__ASSUME_SIGFRAME_V2): Likewise.
17957 )__ASSUME_EVENTFD2): Likewise.
17958 (__ASSUME_SIGNALFD4): Likewise.
17959 (__ASSUME_PSELECT): Do not undefine conditionally.
17960 (__ASSUME_PPOLL): Likewise.
17961 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17962 (__ASSUME_PSELECT): Define unconditionally.
17963 (__ASSUME_PPOLL): Likewise.
17964 (__ASSUME_O_CLOEXEC): Likewise.
17965 (__ASSUME_SOCK_CLOEXEC): Likewise.
17966 (__ASSUME_IN_NONBLOCK): Likewise.
17967 (__ASSUME_PIPE2): Likewise.
17968 (__ASSUME_EVENTFD2): Likewise.
17969 (__ASSUME_SIGNALFD4): Likewise.
17970 (__ASSUME_DUP3): Likewise.
17971 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17972 (__ASSUME_O_CLOEXEC): Likewise.
17973 (__ASSUME_SOCK_CLOEXEC): Likewise.
17974 (__ASSUME_IN_NONBLOCK): Likewise.
17975 (__ASSUME_PIPE2): Likewise.
17976 (__ASSUME_EVENTFD2): Likewise.
17977 (__ASSUME_SIGNALFD4): Likewise.
17978 (__ASSUME_DUP3): Likewise.
17979 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17980 (__ASSUME_EVENTFD2): Likewise.
17981 (__ASSUME_SIGNALFD4): Likewise.
17982 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17984 2014-05-12 Andreas Schwab <schwab@suse.de>
17987 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17988 (_nss_nis_gethostbyname4_r): Return error if item length is larger
17989 than maximum RPC packet size.
17990 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17991 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17992 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17993 (_nss_nis_getservbyport_r): Likewise.
17995 2014-05-12 Will Newton <will.newton@linaro.org>
17997 * malloc/Makefile (tests): Add tst-mallopt.
17998 * malloc/tst-mallopt.c: New file.
18000 2014-05-09 Roland McGrath <roland@hack.frob.com>
18002 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18003 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18005 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18007 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18008 (tst-tlsmod6.so): Likewise.
18010 2014-05-09 Roland McGrath <roland@hack.frob.com>
18012 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18014 2014-05-09 Joseph Myers <joseph@codesourcery.com>
18017 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18018 and <dl-procinfo.h>.
18019 (__fegetenv): Save SSE state in envp->__eip if supported.
18020 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18021 envp->__eip if supported.
18022 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18023 and <dl-procinfo.h>.
18024 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18025 __data_offset and __data_selector in environment to 0. Set SSE
18026 state if supported.
18027 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18029 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18031 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18033 2014-05-09 Will Newton <will.newton@linaro.org>
18035 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18036 and libc_relro_required for ARM.
18037 * sysdeps/arm/preconfigure: Regenerate.
18039 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18040 Stefan Liebler <stli@linux.vnet.ibm.com>
18042 * config.make.in (enable-lock-elision): New Makefile variable.
18043 * configure.ac: Likewise.
18044 * configure: Regenerate.
18045 * sysdeps/s390/configure.ac:
18046 Add check for gcc transactions support.
18047 * sysdeps/s390/configure: Regenerate.
18048 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18049 Build elision files if enabled.
18050 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18051 Add lock elision support for s390.
18052 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18053 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18054 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18055 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18056 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18057 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18058 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18060 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18062 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18064 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18066 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18067 (__lll_timedlock_elision, __lll_lock_elision)
18068 (__lll_unlock_elision, __lll_trylock_elision)
18069 (lll_timedlock_elision, lll_lock_elision)
18070 (lll_unlock_elision, lll_trylock_elision): Add.
18071 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18072 (pthread_mutex_t): Add lock elision support for s390.
18074 2014-05-14 Wilco <wdijkstr@arm.com>
18076 * sysdeps/arm/fclrexcpt.c: Cleanup.
18077 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18078 * sysdeps/arm/feenablxcpt.c: Cleanup.
18079 * sysdeps/arm/fegetenv.c: Cleanup.
18080 * sysdeps/arm/fegetexcept.c: Cleanup.
18081 * sysdeps/arm/fegetround.c: Cleanup.
18082 * sysdeps/arm/feholdexcpt.c: Cleanup.
18083 * sysdeps/arm/fesetenv.c: Cleanup.
18084 * sysdeps/arm/fesetround.c: Cleanup.
18085 * sysdeps/arm/feupdateenv.c: Cleanup.
18086 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18087 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18088 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18089 * sysdeps/arm/ftestexcept.c: Cleanup.
18090 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18091 * sysdeps/arm/setfpucw.c: Cleanup.
18093 2014-05-09 Will Newton <will.newton@linaro.org>
18095 * sysdeps/arm/armv7/strcmp.S: New file.
18096 * NEWS: Mention addition of ARMv7 optimized strcmp.
18098 2014-05-08 Roland McGrath <roland@hack.frob.com>
18100 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18101 look for %.ac rather than %.in.
18103 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18104 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18105 * sysdeps/mach/hurd/configure: Regenerated.
18106 * sysdeps/unix/sysv/linux/configure: Regenerated.
18108 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18110 2014-05-07 Steve Ellcey <sellcey@mips.com>
18113 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18117 2014-05-07 Andreas Schwab <schwab@suse.de>
18119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18120 when skipping over non-matching result from nscd.
18122 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
18125 * nptl/sockperf.c (client): Check socket return value.
18128 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18129 nscd security class.
18131 2014-05-06 Roland McGrath <roland@hack.frob.com>
18133 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18134 * sysdeps/arm/unwind.h: ... here.
18136 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18139 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18142 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18144 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18145 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18146 multiarch strncpy for PPC64.
18147 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18148 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18150 multiarch optimizations.
18151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18152 (__libc_ifunc_impl_list): Likewise.
18153 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18154 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18155 multiarch stpncpy for PPC64.
18156 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18157 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18159 2014-05-06 Andreas Schwab <schwab@suse.de>
18162 * gmon/mcount.c (_MCOUNT_DECL): Use
18163 atomic_compare_and_exchange_bool_acq instead of
18164 catomic_compare_and_exchange_bool_acq.
18166 2014-05-05 Roland McGrath <roland@hack.frob.com>
18168 * elf/Makefile (others, install-bin): Remove pldd.
18169 (pldd-modules): Variable removed.
18170 ($(objpfx)pldd): Target removed.
18171 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18172 (others, install-bin): Append pldd here.
18173 ($(objpfx)pldd): New target.
18175 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18176 to 0, so the first #if test emitted later doesn't see it undefined.
18177 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18178 * sysdeps/gnu/errlist.c: Regenerated.
18180 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18182 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18183 [libc_hidden_builtin_def]: Define to empty value.
18184 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18185 [libc_hidden_builtin_def]: Likewise.
18186 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18187 [libc_hidden_builtin_def]: Likewise.
18188 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18189 [libc_hidden_builtin_def]: Likewise.
18190 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18191 __redirect_memcpy and define ifunc as default hidden symbol.
18192 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18193 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18195 2014-05-04 Adam Conrad <adconrad@0c3.net>
18197 * locale/iso-4217.def: Reintroduce XDR currency.
18199 2014-05-04 Allan McRae <allan@archlinux.org>
18201 * po/eo.po: Update Esperanto translation from translation project.
18203 2014-05-02 Carlos O'Donell <carlos@redhat.com>
18205 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18206 and FEATURE_INDEX_MAX to 1.
18207 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18209 2014-05-01 Steve Ellcey <sellcey@mips.com>
18211 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18212 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18213 * iconvdata/big5.c (ONE_DIRECTION): Define.
18214 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18215 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18216 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18217 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18218 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18219 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18220 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18221 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18222 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18223 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18224 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18225 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18226 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18227 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18228 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18229 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18230 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18231 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18232 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18233 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18234 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18235 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18236 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18237 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18238 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18239 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18240 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18241 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18242 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18243 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18244 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18245 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18246 * iconvdata/johab.c (ONE_DIRECTION): Define.
18247 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18248 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18249 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18250 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18251 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18252 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18253 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18254 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18255 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18256 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18258 2014-05-01 Roland McGrath <roland@hack.frob.com>
18260 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18261 (_IO_JUMPS_OFFSET): Define to 0.
18263 * nptl/sysdeps/pthread/bits/libc-lock.h
18264 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18265 (__libc_lock_define_initialized_recursive): Always define using
18266 initializer. Modern compilers treat uninitialized (implicit zero) and
18267 explicit zero initializers the same (i.e. put the datum in bss).
18269 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18271 * nscd/nscd-client.h: Include <string.h>.
18273 2014-05-01 David S. Miller <davem@davemloft.net>
18276 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18277 multiple zero bytes exist at the end of a string.
18278 Reported by Aurelien Jarno <aurelien@aurel32.net>
18280 * string/test-strcmp.c (check): Add explicit test for situations where
18281 there are multiple zero bytes after the first.
18283 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18286 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18287 when compiling wprintf.
18288 * stdio-common/tstdiomisc.c (t3): New function.
18291 2014-05-01 Steve Ellcey <sellcey@mips.com>
18293 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18294 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18295 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18296 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18298 2014-05-01 Steve Ellcey <sellcey@mips.com>
18300 * stdlib/longlong.h: Updated from GCC.
18302 2014-05-01 Will Newton <will.newton@linaro.org>
18303 Bernard Ogden <bernie.ogden@linaro.org>
18305 * NEWS: Update fixed bug list.
18308 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18310 2014-04-30 David S. Miller <davem@davemloft.net>
18312 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18313 (libc_feholdexcept_setround_sparc_ctx): New function.
18314 (libc_fesetenv_sparc_ctx): Likewise.
18315 (libc_feupdateenv_sparc_ctx): Likewise.
18316 (libc_feholdsetround_sparc_ctx): Likewise.
18317 (libc_feholdexcept_setround_ctx): Define.
18318 (libc_feholdexcept_setroundf_ctx): Likewise.
18319 (libc_feholdexcept_setroundl_ctx): Likewise.
18320 (libc_fesetenv_ctx): Likewise.
18321 (libc_fesetenvf_ctx): Likewise.
18322 (libc_fesetenvl_ctx): Likewise.
18323 (libc_feupdateenv_ctx): Likewise.
18324 (libc_feupdateenvf_ctx): Likewise.
18325 (libc_feupdateenvl_ctx): Likewise.
18326 (libc_feresetround_ctx): Likewise.
18327 (libc_feresetroundf_ctx): Likewise.
18328 (libc_feresetroundl_ctx): Likewise.
18329 (libc_feholdsetround_ctx): Likewise.
18330 (libc_feholdsetroundf_ctx): Likewise.
18331 (libc_feholdsetroundl_ctx): Likewise.
18333 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18334 with __USE_GNU instead of XOPEN cpp guards.
18336 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18339 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18340 with XOPEN cpp guards.
18342 2014-04-30 Julian Brown <julian@codesourcery.com>
18345 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18348 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18351 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18353 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18354 * sysdeps/unix/sysv/linux/configure: Regenerated.
18355 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18356 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18357 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18358 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18359 * README: Update reference to required Linux kernel version.
18360 * manual/install.texi (Linux): Update reference to required Linux
18361 kernel headers version.
18362 * INSTALL: Regenerated.
18364 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18366 [POSIX] (limits.h): Likewise.
18367 [POSIX] (math.h): Likewise.
18368 [POSIX] (sys/wait.h): Likewise.
18369 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18371 [POSIX] (stddef.h): Do not allow header inclusion.
18373 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18375 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18377 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18379 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18380 Return immediately after lll_futex_wake.
18382 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18385 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18387 (datahead_init_pos): Call datahead_init_common early.
18388 (datahead_init_neg): Likewise.
18390 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18391 datahead_init_neg): New functions.
18392 * nscd/aicache.c (addhstaiX): Use them.
18393 * nscd/grpcache.c (cache_addgr): Likewise.
18394 * nscd/hstcache.c (cache_addhst): Likewise.
18395 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18396 * nscd/netgroupcache.c (do_notfound): Likewise.
18397 (addgetnetgrentX): Likewise.
18398 (addinnetgrX): Likewise.
18399 * nscd/pwdcache.c (cache_addpw): Likewise.
18400 * nscd/servicescache.c (cache_addserv): Likewise.
18402 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18403 Atsushi Onoe <atsushi@onoe.org>
18408 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18409 one response is valid.
18410 * resolv/res_send.c (send_dg): Check for validity of other
18411 response if the current response is a referral.
18413 2014-04-29 Steve Ellcey <sellcey@mips.com>
18415 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18417 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18420 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18421 Always divide by positive zero when computing -Inf result.
18422 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18423 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18425 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18427 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18428 FPSCR if value do not change.
18429 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18430 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18431 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18432 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18433 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18434 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18437 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18439 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18440 * sysdeps/unix/sysv/linux/hppa: Move directory from
18441 ports/systeps/unix/sysv/linux/hppa.
18442 * README: Update listing for hppa-*-linux-gnu.
18444 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
18447 * manual/stdio.texi (Hook functions): Fix types of stream hook
18450 * socket/sys/socket.h: Fix typo in comment.
18452 2014-04-28 Wilco <wdijkstr@arm.com>
18454 * sysdeps/arm/fenv_private.h: New file.
18455 * sysdeps/arm/math_private.h: New file.
18456 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18458 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18460 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18462 (La_x86_64_retval): Likewise.
18464 2014-04-24 Ian Bolton <ian.bolton@arm.com>
18466 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18467 fpsr if value didn't change.
18468 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18469 to fpcr if value didn't change.
18470 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18471 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18472 fpsr or fpcr if value didn't change.
18473 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18474 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18475 fpcr if value didn't change.
18476 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18477 to fpsr if value didn't change.
18479 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18481 * nptl/tst-sem3.c: Use test-skeleton.c
18482 (main): Rename to do_test. Use return instead of
18484 * nptl/tst-sem4.c: Use test-skeleton.c
18485 (main): Rename to do_test.
18487 2014-04-22 David S. Miller <davem@davemloft.net>
18489 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18490 (struct sigaction): New struct member __glibc_reserved0, change
18491 type of sa_flags to int.
18493 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18495 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18496 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18498 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18500 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18501 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18503 2014-04-22 Will Newton <will.newton@linaro.org>
18504 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18506 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18507 (__longjmp): Add longjmp and longjmp_target SystemTap
18509 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18510 (__sigsetjmp): Add setjmp SystemTap probe.
18512 2014-04-17 Carlos O'Donell <carlos@redhat.com>
18514 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18515 match manual order.
18517 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18519 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18521 * sysdeps/powerpc/fpu/fenv_private.h
18522 (libc_feholdexcept_setroundl_ctx): Define to
18523 libc_feholdexcept_setround_ppc_ctx.
18524 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18525 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18526 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18527 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18529 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18531 * sysdeps/aarch64/math-tests.h: New file.
18533 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18535 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18538 Check and set bit_AVX2_Usable.
18539 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18541 (bit_AVX2): Likewise.
18542 (index_AVX2_Usable): Likewise.
18543 (CPUID_AVX2): Likewise.
18544 (HAS_AVX2): Likewise.
18546 2014-04-17 Will Newton <will.newton@linaro.org>
18548 * manual/setjmp.texi (System V contexts): Add note that
18549 calling setcontext on a context created by a call to a
18550 signal handler is undefined. Update text to note that
18551 setcontext from a signal handler is possible but not
18555 * stdlib/tst-setcontext.c: Include signal.h.
18556 (main): Check that the signal stack before and
18557 after swapcontext is the same.
18559 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18560 Re-implement to restore registers in user code and avoid
18561 rt_sigreturn system call.
18563 2014-04-17 Wilco <wdijkstr@arm.com>
18565 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18566 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18567 * math/test-fenv.c: Skip exception trap tests on targets which only
18568 support non-stop mode.
18570 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18571 Wilco Dijkstra <wilco.dijkstra@arm.com>
18573 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18574 (libc_feholdsetround_aarch64_ctx)
18575 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18576 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18577 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18578 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18579 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18580 (libc_feresetround_noexl_ctx): Define.
18582 2014-04-16 Richard Henderson <rth@redhat.com>
18584 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18586 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18589 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18590 const from the non-libc, non-ldso copy.
18592 * sysdeps/alpha/libm-test-ulps: Regenerate.
18594 2014-04-16 Ian Bolton <ian.bolton@arm.com>
18595 Wilco Dijkstra <wilco.dijkstra@arm.com>
18597 * sysdeps/aarch64/fpu/math_private.h: New file.
18599 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18601 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18603 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18606 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18607 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18609 Intel MPX bound registers before _dl_profile_fixup.
18610 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18611 registers after _dl_profile_fixup. Save and restore bound
18612 registers bnd0/bnd1 when calling _dl_call_pltexit.
18613 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18614 (LR_BND_OFFSET): Likewise.
18615 (LRV_BND0_OFFSET): Likewise.
18616 (LRV_BND1_OFFSET): Likewise.
18618 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18620 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18622 * sysdeps/mach/hurd/i386/tls.h: ... here.
18623 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18624 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18627 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18629 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18631 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18633 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18635 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18638 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18639 * sysdeps/s390/configure: Regenerate.
18642 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18643 Set round-to-nearest internally to reduce error accumulation.
18645 2014-04-16 Alan Modra <amodra@gmail.com>
18649 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18650 * math/libm-test.inc (frexp_test_data): Add tests.
18651 * NEWS: Update fixed bug list.
18653 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18655 * benchtests/Makefile: Depend on libraries in build directory.
18656 (bench-math): Separate out math tests.
18657 (bench-pthread): Separate out pthread tests.
18658 (bench): Include math and pthread tests.
18660 2014-04-14 Carlos O'Donell <carlos@redhat.com>
18663 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18664 _dl_debug_initialize.
18666 * configure.ac: Remove SELinux header check.
18667 * configure: Regenerate.
18668 * nscd/selinux.c (perms): Array of const char* to permission names.
18669 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18670 default policy. Call string_to_security_class and string_to_av_perm to
18671 translate strings. Enforce default policy and call avs_has_perm with
18672 results of translated strings.
18674 2014-04-13 David S. Miller <davem@davemloft.net>
18676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18678 2014-04-12 Allan McRae <allan@archlinux.org>
18681 * manual/string.texi (Collation Functions): Fix qsort argument
18683 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18685 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18687 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18688 Make the test a no-op if there are no exceptions defined.
18690 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18692 * elf/Makefile (tests): make tst-dlopen-aout conditional on
18693 enable-hardcoded-path-in-tests
18695 2014-04-11 Will Newton <will.newton@linaro.org>
18697 * benchtests/Makefile (extra-objs): Add json-lib.o.
18698 (bench-func): Tidy up JSON output.
18699 * benchtests/bench-skeleton.c: Include json-lib.h.
18700 (main): Use JSON library functions to do output of
18702 * benchtests/bench-timing-type.c (main): Output the
18703 timing type simply, leaving formatting to the user.
18704 * benchtests/json-lib.c: New file.
18705 * benchtests/json-lib.h: Likewise.
18707 2014-04-11 Torvald Riegel <triegel@redhat.com>
18710 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18711 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18712 memory barriers. Add comments.
18713 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18714 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18715 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18716 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18717 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18718 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18720 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18722 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18723 * sysdeps/s390/s390-64/configure.ac: ... this ...
18724 * sysdeps/s390/configure.ac: ... to here.
18725 * sysdeps/s390/s390-32/configure: Delete file.
18726 * sysdeps/s390/s390-64/configure: Delete file.
18727 * sysdeps/s390/configure: Regenerate.
18729 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18731 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18733 2014-04-11 Will Newton <will.newton@linaro.org>
18735 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18736 to zero if it is not defined elsewhere. (mtrim): Test
18737 the value of MALLOC_DEBUG with #if rather than #ifdef.
18739 2014-04-10 Torvald Riegel <triegel@redhat.com>
18741 * benchtests/pthread_once-inputs: New file.
18742 * benchtests/pthread_once-source.c: New file.
18743 * benchtests/README: Update documentation.
18745 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18746 H.J. Lu <hongjiu.lu@intel.com>
18749 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18750 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18751 * sysdeps/x86_64/configure: Regenerated.
18752 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18754 (REGISTER_SAVE_RAX): Likewise.
18755 (REGISTER_SAVE_RCX): Likewise.
18756 (REGISTER_SAVE_RDX): Likewise.
18757 (REGISTER_SAVE_RSI): Likewise.
18758 (REGISTER_SAVE_RDI): Likewise.
18759 (REGISTER_SAVE_R8): Likewise.
18760 (REGISTER_SAVE_R9): Likewise.
18761 (REGISTER_SAVE_BND0): Likewise.
18762 (REGISTER_SAVE_BND1): Likewise.
18763 (REGISTER_SAVE_BND2): Likewise.
18764 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18765 bound registers when calling _dl_fixup.
18767 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18769 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18770 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18772 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18773 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18774 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18775 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18776 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18777 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18778 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18780 2014-04-09 Peter Brett <peter@peter-b.co.uk>
18783 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18784 pathconf(_PC_NAME_MAX).
18786 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18788 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18789 Remove macro usage.
18790 (__PTHREAD_SPINS): Move definition to ...
18791 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18792 (__PTHREAD_SPINS): ... here.
18793 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18794 (__PTHREAD_SPIN): Likewise.
18795 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18796 (__PTHREAD_SPIN): Likewise.
18797 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18798 (__PTHREAD_SPIN): Likewise.
18799 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18800 (__PTHREAD_SPIN): Likewise.
18801 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18802 (__PTHREAD_SPIN): Likewise.
18803 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18804 (__PTHREAD_SPIN): Likewise.
18805 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18806 (__PTHREAD_SPIN): Likewise.
18807 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18808 (__PTHREAD_SPIN): Likewise.
18809 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18810 (__PTHREAD_SPIN): Likewise.
18811 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18812 (__PTHREAD_SPIN): Likewise.
18813 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18814 (__PTHREAD_SPIN): Likewise.
18815 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18816 (__PTHREAD_SPIN): Likewise.
18818 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18819 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18820 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18821 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18823 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18824 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18825 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18826 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18827 correct imply path.
18828 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18829 strlen symbol for non multi-arch builds.
18830 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18831 missing hidden_def and weak_alias.
18833 2014-04-08 Carlos O'Donell <carlos@redhat.com>
18835 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18837 2014-04-07 Will Newton <will.newton@linaro.org>
18839 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18840 and contents. [!_LIBC] Remove #ifndef and contents.
18841 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
18842 * string/memccpy.c (__memccpy): Use ANSI prototype.
18843 * string/memfrob.c (memfrob): Likewise.
18844 * string/strcoll.c (STRCOLL): Likewise.
18845 * string/strlen.c (strlen): Likewise.
18846 * string/strtok.c (STRTOK): Likewise.
18847 * string/strcat.c: Remove unused #include of memcopy.h.
18848 (strcat): Use ANSI prototype.
18849 * string/strchr.c: Remove unused #include of memcopy.h.
18850 (strchr): Use ANSI prototype.
18851 * string/strcmp.c: Remove unused #include of memcopy.h.
18852 (strcmp): Use ANSI prototype.
18853 * string/strcpy.c: Remove unused #include of memcopy.h.
18854 (strcpy): Use ANSI prototype.
18856 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18858 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18859 * config.make.in (config-extra-cppflags): Set it from
18860 libc_extra_cppflags.
18861 * configure.ac (libc_extra_cflags): Make it accumulate over
18862 configure fragments.
18863 (libc_extra_cppflags): New flag.
18864 * configure. Regenerate.
18865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18866 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18867 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18871 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18872 result for FE_DOWNWARD rounding mode.
18873 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18877 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
18879 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18880 in function argument name.
18882 2014-04-03 David Svoboda <svoboda@cert.org>
18885 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18888 2014-04-03 Roland McGrath <roland@hack.frob.com>
18890 * elf/dl-unmap-segments.h: New file.
18891 * sysdeps/generic/ldsodefs.h
18892 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18893 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18894 * elf/dl-fptr.c: Likewise.
18895 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18896 * sysdeps/aarch64/tlsdesc.c: Likewise.
18897 * sysdeps/arm/tlsdesc.c: Likewise.
18898 * sysdeps/i386/tlsdesc.c: Likewise.
18899 * sysdeps/tile/dl-runtime.c: Likewise.
18900 * sysdeps/x86_64/tlsdesc.c: Likewise.
18901 * elf/dl-load.h: New file.
18902 * elf/dl-load.c: Include it.
18903 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18904 Macros moved to dl-load.h.
18905 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18906 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18907 Use _dl_unmap_segments in place of __munmap.
18908 Break out segment-mapping loop into ...
18909 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18911 2014-04-03 Will Newton <will.newton@linaro.org>
18913 * elf/dl-lookup.c (do_lookup_x): Remove comment
18914 referring to nested function and move variable
18915 declarations down to before first use.
18917 2014-04-02 Joseph Myers <joseph@codesourcery.com>
18921 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18923 * math/s_catanf.c (__catanf): Likewise.
18924 * math/s_catanh.c (__catanh): Likewise.
18925 * math/s_catanhf.c (__catanhf): Likewise.
18926 * math/s_catanhl.c (__catanhl): Likewise.
18927 * math/s_catanl.c (__catanl): Likewise.
18928 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18929 by positive zero when computing -Inf result.
18930 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18931 (catanh_test): Likewise.
18932 * sysdeps/i386/fpu/libm-test-ulps: Update.
18933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18936 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18937 instead of using underflowing value in computing result.
18938 * math/s_clog10.c (__clog10): Likewise.
18939 * math/s_clog10f.c (__clog10f): Likewise.
18940 * math/s_clog10l.c (__clog10l): Likewise.
18941 * math/s_clogf.c (__clogf): Likewise.
18942 * math/s_clogl.c (__clogl): Likewise.
18943 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18944 (clog10_test): Likewise.
18945 * sysdeps/i386/fpu/libm-test-ulps: Update.
18946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18948 2014-04-02 Alan Modra <amodra@gmail.com>
18951 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18952 output when value is near a power of two. Use int64_t for lx and
18953 remove casts. Use decimal rather than hex exponent constants.
18954 Don't use long double multiplication when double will suffice.
18955 * math/libm-test.inc (nextafter_test_data): Add tests.
18956 * NEWS: Add 16739 and 16786 to bug list.
18958 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18960 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18962 2014-04-01 Will Newton <will.newton@linaro.org>
18964 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18965 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
18967 2014-04-01 Florian Weimer <fweimer@redhat.com>
18970 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18971 * nptl/tst-setuid2.c: New file.
18972 * nptl/Makefile (xtests): Add tst-setuid2.
18974 2014-04-01 Alan Modra <amodra@gmail.com>
18977 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18979 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18983 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18984 set errno as appropriate.
18985 * math/w_scalbf.c (__scalbf): Likewise.
18986 * math/w_scalbl.c (__scalbl): Likewise.
18987 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18988 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18989 * math/libm-test.inc (scalb_test_data): Add errno expectations.
18990 Add more NaN tests.
18993 * math/w_atan2.c: Include <errno.h>.
18994 (__atan2): Set errno for result underflowing to zero.
18995 * math/w_atan2f.c: Include <errno.h>.
18996 (__atan2f): Set errno for result underflowing to zero.
18997 * math/w_atan2l.c: Include <errno.h>.
18998 (__atan2l): Set errno for result underflowing to zero.
18999 * math/auto-libm-test-in: Don't allow missing errno for some atan2
19001 * math/auto-libm-test-out: Regenerated.
19003 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19005 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19006 Encode instruction correctly in little endian.
19007 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19009 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19011 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19013 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19016 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19019 * sysdeps/unix/sysv/linux/kernel-features.h
19020 [__sparc__ && !__arch64__ && !__sparc_v9__]
19021 (__ASSUME_SET_ROBUST_LIST): Do not define.
19022 [__sparc__ && !__arch64__ && !__sparc_v9__]
19023 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19024 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19026 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19027 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19028 (__ASSUME_REQUEUE_PI): Likewise.
19029 (__ASSUME_SET_ROBUST_LIST): Likewise.
19030 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19031 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19033 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19034 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19036 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19038 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19040 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19041 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19043 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19044 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19048 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19049 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19050 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19052 2014-03-31 Will Newton <will.newton@linaro.org>
19054 * benchtests/Makefile (bench): Add ffs and ffsll to list
19056 * benchtests/ffs-inputs: New file.
19057 * benchtests/ffsll-inputs: Likewise.
19059 2014-03-29 Joseph Myers <joseph@codesourcery.com>
19062 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19063 too large before casting to int.
19064 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19065 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19066 * math/libm-test.inc (scalb_test_data): Add more tests.
19068 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19070 * benchtests/Makefile (DETAILED_OPT): New make option.
19071 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19073 * benchtests/bench-skeleton.c: Include stdbool.h.
19074 (main): Store and print timings per input.
19075 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19076 member to each argument value.
19077 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19078 (_print_arg_data): Initialize per-input timing to 0.
19080 * benchtests/Makefile (timing-type): New binary.
19081 (bench-clean): Also remove bench-timing-type.
19082 (bench): New target for timing-type.
19083 (bench-func): Print output in JSON format.
19084 * benchtests/bench-skeleton.c (main): Print output in JSON
19086 * benchtests/bench-timing-type.c: New file.
19087 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19088 (TIMING_PRINT_STATS): Remove.
19089 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19092 * benchtests/bench-modf.c: Remove.
19093 * benchtests/modf-inputs: New inputs file.
19095 2014-03-28 Joseph Myers <joseph@codesourcery.com>
19098 * math/s_clog10.c (M_PI_LOG10E): New macro.
19099 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19100 imaginary parts are 0.
19101 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19102 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19103 imaginary parts are 0.
19104 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19105 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19106 imaginary parts are 0.
19107 * math/libm-test.inc (clog10_test_data): Update expected results
19108 for when real and imaginary parts are 0.
19110 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19112 * elf/dl-load.c: Finish conversion of __builtin_expect into
19113 __glibc_{un}likely.
19115 2014-03-27 Joseph Myers <joseph@codesourcery.com>
19118 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19119 1+x for argument with exponent below -67.
19120 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19122 * math/auto-libm-test-in: Add more tests of exp.
19123 * math/auto-libm-test-out: Regenerated.
19125 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19128 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19129 (nscd_getnetgrent): Use it.
19132 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19135 2014-03-27 Andi Kleen <ak@linux.intel.com>
19137 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19138 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19139 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19140 (lll_robust_unlock): Remove out of line section. Use cfi
19142 (LLL_STUB_UNWIND_INFO*): Remove.
19143 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19144 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19145 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19146 (lll_robust_unlock): Remove out of line section. Use cfi
19148 (LLL_STUB_UNWIND_INFO*): Remove.
19150 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19153 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19156 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19158 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19160 2014-03-26 Joseph Myers <joseph@codesourcery.com>
19163 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19165 * math/test-fenv-preserve.c: New file.
19166 * math/Makefile (tests): Add test-fenv-preserve.
19168 2014-03-26 Will Newton <will.newton@linaro.org>
19170 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19172 2014-03-25 Roland McGrath <roland@hack.frob.com>
19174 * scripts/versionlist.awk: Partition the version sets and emit all
19175 GLIBC_* (sorted) before all others (sorted).
19177 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19179 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19180 GLIBC_2.2.5 version.
19182 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19184 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19187 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19192 2014-03-25 Andreas Schwab <schwab@suse.de>
19194 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19195 label to be used after in6ailist is initialized.
19197 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19199 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19200 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19202 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19206 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19208 (fp_formats): Update initializers.
19209 (init_fp_formats): Initialize new field.
19210 (output_for_one_input_case): Allow underflow for results up to
19212 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19213 * math/auto-libm-test-in: Don't mark some underflows from asin and
19215 * math/auto-libm-test-out: Regenerated.
19216 * sysdeps/i386/fpu/libm-test-ulps: Update.
19217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19219 2014-03-25 Andreas Schwab <schwab@suse.de>
19221 * libio/Makefile (tst-ftell-partial-wide-ENV)
19222 (tst-ftell-active-handler-ENV): Define.
19224 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19226 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19228 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19230 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19232 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19234 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19235 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19236 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19238 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19241 * elf/dl-load.c (open_verify): Add mode parameter.
19242 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19243 (open_path): Change from boolean 'secure' to complete flag 'mode'
19244 (_dl_map_object): Adjust.
19245 * elf/Makefile (tests): Add tst-dlopen-aout.
19246 * elf/tst-dlopen-aout.c: New test.
19248 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19251 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19252 (struct stat): Rename member pad0 to __glibc_reserved0.
19255 * sysdeps/s390/s390-32/bits/wordsize.h
19256 (__WORDSIZE32_SIZE_ULONG): New define.
19257 * sysdeps/s390/s390-64/bits/wordsize.h
19258 (__WORDSIZE32_SIZE_ULONG): Likewise.
19259 * sysdeps/generic/stdint.h (SIZE_MAX):
19260 Define as UL if __WORDSIZE32_SIZE_ULONG.
19263 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19264 (__glibc_reserved0): New variable.
19265 (sa_flags): Change type to int.
19267 * posix/Makefile (before-compile): Use += before-compile instead
19270 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19271 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19273 2014-03-20 Andreas Schwab <schwab@suse.de>
19276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19277 non-matching result from nscd.
19279 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19281 * scripts/bench.py: Moved to ...
19282 * benchtests/scripts/bench.py: ... here.
19283 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19285 2014-03-24 Andreas Schwab <schwab@suse.de>
19288 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19289 alloca_account and account alloca use for struct in6ailist.
19291 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19294 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19295 rounding mode to recompute results that overflow to infinity or
19297 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19299 * math/auto-libm-test-out: Regenerated.
19300 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19301 (ccosh_test): Likewise.
19302 (csin_test_data): Use plus_oflow.
19303 (csin_test): Use ALL_RM_TEST.
19304 (csinh_test_data): Use plus_oflow.
19305 (csinh_test): Use ALL_RM_TEST.
19306 * sysdeps/i386/fpu/libm-test-ulps: Update.
19307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19309 2014-03-21 Joseph Myers <joseph@codesourcery.com>
19311 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19312 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19313 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19316 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19317 when x - 1 is zero.
19318 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19319 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19320 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19321 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19323 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19324 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19326 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19327 * sysdeps/i386/fpu/libm-test-ulps: Update.
19328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19330 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19332 * scripts/bench.pl: Remove file.
19333 * scripts/bench.py: New benchmark script.
19334 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19335 * benchtests/README: Mention python dependency.
19336 * scripts/pylintrc: New file.
19337 * scripts/pylint: New file.
19339 * bits/mathdef.h: Use #ifdef instead of #if.
19340 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19341 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19342 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19343 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19344 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19345 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19347 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19348 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19350 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19351 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19352 and strpbrk-ppc64 objects.
19353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19354 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19355 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19356 multiarch strpbrk for POWER7.
19357 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19358 multiarch strpbrk for PPC64.
19359 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19361 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19362 strpbrk for POWER7.
19364 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19366 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19367 (atan_test): Likewise.
19368 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19369 (atanh_test): Use ALL_RM_TEST.
19370 (atan2_test_data): Likewise.
19371 (cabs_test): Likewise.
19372 (cacosh_test): Likewise.
19373 (carg_test): Likewise.
19374 (casin_test): Likewise.
19375 (casinh_test): Likewise.
19376 (cbrt_test): Likewise.
19377 (csqrt_test): Likewise.
19378 (erf_test): Likewise.
19379 (erfc_test): Likewise.
19380 (pow10_test): Likewise.
19381 (exp2_test): Likewise.
19382 (hypot_test): Likewise.
19383 (j0_test): Likewise.
19384 (j1_test): Likewise.
19385 (lgamma_test): Likewise.
19386 (gamma_test): Likewise.
19387 (sincos_test): Likewise.
19388 (tanh_test): Likewise.
19389 (y0_test): Likewise.
19390 (y1_test): Likewise.
19391 * sysdeps/i386/fpu/libm-test-ulps: Update.
19392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19394 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19396 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19398 and strcspn-ppc64 objects.
19399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19400 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19401 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19402 multiarch strcspn for POWER7.
19403 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19404 multiarch strcspn for PPC64.
19405 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19407 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19408 strcspn for POWER7.
19410 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19412 * math/gen-libm-test.pl (generate_testfile): Expect only function
19413 name as argument to AUTO_TESTS_* and pass results for all rounding
19414 modes to parse_args.
19415 (parse_auto_input): Separate inputs of automatic tests from
19416 outputs before storing in %auto_tests.
19417 * math/libm-test.inc (acos_test_data): Update call to
19419 (acos_test): Use ALL_RM_TEST.
19420 (acos_tonearest_test_data): Remove.
19421 (acos_test_tonearest): Likewise.
19422 (acos_towardzero_test_data): Likewise.
19423 (acos_test_towardzero): Likewise.
19424 (acos_downward_test_data): Likewise.
19425 (acos_test_downward): Likewise.
19426 (acos_upward_test_data): Likewise.
19427 (acos_test_upward): Likewise.
19428 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19429 (asin_test_data): Likewise.
19430 (asin_test): Use ALL_RM_TEST.
19431 (asin_tonearest_test_data): Remove.
19432 (asin_test_tonearest): Likewise.
19433 (asin_towardzero_test_data): Likewise.
19434 (asin_test_towardzero): Likewise.
19435 (asin_downward_test_data): Likewise.
19436 (asin_test_downward): Likewise.
19437 (asin_upward_test_data): Likewise.
19438 (asin_test_upward): Likewise.
19439 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19440 (atan_test_data): Likewise.
19441 (atanh_test_data): Likewise.
19442 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19443 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19444 (carg_test_data): Likewise.
19445 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19446 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19447 (ccosh_test_data): Likewise.
19448 (cexp_test_data): Likewise.
19449 (clog_test_data): Likewise.
19450 (clog10_test_data): Likewise.
19451 (cos_test_data): Update call to AUTO_TESTS_f_f.
19452 (cos_test): Use ALL_RM_TEST.
19453 (cos_tonearest_test_data): Remove.
19454 (cos_test_tonearest): Likewise.
19455 (cos_towardzero_test_data): Likewise.
19456 (cos_test_towardzero): Likewise.
19457 (cos_downward_test_data): Likewise.
19458 (cos_test_downward): Likewise.
19459 (cos_upward_test_data): Likewise.
19460 (cos_test_upward): Likewise.
19461 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19462 (cosh_test): Use ALL_RM_TEST.
19463 (cosh_tonearest_test_data): Remove.
19464 (cosh_test_tonearest): Likewise.
19465 (cosh_towardzero_test_data): Likewise.
19466 (cosh_test_towardzero): Likewise.
19467 (cosh_downward_test_data): Likewise.
19468 (cosh_test_downward): Likewise.
19469 (cosh_upward_test_data): Likewise.
19470 (cosh_test_upward): Likewise.
19471 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19472 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19473 (ctan_test_data): Likewise.
19474 (ctan_test): Use ALL_RM_TEST.
19475 (ctan_tonearest_test_data): Remove.
19476 (ctan_test_tonearest): Likewise.
19477 (ctan_towardzero_test_data): Likewise.
19478 (ctan_test_towardzero): Likewise.
19479 (ctan_downward_test_data): Likewise.
19480 (ctan_test_downward): Likewise.
19481 (ctan_upward_test_data): Likewise.
19482 (ctan_test_upward): Likewise.
19483 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19484 (ctanh_test): Use ALL_RM_TEST.
19485 (ctanh_tonearest_test_data): Remove.
19486 (ctanh_test_tonearest): Likewise.
19487 (ctanh_towardzero_test_data): Likewise.
19488 (ctanh_test_towardzero): Likewise.
19489 (ctanh_downward_test_data): Likewise.
19490 (ctanh_test_downward): Likewise.
19491 (ctanh_upward_test_data): Likewise.
19492 (ctanh_test_upward): Likewise.
19493 (erf_test_data): Update call to AUTO_TESTS_f_f.
19494 (erfc_test_data): Likewise.
19495 (exp_test_data): Likewise.
19496 (exp_test): Use ALL_RM_TEST.
19497 (exp_tonearest_test_data): Remove.
19498 (exp_test_tonearest): Likewise.
19499 (exp_towardzero_test_data): Likewise.
19500 (exp_test_towardzero): Likewise.
19501 (exp_downward_test_data): Likewise.
19502 (exp_test_downward): Likewise.
19503 (exp_upward_test_data): Likewise.
19504 (exp_test_upward): Likewise.
19505 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19506 (exp10_test): Use ALL_RM_TEST.
19507 (exp10_tonearest_test_data): Remove.
19508 (exp10_test_tonearest): Likewise.
19509 (exp10_towardzero_test_data): Likewise.
19510 (exp10_test_towardzero): Likewise.
19511 (exp10_downward_test_data): Likewise.
19512 (exp10_test_downward): Likewise.
19513 (exp10_upward_test_data): Likewise.
19514 (exp10_test_upward): Likewise.
19515 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19516 (expm1_test_data): Likewise.
19517 (expm1_test): Use ALL_RM_TEST.
19518 (expm1_tonearest_test_data): Remove.
19519 (expm1_test_tonearest): Likewise.
19520 (expm1_towardzero_test_data): Likewise.
19521 (expm1_test_towardzero): Likewise.
19522 (expm1_downward_test_data): Likewise.
19523 (expm1_test_downward): Likewise.
19524 (expm1_upward_test_data): Likewise.
19525 (expm1_test_upward): Likewise.
19526 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19527 (fma_test): Use ALL_RM_TEST.
19528 (fma_towardzero_test_data): Remove.
19529 (fma_test_towardzero): Likewise.
19530 (fma_downward_test_data): Likewise.
19531 (fma_test_downward): Likewise.
19532 (fma_upward_test_data): Likewise.
19533 (fma_test_upward): Likewise.
19534 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19535 (j0_test_data): Update call to AUTO_TESTS_f_f.
19536 (j1_test_data): Likewise.
19537 (jn_test_data): Update call to AUTO_TESTS_if_f.
19538 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19539 (log_test_data): Update call to AUTO_TESTS_f_f.
19540 (log10_test_data): Likewise.
19541 (log1p_test_data): Likewise.
19542 (log2_test_data): Likewise.
19543 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19544 (pow_tonearest_test_data): Likewise.
19545 (sin_test_data): Update call to AUTO_TESTS_f_f.
19546 (sin_test): Use ALL_RM_TEST.
19547 (sin_tonearest_test_data): Remove.
19548 (sin_test_tonearest): Likewise.
19549 (sin_towardzero_test_data): Likewise.
19550 (sin_test_towardzero): Likewise.
19551 (sin_downward_test_data): Likewise.
19552 (sin_test_downward): Likewise.
19553 (sin_upward_test_data): Likewise.
19554 (sin_test_upward): Likewise.
19555 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19556 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19557 (sinh_test): Use ALL_RM_TEST.
19558 (sinh_tonearest_test_data): Remove.
19559 (sinh_test_tonearest): Likewise.
19560 (sinh_towardzero_test_data): Likewise.
19561 (sinh_test_towardzero): Likewise.
19562 (sinh_downward_test_data): Likewise.
19563 (sinh_test_downward): Likewise.
19564 (sinh_upward_test_data): Likewise.
19565 (sinh_test_upward): Likewise.
19566 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19567 (sqrt_test): Use ALL_RM_TEST.
19568 (sqrt_tonearest_test_data): Remove.
19569 (sqrt_test_tonearest): Likewise.
19570 (sqrt_towardzero_test_data): Likewise.
19571 (sqrt_test_towardzero): Likewise.
19572 (sqrt_downward_test_data): Likewise.
19573 (sqrt_test_downward): Likewise.
19574 (sqrt_upward_test_data): Likewise.
19575 (sqrt_test_upward): Likewise.
19576 (tan_test_data): Update call to AUTO_TESTS_f_f.
19577 (tan_test): Use ALL_RM_TEST.
19578 (tan_tonearest_test_data): Remove.
19579 (tan_test_tonearest): Likewise.
19580 (tan_towardzero_test_data): Likewise.
19581 (tan_test_towardzero): Likewise.
19582 (tan_downward_test_data): Likewise.
19583 (tan_test_downward): Likewise.
19584 (tan_upward_test_data): Likewise.
19585 (tan_test_upward): Likewise.
19586 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19587 (tgamma_test_data): Likewise.
19588 (y0_test_data): Likewise.
19589 (y1_test_data): Likewise.
19590 (yn_test_data): Update call to AUTO_TESTS_if_f.
19591 (main): Do not call removed functions.
19593 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19595 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19596 (ldexp_test_data): Remove.
19597 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19599 (scalb_test): Use ALL_RM_TEST.
19601 2014-03-19 Andreas Schwab <schwab@suse.de>
19603 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19605 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19608 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19609 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19610 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19611 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19612 (__ASSUME_PREADV): Undefine.
19613 (__ASSUME_PWRITEV): Likewise.
19615 2014-03-18 Roland McGrath <roland@hack.frob.com>
19617 * bits/mman-linux.h: Add comment about non-Linux use.
19618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19619 bits/mman-linux.h resting place.
19621 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19622 * bits/mman-linux.h: ... here.
19624 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19626 * conform/conformtest.pl: Add standard definition when calling C
19627 preprocessor on data files.
19628 (checknamespace): Remove unused variable.
19630 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19632 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19633 minus_oflow, plus_uflow and minus_uflow in expected results.
19634 * math/libm-test.inc (scalbn_test_data): Add more tests of
19635 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19637 (scalbn_test): Use ALL_RM_TEST.
19638 (scalbln_test_data): Add more tests of negative arguments. Use
19639 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19640 (scalbln_test): Use ALL_RM_TEST.
19642 2014-03-18 Roland McGrath <roland@hack.frob.com>
19644 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19646 2014-03-18 Will Newton <will.newton@linaro.org>
19648 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19649 inaccurate comment.
19651 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19653 * Makerules [!subdir] (check-abi): Exit with error status if a
19656 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19658 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19659 for rint. Include results for all rounding modes.
19660 (nearbyint_test): Use ALL_RM_TEST.
19661 (rint_test_data): Include all tests used for nearbyint.
19663 2014-03-17 Will Newton <will.newton@linaro.org>
19665 * nptl/sysdeps/pthread/pthread.h: Revert previous
19668 * sysdeps/generic/ldsodefs.h: Revert previous
19671 * libio/genops.c: Revert previous change.
19672 * libio/libioP.h: Likewise.
19673 * stdio-common/vfprintf.c: Likewise.
19675 * sysdeps/generic/math_private.h: Revert previous
19678 * sysdeps/generic/math_private.h: Check whether
19679 HAVE_RM_CTX is defined with #ifdef rather
19682 * argp/argp-fmtstream.h: Check whether
19683 __STRICT_ANSI__ is defined with #ifdef rather
19685 * argp/argp.h: Likewise.
19687 * libio/genops.c: Check whether
19688 _IO_JUMPS_OFFSET is defined with #ifdef rather
19690 * libio/libioP.h: Likewise.
19691 * stdio-common/vfprintf.c: Likewise.
19693 * sysdeps/generic/ldsodefs.h: Check whether
19694 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19697 * nptl/sysdeps/pthread/pthread.h: Check
19698 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19701 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19703 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19705 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19709 * libio/fileops.c (_IO_file_open): Seek to end of file but
19710 don't cache the offset.
19711 (get_file_offset): Remove function.
19712 (do_ftell): Use cached offset when available.
19713 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19714 don't cache the offset.
19715 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19717 (do_one_test): Call it.
19718 (do_ftell_test): Fix up expected old offset for a+ mode.
19719 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19722 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19723 up test status with function return status.
19724 (do_write_test): Likewise.
19725 (do_append_test): Likewise.
19727 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19728 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19731 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19733 * math/gen-libm-test.pl (parse_args): Handle results specified for
19734 each rounding mode separately.
19735 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19736 tests and results from lrint_tonearest_test_data,
19737 lrint_towardzero_test_data, lrint_downward_test_data and
19738 lrint_upward_test_data.
19739 (lrint_test): Use ALL_RM_TEST.
19740 (lrint_tonearest_test_data): Remove.
19741 (lrint_test_tonearest): Likewise.
19742 (lrint_towardzero_test_data): Likewise.
19743 (lrint_test_towardzero): Likewise.
19744 (lrint_downward_test_data): Likewise.
19745 (lrint_test_downward): Likewise.
19746 (lrint_upward_test_data): Likewise.
19747 (lrint_test_upward): Likewise.
19748 (llrint_test_data): Merge in per-rounding-mode tests and results
19749 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19750 llrint_downward_test_data and llrint_upward_test_data.
19751 (llrint_test): Use ALL_RM_TEST.
19752 (llrint_tonearest_test_data): Remove.
19753 (llrint_test_tonearest): Likewise.
19754 (llrint_towardzero_test_data): Likewise.
19755 (llrint_test_towardzero): Likewise.
19756 (llrint_downward_test_data): Likewise.
19757 (llrint_test_downward): Likewise.
19758 (llrint_upward_test_data): Likewise.
19759 (llrint_test_upward): Likewise.
19760 (rint_test_data): Merge in per-rounding-mode tests and results
19761 from rint_tonearest_test_data, rint_towardzero_test_data,
19762 rint_downward_test_data and rint_upward_test_data. Add
19763 per-rounding-mode results for tests not in those arrays.
19764 (rint_test): Use ALL_RM_TEST.
19765 (rint_tonearest_test_data): Remove.
19766 (rint_test_tonearest): Likewise.
19767 (rint_towardzero_test_data): Likewise.
19768 (rint_test_towardzero): Likewise.
19769 (rint_downward_test_data): Likewise.
19770 (rint_test_downward): Likewise.
19771 (rint_upward_test_data): Likewise.
19772 (rint_test_upward): Likewise.
19773 (main): Don't call removed functions.
19775 2014-03-14 Roland McGrath <roland@hack.frob.com>
19777 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19778 "Compiled on ..." crapola. It is anti-useful.
19780 2014-03-14 Joseph Myers <joseph@codesourcery.com>
19782 * scripts/evaluate-test.sh: Handle fourth argument to determine
19783 whether test run should stop on failure.
19784 * Makeconfig (stop-on-test-failure): New variable.
19785 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19786 $(stop-on-test-failure).
19787 * Makefile (tests): Give a summary of results from testing and
19788 exit with failure status if they include an ERROR or FAIL.
19789 (xtests): Likewise.
19790 * manual/install.texi (Configuring and compiling): Mention
19791 stop-on-test-failure=y.
19792 * INSTALL: Regenerated.
19794 2014-03-14 Roland McGrath <roland@hack.frob.com>
19796 * scripts/versionlist.awk: New file.
19797 * Makerules [$(build-shared) = yes]
19798 (postclean-generated): Add Versions.def, not Versions.def.v and
19800 ($(common-objpfx)Versions.def.v.i): Target removed.
19801 ($(common-objpfx)Versions.def): New target.
19802 ($(common-objpfx)Versions.all): Depend on that rather that
19803 $(common-objpfx)Versions.def.v.
19804 * Versions.def: File removed.
19806 * Makeconfig (+gccwarn): Add -Wundef.
19807 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19808 a dl-sysdep.h breaking its contract.
19809 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19810 * include/stackinfo.h: New file.
19811 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19812 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19813 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19814 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19815 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19816 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19817 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19818 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19819 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19820 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19821 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19822 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19823 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19824 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19825 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19827 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19830 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19832 * math/libm-test.inc (round_test_data): Add more tests.
19835 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19837 * math/libm-test.inc (nearbyint_test_data): Add more tests.
19840 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19842 * math/libm-test.inc (ceil_test_data): Add more tests.
19844 * math/libm-test.inc (trunc_test_data): Add more tests related to
19847 2014-03-14 Roland McGrath <roland@hack.frob.com>
19849 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19850 with #if rather than #ifdef.
19851 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19853 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
19855 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19856 first. Disable AVX-512 GCC support if assembler doesn't support
19858 * sysdeps/x86_64/configure: Regenerated.
19860 2014-03-13 Carlos O'Donell <carlos@redhat.com>
19862 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19863 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19864 (__old_pthread_attr_setstack): Likewise.
19865 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19866 [!_STACK_GROWS_DOWN]: Likewise.
19868 2014-03-13 Mike Frysinger <vapier@gentoo.org>
19870 * config.make.in (have-bash2): Delete.
19871 * configure.ac (libc_cv_have_bash2): Delete.
19872 * configure: Regenerate.
19873 * elf/Makefile (common-ldd-rewrite): Rename to ...
19874 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
19875 (sh-ldd-rewrite): Delete.
19876 (bash-ldd-rewrite): Delete.
19877 (have-bash2): Delete checks.
19878 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19881 * config.make.in (have-ksh): Delete.
19883 * configure.ac (libc_cv_have_ksh): Delete.
19884 * configure: Regenerate.
19886 * elf/Makefile: Delete $(have-ksh) check.
19887 ($(objpfx)sotruss): Change KSH to BASH.
19888 * elf/sotruss.ksh: Rename to ...
19889 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
19890 function style to match POSIX. Drop ksh vim mode setting.
19892 * manual/time.texi (Specifying the Time Zone with TZ): Change
19893 Tuesday to Thursday.
19895 * debug/tst-longjmp_chk2.c: Update header comment.
19896 (stackoverflow_handler): Add comment. Call assert on pass value.
19898 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
19901 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19902 (HAVE_AVX512_ASM_SUPPORT): Likewise.
19903 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19904 (La_x86_64_vector): Add zmm.
19905 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19906 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19907 ($(objpfx)tst-audit10): New target.
19908 ($(objpfx)tst-audit10.out): Likewise.
19909 (tst-audit10-ENV): New.
19910 (AVX512-CFLAGS): Likewise.
19911 (CFLAGS-tst-audit10.c): Likewise.
19912 (CFLAGS-tst-auditmod10a.c): Likewise.
19913 (CFLAGS-tst-auditmod10b.c): Likewise.
19914 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19915 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19916 * sysdeps/x86_64/configure: Regenerated.
19917 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19918 AVX-512 zmm register support.
19919 (_dl_x86_64_save_sse): Likewise.
19920 (_dl_x86_64_restore_sse): Likewise.
19921 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19922 size vector registers.
19923 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19924 (ZMM_SIZE): Likewise.
19925 * sysdeps/x86_64/tst-audit10.c: New file.
19926 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19927 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19929 2014-03-13 Roland McGrath <roland@hack.frob.com>
19931 * configure.ac (HAVE_EHDR_START): New check.
19932 * configure: Regenerated.
19933 * config.h.in (HAVE_EHDR_START): New #undef.
19934 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19935 assuming the lowest-addressed segment maps the start of the file.
19937 2014-03-13 Joseph Myers <joseph@codesourcery.com>
19939 * INSTALL: Regenerated.
19941 2014-03-13 Will Newton <will.newton@linaro.org>
19943 * manual/setjmp.texi (System V contexts): Improve
19944 clarity and grammar of documentation.
19946 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19949 * elf/Makefile (tests): Add tst-pie2.
19950 (tests-pie): Add tst-pie2.
19951 * elf/tst-pie2.c: New file.
19952 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19954 * elf/rtld.c (map_doit): Load executable as lt_executable.
19955 (dl_main): Likewise.
19957 2014-03-12 Joseph Myers <joseph@codesourcery.com>
19960 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19961 (__ASSUME_PSELECT): Undefine.
19963 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19966 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19967 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19969 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19970 selector for static builds.
19972 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19975 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19978 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19980 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19981 IFUNC selector for static builds.
19983 2014-03-11 Joseph Myers <joseph@codesourcery.com>
19985 * sysdeps/mips/math_private.h [__mips_hard_float]
19986 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19987 libc_feresetround_mips_ctx.
19988 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19989 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19990 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19993 * math/s_nextafter.c (__nextafter): Do not return value from
19994 overflowing computation.
19995 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19996 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19997 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19999 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20001 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20002 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20004 2014-03-11 Roland McGrath <roland@hack.frob.com>
20006 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20007 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20008 Move sfi_sp use from the load-multiple (that no longer sets sp) to
20009 the new mov targetting sp.
20011 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20014 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20015 Define it for static builds as well.
20016 (NO_BZERO_IMPL): Likewise.
20018 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20020 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20021 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20022 multiarch strspn for PPC64.
20023 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20024 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20026 (__libc_ifunc_impl_list): Likewise.
20027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20028 multiarch optimizations
20029 * string/strspn.c (strspn): Using macro to redefine symbol name.
20031 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20032 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20034 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20035 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20036 multiarch strncat for PPC64.
20037 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20038 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20040 (__libc_ifunc_impl_list): Likewise.
20041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20042 multiarch optimizations
20044 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20047 * nscd/nscd.service: Make service type forking.
20049 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20051 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20052 sign in non default rounding modes.
20053 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20055 2014-03-08 Joseph Myers <joseph@codesourcery.com>
20057 * math/libm-test.inc (ALL_RM_TEST): New macro.
20058 (ceil_test): Use ALL_RM_TEST.
20059 (cimag_test): Likewise.
20060 (conj_test): Likewise.
20061 (copysign_test): Likewise.
20062 (cproj_test): Likewise.
20063 (creal_test): Likewise.
20064 (fabs_test): Likewise.
20065 (floor_test): Likewise.
20066 (fmax_test): Likewise.
20067 (fmin_test): Likewise.
20068 (fmod_test): Likewise.
20069 (fpclassify_test): Likewise.
20070 (frexp_test): Likewise.
20071 (ilogb_test): Likewise.
20072 (isfinite_test): Likewise.
20073 (finite_test): Likewise.
20074 (isgreater_test): Likewise.
20075 (isgreaterequal_test): Likewise.
20076 (isinf_test): Likewise.
20077 (isless_test): Likewise.
20078 (islessequal_test): Likewise.
20079 (islessgreater_test): Likewise.
20080 (isnan_test): Likewise.
20081 (isnormal_test): Likewise.
20082 (issignaling_test): Likewise.
20083 (isunordered_test): Likewise.
20084 (logb_test): Likewise.
20085 (logb_downward_test_data): Remove.
20086 (logb_test_downward): Likewise.
20087 (lround_test): Use ALL_RM_TEST.
20088 (llround_test): Likewise.
20089 (modf_test): Likewise.
20090 (nexttoward_test): Likewise.
20091 (remainder_test): Likewise.
20092 (drem_test): Likewise.
20093 (remainder_tonearest_test_data): Likewise.
20094 (remainder_test_tonearest): Likewise.
20095 (drem_test_tonearest): Likewise.
20096 (remainder_towardzero_test_data): Likewise.
20097 (remainder_test_towardzero): Likewise.
20098 (drem_test_towardzero): Likewise.
20099 (remainder_downward_test_data): Likewise.
20100 (remainder_test_downward): Likewise.
20101 (drem_test_downward): Likewise.
20102 (remainder_upward_test_data): Likewise.
20103 (remainder_test_upward): Likewise.
20104 (drem_test_upward): Likewise.
20105 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20106 (round_test): Use ALL_RM_TEST.
20107 (signbit_test): Likewise.
20108 (trunc_test): Likewise.
20109 (significand_test): Likewise.
20110 (main): Don't call removed functions.
20112 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20115 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20116 || __USE_XOPEN2K8].
20117 (ILL_ILLOPN): Likewise.
20118 (ILL_ILLADR): Likewise.
20119 (ILL_ILLTRP): Likewise.
20120 (ILL_PRVOPC): Likewise.
20121 (ILL_PRVREG): Likewise.
20122 (ILL_COPROC): Likewise.
20123 (ILL_BADSTK): Likewise.
20124 (FPE_INTDIV): Likewise.
20125 (FPE_INTOVF): Likewise.
20126 (FPE_FLTDIV): Likewise.
20127 (FPE_FLTOVF): Likewise.
20128 (FPE_FLTUND): Likewise.
20129 (FPE_FLTRES): Likewise.
20130 (FPE_FLTINV): Likewise.
20131 (FPE_FLTSUB): Likewise.
20132 (SEGV_MAPERR): Likewise.
20133 (SEGV_ACCERR): Likewise.
20134 (BUS_ADRALN): Likewise.
20135 (BUS_ADRERR): Likewise.
20136 (BUS_OBJERR): Likewise.
20137 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20138 (TRAP_TRACE): Likewise.
20139 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20141 (CLD_KILLED): Likewise.
20142 (CLD_DUMPED): Likewise.
20143 (CLD_TRAPPED): Likewise.
20144 (CLD_STOPPED): Likewise.
20145 (CLD_CONTINUED): Likewise.
20146 (POLL_IN): Likewise.
20147 (POLL_OUT): Likewise.
20148 (POLL_MSG): Likewise.
20149 (POLL_ERR): Likewise.
20150 (POLL_PRI): Likewise.
20151 (POLL_HUP): Likewise.
20152 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20154 (ILL_ILLOPN): Likewise.
20155 (ILL_ILLADR): Likewise.
20156 (ILL_ILLTRP): Likewise.
20157 (ILL_PRVOPC): Likewise.
20158 (ILL_PRVREG): Likewise.
20159 (ILL_COPROC): Likewise.
20160 (ILL_BADSTK): Likewise.
20161 (FPE_INTDIV): Likewise.
20162 (FPE_INTOVF): Likewise.
20163 (FPE_FLTDIV): Likewise.
20164 (FPE_FLTOVF): Likewise.
20165 (FPE_FLTUND): Likewise.
20166 (FPE_FLTRES): Likewise.
20167 (FPE_FLTINV): Likewise.
20168 (FPE_FLTSUB): Likewise.
20169 (SEGV_MAPERR): Likewise.
20170 (SEGV_ACCERR): Likewise.
20171 (BUS_ADRALN): Likewise.
20172 (BUS_ADRERR): Likewise.
20173 (BUS_OBJERR): Likewise.
20174 (BUS_MCEERR_AR): Likewise.
20175 (BUS_MCEERR_AO): Likewise.
20176 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20177 (TRAP_TRACE): Likewise.
20178 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20180 (CLD_KILLED): Likewise.
20181 (CLD_DUMPED): Likewise.
20182 (CLD_TRAPPED): Likewise.
20183 (CLD_STOPPED): Likewise.
20184 (CLD_CONTINUED): Likewise.
20185 (POLL_IN): Likewise.
20186 (POLL_OUT): Likewise.
20187 (POLL_MSG): Likewise.
20188 (POLL_ERR): Likewise.
20189 (POLL_PRI): Likewise.
20190 (POLL_HUP): Likewise.
20191 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20192 (ILL_ILLOPN): Likewise.
20193 (ILL_ILLADR): Likewise.
20194 (ILL_ILLTRP): Likewise.
20195 (ILL_PRVOPC): Likewise.
20196 (ILL_PRVREG): Likewise.
20197 (ILL_COPROC): Likewise.
20198 (ILL_BADSTK): Likewise.
20199 (FPE_INTDIV): Likewise.
20200 (FPE_INTOVF): Likewise.
20201 (FPE_FLTDIV): Likewise.
20202 (FPE_FLTOVF): Likewise.
20203 (FPE_FLTUND): Likewise.
20204 (FPE_FLTRES): Likewise.
20205 (FPE_FLTINV): Likewise.
20206 (FPE_FLTSUB): Likewise.
20207 (SEGV_MAPERR): Likewise.
20208 (SEGV_ACCERR): Likewise.
20209 (BUS_ADRALN): Likewise.
20210 (BUS_ADRERR): Likewise.
20211 (BUS_OBJERR): Likewise.
20212 (BUS_MCEERR_AR): Likewise.
20213 (BUS_MCEERR_AO): Likewise.
20214 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20215 (TRAP_TRACE): Likewise.
20216 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20218 (CLD_KILLED): Likewise.
20219 (CLD_DUMPED): Likewise.
20220 (CLD_TRAPPED): Likewise.
20221 (CLD_STOPPED): Likewise.
20222 (CLD_CONTINUED): Likewise.
20223 (POLL_IN): Likewise.
20224 (POLL_OUT): Likewise.
20225 (POLL_MSG): Likewise.
20226 (POLL_ERR): Likewise.
20227 (POLL_PRI): Likewise.
20228 (POLL_HUP): Likewise.
20229 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20231 (ILL_ILLOPN): Likewise.
20232 (ILL_ILLADR): Likewise.
20233 (ILL_ILLTRP): Likewise.
20234 (ILL_PRVOPC): Likewise.
20235 (ILL_PRVREG): Likewise.
20236 (ILL_COPROC): Likewise.
20237 (ILL_BADSTK): Likewise.
20238 (ILL_BADIADDR): Likewise.
20239 (ILL_BREAK): Likewise.
20240 (FPE_INTDIV): Likewise.
20241 (FPE_INTOVF): Likewise.
20242 (FPE_FLTDIV): Likewise.
20243 (FPE_FLTOVF): Likewise.
20244 (FPE_FLTUND): Likewise.
20245 (FPE_FLTRES): Likewise.
20246 (FPE_FLTINV): Likewise.
20247 (FPE_FLTSUB): Likewise.
20248 (FPE_DECOVF): Likewise.
20249 (FPE_DECDIV): Likewise.
20250 (FPE_DECERR): Likewise.
20251 (FPE_INVASC): Likewise.
20252 (FPE_INVDEC): Likewise.
20253 (SEGV_MAPERR): Likewise.
20254 (SEGV_ACCERR): Likewise.
20255 (SEGV_PSTKOVF): Likewise.
20256 (BUS_ADRALN): Likewise.
20257 (BUS_ADRERR): Likewise.
20258 (BUS_OBJERR): Likewise.
20259 (BUS_MCEERR_AR): Likewise.
20260 (BUS_MCEERR_AO): Likewise.
20261 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20262 (TRAP_TRACE): Likewise.
20263 (TRAP_BRANCH): Likewise.
20264 (TRAP_HWBKPT): Likewise.
20265 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20267 (CLD_KILLED): Likewise.
20268 (CLD_DUMPED): Likewise.
20269 (CLD_TRAPPED): Likewise.
20270 (CLD_STOPPED): Likewise.
20271 (CLD_CONTINUED): Likewise.
20272 (POLL_IN): Likewise.
20273 (POLL_OUT): Likewise.
20274 (POLL_MSG): Likewise.
20275 (POLL_ERR): Likewise.
20276 (POLL_PRI): Likewise.
20277 (POLL_HUP): Likewise.
20278 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20279 (ILL_ILLOPN): Likewise.
20280 (ILL_ILLADR): Likewise.
20281 (ILL_ILLTRP): Likewise.
20282 (ILL_PRVOPC): Likewise.
20283 (ILL_PRVREG): Likewise.
20284 (ILL_COPROC): Likewise.
20285 (ILL_BADSTK): Likewise.
20286 (FPE_INTDIV): Likewise.
20287 (FPE_INTOVF): Likewise.
20288 (FPE_FLTDIV): Likewise.
20289 (FPE_FLTOVF): Likewise.
20290 (FPE_FLTUND): Likewise.
20291 (FPE_FLTRES): Likewise.
20292 (FPE_FLTINV): Likewise.
20293 (FPE_FLTSUB): Likewise.
20294 (SEGV_MAPERR): Likewise.
20295 (SEGV_ACCERR): Likewise.
20296 (BUS_ADRALN): Likewise.
20297 (BUS_ADRERR): Likewise.
20298 (BUS_OBJERR): Likewise.
20299 (BUS_MCEERR_AR): Likewise.
20300 (BUS_MCEERR_AO): Likewise.
20301 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20302 (TRAP_TRACE): Likewise.
20303 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20305 (CLD_KILLED): Likewise.
20306 (CLD_DUMPED): Likewise.
20307 (CLD_TRAPPED): Likewise.
20308 (CLD_STOPPED): Likewise.
20309 (CLD_CONTINUED): Likewise.
20310 (POLL_IN): Likewise.
20311 (POLL_OUT): Likewise.
20312 (POLL_MSG): Likewise.
20313 (POLL_ERR): Likewise.
20314 (POLL_PRI): Likewise.
20315 (POLL_HUP): Likewise.
20316 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20317 (ILL_ILLOPN): Likewise.
20318 (ILL_ILLADR): Likewise.
20319 (ILL_ILLTRP): Likewise.
20320 (ILL_PRVOPC): Likewise.
20321 (ILL_PRVREG): Likewise.
20322 (ILL_COPROC): Likewise.
20323 (ILL_BADSTK): Likewise.
20324 (FPE_INTDIV): Likewise.
20325 (FPE_INTOVF): Likewise.
20326 (FPE_FLTDIV): Likewise.
20327 (FPE_FLTOVF): Likewise.
20328 (FPE_FLTUND): Likewise.
20329 (FPE_FLTRES): Likewise.
20330 (FPE_FLTINV): Likewise.
20331 (FPE_FLTSUB): Likewise.
20332 (SEGV_MAPERR): Likewise.
20333 (SEGV_ACCERR): Likewise.
20334 (BUS_ADRALN): Likewise.
20335 (BUS_ADRERR): Likewise.
20336 (BUS_OBJERR): Likewise.
20337 (BUS_MCEERR_AR): Likewise.
20338 (BUS_MCEERR_AO): Likewise.
20339 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20340 (TRAP_TRACE): Likewise.
20341 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20343 (CLD_KILLED): Likewise.
20344 (CLD_DUMPED): Likewise.
20345 (CLD_TRAPPED): Likewise.
20346 (CLD_STOPPED): Likewise.
20347 (CLD_CONTINUED): Likewise.
20348 (POLL_IN): Likewise.
20349 (POLL_OUT): Likewise.
20350 (POLL_MSG): Likewise.
20351 (POLL_ERR): Likewise.
20352 (POLL_PRI): Likewise.
20353 (POLL_HUP): Likewise.
20354 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20355 (ILL_ILLOPN): Likewise.
20356 (ILL_ILLADR): Likewise.
20357 (ILL_ILLTRP): Likewise.
20358 (ILL_PRVOPC): Likewise.
20359 (ILL_PRVREG): Likewise.
20360 (ILL_COPROC): Likewise.
20361 (ILL_BADSTK): Likewise.
20362 (FPE_INTDIV): Likewise.
20363 (FPE_INTOVF): Likewise.
20364 (FPE_FLTDIV): Likewise.
20365 (FPE_FLTOVF): Likewise.
20366 (FPE_FLTUND): Likewise.
20367 (FPE_FLTRES): Likewise.
20368 (FPE_FLTINV): Likewise.
20369 (FPE_FLTSUB): Likewise.
20370 (SEGV_MAPERR): Likewise.
20371 (SEGV_ACCERR): Likewise.
20372 (BUS_ADRALN): Likewise.
20373 (BUS_ADRERR): Likewise.
20374 (BUS_OBJERR): Likewise.
20375 (BUS_MCEERR_AR): Likewise.
20376 (BUS_MCEERR_AO): Likewise.
20377 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20378 (TRAP_TRACE): Likewise.
20379 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20381 (CLD_KILLED): Likewise.
20382 (CLD_DUMPED): Likewise.
20383 (CLD_TRAPPED): Likewise.
20384 (CLD_STOPPED): Likewise.
20385 (CLD_CONTINUED): Likewise.
20386 (POLL_IN): Likewise.
20387 (POLL_OUT): Likewise.
20388 (POLL_MSG): Likewise.
20389 (POLL_ERR): Likewise.
20390 (POLL_PRI): Likewise.
20391 (POLL_HUP): Likewise.
20392 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20393 (ILL_ILLOPN): Likewise.
20394 (ILL_ILLADR): Likewise.
20395 (ILL_ILLTRP): Likewise.
20396 (ILL_PRVOPC): Likewise.
20397 (ILL_PRVREG): Likewise.
20398 (ILL_COPROC): Likewise.
20399 (ILL_BADSTK): Likewise.
20400 (ILL_DBLFLT): Likewise.
20401 (ILL_HARDWALL): Likewise.
20402 (FPE_INTDIV): Likewise.
20403 (FPE_INTOVF): Likewise.
20404 (FPE_FLTDIV): Likewise.
20405 (FPE_FLTOVF): Likewise.
20406 (FPE_FLTUND): Likewise.
20407 (FPE_FLTRES): Likewise.
20408 (FPE_FLTINV): Likewise.
20409 (FPE_FLTSUB): Likewise.
20410 (SEGV_MAPERR): Likewise.
20411 (SEGV_ACCERR): Likewise.
20412 (BUS_ADRALN): Likewise.
20413 (BUS_ADRERR): Likewise.
20414 (BUS_OBJERR): Likewise.
20415 (BUS_MCEERR_AR): Likewise.
20416 (BUS_MCEERR_AO): Likewise.
20417 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20418 (TRAP_TRACE): Likewise.
20419 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20421 (CLD_KILLED): Likewise.
20422 (CLD_DUMPED): Likewise.
20423 (CLD_TRAPPED): Likewise.
20424 (CLD_STOPPED): Likewise.
20425 (CLD_CONTINUED): Likewise.
20426 (POLL_IN): Likewise.
20427 (POLL_OUT): Likewise.
20428 (POLL_MSG): Likewise.
20429 (POLL_ERR): Likewise.
20430 (POLL_PRI): Likewise.
20431 (POLL_HUP): Likewise.
20432 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20433 (ILL_ILLOPN): Likewise.
20434 (ILL_ILLADR): Likewise.
20435 (ILL_ILLTRP): Likewise.
20436 (ILL_PRVOPC): Likewise.
20437 (ILL_PRVREG): Likewise.
20438 (ILL_COPROC): Likewise.
20439 (ILL_BADSTK): Likewise.
20440 (FPE_INTDIV): Likewise.
20441 (FPE_INTOVF): Likewise.
20442 (FPE_FLTDIV): Likewise.
20443 (FPE_FLTOVF): Likewise.
20444 (FPE_FLTUND): Likewise.
20445 (FPE_FLTRES): Likewise.
20446 (FPE_FLTINV): Likewise.
20447 (FPE_FLTSUB): Likewise.
20448 (SEGV_MAPERR): Likewise.
20449 (SEGV_ACCERR): Likewise.
20450 (BUS_ADRALN): Likewise.
20451 (BUS_ADRERR): Likewise.
20452 (BUS_OBJERR): Likewise.
20453 (BUS_MCEERR_AR): Likewise.
20454 (BUS_MCEERR_AO): Likewise.
20455 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20456 (TRAP_TRACE): Likewise.
20457 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20459 (CLD_KILLED): Likewise.
20460 (CLD_DUMPED): Likewise.
20461 (CLD_TRAPPED): Likewise.
20462 (CLD_STOPPED): Likewise.
20463 (CLD_CONTINUED): Likewise.
20464 (POLL_IN): Likewise.
20465 (POLL_OUT): Likewise.
20466 (POLL_MSG): Likewise.
20467 (POLL_ERR): Likewise.
20468 (POLL_PRI): Likewise.
20469 (POLL_HUP): Likewise.
20470 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20471 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20474 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20475 before #include of <time.h>.
20476 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20477 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20478 (test-xfail-UNIX98/sched.h/conform): Likewise.
20480 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20482 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20483 error absence of trapping exception support.
20484 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20486 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20488 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20489 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20490 * timezone/Makefile (testdata): Move definition above include of
20492 (test-zones): New variable.
20493 (tests-special): Add zone files.
20494 (build-testdata): Use $(evaluate-test).
20496 * elf/Makefile (tests-special): Rename tests to end with .out.
20497 ($(objpfx)noload-mem): Likewise.
20498 ($(objpfx)tst-leaks1-mem): Likewise.
20499 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20500 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20501 $(objpfx)test-iconvconfig.out.
20502 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20503 set -e inside subshell and redirect output to file.
20504 * iconvdata/Makefile (generated): Rename tests to end with .out.
20506 (tests-special): Rename tests to end with .out.
20507 ($(objpfx)mtrace-tst-loading): Likewise.
20508 * intl/Makefile (generated): Likewise.
20509 (tests-special): Likewise.
20510 ($(objpfx)mtrace-tst-gettext): Likewise.
20511 * misc/Makefile (generated): Likewise.
20512 (tests-special): Likewise.
20513 ($(objpfx)tst-error1-mem): Likewise.
20514 * nptl/Makefile (tests-special): Likewise.
20515 ($(objpfx)tst-stack3-mem): Likewise.
20516 (generated): Likewise.
20517 * posix/Makefile (generated): Likewise.
20518 (tests-special): Likewise.
20519 (xtests-special): Likewise.
20520 ($(objpfx)tst-fnmatch-mem): Likewise.
20521 ($(objpfx)bug-regex2-mem): Likewise.
20522 ($(objpfx)bug-regex14-mem): Likewise.
20523 ($(objpfx)bug-regex21-mem): Likewise.
20524 ($(objpfx)bug-regex31-mem): Likewise.
20525 ($(objpfx)tst-vfork3-mem): Likewise.
20526 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20527 ($(objpfx)tst-pcre-mem): Likewise.
20528 ($(objpfx)tst-boost-mem): Likewise.
20529 ($(objpfx)bug-ga2-mem): Likewise.
20530 ($(objpfx)bug-glob2-mem): Likewise.
20531 * resolv/Makefile (generate): Likewise.
20532 (tests-special): Likewise.
20533 (xtests-special): Likewise.
20534 (generated): Likewise.
20535 ($(objpfx)mtrace-tst-leaks): Likewise.
20536 ($(objpfx)mtrace-tst-leaks2): Likewise.
20538 * scripts/merge-test-results.sh: New file.
20539 * Makefile (tests-special-notdir): New variable.
20540 (tests): Run merge-test-results.sh.
20541 (xtests): Likewise.
20542 * Rules (tests-special-notdir): New variable.
20543 (xtests-special-notdir): Likewise.
20544 (tests): Run merge-test-results.sh
20545 (xtests): Likewise.
20547 * Makeconfig (test-xfail-name): New variable.
20548 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20549 compute variable name for expected failures.
20550 * conform/Makefile (conformtest-headers-data): New variable.
20551 (conformtest-standards): Likewise.
20552 (conformtest-headers-ISO): Likewise.
20553 (conformtest-headers-ISO99): Likewise.
20554 (conformtest-headers-ISO11): Likewise.
20555 (conformtest-headers-POSIX): Likewise.
20556 (conformtest-headers-XPG3): Likewise.
20557 (conformtest-headers-XPG4): Likewise.
20558 (conformtest-headers-UNIX98): Likewise.
20559 (conformtest-headers-XOPEN2K): Likewise.
20560 (conformtest-headers-POSIX2008): Likewise.
20561 (conformtest-headers-XOPEN2K8): Likewise.
20562 (conformtest-header-list-base): Likewise.
20563 (conformtest-header-list-tests): Likewise.
20564 (conformtest-header-base): Likewise.
20565 (conformtest-header-tests): Likewise.
20566 (tests-special): Add $(conformtest-header-list-tests). If
20567 [$(fast-check) && !$(cross-compiling)], add
20568 $(conformtest-header-tests) instead of
20569 $(objpfx)run-conformtest.out.
20570 (generated): Add $(conformtest-header-list-base). If
20571 [$(fast-check) && !$(cross-compiling)], add
20572 $(conformtest-header-base). Remove previous setting.
20573 ($(conformtest-header-list-tests)): New target.
20574 (test-xfail-run-conformtest): Remove variable.
20575 ($(objpfx)run-conformtest.out): Remove target.
20576 (test-xfail-ISO11/complex.h/conform): New variable.
20577 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20578 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20579 (test-xfail-XPG3/varargs.h/conform): Likewise.
20580 (test-xfail-XPG4/varargs.h/conform): Likewise.
20581 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20582 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20583 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20584 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20585 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20586 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20587 (test-xfail-XPG3/ftw.h/conform): Likewise.
20588 (test-xfail-XPG3/grp.h/conform): Likewise.
20589 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20590 (test-xfail-XPG3/limits.h/conform): Likewise.
20591 (test-xfail-XPG3/pwd.h/conform): Likewise.
20592 (test-xfail-XPG3/search.h/conform): Likewise.
20593 (test-xfail-XPG3/signal.h/conform): Likewise.
20594 (test-xfail-XPG3/stdio.h/conform): Likewise.
20595 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20596 (test-xfail-XPG3/string.h/conform): Likewise.
20597 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20598 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20599 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20600 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20601 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20602 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20603 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20604 (test-xfail-XPG3/termios.h/conform): Likewise.
20605 (test-xfail-XPG3/time.h/conform): Likewise.
20606 (test-xfail-XPG3/unistd.h/conform): Likewise.
20607 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20608 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20609 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20610 (test-xfail-XPG4/netdb.h/conform): Likewise.
20611 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20612 (test-xfail-XPG4/signal.h/conform): Likewise.
20613 (test-xfail-XPG4/stdio.h/conform): Likewise.
20614 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20615 (test-xfail-XPG4/stropts.h/conform): Likewise.
20616 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20617 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20618 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20619 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20620 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20621 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20622 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20623 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20624 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20625 (test-xfail-XPG4/termios.h/conform): Likewise.
20626 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20627 (test-xfail-XPG4/unistd.h/conform): Likewise.
20628 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20629 (test-xfail-POSIX/sched.h/conform): Likewise.
20630 (test-xfail-POSIX/signal.h/conform): Likewise.
20631 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20632 (test-xfail-POSIX/tar.h/conform): Likewise.
20633 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20634 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20635 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20636 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20637 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20638 (test-xfail-UNIX98/sched.h/conform): Likewise.
20639 (test-xfail-UNIX98/signal.h/conform): Likewise.
20640 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20641 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20642 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20643 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20644 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20645 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20646 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20647 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20648 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20649 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20650 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20651 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20652 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20653 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20654 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20655 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20656 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20657 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20658 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20659 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20660 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20661 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20662 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20663 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20664 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20665 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20666 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20667 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20668 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20669 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20670 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20671 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20672 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20673 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20674 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20675 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20676 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20677 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20678 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20679 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20680 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20681 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20682 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20683 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20684 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20685 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20686 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20687 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20688 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20689 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20690 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20691 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20692 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20693 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20694 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20695 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20696 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20697 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20698 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20699 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20700 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20701 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20702 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20703 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20704 (conformtest-cc-flags): Likewise.
20705 ($(conformtest-header-tests): New target.
20706 * conform/check-header-lists.sh: New file.
20707 * conform/run-conformtest.sh: Remove.
20709 * conform/conformtest.pl: Allow ' and \ in values given for
20711 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20713 [POSIX] (sys/types.h): Likewise.
20714 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20716 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20718 * conform/data/signal.h-data (SIGIO): Remove expectation.
20719 [XPG3] (SIGBUS): Do not expect.
20720 [POSIX || XPG3] (SIGPOLL): Likewise.
20721 [POSIX || XPG3] (SIGPROF): Likewise.
20722 [POSIX || XPG3] (SIGSYS): Likewise.
20723 [XPG3] (SIGTRAP): Likewise.
20724 [POSIX || XPG3] (SIGURG): Likewise.
20725 [POSIX || XPG3] (SIGVTALRM): Likewise.
20726 [POSIX || XPG3] (SIGXCPU): Likewise.
20727 [POSIX || XPG3] (SIGXFSZ): Likewise.
20728 [POSIX] (SA_SIGINFO): Expect.
20729 [XPG3] (siginfo_t): Do not expect type or contents.
20730 [POSIX] (si_pid): Do not expect element.
20731 [POSIX] (si_uid): Likewise.
20732 [POSIX] (si_addr): Likewise.
20733 [POSIX] (si_status): Likewise.
20734 [POSIX] (si_band): Likewise.
20735 [XPG4] (si_value): Likewise.
20736 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20737 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20738 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20739 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20740 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20741 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20742 [POSIX || XPG3] (ILL_COPROC): Likewise.
20743 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20744 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20745 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20746 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20747 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20748 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20749 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20750 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20751 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20752 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20753 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20754 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20755 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20756 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20757 [POSIX || XPG3] (CLD_EXITED): Likewise.
20758 [POSIX || XPG3] (CLD_KILLED): Likewise.
20759 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20760 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20761 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20762 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20763 [POSIX || XPG3] (POLL_IN): Likewise.
20764 [POSIX || XPG3] (POLL_OUT): Likewise.
20765 [POSIX || XPG3] (POLL_MSG): Likewise.
20766 [POSIX || XPG3] (POLL_ERR): Likewise.
20767 [POSIX || XPG3] (POLL_PRI): Likewise.
20768 [POSIX || XPG3] (POLL_HUP): Likewise.
20769 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20770 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20771 (SIG*): Do not allow.
20772 [XPG3] (si_*): Likewise.
20773 [XPG3] (SI_*): Likewise.
20774 [XPG3 || XPG4] (sigev_*): Likewise.
20775 [XPG3 || XPG4] (SIGEV_*): Likewise.
20776 [XPG3 || XPG4] (sival_*): Likewise.
20777 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20778 [POSIX || XPG3] (BUS_*): Likewise.
20779 [POSIX || XPG3] (CLD_*): Likewise.
20780 [POSIX || XPG3] (FPE_*): Likewise.
20781 [POSIX || XPG3] (ILL_*): Likewise.
20782 [POSIX || XPG3] (POLL_*): Likewise.
20783 [POSIX || XPG3] (SEGV_*): Likewise.
20784 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20785 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20786 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20787 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20788 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20789 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20790 Specify type and value.
20791 (TVERSLEN): Likewise.
20792 (REGTYPE): Likewise.
20793 (AREGTYPE): Likewise.
20794 (LNKTYPE): Likewise.
20795 (SYMTYPE): Likewise.
20796 (CHRTYPE): Likewise.
20797 (BLKTYPE): Likewise.
20798 (DIRTYPE): Likewise.
20799 (FIFOTYPE): Likewise.
20800 (CONTTYPE): Likewise.
20804 (TUREAD): Likewise.
20805 (TUWRITE): Likewise.
20806 (TUEXEC): Likewise.
20807 (TGREAD): Likewise.
20808 (TGWRITE): Likewise.
20809 (TGEXEC): Likewise.
20810 (TOREAD): Likewise.
20811 (TOWRITE): Likewise.
20812 (TOEXEC): Likewise.
20813 [POSIX] (TSVTX): Expect constant.
20815 2014-03-06 Joseph Myers <joseph@codesourcery.com>
20817 * Makefile (tests): Change dependencies to ....
20818 (tests-special): ... additions to this variable.
20819 (tests): Depend on $(tests-special).
20820 * Makerules (check-abi-list): New variable.
20821 (check-abi): Depend on $(check-abi-list).
20822 [$(subdir) = elf] (tests-special): Add
20823 $(objpfx)check-abi-libc.out.
20824 [$(build-shared) = yes && subdir] (tests-special): Add
20826 [$(build-shared) = yes && subdir] (tests): Do not depend on
20828 * Rules (tests): Depend on $(tests-special).
20829 (xtests): Depend on $(xtests-special).
20830 * catgets/Makefile (tests): Change dependencies to ....
20831 (tests-special): ... additions to this variable.
20832 * conform/Makefile (tests): Change dependencies to ....
20833 (tests-special): ... additions to this variable.
20834 * elf/Makefile (tests): Change dependencies to ....
20835 (tests-special): ... additions to this variable.
20836 * grp/Makefile (tests): Change dependencies to ....
20837 (tests-special): ... additions to this variable.
20838 * iconv/Makefile (xtests): Change dependencies to ....
20839 (xtests-special): ... additions to this variable.
20840 * iconvdata/Makefile (tests): Change dependencies to ....
20841 (tests-special): ... additions to this variable.
20842 * intl/Makefile (tests): Change dependencies to ....
20843 (tests-special): ... additions to this variable. Also add
20844 $(objpfx)tst-gettext.out.
20845 * io/Makefile (tests): Change dependencies to ....
20846 (tests-special): ... additions to this variable.
20847 * libio/Makefile (tests): Change dependencies to ....
20848 (tests-special): ... additions to this variable.
20849 * malloc/Makefile (tests): Change dependencies to ....
20850 (tests-special): ... additions to this variable.
20851 * misc/Makefile (tests): Change dependencies to ....
20852 (tests-special): ... additions to this variable.
20853 * nptl/Makefile (tests): Change dependencies to ....
20854 (tests-special): ... additions to this variable.
20855 * nptl_db/Makefile (tests): Change dependencies to ....
20856 (tests-special): ... additions to this variable.
20857 * posix/Makefile (tests): Change dependencies to ....
20858 (tests-special): ... additions to this variable.
20859 (xtests): Change dependencies to ....
20860 (xtests-special): ... additions to this variable.
20861 * resolv/Makefile (tests): Change dependencies to ....
20862 (tests-special): ... additions to this variable.
20863 (xtests): Change dependencies to ....
20864 (xtests-special): ... additions to this variable.
20865 * stdio-common/Makefile (tests): Change dependencies to ....
20866 (tests-special): ... additions to this variable.
20867 (do-tst-unbputc): Remove target.
20868 (do-tst-printf): Likewise.
20869 * stdlib/Makefile (tests): Change dependencies to ....
20870 (tests-special): ... additions to this variable.
20871 * string/Makefile (tests): Change dependencies to ....
20872 (tests-special): ... additions to this variable.
20873 * sysdeps/x86/Makefile (tests): Change dependencies to ....
20874 (tests-special): ... additions to this variable.
20876 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20878 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20880 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20881 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20883 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20884 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20885 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20886 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20887 * conform/data/libgen.h-data [XPG3]: Likewise.
20888 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20889 * conform/data/ndbm.h-data [XPG3]: Likewise.
20890 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20891 * conform/data/netdb.h-data [XPG3]: Likewise.
20892 * conform/data/netinet/in.h-data [XPG3]: Likewise.
20893 * conform/data/poll.h-data [XPG3]: Likewise.
20894 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20895 * conform/data/strings.h-data [XPG3]: Likewise.
20896 * conform/data/stropts.h-data [XPG3]: Likewise.
20897 * conform/data/sys/mman.h-data [XPG3]: Likewise.
20898 * conform/data/sys/resource.h-data [XPG3]: Likewise.
20899 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20901 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20902 * conform/data/sys/time.h-data [XPG3]: Likewise.
20903 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20904 * conform/data/sys/uio.h-data [XPG3]: Likewise.
20905 * conform/data/sys/un.h-data [XPG3]: Likewise.
20906 * conform/data/syslog.h-data [XPG3]: Likewise.
20907 * conform/data/ucontext.h-data [XPG3]: Likewise.
20908 * conform/data/utmpx.h-data [XPG3]: Likewise.
20909 * conform/data/varargs.h-data [UNIX98]: Enable file.
20911 * manual/Makefile (INSTALL_INFO): Remove variable setting.
20913 * math/libm-test.inc (struct test_f_f_data): Move expected results
20914 into structure for each rounding mode.
20915 (struct test_ff_f_data): Likewise.
20916 (struct test_ff_f_data_nexttoward): Likewise.
20917 (struct test_fi_f_data): Likewise.
20918 (struct test_fl_f_data): Likewise.
20919 (struct test_if_f_data): Likewise.
20920 (struct test_fff_f_data): Likewise.
20921 (struct test_c_f_data): Likewise.
20922 (struct test_f_f1_data): Likewise.
20923 (struct test_fF_f1_data): Likewise.
20924 (struct test_ffI_f1_data): Likewise.
20925 (struct test_c_c_data): Likewise.
20926 (struct test_cc_c_data): Likewise.
20927 (struct test_f_i_data): Likewise.
20928 (struct test_ff_i_data): Likewise.
20929 (struct test_f_l_data): Likewise.
20930 (struct test_f_L_data): Likewise.
20931 (struct test_fFF_11_data): Likewise.
20933 (RM_FE_DOWNWARD): Likewise.
20934 (RM_FE_TONEAREST): Likewise.
20935 (RM_FE_TOWARDZERO): Likewise.
20936 (RM_FE_UPWARD): Likewise.
20937 (RUN_TEST_LOOP_f_f): Update references to expected results.
20938 (RUN_TEST_LOOP_2_f): Likewise.
20939 (RUN_TEST_LOOP_fff_f): Likewise.
20940 (RUN_TEST_LOOP_c_f): Likewise.
20941 (RUN_TEST_LOOP_f_f1): Likewise.
20942 (RUN_TEST_LOOP_fF_f1): Likewise.
20943 (RUN_TEST_LOOP_fI_f1): Likewise.
20944 (RUN_TEST_LOOP_ffI_f1): Likewise.
20945 (RUN_TEST_LOOP_c_c): Likewise.
20946 (RUN_TEST_LOOP_cc_c): Likewise.
20947 (RUN_TEST_LOOP_f_i): Likewise.
20948 (RUN_TEST_LOOP_f_i_tg): Likewise.
20949 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20950 (RUN_TEST_LOOP_f_b): Likewise.
20951 (RUN_TEST_LOOP_f_b_tg): Likewise.
20952 (RUN_TEST_LOOP_f_l): Likewise.
20953 (RUN_TEST_LOOP_f_L): Likewise.
20954 (RUN_TEST_LOOP_fFF_11): Likewise.
20955 * math/gen-libm-test.pl (parse_args): Output four copies of
20956 expected results for each test.
20958 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20959 (__ASSUME_UTIMES): Remove.
20960 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20961 (__ASSUME_UTIMES): Likewise.
20963 * math/gen-auto-libm-tests.c: Update comment on output format.
20964 (output_for_one_input_case): Generate before-rounding and
20965 after-rounding information as conditions on output flags not
20966 floating-point format.
20967 * math/auto-libm-test-out: Regenerated.
20968 * math/gen-libm-test.pl (cond_value): New function.
20969 (or_cond_value): Use cond_value.
20970 (generate_testfile): Handle conditional exceptions.
20972 2014-03-05 Joseph Myers <joseph@codesourcery.com>
20974 * math/libm-test.inc (max_valid_error): New variable.
20975 (init_max_error): Take new argument specifying whether function
20976 results are exactly determined. Set max_valid_error and bound
20977 other variables for errors based on this argument.
20978 (set_max_error): Do not record results above max_valid_error.
20979 (check_float_internal): Only accept errors of up to 0.5ulps if
20980 also at most max_valid_error.
20981 (START): Take new argument EXACT and pass it to init_max_error.
20982 (acos_test): Update call to START.
20983 (acos_test_tonearest): Likewise.
20984 (acos_test_towardzero): Likewise.
20985 (acos_test_downward): Likewise.
20986 (acos_test_upward): Likewise.
20987 (acosh_test): Likewise.
20988 (asin_test): Likewise.
20989 (asin_test_tonearest): Likewise.
20990 (asin_test_towardzero): Likewise.
20991 (asin_test_downward): Likewise.
20992 (asin_test_upward): Likewise.
20993 (asinh_test): Likewise.
20994 (atan_test): Likewise.
20995 (atanh_test): Likewise.
20996 (atan2_test): Likewise.
20997 (cabs_test): Likewise.
20998 (cacos_test): Likewise.
20999 (cacosh_test): Likewise.
21000 (carg_test): Likewise.
21001 (casin_test): Likewise.
21002 (casinh_test): Likewise.
21003 (catan_test): Likewise.
21004 (catanh_test): Likewise.
21005 (cbrt_test): Likewise.
21006 (ccos_test): Likewise.
21007 (ccosh_test): Likewise.
21008 (ceil_test): Likewise.
21009 (cexp_test): Likewise.
21010 (cimag_test): Likewise.
21011 (clog_test): Likewise.
21012 (clog10_test): Likewise.
21013 (conj_test): Likewise.
21014 (copysign_test): Likewise.
21015 (cos_test): Likewise.
21016 (cos_test_tonearest): Likewise.
21017 (cos_test_towardzero): Likewise.
21018 (cos_test_downward): Likewise.
21019 (cos_test_upward): Likewise.
21020 (cosh_test): Likewise.
21021 (cosh_test_tonearest): Likewise.
21022 (cosh_test_towardzero): Likewise.
21023 (cosh_test_downward): Likewise.
21024 (cosh_test_upward): Likewise.
21025 (cpow_test): Likewise.
21026 (cproj_test): Likewise.
21027 (creal_test): Likewise.
21028 (csin_test): Likewise.
21029 (csinh_test): Likewise.
21030 (csqrt_test): Likewise.
21031 (ctan_test): Likewise.
21032 (ctan_test_tonearest): Likewise.
21033 (ctan_test_towardzero): Likewise.
21034 (ctan_test_downward): Likewise.
21035 (ctan_test_upward): Likewise.
21036 (ctanh_test): Likewise.
21037 (ctanh_test_tonearest): Likewise.
21038 (ctanh_test_towardzero): Likewise.
21039 (ctanh_test_downward): Likewise.
21040 (ctanh_test_upward): Likewise.
21041 (erf_test): Likewise.
21042 (erfc_test): Likewise.
21043 (exp_test): Likewise.
21044 (exp_test_tonearest): Likewise.
21045 (exp_test_towardzero): Likewise.
21046 (exp_test_downward): Likewise.
21047 (exp_test_upward): Likewise.
21048 (exp10_test): Likewise.
21049 (exp10_test_tonearest): Likewise.
21050 (exp10_test_towardzero): Likewise.
21051 (exp10_test_downward): Likewise.
21052 (exp10_test_upward): Likewise.
21053 (pow10_test): Likewise.
21054 (exp2_test): Likewise.
21055 (expm1_test): Likewise.
21056 (expm1_test_tonearest): Likewise.
21057 (expm1_test_towardzero): Likewise.
21058 (expm1_test_downward): Likewise.
21059 (expm1_test_upward): Likewise.
21060 (fabs_test): Likewise.
21061 (fdim_test): Likewise.
21062 (floor_test): Likewise.
21063 (fma_test): Likewise.
21064 (fma_test_towardzero): Likewise.
21065 (fma_test_downward): Likewise.
21066 (fma_test_upward): Likewise.
21067 (fmax_test): Likewise.
21068 (fmin_test): Likewise.
21069 (fmod_test): Likewise.
21070 (fpclassify_test): Likewise.
21071 (frexp_test): Likewise.
21072 (hypot_test): Likewise.
21073 (ilogb_test): Likewise.
21074 (isfinite_test): Likewise.
21075 (finite_test): Likewise.
21076 (isgreater_test): Likewise.
21077 (isgreaterequal_test): Likewise.
21078 (isinf_test): Likewise.
21079 (isless_test): Likewise.
21080 (islessequal_test): Likewise.
21081 (islessgreater_test): Likewise.
21082 (isnan_test): Likewise.
21083 (isnormal_test): Likewise.
21084 (issignaling_test): Likewise.
21085 (isunordered_test): Likewise.
21086 (j0_test): Likewise.
21087 (j1_test): Likewise.
21088 (jn_test): Likewise.
21089 (ldexp_test): Likewise.
21090 (lgamma_test): Likewise.
21091 (gamma_test): Likewise.
21092 (lrint_test): Likewise.
21093 (lrint_test_tonearest): Likewise.
21094 (lrint_test_towardzero): Likewise.
21095 (lrint_test_downward): Likewise.
21096 (lrint_test_upward): Likewise.
21097 (llrint_test): Likewise.
21098 (llrint_test_tonearest): Likewise.
21099 (llrint_test_towardzero): Likewise.
21100 (llrint_test_downward): Likewise.
21101 (llrint_test_upward): Likewise.
21102 (log_test): Likewise.
21103 (log10_test): Likewise.
21104 (log1p_test): Likewise.
21105 (log2_test): Likewise.
21106 (logb_test): Likewise.
21107 (logb_test_downward): Likewise.
21108 (lround_test): Likewise.
21109 (llround_test): Likewise.
21110 (modf_test): Likewise.
21111 (nearbyint_test): Likewise.
21112 (nextafter_test): Likewise.
21113 (nexttoward_test): Likewise.
21114 (pow_test): Likewise.
21115 (pow_test_tonearest): Likewise.
21116 (pow_test_towardzero): Likewise.
21117 (pow_test_downward): Likewise.
21118 (pow_test_upward): Likewise.
21119 (remainder_test): Likewise.
21120 (drem_test): Likewise.
21121 (remainder_test_tonearest): Likewise.
21122 (drem_test_tonearest): Likewise.
21123 (remainder_test_towardzero): Likewise.
21124 (drem_test_towardzero): Likewise.
21125 (remainder_test_downward): Likewise.
21126 (drem_test_downward): Likewise.
21127 (remainder_test_upward): Likewise.
21128 (drem_test_upward): Likewise.
21129 (remquo_test): Likewise.
21130 (rint_test): Likewise.
21131 (rint_test_tonearest): Likewise.
21132 (rint_test_towardzero): Likewise.
21133 (rint_test_downward): Likewise.
21134 (rint_test_upward): Likewise.
21135 (round_test): Likewise.
21136 (scalb_test): Likewise.
21137 (scalbn_test): Likewise.
21138 (scalbln_test): Likewise.
21139 (signbit_test): Likewise.
21140 (sin_test): Likewise.
21141 (sin_test_tonearest): Likewise.
21142 (sin_test_towardzero): Likewise.
21143 (sin_test_downward): Likewise.
21144 (sin_test_upward): Likewise.
21145 (sincos_test): Likewise.
21146 (sinh_test): Likewise.
21147 (sinh_test_tonearest): Likewise.
21148 (sinh_test_towardzero): Likewise.
21149 (sinh_test_downward): Likewise.
21150 (sinh_test_upward): Likewise.
21151 (sqrt_test): Likewise.
21152 (sqrt_test_tonearest): Likewise.
21153 (sqrt_test_towardzero): Likewise.
21154 (sqrt_test_downward): Likewise.
21155 (sqrt_test_upward): Likewise.
21156 (tan_test): Likewise.
21157 (tan_test_tonearest): Likewise.
21158 (tan_test_towardzero): Likewise.
21159 (tan_test_downward): Likewise.
21160 (tan_test_upward): Likewise.
21161 (tanh_test): Likewise.
21162 (tgamma_test): Likewise.
21163 (trunc_test): Likewise.
21164 (y0_test): Likewise.
21165 (y1_test): Likewise.
21166 (yn_test): Likewise.
21167 (significand_test): Likewise.
21169 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21170 individual tests in comment.
21171 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21172 (prev_max_error): New variable.
21173 (prev_real_max_error): Likewise.
21174 (prev_imag_max_error): Likewise.
21175 (compare_ulp_data): Don't refer to test names in comment.
21176 (find_test_ulps): Remove function.
21177 (find_function_ulps): Likewise.
21178 (find_complex_function_ulps): Likewise.
21179 (init_max_error): Take function name as argument. Look up ulps
21181 (print_ulps): Remove function.
21182 (print_max_error): Use prev_max_error instead of calling
21183 find_function_ulps.
21184 (print_complex_max_error): Use prev_real_max_error and
21185 prev_imag_max_error instead of calling find_complex_function_ulps.
21186 (check_float_internal): Take max_ulp parameter instead of calling
21187 find_test_ulps. Don't call print_ulps.
21188 (check_float): Update call to check_float_internal.
21189 (check_complex): Update calls to check_float_internal.
21190 (START): Pass argument to init_max_error.
21191 * math/gen-libm-test.pl (%results): Don't include "kind"
21193 (parse_ulps): Don't handle ulps of individual tests.
21194 (print_ulps_file): Likewise.
21195 (output_ulps): Likewise.
21196 * math/README.libm-test: Update.
21197 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21199 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21200 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21201 * sysdeps/arm/libm-test-ulps: Likewise.
21202 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21203 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21204 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21205 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21206 * sysdeps/microblaze/libm-test-ulps: Likewise.
21207 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21208 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21209 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21210 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21211 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21212 * sysdeps/sh/libm-test-ulps: Likewise.
21213 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21214 * sysdeps/tile/libm-test-ulps: Likewise.
21215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21217 2014-03-04 Joseph Myers <joseph@codesourcery.com>
21219 * math/libm-test.inc (print_complex_max_error): Check separately
21220 whether real and imaginary errors are within allowed range and
21221 pass 0 to print_complex_function_ulps instead of value within
21224 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21226 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21228 (get_handles_fopen): Likewise.
21229 (do_write_test): Likewise.
21231 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21233 * libio/fileops.c (do_ftell): Use cached offset when
21235 * libio/iofwide.c (do_ftell_wide): Likewise.
21236 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21238 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21241 * libio/libioP.h (get_file_offset): New function.
21242 * libio/fileops.c (get_file_offset): Likewise.
21243 (do_ftell): Likewise.
21244 (_IO_new_file_seekoff): Split out ftell logic.
21245 * libio/wfileops.c (do_ftell_wide): Likewise.
21246 (_IO_wfile_seekoff): Split out ftell logic.
21247 * libio/tst-ftell-active-handler.c: New test case.
21248 * libio/Makefile (tests): Add it.
21250 2014-03-03 Roland McGrath <roland@hack.frob.com>
21252 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21253 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21255 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21258 * nscd/connections.c (nscd_init): Call do_exit.
21259 (start_threads): Call do_exit and notify_parent.
21260 (begin_drop_privileges): Call do_exit.
21261 (finish_drop_privileges): Likewise.
21262 * nscd/selinux.c (preserve_capabilities): Likewise.
21263 (install_real_capabilities): Likewise.
21264 (nscd_selinux_enabled): Likewise.
21265 (avc_create_thread): Likewise.
21266 (avc_alloc_lock): Likewise.
21267 (nscd_avc_init): Likewise.
21268 * nscd/nscd.c (parent_fd): New static variable.
21269 (main): Create a pipe between parent and child processes.
21270 Skip closing parent_fd.
21271 (monitor_child): New function.
21272 (do_exit): Likewise.
21273 (notify_parent): Likewise.
21274 * nscd/nscd.h (notify_parent): Likewise.
21275 (do_exit): Likewise.
21277 2014-03-03 Carlos O'Donell <carlos@redhat.com>
21279 * malloc/malloc.c (__libc_calloc): Revert last change.
21281 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21285 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21287 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21291 (__libc_ifunc_impl_list): Likewise.
21292 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21293 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21294 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21295 * string/strrchr.c: Define STRRCHR.
21297 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
21299 * benchtest/bench-strtok.c (simple_strtok): Delete.
21300 (strtok_string): Use as benchmark.
21301 * string/strtok (STRTOK): New macro.
21303 2014-02-28 Carlos O'Donell <carlos@redhat.com>
21305 * manual/threads.texi: Add header and standard comments to all
21308 * elf/dl-lookup.c (check_match): New function.
21309 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21310 (do_lookup_x): Remove nested function check_match. Use non-nested
21311 function check_match.
21313 2014-02-28 Roland McGrath <roland@hack.frob.com>
21315 * csu/Makefile (generated, before-compile): Use += rather than =.
21316 * catgets/Makefile (generated, generated-dirs): Likewise.
21317 * debug/Makefile (generated): Likewise.
21318 * dlfcn/Makefile (generated): Likewise.
21319 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21320 * iconvdata/Makefile (before-compile, generated): Likewise.
21321 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21322 * libio/Makefile (generated): Likewise.
21323 * malloc/Makefile (generated): Likewise.
21324 * manual/Makefile (generated, generated-dirs): Likewise.
21325 * misc/Makefile (generated): Likewise.
21326 * posix/Makefile (generated): Likewise.
21327 * resolv/Makefile (generated): Likewise.
21328 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21329 * timezone/Makefile (generated, generated-dirs): Likewise.
21331 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21333 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21336 power8 implementation.
21337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21338 file: POWER8 llround ifunc implementation.
21339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21340 (__lllround): Add POWER8 implementation.
21341 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21342 POWER8 llround implementation.
21344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21345 power8 implementation.
21346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21347 file: POWER8 llrint ifunc implementation.
21348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21349 Add POWER8 implementation.
21350 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21351 POWER8 llrint implementation.
21353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21354 power8 implementation.
21355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21356 file: POWER8 finite ifunc implementation.
21357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21358 Add POWER8 implementation.
21359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21361 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21362 POWER8 finite implementation.
21363 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21365 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21366 power8 implementation.
21367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21368 file: POWER8 isinf ifunc implementation.
21369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21370 POWER8 implementation.
21371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21373 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21374 isinf implementation.
21375 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21377 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21378 (INIT_ARCH): Add hwcap2 initialization.
21379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21380 power8 implementation.
21381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21382 file: POWER8 isnan ifunc implementation.
21383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21384 POWER8 implementation.
21385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21387 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21388 isnan implementation.
21389 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21391 2014-02-27 Joey Ye <joey.ye@arm.com>
21393 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21394 (_FP_NANFRAC_Q): Set to zero.
21396 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21399 * math/auto-libm-test-in: New test inputs.
21400 * math/auto-libm-test-out: Regenerate.
21401 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21404 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21406 2014-02-27 Joseph Myers <joseph@codesourcery.com>
21408 * scripts/evaluate-test.sh: Take new argument indicating whether
21409 failure is expected.
21410 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21411 indicating whether failure is expected.
21412 * conform/Makefile (test-xfail-run-conformtest): New variable.
21413 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21415 * posix/Makefile (test-xfail-annexc): New variable.
21416 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21418 2014-02-26 Joseph Myers <joseph@codesourcery.com>
21420 * argp/Makefile: Include Makeconfig immediately after defining
21422 * assert/Makefile: Likewise.
21423 * benchtests/Makefile: Likewise.
21424 * catgets/Makefile: Likewise.
21425 * conform/Makefile: Likewise.
21426 * crypt/Makefile: Likewise.
21427 * csu/Makefile: Likewise.
21428 (all): Remove target.
21429 * ctype/Makefile: Include Makeconfig immediately after defining
21431 * debug/Makefile: Likewise.
21432 * dirent/Makefile: Likewise.
21433 * dlfcn/Makefile: Likewise.
21434 * gmon/Makefile: Likewise.
21435 * gnulib/Makefile: Likewise.
21436 * grp/Makefile: Likewise.
21437 * gshadow/Makefile: Likewise.
21438 * hesiod/Makefile: Likewise.
21439 * hurd/Makefile: Likewise.
21440 (all): Remove target.
21441 * iconvdata/Makefile: Include Makeconfig immediately after
21443 * inet/Makefile: Likewise.
21444 * intl/Makefile: Likewise.
21445 * io/Makefile: Likewise.
21446 * libio/Makefile: Likewise.
21447 (all): Remove target.
21448 * locale/Makefile: Include Makeconfig immediately after defining
21450 * login/Makefile: Likewise.
21451 * mach/Makefile: Likewise.
21452 (all): Remove target.
21453 * malloc/Makefile: Include Makeconfig immediately after defining
21455 (all): Remove target.
21456 * manual/Makefile: Include Makeconfig immediately after defining
21458 * math/Makefile: Likewise.
21459 * misc/Makefile: Likewise.
21460 * nis/Makefile: Likewise.
21461 * nss/Makefile: Likewise.
21462 * po/Makefile: Likewise.
21463 (all): Remove target.
21464 * posix/Makefile: Include Makeconfig immediately after defining
21466 * pwd/Makefile: Likewise.
21467 * resolv/Makefile: Likewise.
21468 * resource/Makefile: Likewise.
21469 * rt/Makefile: Likewise.
21470 * setjmp/Makefile: Likewise.
21471 * shadow/Makefile: Likewise.
21472 * signal/Makefile: Likewise.
21473 * socket/Makefile: Likewise.
21474 * soft-fp/Makefile: Likewise.
21475 * stdio-common/Makefile: Likewise.
21476 * stdlib/Makefile: Likewise.
21477 * streams/Makefile: Likewise.
21478 * string/Makefile: Likewise.
21479 * sunrpc/Makefile: Likewise.
21480 (all): Remove target.
21481 * sysvipc/Makefile: Include Makeconfig immediately after defining
21483 * termios/Makefile: Likewise.
21484 * time/Makefile: Likewise.
21485 * timezone/Makefile: Likewise.
21486 (all): Remove target.
21487 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21489 * wctype/Makefile: Likewise.
21491 2014-02-26 Steve Ellcey <sellcey@mips.com>
21493 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21494 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21495 (libc_feholdexcept_setround_mips): Ditto.
21496 (libc_feholdsetround): New.
21497 (libc_feholdsetroundf): New.
21498 (libc_feholdsetroundl): New.
21499 (libc_feupdateenv_test_mips): New.
21500 (libc_feupdateenv_test): New.
21501 (libc_feupdateenv_testf): New.
21502 (libc_feupdateenv_testl): New.
21503 (libc_feresetround): New.
21504 (libc_feresetroundf): New.
21505 (libc_feresetroundl): New.
21506 (libc_fetestexcept_mips): New.
21507 (libc_fetestexcept): New.
21508 (libc_fetestexceptf): New.
21509 (libc_fetestexceptl): New.
21510 (HAVE_RM_CTX): New.
21511 (libc_feholdexcept_setround_mips_ctx): New.
21512 (libc_feholdexcept_setround_ctx): New.
21513 (libc_feholdexcept_setroundf_ctx): New.
21514 (libc_feholdexcept_setroundl_ctx): New.
21515 (libc_fesetenv_mips_ctx): New.
21516 (libc_fesetenv_ctx): New.
21517 (libc_fesetenv_ctxf): New.
21518 (libc_fesetenv_ctxl): New.
21519 (libc_feupdateenv_mips_ctx): New.
21520 (libc_feupdateenv_ctx): New.
21521 (libc_feupdateenvf_ctx): New.
21522 (libc_feupdateenvl_ctx): New.
21523 (libc_feholdsetround_mips_ctx): New.
21524 (libc_feholdsetround_ctx): New.
21525 (libc_feholdsetroundf_ctx): New.
21526 (libc_feholdsetroundl_ctx): New.
21527 (libc_feresetround_mips_ctx): New.
21528 (libc_feresetround_ctx): New.
21529 (libc_feresetroundf_ctx): New.
21530 (libc_feresetroundl_ctx): New.
21532 2014-02-26 Carlos O'Donell <carlos@redhat.com>
21534 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21536 * manual/ipc.texi: New file.
21537 * manual/Makefile (chapters): Add ipc.
21538 * manual/job.texi: Add "Inter-Process Communication" to next.
21539 * manual/process.texi: Add "Inter-Process Communication" to prev.
21541 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21545 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
21547 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21549 * manual/arith.texi: Fix spaces after sentences.
21550 * manual/charset.texi: Likewise.
21551 * manual/errno.texi: Likewise.
21552 * manual/install.texi: Likewise.
21553 * manual/llio.texi: Likewise.
21554 * manual/locale.texi: Likewise.
21555 * manual/maint.texi: Likewise.
21556 * manual/math.texi: Likewise.
21557 * manual/memory.texi: Likewise.
21558 * manual/message.texi: Likewise.
21559 * manual/probes.texi: Likewise.
21560 * manual/resource.texi: Likewise.
21561 * manual/signal.texi: Likewise.
21562 * manual/socket.texi: Likewise.
21563 * manual/stdio.texi: Likewise.
21564 * manual/string.texi: Likewise.
21565 * manual/time.texi: Likewise.
21566 * manual/users.texi: Likewise.
21568 2014-02-25 Carlos O'Donell <carlos@redhat.com>
21571 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21572 _DEFAULT_SOURCE is defined.
21574 2014-02-25 Ulrich Drepper <drepper@gmail.com>
21575 Carlos O'Donell <carlos@redhat.com>
21578 * elf/dl-tls.c (_dl_count_modids): New function.
21579 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21580 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21581 audit library and increment generation counter.
21582 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21583 * elf/tst-audit9.c: New file.
21584 * elf/tst-auditmod9a.c: New file.
21585 * elf/tst-auditmod9b.c: New file.
21586 * elf/Makefile: Add rules to build and run tst-audit9.
21588 2014-02-25 Florian Weimer <fweimer@redhat.com>
21591 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21593 2014-02-25 Will Newton <will.newton@linaro.org>
21595 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21596 (__longjmp): Restore sp and lr before restoring callee
21597 saved registers. Add longjmp and longjmp_target
21598 SystemTap probe point.
21599 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21600 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21601 Define to zero to match jmpbuf layout.
21602 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21603 (__sigsetjmp): Save sp and lr before saving callee
21604 saved registers. Add setjmp SystemTap probe point.
21606 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21608 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21610 2014-02-24 Andreas Schwab <schwab@suse.de>
21613 * elf/pldd.c (wait_for_ptrace_stop): New function.
21614 (main): Call it after attaching.
21616 2014-02-22 Roland McGrath <roland@hack.frob.com>
21618 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21619 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21620 Versions files is now verboten.
21621 * hurd/Versions (libc: GLIBC_2.0):
21622 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21623 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21624 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21625 * mach/Versions: Likewise.
21627 * csu/Versions: Remove unused %include.
21628 * resolv/Versions: Likewise.
21630 2014-02-21 Joseph Myers <joseph@codesourcery.com>
21632 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21633 ($(objpfx)check-local-headers.out): Likewise.
21634 ($(objpfx)begin-end-check.out): Likewise.
21635 * Makerules (check-abi-%.out): Likewise.
21636 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21637 ($(objpfx)test2.cat): Likewise.
21638 ($(objpfx)de/libc.cat): Likewise.
21639 ($(objpfx)test-gencat.out): Likewise.
21640 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21641 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21642 ($(objpfx)noload-mem): Likewise.
21643 ($(objpfx)tst-pathopt.out): Likewise.
21644 ($(objpfx)tst-rtld-load-self.out): Likewise.
21645 ($(objpfx)tst-array1-cmp.out): Likewise.
21646 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21647 ($(objpfx)tst-array2-cmp.out): Likewise.
21648 ($(objpfx)tst-array3-cmp.out): Likewise.
21649 ($(objpfx)tst-array4-cmp.out): Likewise.
21650 ($(objpfx)tst-array5-cmp.out): Likewise.
21651 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21652 ($(objpfx)check-textrel.out): Likewise.
21653 ($(objpfx)check-execstack.out): Likewise.
21654 ($(objpfx)check-localplt.out): Likewise.
21655 ($(objpfx)order2-cmp.out): Likewise.
21656 ($(objpfx)tst-leaks1-mem): Likewise.
21657 ($(objpfx)tst-leaks1-static-mem): Likewise.
21658 ($(objpfx)tst-initorder-cmp.out): Likewise.
21659 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21660 ($(objpfx)tst-unused-dep.out): Likewise.
21661 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21662 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21663 * iconv/Makefile (test-iconvconfig): Likewise.
21664 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21665 ($(objpfx)iconv-test.out): Likewise.
21666 ($(objpfx)tst-tables.out): Likewise.
21667 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21668 ($(objpfx)tst-gettext.out): Likewise.
21669 ($(objpfx)tst-translit.out): Likewise.
21670 ($(objpfx)tst-gettext2.out): Likewise.
21671 ($(objpfx)tst-gettext4.out): Likewise.
21672 ($(objpfx)tst-gettext6.out): Likewise.
21673 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21674 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21675 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21676 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21677 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21678 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21679 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21680 ($(objpfx)wordexp-tst.out): Likewise.
21681 ($(objpfx)annexc.out): Likewise.
21682 ($(objpfx)tst-fnmatch-mem): Likewise.
21683 ($(objpfx)bug-regex2-mem): Likewise.
21684 ($(objpfx)bug-regex14-mem): Likewise.
21685 ($(objpfx)bug-regex21-mem): Likewise.
21686 ($(objpfx)bug-regex31-mem): Likewise.
21687 ($(objpfx)tst-vfork3-mem): Likewise.
21688 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21689 ($(objpfx)tst-pcre-mem): Likewise.
21690 ($(objpfx)tst-boost-mem): Likewise.
21691 ($(objpfx)tst-getconf.out): Likewise.
21692 ($(objpfx)bug-ga2-mem): Likewise.
21693 ($(objpfx)bug-glob2-mem): Likewise.
21694 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21695 ($(objpfx)mtrace-tst-leaks2): Likewise.
21696 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21697 ($(objpfx)tst-printf.out): Likewise.
21698 ($(objpfx)tst-setvbuf1.out): Likewise.
21699 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21700 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21701 ($(objpfx)tst-fmtmsg.out): Likewise.
21702 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21703 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21705 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21706 * bits/sigaction.h [__USE_MISC]: Likewise.
21707 * bits/waitstatus.h: Update #endif comments.
21708 * ctype/ctype.h: Likewise.
21709 * dirent/dirent.h: Likewise.
21710 [__USE_MISC]: Remove redundant conditionals.
21711 * grp/grp.h: Update #endif comments.
21712 [__USE_GNU]: Remove redundant conditionals.
21713 [__USE_MISC]: Likewise.
21714 * inet/netinet/in.h [__USE_GNU]: Likewise.
21715 * io/sys/stat.h [__USE_MISC]: Likewise.
21716 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21717 * libio/bits/stdio.h: Update #endif comments.
21718 [__USE_MISC]: Remove redundant conditionals.
21719 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21720 * libio/stdio.h: Update #endif comments.
21721 [__USE_MISC]: Remove redundant conditionals.
21722 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21723 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21724 * math/math.h: Update #else and #endif comments.
21725 [__USE_MISC]: Remove redundant conditionals.
21726 * misc/sys/uio.h: Update #endif comments.
21727 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21728 * posix/glob.h [__USE_MISC]: Likewise.
21729 * posix/sys/types.h: Update #endif comments.
21730 [__USE_MISC]: Remove redundant conditionals.
21731 * posix/sys/wait.h: Update #endif comments.
21732 [__USE_MISC]: Remove redundant conditionals.
21733 * posix/unistd.h: Update #endif comments.
21734 [__USE_MISC]: Remove redundant conditionals.
21735 * pwd/pwd.h [__USE_GNU]: Likewise.
21736 [__USE_MISC]: Likewise.
21737 * resolv/netdb.h [__USE_GNU]: Likewise.
21738 * signal/signal.h: Update #endif comments.
21739 [__USE_MISC]: Remove redundant conditionals.
21740 * stdlib/stdlib.h: Update #else and #endif comments.
21741 [__USE_MISC]: Remove redundant conditionals.
21742 [__USE_GNU]: Likewise.
21743 * string/bits/string2.h [__USE_MISC]: Likewise.
21744 * string/string.h: Update #endif comments.
21745 [__USE_MISC]: Remove redundant conditionals.
21746 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21748 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21749 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21750 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21752 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21754 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21756 [__USE_MISC]: Remove redundant conditionals.
21757 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21758 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21759 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21760 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21761 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21763 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21764 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21766 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21767 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21769 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21771 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21772 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21774 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21776 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21777 * sysdeps/x86/bits/string.h: Update #endif comments.
21778 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21780 * time/sys/time.h: Update #endif comments.
21781 * time/time.h: Likewise.
21782 [__USE_MISC]: Remove redundant conditionals.
21784 2014-02-21 Yury Gribov <y.gribov@samsung.com>
21787 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21789 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21791 * Versions.def (librt): Add GLIBC_2.17.
21793 2014-02-21 Adam Conrad <adconrad@0c3.net>
21795 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21796 synonym for _SYS_AUXV_H to allow direct inclusion.
21797 * sysdeps/sparc/bits/hwcap.h: Likewise.
21798 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21799 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21800 * sysdeps/sparc/sysdep.h: Likewise.
21802 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21804 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21806 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21808 * benchtests/bench-strrchr.c: Print length instead of position.
21810 2014-02-20 Joseph Myers <joseph@codesourcery.com>
21813 * sysdeps/unix/sysv/linux/kernel-features.h
21814 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21815 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21816 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21817 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21819 [__i386__ || __powerpc__ || __sh__ || __sparc__]
21820 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21821 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21822 (__ASSUME_SENDMMSG): Define instead of using previous
21823 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21824 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21825 (__ASSUME_SENDMMSG_SYSCALL): Define.
21826 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21827 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21829 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21830 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21832 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21833 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21835 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21836 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21837 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21838 [__ASSUME_SENDMMSG]: Change conditionals to
21839 [__ASSUME_SENDMMSG_SOCKETCALL].
21840 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21841 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21843 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21844 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21846 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21847 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21848 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21849 [!__ASSUME_SENDMMSG]: Change conditional to
21850 [!__ASSUME_SENDMMSG_SOCKETCALL].
21851 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21852 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21856 * sysdeps/unix/sysv/linux/kernel-features.h
21857 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21858 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21859 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21860 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21861 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21862 [__i386__ || __sparc__]
21863 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21864 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21865 (__ASSUME_RECVMMSG): Define instead of using previous
21866 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21867 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21868 (__ASSUME_RECVMMSG_SYSCALL): Define.
21869 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21870 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21872 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21873 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21875 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21876 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21878 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21879 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21880 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21881 [__ASSUME_RECVMMSG]: Change condition to
21882 [__ASSUME_RECVMMSG_SOCKETCALL].
21883 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21884 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21886 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21887 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21888 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21890 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21891 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21892 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21893 [!__ASSUME_RECVMMSG]: Change condition to
21894 [!__ASSUME_RECVMMSG_SOCKETCALL].
21895 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21896 (__ASSUME_RECVMMSG_SYSCALL): Define.
21899 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21900 __powerpc__ || __s390__ || __sh__ || __sparc__]
21901 (__ASSUME_SOCKETCALL): Define.
21902 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21903 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21904 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21905 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21906 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21907 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21908 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21909 (__ASSUME_ACCEPT4): Define instead of using previous
21910 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21911 __powerpc__ || __sparc__ || __s390__)] condition.
21912 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21913 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21914 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21915 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21916 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21917 [!__ASSUME_ACCEPT4]: Change condition to
21918 [!__ASSUME_ACCEPT4_SOCKETCALL].
21919 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21920 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
21921 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21922 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21923 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21924 __ASSUME_ACCEPT4_SYSCALL.
21925 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21926 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21927 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21928 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21929 __ASSUME_ACCEPT4_SYSCALL.
21930 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21931 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21932 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21933 [__ASSUME_ACCEPT4]: Change condition to
21934 [__ASSUME_ACCEPT4_SOCKETCALL].
21935 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21936 (__ASSUME_SOCKETCALL): Define.
21937 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21938 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21939 (__ASSUME_SOCKETCALL): Define.
21940 (__ASSUME_ACCEPT4): Remove.
21941 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21943 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21944 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21946 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21947 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21949 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21951 (HWCAP_ARM_LPAE): Likewise.
21952 (HWCAP_ARM_EVTSTRM): Likewise.
21953 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21954 Add vpfd32, lpae and evtstrm.
21955 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21958 2014-02-19 Joseph Myers <joseph@codesourcery.com>
21960 * math/auto-libm-test-in: Add tests of clog10.
21961 * math/auto-libm-test-out: Regenerated.
21962 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21963 * sysdeps/i386/fpu/libm-test-ulps: Update.
21964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21966 2014-02-18 Andreas Schwab <schwab@suse.de>
21969 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21970 Store non-zero if the second buffer was newly allocated.
21971 (send_dg): Likewise.
21972 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21973 to send_vc and send_dg.
21974 (res_nsend): Pass NULL for ansp2_malloced.
21975 * resolv/res_query.c (__libc_res_nquery): Add parameter
21976 answerp2_malloced and pass it down to __libc_res_nsend.
21977 (res_nquery): Pass additional NULL to __libc_res_nquery.
21978 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21979 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
21980 second answer buffer if answerp2_malloced was set.
21981 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21982 (__libc_res_nquerydomain): Add parameter
21983 answerp2_malloced and pass it down to __libc_res_nquery.
21984 (res_nquerydomain): Pass additional NULL to
21985 __libc_res_nquerydomain.
21986 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21987 additional NULL to __libc_res_nsend and __libc_res_nquery.
21988 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21989 additional NULL to __libc_res_nsearch.
21990 (_nss_dns_gethostbyname4_r): Revert last change. Use new
21991 parameter of __libc_res_nsearch to check for separately allocated
21993 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21995 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21996 additional NULL to __libc_res_nquery.
21997 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21998 __libc_res_nsearch.
21999 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22000 * include/resolv.h: Update prototypes of __libc_res_nquery,
22001 __libc_res_nsearch, __libc_res_nsend.
22003 2014-02-18 Joseph Myers <joseph@codesourcery.com>
22005 * math/auto-libm-test-in: Add tests of fma.
22006 * math/auto-libm-test-out: Regenerated.
22007 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22008 (fma_towardzero_test_data): Likewise.
22009 (fma_downward_test_data): Likewise.
22010 (fma_upward_test_data): Likewise.
22011 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22013 (rounding_modes): Add values for new field.
22014 (func_calc_method): Add value mpfr_fff_f.
22015 (func_calc_desc): Add mpfr_fff_f union field.
22016 (test_function): Add field exact_args.
22017 (FUNC): Add macro argument EXACT_ARGS.
22018 (FUNC_mpfr_f_f): Update call to FUNC.
22019 (FUNC_mpfr_f_f): Likewise.
22020 (FUNC_mpfr_ff_f): Likewise.
22021 (FUNC_mpfr_if_f): Likewise.
22022 (FUNC_mpc_c_f): Likewise.
22023 (FUNC_mpc_c_c): Likewise.
22024 (test_functions): Add fma. Update calls to FUNC.
22025 (handle_input_arg): Add argument exact_args.
22026 (add_test): Update call to handle_input_arg.
22027 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22028 (output_for_one_input_case): Update call to calc_generic_results.
22029 Recalculate exact zero results in each rounding mode.
22031 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22032 non-negative before setting low bit.
22033 * math/auto-libm-test-in: Mark one asin test possibly having
22034 spurious underflow.
22035 * math/auto-libm-test-out: Regenerated.
22036 * sysdeps/i386/fpu/libm-test-ulps: Update.
22037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22039 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22041 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22042 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22043 ports/sysdeps/unix/sysv/linux/microblaze.
22044 * README: Add missing listing for microblaze*-*-linux-gnu.
22046 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
22048 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22051 2014-02-16 Mike Frysinger <vapier@gentoo.org>
22053 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22054 * sysdeps/unix/sysv/linux/ia64: Move directory from
22055 ports/sysdeps/unix/sysv/linux/ia64.
22056 * README: Update listing for ia64-*-linux-gnu.
22058 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22059 Joseph Myers <joseph@codesourcery.com>
22061 * Makeconfig (test-name): New variable.
22062 (evaluate-test): Likewise.
22063 * Makerules (do-test-clean): Remove .test-result files.
22064 (common-mostlyclean): Likewise.
22065 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22066 * scripts/evaluate-test.sh: New file.
22068 2014-02-14 Joseph Myers <joseph@codesourcery.com>
22070 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22071 separate $(objpfx)tst-fopenloc-cmp.out and
22072 $(objpfx)tst-fopenloc-mem.out targets.
22073 (tests): Update dependencies.
22074 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22075 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22076 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22077 (tst-rxspencer-no-utf8-ARGS): New variable.
22078 (tst-rxspencer-no-utf8-ENV): Likewise.
22079 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22080 instead of $(objpfx)tst-rxspencer-mem.
22081 ($(objpfx)tst-rxspencer-mem): Change target to
22082 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22083 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22084 * posix/tst-rxspencer-no-utf8.c: New file.
22086 * elf/Makefile ($(objpfx)order.out): Remove rule.
22087 [$(run-built-tests) = yes] (tests): Depend on
22088 $(objpfx)order-cmp.out.
22089 ($(objpfx)order-cmp.out): New rule.
22090 [$(run-built-tests) = yes] (tests): Depend on
22091 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22092 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22093 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22094 $(objpfx)tst-array5-static-cmp.out.
22095 ($(objpfx)tst-array1.out): Remove rule.
22096 ($(objpfx)tst-array1-cmp.out): New rule.
22097 ($(objpfx)tst-array1-static.out): Remove rule.
22098 ($(objpfx)tst-array1-static-cmp.out): New rule.
22099 ($(objpfx)tst-array2.out): Remove rule.
22100 ($(objpfx)tst-array2-cmp.out): New rule.
22101 ($(objpfx)tst-array3.out): Remove rule.
22102 ($(objpfx)tst-array3-cmp.out): New rule.
22103 ($(objpfx)tst-array4.out): Remove rule.
22104 ($(objpfx)tst-array4-cmp.out): New rule.
22105 ($(objpfx)tst-array5.out): Remove rule.
22106 ($(objpfx)tst-array5-cmp.out): New rule.
22107 ($(objpfx)tst-array5-static.out): Remove rule.
22108 ($(objpfx)tst-array5-static-cmp.out): New rule.
22109 [$(run-built-tests) = yes] (tests): Depend on
22110 $(objpfx)order2-cmp.out.
22111 ($(objpfx)order2.out): Remove rule.
22112 ($(objpfx)order2-cmp.out): New rule.
22113 ($(objpfx)tst-initorder.out): Remove rule.
22114 [$(run-built-tests) = yes] (tests): Depend on
22115 $(objpfx)tst-initorder-cmp.out.
22116 ($(objpfx)tst-initorder-cmp.out): New rule.
22117 ($(objpfx)tst-initorder2.out): Remove rule.
22118 [$(run-built-tests) = yes] (tests): Depend on
22119 $(objpfx)tst-initorder2-cmp.out.
22120 ($(objpfx)tst-initorder2-cmp.out): New rule.
22121 [$(run-built-tests) = yes] (tests): Depend on
22122 $(objpfx)tst-unused-dep-cmp.out.
22123 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22124 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22125 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22126 on $(objpfx)tst-setvbuf1-cmp.out.
22127 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22128 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22129 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22130 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22131 ($(objpfx)tst-svc.out): Remove rule.
22132 ($(objpfx)tst-svc-cmp.out): New rule.
22134 2014-02-13 Joseph Myers <joseph@codesourcery.com>
22136 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22137 * ctype/ctype.h [__USE_MISC]: Likewise.
22138 * dirent/dirent.h [__USE_MISC]: Likewise.
22139 * grp/grp.h [__USE_MISC]: Likewise.
22140 * io/fcntl.h [__USE_MISC]: Likewise.
22141 * io/sys/stat.h [__USE_MISC]: Likewise.
22142 * libio/stdio.h [__USE_MISC]: Likewise.
22143 * posix/unistd.h [__USE_MISC]: Likewise.
22144 * pwd/pwd.h [__USE_MISC]: Likewise.
22145 * stdlib.h [__USE_MISC]: Likewise.
22146 * string/bits/string2.h [__USE_MISC]: Likewise.
22147 * string/string.h [__USE_MISC]: Likewise.
22148 * time/time.h [__USE_MISC]: Likewise.
22150 2014-02-13 Andreas Schwab <schwab@suse.de>
22153 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22154 second answer buffer if it was separately allocated.
22156 2014-02-12 Joseph Myers <joseph@codesourcery.com>
22158 * sysdeps/mips/math-tests.h: Include <features.h>.
22159 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22160 (ROUNDING_TESTS_long_double): Do not define.
22161 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22162 (EXCEPTION_TESTS_long_double): Likewise.
22163 * sysdeps/mips/mips64/libm-test-ulps: Update.
22165 * include/features.h (__USE_BSD): Remove macro definitions.
22166 (__USE_SVID): Likewise.
22167 (_BSD_SOURCE): Likewise.
22168 (_SVID_SOURCE): Likewise.
22169 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22170 from definition of _DEFAULT_SOURCE.
22171 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22173 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22174 * bits/mman.h [__USE_BSD]: Likewise.
22175 * bits/termios.h [__USE_BSD]: Likewise.
22176 * bits/waitstatus.h [__USE_BSD]: Likewise.
22177 * ctype/ctype.h [__USE_SVID]: Likewise.
22178 * dirent/dirent.h [__USE_BSD]: Likewise.
22179 * grp/grp.h [__USE_SVID]: Likewise.
22180 [__USE_BSD]: Likewise.
22181 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22182 * io/fcntl.h [__USE_BSD]: Likewise.
22183 * io/ftw.h [__USE_BSD]: Likewise.
22184 * io/sys/stat.h [__USE_BSD]: Likewise.
22185 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22186 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22187 * libio/stdio.h [__USE_SVID]: Likewise.
22188 [__USE_BSD]: Likewise.
22189 * math/math.h [__USE_SVID]: Likewise.
22190 [__USE_BSD]: Likewise.
22191 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22192 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22193 * misc/search.h [__USE_SVID]: Likewise.
22194 * misc/sys/mman.h [__USE_BSD]: Likewise.
22195 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22196 * misc/sys/uio.h [__USE_BSD]: Likewise.
22197 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22198 * posix/glob.h [__USE_BSD]: Likewise.
22199 * posix/regex.h [__USE_BSD]: Likewise.
22200 * posix/sys/types.h [__USE_BSD]: Likewise.
22201 [__USE_SVID]: Likewise.
22202 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22203 * posix/sys/wait.h [__USE_BSD]: Likewise.
22204 [__USE_SVID]: Likewise.
22205 * posix/unistd.h [__USE_BSD]: Likewise.
22206 [__USE_SVID]: Likewise.
22207 * pwd/pwd.h [__USE_SVID]: Likewise.
22208 * resolv/netdb.h [__USE_BSD]: Likewise.
22209 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22210 * signal/signal.h [__USE_BSD]: Likewise.
22211 [__USE_SVID]: Likewise.
22212 * socket/sys/socket.h [__USE_BSD]: Likewise.
22213 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22214 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22215 [__USE_SVID]: Likewise.
22216 * string/bits/string2.h [__USE_BSD]: Likewise.
22217 [__USE_SVID]: Likewise.
22218 * string/bits/string3.h [__USE_BSD]: Likewise.
22219 * string/endian.h [__USE_BSD]: Likewise.
22220 * string/string.h [__USE_SVID]: Likewise.
22221 [__USE_BSD]: Likewise.
22222 * string/strings.h [__USE_BSD]: Likewise.
22223 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22224 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22225 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22226 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22227 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22228 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22230 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22232 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22233 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22235 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22236 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22238 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22240 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22241 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22242 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22244 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22246 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22247 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22248 * termios/termios.h [__USE_BSD]: Likewise.
22249 * time/sys/time.h [__USE_BSD]: Likewise.
22250 * time/time.h [__USE_BSD]: Likewise.
22251 [__USE_SVID]: Likewise.
22253 * Makefile (subdir_targets): Remove subdir_lint.out.
22255 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22256 (do-tst-printf): Likewise.
22257 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22258 $(objpfx)tst-printf.out.
22260 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22262 * Makerules (check-abi-%): Change target to
22263 $(objpfx)check-abi-%.out.
22264 (check-abi target): Update dependencies.
22265 (check-abi-pattern variable): Redirect output of diff to $@.
22266 (check-abi variable): Likewise.
22267 * elf/Makefile (check-abi): Update dependencies.
22269 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22271 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22272 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22274 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22275 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22276 value has largest subnormal exponent.
22277 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22278 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22279 * sysdeps/aarch64/soft-fp/sfp-machine.h
22280 (_FP_TININESS_AFTER_ROUNDING): New macro.
22281 * sysdeps/alpha/soft-fp/sfp-machine.h
22282 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22283 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22285 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22286 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22287 * sysdeps/mips/soft-fp/sfp-machine.h
22288 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22289 * sysdeps/powerpc/soft-fp/sfp-machine.h
22290 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22291 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22293 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22294 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22295 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22296 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22297 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22300 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
22303 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22306 2014-02-12 Richard Henderson <rth@redhat.com>
22308 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22309 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22310 * sysdeps/unix/sysv/linux/alpha: Move directory from
22311 ports/sysdeps/unix/sysv/linux/alpha.
22312 * README: Update listing for alpha-*-linux-gnu.
22314 2014-02-11 Joseph Myers <joseph@codesourcery.com>
22316 * include/features.h: Update comment documenting feature test
22318 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22320 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22321 (_SVID_SOURCE): Likewise.
22322 (_DEFAULT_SOURCE): Update description of default features.
22323 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22325 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22326 (S_ISVTX): Likewise.
22327 * manual/math.texi (Mathematical Constants): Likewise.
22328 * manual/signal.texi (Interrupted Primitives): Likewise.
22329 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22330 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22331 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22332 Don't refer to _SVID_SOURCE in warning text.
22334 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22336 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22338 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22339 * sysdeps/mips/dl-lookup.c: Remove.
22340 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22342 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22345 * math/auto-libm-test-in: Add testcase for expl.
22346 * math/auto-libm-test-out: Regenerate.
22347 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22348 calculation of unsafe.
22349 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22351 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22353 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22354 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22355 ports/sysdeps/unix/sysv/linux/aarch64.
22356 * README: Update listing for aarch64*-*-linux-gnu.
22358 2014-02-11 Will Newton <will.newton@linaro.org>
22360 * manual/probes.texi (Mathematical Function Probes): Use
22361 "triggered" instead of "hit".
22363 * manual/probes.texi (Internal Probes): Add documentation
22364 of setjmp, longjmp and longjmp_target probes.
22366 * include/stap-probe.h: Add comment about probe argument
22369 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22370 definition. (tr_where, tr_freehook, tr_mallochook,
22371 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22373 2014-02-11 David S. Miller <davem@davemloft.net>
22375 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22376 processing int_tests.
22378 2014-02-10 Joseph Myers <joseph@codesourcery.com>
22380 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22381 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22382 * sysdeps/unix/sysv/linux/mips: Move directory from
22383 ports/sysdeps/unix/sysv/linux/mips.
22384 * README: Update listing for mips-*-linux-gnu and
22385 mips64-*-linux-gnu.
22387 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22389 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22390 * sysdeps/unix/sysv/linux/m68k: Move directory from
22391 ports/sysdeps/unix/sysv/linux/m68k.
22392 * README: Update listing for m68k-*-linux-gnu.
22394 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22396 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22397 * sysdeps/unix/sysv/linux/generic: Move directory from
22398 ports/sysdeps/unix/sysv/linux/generic.
22399 * sysdeps/unix/sysv/linux/tile: Move directory from
22400 ports/sysdeps/unix/sysv/linux/tile.
22401 * README: Update listing for tile*-*-linux-gnu.
22403 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
22405 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22407 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22408 * catgets/open_catalog.c (__open_catalog): Likewise.
22409 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22410 * debug/confstr_chk.c: Likewise.
22411 * debug/fread_chk.c (__fread_chk): Likewise.
22412 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22413 * debug/getgroups_chk.c: Likewise.
22414 * debug/mbsnrtowcs_chk.c: Likewise.
22415 * debug/mbsrtowcs_chk.c: Likewise.
22416 * debug/mbstowcs_chk.c: Likewise.
22417 * debug/memcpy_chk.c: Likewise.
22418 * debug/memmove_chk.c: Likewise.
22419 * debug/mempcpy_chk.c: Likewise.
22420 * debug/memset_chk.c: Likewise.
22421 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22422 * debug/strcat_chk.c (__strcat_chk): Likewise.
22423 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22424 * debug/strncat_chk.c (__strncat_chk): Likewise.
22425 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22426 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22427 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22428 * debug/wcpncpy_chk.c: Likewise.
22429 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22430 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22431 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22432 * debug/wcsncpy_chk.c: Likewise.
22433 * debug/wcsnrtombs_chk.c: Likewise.
22434 * debug/wcsrtombs_chk.c: Likewise.
22435 * debug/wcstombs_chk.c: Likewise.
22436 * debug/wmemcpy_chk.c: Likewise.
22437 * debug/wmemmove_chk.c: Likewise.
22438 * debug/wmempcpy_chk.c: Likewise.
22439 * debug/wmemset_chk.c: Likewise.
22440 * dirent/scandirat.c (SCANDIRAT): Likewise.
22441 * dlfcn/dladdr1.c (dladdr1): Likewise.
22442 * dlfcn/dladdr.c (dladdr): Likewise.
22443 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22444 * dlfcn/dlerror.c (__dlerror): Likewise.
22445 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22446 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22447 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22448 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22449 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22450 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22451 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22452 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22454 * elf/dl-conflict.c: Likewise.
22455 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22456 * elf/dl-dst.h: Likewise.
22457 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22458 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22459 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22460 * elf/dl-init.c (call_init, _dl_init): Likewise.
22461 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22462 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22463 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22465 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22467 * elf/dl-minimal.c (__libc_memalign): Likewise.
22468 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22469 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22470 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22471 * elf/dl-sym.c (do_sym): Likewise.
22472 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22473 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22474 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22475 * elf/dl-writev.h (_dl_writev): Likewise.
22476 * elf/ldconfig.c (search_dir): Likewise.
22477 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22478 (dl_main): Likewise.
22479 * elf/setup-vdso.h (setup_vdso): Likewise.
22480 * grp/compat-initgroups.c (compat_call): Likewise.
22481 * grp/fgetgrent.c (fgetgrent): Likewise.
22482 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22483 * grp/putgrent.c (putgrent): Likewise.
22484 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22486 * hurd/hurdinit.c: Likewise.
22487 * iconvdata/8bit-gap.c (struct): Likewise.
22488 * iconvdata/ansi_x3.110.c : Likewise.
22489 * iconvdata/big5.c : Likewise.
22490 * iconvdata/big5hkscs.c : Likewise.
22491 * iconvdata/cp1255.c: Likewise.
22492 * iconvdata/cp1258.c : Likewise.
22493 * iconvdata/cp932.c : Likewise.
22494 * iconvdata/euc-cn.c: Likewise.
22495 * iconvdata/euc-jisx0213.c : Likewise.
22496 * iconvdata/euc-jp.c: Likewise.
22497 * iconvdata/euc-jp-ms.c : Likewise.
22498 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22499 * iconvdata/gb18030.c : Likewise.
22500 * iconvdata/gbbig5.c (const): Likewise.
22501 * iconvdata/gbgbk.c: Likewise.
22502 * iconvdata/gbk.c : Likewise.
22503 * iconvdata/ibm1364.c : Likewise.
22504 * iconvdata/ibm930.c : Likewise.
22505 * iconvdata/ibm932.c: Likewise.
22506 * iconvdata/ibm933.c : Likewise.
22507 * iconvdata/ibm935.c : Likewise.
22508 * iconvdata/ibm937.c : Likewise.
22509 * iconvdata/ibm939.c : Likewise.
22510 * iconvdata/ibm943.c: Likewise.
22511 * iconvdata/iso_11548-1.c: Likewise.
22512 * iconvdata/iso-2022-cn.c : Likewise.
22513 * iconvdata/iso-2022-cn-ext.c : Likewise.
22514 * iconvdata/iso-2022-jp-3.c: Likewise.
22515 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22516 * iconvdata/iso-2022-kr.c : Likewise.
22517 * iconvdata/iso646.c (gconv_end): Likewise.
22518 * iconvdata/iso_6937-2.c : Likewise.
22519 * iconvdata/iso_6937.c : Likewise.
22520 * iconvdata/iso8859-1.c: Likewise.
22521 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22522 * iconvdata/shift_jisx0213.c : Likewise.
22523 * iconvdata/sjis.c : Likewise.
22524 * iconvdata/t.61.c : Likewise.
22525 * iconvdata/tcvn5712-1.c : Likewise.
22526 * iconvdata/tscii.c: Likewise.
22527 * iconvdata/uhc.c : Likewise.
22528 * iconvdata/unicode.c (gconv_end): Likewise.
22529 * iconvdata/utf-16.c (gconv_end): Likewise.
22530 * iconvdata/utf-32.c (gconv_end): Likewise.
22531 * iconvdata/utf-7.c (base64): Likewise.
22532 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22533 * iconv/gconv_close.c (__gconv_close): Likewise.
22534 * iconv/gconv_open.c (__gconv_open): Likewise.
22535 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22536 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22537 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22538 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22539 (ucs4le_internal_loop_single): Likewise.
22540 * iconv/iconv.c (iconv): Likewise.
22541 * iconv/iconv_close.c: Likewise.
22542 * iconv/loop.c (SINGLE): Likewise.
22543 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22544 * include/atomic.h: Likewise.
22545 * inet/inet6_option.c (option_alloc): Likewise.
22546 * intl/bindtextdom.c (set_binding_values): Likewise.
22547 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22548 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22549 * intl/localealias.c (read_alias_file): Likewise.
22550 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22551 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22552 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22553 * libio/fmemopen.c (fmemopen): Likewise.
22554 * libio/iofgets.c (_IO_fgets): Likewise.
22555 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22556 * libio/iofgetws.c (fgetws): Likewise.
22557 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22558 * libio/iogetdelim.c (_IO_getdelim): Likewise.
22559 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22560 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22561 * locale/findlocale.c (_nl_find_locale): Likewise.
22562 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22563 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22565 * locale/setlocale.c (setlocale): Likewise.
22566 * login/programs/pt_chown.c (main): Likewise.
22567 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22568 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22569 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22570 (mmap, mmap64, mremap, munmap): Likewise.
22571 * math/e_exp2l.c: Likewise.
22572 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22573 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22574 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22575 * math/s_catan.c (__catan): Likewise.
22576 * math/s_catanf.c (__catanf): Likewise.
22577 * math/s_catanh.c (__catanh): Likewise.
22578 * math/s_catanhf.c (__catanhf): Likewise.
22579 * math/s_catanhl.c (__catanhl): Likewise.
22580 * math/s_catanl.c (__catanl): Likewise.
22581 * math/s_ccosh.c (__ccosh): Likewise.
22582 * math/s_ccoshf.c (__ccoshf): Likewise.
22583 * math/s_ccoshl.c (__ccoshl): Likewise.
22584 * math/s_cexp.c (__cexp): Likewise.
22585 * math/s_cexpf.c (__cexpf): Likewise.
22586 * math/s_cexpl.c (__cexpl): Likewise.
22587 * math/s_clog10.c (__clog10): Likewise.
22588 * math/s_clog10f.c (__clog10f): Likewise.
22589 * math/s_clog10l.c (__clog10l): Likewise.
22590 * math/s_clog.c (__clog): Likewise.
22591 * math/s_clogf.c (__clogf): Likewise.
22592 * math/s_clogl.c (__clogl): Likewise.
22593 * math/s_csin.c (__csin): Likewise.
22594 * math/s_csinf.c (__csinf): Likewise.
22595 * math/s_csinh.c (__csinh): Likewise.
22596 * math/s_csinhf.c (__csinhf): Likewise.
22597 * math/s_csinhl.c (__csinhl): Likewise.
22598 * math/s_csinl.c (__csinl): Likewise.
22599 * math/s_csqrt.c (__csqrt): Likewise.
22600 * math/s_csqrtf.c (__csqrtf): Likewise.
22601 * math/s_csqrtl.c (__csqrtl): Likewise.
22602 * math/s_ctan.c (__ctan): Likewise.
22603 * math/s_ctanf.c (__ctanf): Likewise.
22604 * math/s_ctanh.c (__ctanh): Likewise.
22605 * math/s_ctanhf.c (__ctanhf): Likewise.
22606 * math/s_ctanhl.c (__ctanhl): Likewise.
22607 * math/s_ctanl.c (__ctanl): Likewise.
22608 * math/w_pow.c: Likewise.
22609 * math/w_powf.c: Likewise.
22610 * math/w_powl.c: Likewise.
22611 * math/w_scalb.c (sysv_scalb): Likewise.
22612 * math/w_scalbf.c (sysv_scalbf): Likewise.
22613 * math/w_scalbl.c (sysv_scalbl): Likewise.
22614 * misc/error.c (error_tail): Likewise.
22615 * misc/pselect.c (__pselect): Likewise.
22616 * nis/nis_callback.c (__nis_create_callback): Likewise.
22617 * nis/nis_call.c (__nisfind_server): Likewise.
22618 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22619 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22620 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22621 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22622 * nis/nis_lookup.c (nis_lookup): Likewise.
22623 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22624 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22625 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22626 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22627 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22628 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22629 * nis/nss_compat/compat-initgroups.c (add_group)
22630 (internal_getgrent_r): Likewise.
22631 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22632 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22633 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22634 (internal_getspnam_r): Likewise.
22635 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22636 (_nss_nis_getaliasbyname_r): Likewise.
22637 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22638 (_nss_nis_getntohost_r): Likewise.
22639 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22640 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22641 (_nss_nis_getgrgid_r): Likewise.
22642 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22643 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22644 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22645 (_nss_nis_gethostbyname4_r): Likewise.
22646 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22647 (initgroups_netid): Likewise.
22648 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22649 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22650 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22651 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22652 (_nss_nis_getprotobynumber_r): Likewise.
22653 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22654 (_nss_nis_getsecretkey): Likewise.
22655 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22656 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22657 (_nss_nis_getpwuid_r): Likewise.
22658 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22659 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22660 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22661 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22662 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22663 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22664 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22666 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22667 (_nss_nisplus_getntohost_r): Likewise.
22668 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22669 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22670 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22671 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22673 * nis/nss_nisplus/nisplus-initgroups.c
22674 (_nss_nisplus_initgroups_dyn): Likewise.
22675 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22676 (_nss_nisplus_getnetbyaddr_r): Likewise.
22677 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22678 (_nss_nisplus_getprotobynumber_r): Likewise.
22679 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22680 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22681 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22683 * nis/nss_nisplus/nisplus-service.c
22684 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22685 (_nss_nisplus_getservbyport_r): Likewise.
22686 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22687 (_nss_nisplus_getspnam_r): Likewise.
22688 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22690 * nscd/aicache.c (addhstaiX): Likewise.
22691 * nscd/cache.c (cache_search, prune_cache): Likewise.
22692 * nscd/connections.c (register_traced_file, send_ro_fd)
22693 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22694 (main_loop_epoll): Likewise.
22695 * nscd/grpcache.c (addgrbyX): Likewise.
22696 * nscd/hstcache.c (addhstbyX): Likewise.
22697 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22698 * nscd/mem.c (gc, mempool_alloc): Likewise.
22699 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22700 (addinnetgrX): Likewise.
22701 * nscd/nscd-client.h (__nscd_acquire_maplock)
22702 (__nscd_drop_map_ref): Likewise.
22703 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22704 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22705 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22707 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22708 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22709 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22710 (__nscd_get_map_ref): Likewise.
22711 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22712 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22714 * nscd/pwdcache.c (addpwbyX): Likewise.
22715 * nscd/selinux.c (preserve_capabilities): Likewise.
22716 * nscd/servicescache.c (addservbyX): Likewise.
22717 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22718 * posix/fnmatch.c (fnmatch): Likewise.
22719 * posix/getopt.c (_getopt_internal_r): Likewise.
22720 * posix/glob.c (glob, glob_in_dir): Likewise.
22721 * posix/wordexp.c (exec_comm_child): Likewise.
22722 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22723 (getanswer_r, gaih_getanswer_slice): Likewise.
22724 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22725 * resolv/res_init.c: Likewise.
22726 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22727 * resolv/res_query.c (__libc_res_nquery): Likewise.
22728 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22730 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22731 * stdio-common/perror.c (perror): Likewise.
22732 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22733 * stdio-common/tmpnam.c (tmpnam): Likewise.
22734 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22735 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22736 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22738 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22739 * stdlib/putenv.c (putenv): Likewise.
22740 * stdlib/setenv.c (__add_to_environ): Likewise.
22741 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22742 * stdlib/strtol_l.c (INTERNAL): Likewise.
22743 * string/memmem.c (memmem): Likewise.
22744 * string/strerror.c (strerror): Likewise.
22745 * string/strnlen.c (__strnlen): Likewise.
22746 * string/test-memmem.c (simple_memmem): Likewise.
22747 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22748 * sunrpc/pm_getport.c (__get_socket): Likewise.
22749 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22750 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22751 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22752 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22754 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22755 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22756 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22757 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22758 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22759 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22761 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22763 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22764 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22765 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22766 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22767 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22768 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22769 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22770 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22771 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22772 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22773 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22774 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22776 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22778 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22780 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22781 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22782 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22783 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22784 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22785 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22786 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22787 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22788 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22789 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22790 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22792 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22793 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22794 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22795 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22797 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22799 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22801 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22803 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22804 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22805 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22807 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22808 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22809 * sysdeps/posix/opendir.c (__opendirat): Likewise.
22810 * sysdeps/posix/sleep.c: Likewise.
22811 * sysdeps/posix/tempname.c: Likewise.
22812 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22813 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22815 * sysdeps/powerpc/powerpc32/dl-machine.h
22816 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22817 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22819 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22820 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22822 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22823 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22824 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22825 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22826 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22827 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22828 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22829 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22830 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22831 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22832 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22833 (elf_machine_lazy_rel): Likewise.
22834 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22835 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22836 (elf_machine_lazy_rel): Likewise.
22837 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22838 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22839 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22840 * sysdeps/unix/grantpt.c (grantpt): Likewise.
22841 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22842 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22843 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22844 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22846 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22847 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22848 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22849 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22850 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22851 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22852 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22853 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22854 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22855 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22856 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22858 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22859 (__posix_fallocate64_l64): Likewise.
22860 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22861 (posix_fallocate): Likewise.
22862 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22864 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22865 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22866 (getifaddrs_internal): Likewise.
22867 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22868 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22869 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22870 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22871 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22872 (__posix_fallocate64_l64): Likewise.
22873 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22875 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22876 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22877 (__get_clockfreq): Likewise.
22878 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22879 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22880 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22881 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22882 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22883 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22884 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22885 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22887 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22888 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22889 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22890 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22891 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22892 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22893 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22895 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22896 (posix_fallocate): Likewise.
22897 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22898 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22899 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22900 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22901 (elf_machine_rela, elf_machine_rela_relative)
22902 (elf_machine_lazy_rel): Likewise.
22903 * time/asctime.c (asctime_internal): Likewise.
22904 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22905 * time/tzset.c (__tzset_parse_tz): Likewise.
22906 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22907 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22908 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22909 * wcsmbs/wcsmbsload.h: Likewise.
22912 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22914 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22915 (arena_get2): Remove THREAD_STATS conditionals.
22916 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22917 (__malloc_stats, int): Likewise.
22919 2014-02-08 Mike Frysinger <vapier@gentoo.org>
22921 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22922 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
22924 * manual/setjmp.texi: Fix typos/grammar errors.
22926 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22927 Only return early when n is <= 0. Delete unused return statement.
22929 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22930 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22931 * debug/tst-longjmp_chk3.c: New file.
22933 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22934 (test_main): Replace code with set_fortify_handler call.
22935 * debug/test-strcpy_chk.c: Likewise.
22936 * debug/tst-chk1.c: Likewise.
22937 * debug/tst-longjmp_chk.c: Likewise.
22938 * test-skeleton.c: Include fcntl.h & paths.h
22939 (set_fortify_handler): Define.
22941 * debug/tst-longjmp_chk.c: Add header comment and include
22942 ../test-skeleton.c.
22943 (do_test): Mark static.
22944 (TEST_FUNCTION): Define.
22946 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22947 (IP_PMTUDISC_INTERFACE): Likewise.
22948 (IP_MULTICAST_IF): Likewise.
22949 (IP_MULTICAST_TTL): Likewise.
22950 (IP_MULTICAST_LOOP): Likewise.
22951 (IP_ADD_MEMBERSHIP): Likewise.
22952 (IP_DROP_MEMBERSHIP): Likewise.
22953 (IP_UNBLOCK_SOURCE): Likewise.
22954 (IP_BLOCK_SOURCE): Likewise.
22955 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22956 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22957 (IP_MSFILTER): Likewise.
22958 (MCAST_JOIN_GROUP): Likewise.
22959 (MCAST_BLOCK_SOURCE): Likewise.
22960 (MCAST_UNBLOCK_SOURCE): Likewise.
22961 (MCAST_LEAVE_GROUP): Likewise.
22962 (MCAST_JOIN_SOURCE_GROUP): Likewise.
22963 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22964 (MCAST_MSFILTER): Likewise.
22965 (IP_MULTICAST_ALL): Likewise.
22966 (IP_UNICAST_IF): Likewise.
22968 * timezone/Makefile: Delete $(have-ksh) check.
22969 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22970 * timezone/tzselect.ksh: Add +x mode bits.
22972 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22973 (ANON_INODE_FS_MAGIC): Likewise.
22974 (BDEVFS_MAGIC): Likewise.
22975 (BINFMTFS_MAGIC): Likewise.
22976 (BTRFS_TEST_MAGIC): Likewise.
22977 (CRAMFS_MAGIC_WEND): Likewise.
22978 (DEBUGFS_MAGIC): Likewise.
22979 (ECRYPTFS_SUPER_MAGIC): Likewise.
22980 (EXT3_SUPER_MAGIC): Likewise.
22981 (EXT4_SUPER_MAGIC): Likewise.
22982 (FUTEXFS_SUPER_MAGIC): Likewise.
22983 (HOSTFS_SUPER_MAGIC): Likewise.
22984 (HUGETLBFS_MAGIC): Likewise.
22985 (MINIX3_SUPER_MAGIC): Likewise.
22986 (MTD_INODE_FS_MAGIC): Likewise.
22987 (NILFS_SUPER_MAGIC): Likewise.
22988 (OPENPROM_SUPER_MAGIC): Likewise.
22989 (PIPEFS_MAGIC): Likewise.
22990 (PSTOREFS_MAGIC): Likewise.
22991 (QNX6_SUPER_MAGIC): Likewise.
22992 (RAMFS_MAGIC): Likewise.
22993 (REISERFS_SUPER_MAGIC_STRING): Likewise.
22994 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22995 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22996 (SECURITYFS_MAGIC): Likewise.
22997 (SELINUX_MAGIC): Likewise.
22998 (SMACK_MAGIC): Likewise.
22999 (SOCKFS_MAGIC): Likewise.
23000 (SQUASHFS_MAGIC): Likewise.
23001 (STACK_END_MAGIC): Likewise.
23002 (TMPFS_MAGIC): Likewise.
23003 (USBDEVICE_SUPER_MAGIC): Likewise.
23004 (V9FS_MAGIC): Likewise.
23005 (XENFS_SUPER_MAGIC): Likewise.
23006 (CRAMFS_MAGIC): Fix typo in comment.
23007 (EXT2_SUPER_MAGIC): Update comment.
23008 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23010 2014-02-08 Joseph Myers <joseph@codesourcery.com>
23012 * sysdeps/arm: Move directory from ports/sysdeps/arm.
23013 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23014 * sysdeps/unix/sysv/linux/arm: Move directory from
23015 ports/sysdeps/unix/sysv/linux/arm.
23016 * README: Update listing for arm-*-linux-gnueabi.
23018 * README: Remove mention of am33.
23020 2014-02-07 Roland McGrath <roland@hack.frob.com>
23022 * bits/sigset.h (__sigemptyset): Use a statement expression rather
23023 than the comma operator, to avoid "rhs of comma has no effect"
23025 (__sigfillset, __sigandset, __sigorset): Likewise.
23026 * include/signal.h (__sigemptyset): Likewise.
23027 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23029 2014-02-07 Allan McRae <allan@archlinux.org>
23031 * version.h (RELEASE): Set to "development".
23032 (VERSION): Set to "2.19.90"
23033 * NEWS: Add 2.20 section.
23035 2014-02-06 Carlos O'Donell <carlos@redhat.com>
23038 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23040 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23042 * manual/contrib.texi: Update entry for Carlos O'Donell,
23043 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23045 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
23047 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23049 * sysdeps/unix/sysv/linux/kernel-features.h
23050 [__LINUX_KERNEL_VERSION >= 0x020621]
23051 (__ASSUME_PROC_PID_TASK_COMM): Define.
23053 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23056 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23057 conversion when destination buffer does not have enough space.
23058 * libio/tst-ftell-partial-wide.c: New test case.
23059 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23061 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23062 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23063 Leonard and Allan McRae.
23065 2014-02-04 David S. Miller <davem@davemloft.net>
23067 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23070 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23099 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23101 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23102 * shlib-versions: Likewise.
23104 2014-02-04 Roland McGrath <roland@hack.frob.com>
23105 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23107 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23108 (abilist-pattern): New variable, set to %-le.abilist.
23110 * Makerules (abilist-pattern): New variable.
23111 (vpath): Use $(abilist-pattern) in place of %.abilist.
23112 (check-abi-% pattern rule): Likewise.
23113 (check-abi, update-abi): Likewise.
23115 2014-02-04 Eric Wong <normalperson@yhbt.net>
23117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23119 2014-02-03 Carlos O'Donell <carlos@redhat.com>
23121 * manual/startup.texi: Add next, previous, and top entries for
23122 the `Program Arguments' and `Environment Variables' nodes.
23124 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
23126 * manual/macros.texi: Add comments before MTASC-safety macros.
23128 * manual/users.texi: Document MTASC-safety properties.
23130 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23131 (pthread_getspecific, pthread_setspecific): Format with
23132 @deftypefun, and add @safety note.
23133 * manual/signal.texi: Move comments that analyze the above
23134 functions to their home place.
23136 2014-02-03 Allan McRae <allan@archlinux.org>
23138 * po/sl.po: Update Slovenian translation from translation project.
23140 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
23142 * manual/time.texi (timegm): Add missing blank after @c.
23143 Reported by Joseph Myers <joseph@codesourcery.com>.
23145 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
23147 * manual/check-safety.sh: New.
23148 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23150 * manual/terminal.texi: Document MTASC-safety properties.
23152 * manual/filesys.texi: Document MTASC-safety properties.
23154 * manual/errno.texi: Document MTASC-safety properties.
23156 * manual/intro.texi: Document safety identifiers and
23159 * manual/string.texi (wcstok): Fix prototype.
23160 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23162 * manual/time.texi: Document MTASC-safety properties.
23164 * manual/string.texi: Document MTASC-safety properties.
23166 * manual/threads.texi: Document MTASC-safety properties.
23168 * manual/stdio.texi: Document MTASC-safety properties.
23170 * manual/syslog.texi: Document MTASC-safety properties.
23172 * manual/sysinfo.texi: Document MTASC-safety properties.
23174 * manual/startup.texi: Document MTASC-safety properties.
23176 * manual/socket.texi: Document MTASC-safety properties.
23178 * manual/signal.texi: Document MTASC-safety properties.
23180 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
23182 * manual/setjmp.texi: Document MTASC-safety properties.
23184 * manual/search.texi: Document MTASC-safety properties.
23186 * manual/resource.texi: Document MTASC-safety properties.
23188 * manual/process.texi: Document MTASC-safety properties.
23190 * manual/platform.texi: Document MTASC-safety properties.
23192 * manual/pipe.texi: Document MTASC-safety properties.
23194 * manual/pattern.texi: Document MTASC-safety properties.
23196 * manual/message.texi: Document MTASC-safety properties.
23199 * manual/memory.texi: Document MTASC-safety properties.
23201 * manual/math.texi: Document MTASC-safety properties.
23203 * manual/locale.texi: Document MTASC-safety properties.
23205 * manual/llio.texi: Document MTASC-safety properties.
23207 * manual/libdl.texi: New.
23209 * manual/lang.texi: Document MTASC-safety properties.
23211 * manual/job.texi: Document MTASC-safety properties.
23213 * manual/getopt.texi: Document MTASC-safety properties.
23215 * manual/ctype.texi: Document MTASC-safety properties.
23217 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23220 * csu/libc-tls.c (static_map): Remove variable.
23221 (__libc_setup_tls): Use main executable's link map for TLS data.
23222 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23223 casing for LM_ID_BASE and GL(dl_nns).
23224 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23225 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23226 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23227 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23228 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23230 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23233 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
23235 * manual/debug.texi: Document MTASC-safety properties.
23237 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23240 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23241 of __x86_64__ when disabling x87 inline functions.
23243 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
23245 * manual/charset.texi: Document MTASC-safety properties.
23247 * manual/crypt.texi: Document MTASC-safety properties.
23249 * manual/conf.texi: Document MTASC-safety properties.
23251 * manual/arith.texi: Document MTASC-safety properties.
23253 * manual/argp.texi: Document MTASC-safety properties.
23255 * manual/macros.texi: Introduce macros to document multi
23256 thread, asynchronous signal and asynchronous cancellation
23258 * manual/intro.texi: Introduce the properties themselves.
23260 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23262 * sysdeps/sh/sh4/Makefile: New file.
23264 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23266 * math/gen-libm-test.pl ($srcdir): New variable.
23267 ($auto_input): Use it.
23269 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23272 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23273 access beyond array bounds when parsing netgroups file.
23275 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23276 the old buffer before realloc.
23278 2014-01-27 Allan McRae <allan@archlinux.org>
23280 * po/fr.po: Update French translation from translation project.
23282 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23284 * sysdeps/sh/libm-test-ulps: Regenerate.
23286 2014-01-24 David S. Miller <davem@davemloft.net>
23288 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23290 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23292 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23293 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23295 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23298 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23299 string pointers after reallocation.
23301 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23303 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23304 __SH4A__ instead of __SH_FPU_ANY__.
23306 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23308 * sysdeps/sh/fpu_control.h: New file.
23309 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23310 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23311 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23312 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23313 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23314 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23315 * sysdeps/sh/sys/ucontext.h: Remove.
23316 * sysdeps/sh/sys: Remove directory.
23318 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23320 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23321 s390/sys/ucontext.h.
23322 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23323 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23325 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23328 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23330 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23333 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23334 Adjust the vDSO correctly for internal calls.
23335 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23337 2014-01-20 Allan McRae <allan@archlinux.org>
23339 * po/ca.po: Update Catalan translation from translation project.
23341 2014-01-16 Mike Frysinger <vapier@gentoo.org>
23343 * sysdeps/s390/sotruss-lib.c: New file.
23345 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23348 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23349 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23350 local calls issues by not having a PLT stub required for IFUNC calls.
23351 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23353 2014-01-16 Joseph Myers <joseph@codesourcery.com>
23355 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23356 * math/test-fpucw-static.c: Likewise.
23358 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23361 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23363 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23365 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23366 implementation for powerpc.
23368 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
23371 * sysdeps/posix/system.c (__libc_system): Do not enable
23372 asynchronous cancellation.
23374 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23377 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23378 handling only for numbers special also in the IEEE case.
23380 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23382 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23384 2014-01-11 Allan McRae <allan@archlinux.org>
23386 * po/bg.po: Update Bulgarian translation from translation project.
23388 * po/de.po: Update German translation from translation project.
23390 2014-01-10 Roland McGrath <roland@hack.frob.com>
23392 * sysdeps/generic/gcc-compat.h: New file.
23394 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23396 * benchtests/asin-inputs: Correct slow inputs.
23397 * benchtests/acos-inputs: Likewise.
23399 2014-01-10 Allan McRae <allan@archlinux.org>
23401 * po:sv.po: Update Swedish translation from translation project.
23403 * po/vi.po: Update Vietnamese translation from translation project.
23405 * po/eo.po: Update Esperanto translation from translation project.
23407 * po/cs.po: Update Czech translation from translation project.
23409 * po/nl.po: Update Dutch translation from translation project.
23411 * po/pl.po: Update Polish translation from translation project.
23413 * po/ru.po: Update Russian translation from translation project.
23415 * po/uk.po: Update Ukrainian translation from translation project.
23417 2014-01-08 Brooks Moses <bmoses@google.com>
23419 * elf/dl-load.c: Fix comment typo.
23421 2014-01-08 Carlos O'Donell <carlos@redhat.com>
23423 * po/header.pot: Rename to...
23424 * po/pot.header: ... this.
23425 * po/Makefile: Use pot.header.
23427 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23428 Maxim Kuvyrkov <maxim@kugelworks.com>
23431 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23432 SRC and DEST against LEN.
23434 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23437 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23439 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23441 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23445 2014-01-08 Joseph Myers <joseph@codesourcery.com>
23448 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23449 for large positive arguments.
23451 2014-01-07 Joseph Myers <joseph@codesourcery.com>
23453 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23455 * math/auto-libm-test-in: Mark various tests with
23456 xfail-rounding:ldbl-128ibm.
23457 * math/auto-libm-test-out: Regenerated.
23460 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23461 Increase overflow threshold.
23463 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
23466 * stdio-common/vfprintf.c: Check for integer overflow.
23468 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23470 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23471 the first argument and return value of __tls_get_addr_internal.
23473 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23475 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23476 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23478 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23480 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23481 * sysdeps/s390/rtld-global-offsets.sym: New file.
23482 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23484 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23485 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23486 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23488 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23489 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23495 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23496 halfs of GPRs for high_gprs contexts.
23497 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23498 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23500 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23502 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23504 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23505 for high GPRs (uc_high_gprs) and for future extensions
23507 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23508 for future extensions (__reserved).
23509 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23511 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23512 SC_HIGHGPRS offset definition.
23513 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23514 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23516 * Versions.def: Add GLIBC_2.19 for libpthread.
23517 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23518 siglongjmp for libpthread with GLIBC_2.19 symver.
23519 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23520 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23521 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23522 * sysdeps/s390/__longjmp.c: New file.
23523 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23524 * sysdeps/s390/longjmp.c: New file.
23525 * sysdeps/s390/setjmp.S: New file.
23526 * sysdeps/s390/sigjmp.S: New file.
23527 * sysdeps/s390/v1-longjmp.c: New file.
23528 * sysdeps/s390/v1-setjmp.h: New file.
23529 * sysdeps/s390/v1-sigjmp.c: New file.
23530 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23531 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23532 GLIBC_2.19 version.
23533 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23534 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23535 versioned symbols for ____longjmp_chk.
23536 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23546 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23547 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23548 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23549 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23550 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23551 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23552 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23553 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23554 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23555 * sysdeps/s390/rtld-__longjmp.c: New file.
23556 * sysdeps/s390/rtld-setjmp.S: New file.
23558 2014-01-06 Joseph Myers <joseph@codesourcery.com>
23561 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23562 Return -__logl (x) for small positive arguments without evaluating
23565 2014-01-06 Mike Frysinger <vapier@gentoo.org>
23567 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23569 (__ptrace_peeksiginfo_args): ... this.
23570 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23571 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23572 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23574 2014-01-06 Allan McRae <allan@archlinux.org>
23576 * inet/netinet/in.h: Fix typo in comment.
23578 2014-01-05 Andreas Jaeger <aj@suse.de>
23580 * sysdeps/i386/fpu/libm-test-ulps: Update.
23582 2014-01-05 Allan McRae <allan@archlinux.org>
23584 * po/libc.pot: Regenerated.
23586 * malloc/memusagestat.c: Fix gettext call formatting.
23588 2014-01-04 Sami Kerola <kerolasa@iki.fi>
23590 * nscd/nscd.c: Improve usage() output.
23592 2014-01-04 Mike Frysinger <vapier@gentoo.org>
23594 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23595 * sysdeps/unix/sysv/linux/configure: Regenerated.
23596 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23597 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23599 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23602 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23603 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23605 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23607 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23608 extra tokens at end of #undef directive.
23609 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23610 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23611 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23613 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23615 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23617 * math/auto-libm-test-in: Mark various tests with
23618 xfail-rounding:ldbl-128ibm.
23619 * math/auto-libm-test-out: Regenerated.
23621 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23624 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23625 numbers with subnormal high part when calculating exponent.
23628 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23632 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23634 (__ieee754_acoshl): Use __log1pl not __log1p.
23636 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
23638 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23639 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23640 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23641 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23642 (reused_arena, arena_get2): Convert to GNU style.
23643 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23644 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23645 (memalign_check, __malloc_set_state): Likewise.
23646 * malloc/mallocbug.c (main): Likewise.
23647 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23648 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23649 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23650 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23651 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23652 (__posix_memalign, malloc_info): Likewise.
23653 * malloc/malloc.h: Likewise.
23654 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23655 (mallochook, memalignhook, reallochook, mabort): Likewise.
23656 * malloc/mcheck.h: Likewise.
23657 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23658 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23659 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23660 * malloc/morecore.c (__default_morecore): Likewise.
23661 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23662 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23663 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23664 (print_and_abort): Likewise.
23665 * malloc/obstack.h: Likewise.
23666 * malloc/set-freeres.c (__libc_freeres): Likewise.
23667 * malloc/tst-mallocstate.c (main): Likewise.
23668 * malloc/tst-mtrace.c (main): Likewise.
23669 * malloc/tst-realloc.c (do_test): Likewise.
23671 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23674 * nscd/netgroupcache.c (do_notfound): New function.
23675 (addgetnetgrentX): Use it.
23678 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23679 NSS_STATUS_NOTFOUND.
23681 2014-01-01 Joseph Myers <joseph@codesourcery.com>
23683 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23686 2014-01-01 Allan McRae <allan@archlinux.org>
23688 * scripts/update-copyrights: Update configure input file suffix.
23690 * NEWS: Update copyright year.
23691 * catgets/gencat.c: Likewise.
23692 * csu/version.c: Likewise.
23693 * debug/catchsegv.sh: Likewise.
23694 * debug/pcprofiledump.c: Likewise.
23695 * debug/xtrace.sh: Likewise.
23696 * elf/ldconfig.c: Likewise.
23697 * elf/ldd.bash.in: Likewise.
23698 * elf/pldd.c: Likewise.
23699 * elf/sotruss.ksh: Likewise.
23700 * elf/sprof.c: Likewise.
23701 * iconv/iconv_prog.c: Likewise.
23702 * iconv/iconvconfig.c: Likewise.
23703 * locale/programs/locale.c: Likewise.
23704 * locale/programs/localedef.c: Likewise.
23705 * login/programs/pt_chown.c: Likewise.
23706 * malloc/memusage.sh: Likewise.
23707 * malloc/memusagestat.c: Likewise.
23708 * malloc/mtrace.pl: Likewise.
23709 * manual/libc.texinfo: Likewise.
23710 * nscd/nscd.c: Likewise.
23711 * nss/getent.c: Likewise.
23712 * nss/makedb.c: Likewise.
23713 * posix/getconf.c: Likewise.
23714 * scripts/test-installation.pl: Likewise.
23716 * All files with FSF copyright notices: Update copyright dates
23717 using scripts/update-copyrights.
23718 * intl/plural.c: Regenerated.
23719 * locale/programs/charmap-kw.h: Likewise.
23720 * locale/programs/locfile-kw.h: Likewise.
23722 2013-12-31 Mike Frysinger <vapier@gentoo.org>
23724 * sysdeps/unix/sysv/linux/configure: Regenerated.
23725 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23726 the linux/fanotify.h header.
23727 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23728 HAVE_LINUX_FANOTIFY_H is defined.
23730 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23732 * benchtests/cos-inputs: New inputs.
23733 * benchtests/sin-inputs: Likewise.
23735 * benchtests/atan-inputs: New inputs. Fix name of multiple
23736 precision fallback inputs.
23738 * benchtests/atanh-inputs: New inputs.
23739 * benchtests/tanh-inputs: Likewise.
23741 * benchtests/acosh-inputs: New inputs.
23742 * benchtests/asinh-inputs: Likewise.
23744 * benchtests/cosh-inputs: New inputs.
23745 * benchtests/sinh-inputs: Likewise.
23747 * benchtests/acos-inputs: Add more inputs.
23748 * benchtests/asin-inputs: Likewise.
23750 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
23753 * manual/arith.texi: Fix spelling.
23754 * manual/charset.texi: Likewise.
23755 * manual/errno.texi: Likewise.
23756 * manual/filesys.texi: Likewise.
23757 * manual/lang.texi: Likewise.
23758 * manual/llio.texi: Likewise.
23759 * manual/locale.texi: Likewise.
23760 * manual/message.texi: Likewise.
23761 * manual/resource.texi: Likewise.
23762 * manual/search.texi: Likewise.
23763 * manual/setjmp.texi: Likewise.
23764 * manual/stdio.texi: Likewise.
23765 * manual/string.texi: Likewise.
23766 * manual/sysinfo.texi: Likewise.
23767 * manual/time.texi: Likewise.
23769 2013-12-27 Carlos O'Donell <carlos@redhat.com>
23771 * po/sl.po: New file.
23773 2013-12-27 Mike Frysinger <vapier@gentoo.org>
23775 * .gitignore: Add core/.gdbinit/.gdb_history.
23777 2013-12-27 Allan McRae <allan@archlinux.org>
23780 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23781 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23783 2013-12-24 Brooks Moses <bmoses@google.com>
23785 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23786 all compilers that claim C++98 compliance, not just GCC.
23787 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23790 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23792 * NEWS: Restore accidentally deleted bug-fix entries.
23794 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23795 Ondřej Bílka <neleai@seznam.cz>
23798 * malloc/malloc.c (_int_free): Perform sanity check only if we
23801 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
23804 * manual/stdio.texi (String Input Conversions): Clarify that character
23805 classes are not supported.
23807 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23811 2013-12-22 Joseph Myers <joseph@codesourcery.com>
23814 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23815 Calculate results for small negative arguments directly rather
23816 than using reflection formula with special underflow handling.
23818 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23819 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23820 sysdeps/unix/bsd/bsd4.4/syscalls.list.
23821 (fchflags): Likewise.
23822 (revoke): Likewise.
23823 (setlogin): Likewise.
23824 (sigaltstack): Likewise.
23826 (sigblock): Remove.
23827 (sigsetmask): Likewise.
23829 (waitpid): Likewise.
23830 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23831 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23833 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23834 * sysdeps/unix/bsd/Makefile: ... here.
23835 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23836 * sysdeps/unix/bsd/Versions: ... here.
23837 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23838 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23839 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23840 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23841 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23842 * sysdeps/unix/bsd/sigblock.c: ... here.
23843 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23844 * sysdeps/unix/bsd/sigsetmask.c: ... here.
23845 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23846 * sysdeps/unix/bsd/sigvec.c: ... here.
23847 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23848 * sysdeps/unix/bsd/tcdrain.c: ... here.
23849 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23850 * sysdeps/unix/bsd/tcgetattr.c: ... here.
23851 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23852 * sysdeps/unix/bsd/tcsetattr.c: ... here.
23853 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23854 * sysdeps/unix/bsd/wait.c: ... here.
23855 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23856 * sysdeps/unix/bsd/wait3.c: ... here.
23857 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23858 * sysdeps/unix/bsd/waitpid.c: ... here.
23860 2013-12-21 Joseph Myers <joseph@codesourcery.com>
23863 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23864 round-to-nearest for [!USE_AS_EXPM1L].
23865 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23866 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
23867 more tests of exp and exp10. Expect some exp10 tests to miss
23868 exceptions or fail in directed rounding modes.
23869 * math/auto-libm-test-out: Regenerated.
23870 * math/libm-test.inc (exp10_tonearest_test_data): New array.
23871 (exp10_test_tonearest): New function.
23872 (exp10_towardzero_test_data): New array.
23873 (exp10_test_towardzero): New function.
23874 (exp10_downward_test_data): New array.
23875 (exp10_test_downward): New function.
23876 (exp10_upward_test_data): New array.
23877 (exp10_test_upward): New function.
23878 (main): Call the new functions.
23879 * sysdeps/i386/fpu/libm-test-ulps: Update.
23880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23882 2013-12-20 Joseph Myers <joseph@codesourcery.com>
23884 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23885 asinh, atan, atan2, atanh, cbrt, cos and cosh.
23886 * math/auto-libm-test-out: Regenerated.
23887 * math/libm-test.inc (acosh_test_data): Add more tests.
23888 (atanh_test_data): Likewise.
23889 (ceil_test_data): Likewise.
23890 (copysign_test_data): Likewise.
23891 * sysdeps/i386/fpu/libm-test-ulps: Update.
23892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23894 * timezone/checktab.awk: Update from tzcode 2013i.
23895 * timezone/private.h: Likewise.
23896 * timezone/scheck.c: Likewise.
23897 * timezone/tzfile.h: Likewise.
23898 * timezone/tzselect.ksh: Likewise.
23899 * timezone/zdump.c: Likewise.
23900 * timezone/zic.c: Likewise.
23902 * math/auto-libm-test-in: Add tests of cpow.
23903 * math/auto-libm-test-out: Regenerated.
23904 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23905 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23907 (func_calc_desc): Add mpc_cc_c union field.
23908 (test_functions): Add cpow.
23909 (special_fill_2pi): New function.
23910 (special_real_inputs): Add 2pi.
23911 (calc_generic_results): Handle mpc_cc_c.
23912 * sysdeps/i386/fpu/libm-test-ulps: Update.
23913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23915 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23916 csqrt, ctan and ctanh.
23917 * math/auto-libm-test-out: Regenerated.
23918 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23919 (TEST_COND_x86): Likewise.
23920 (ccos_test_data): Use AUTO_TESTS_c_c.
23921 (ccosh_test_data): Likewise.
23922 (cexp_test_data): Likewise.
23923 (clog_test_data): Likewise.
23924 (csqrt_test_data): Likewise.
23925 (ctan_test_data): Likewise.
23926 (ctan_tonearest_test_data): Likewise.
23927 (ctan_towardzero_test_data): Likewise.
23928 (ctan_downward_test_data): Likewise.
23929 (ctan_upward_test_data): Likewise.
23930 (ctanh_test_data): Likewise.
23931 (ctanh_tonearest_test_data): Likewise.
23932 (ctanh_towardzero_test_data): Likewise.
23933 (ctanh_downward_test_data): Likewise.
23934 (ctanh_upward_test_data): Likewise.
23935 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23937 (func_calc_desc): Add mpc_c_c union field.
23938 (FUNC_mpc_c_c): New macro.
23939 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23940 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23942 (special_fill_min_subnorm_p120): New function.
23943 (special_real_inputs): Add min_subnorm_p120.
23944 (calc_generic_results): Handle mpc_c_c.
23945 * sysdeps/i386/fpu/libm-test-ulps: Update.
23946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23948 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23950 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23951 (do_sin_slow): New functions.
23952 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23953 (cslow2, csloww1, csloww2): Use the new functions.
23955 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23956 Use M to change sign of result instead of X. Assume X is
23958 (csloww1): Likewise.
23962 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23963 arguments A and DA.
23967 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23969 (sloww1): Don't adjust sign of DX.
23970 (csloww1): Likewise.
23971 (sloww2): Use X directly and don't adjust sign of DX.
23972 (csloww2): Likewise.
23974 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23976 * math/auto-libm-test-in: Add tests of cabs and carg.
23977 * math/auto-libm-test-out: Regenerated.
23978 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23979 (carg_test_data): Likewise.
23980 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23982 (func_calc_desc): Add mpc_c_f union field.
23983 (test_functions): Add cabs and carg.
23984 (calc_generic_results): Handle mpc_c_f.
23986 * sysdeps/powerpc/powerpc32/libgcc-compat.S
23987 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23988 as a macro and a compat symbol.
23989 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23990 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23991 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23992 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23993 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23994 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23996 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23998 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24000 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24002 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24004 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24006 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24007 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24010 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24014 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24016 * manual/texinfo.tex: Update to version 2013-11-26.10 with
24017 trailing whitespace removed.
24018 * scripts/config.guess: Update to version 2013-11-29.
24019 * scripts/config.sub: Update to version 2013-10-01.
24021 * math/auto-libm-test-in: Add tests of sincos.
24022 * math/auto-libm-test-out: Regenerated.
24023 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24024 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24026 (func_calc_desc): Add mpfr_f_11 union field.
24027 (test_functions): Add sincos.
24028 (calc_generic_results): Handle mpfr_f_11.
24029 * sysdeps/i386/fpu/libm-test-ulps: Update.
24030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24032 2013-12-19 Andreas Schwab <schwab@suse.de>
24034 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24036 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24037 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24038 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24040 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24042 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24043 * sysdeps/i386/fpu/libm-test-ulps: Update.
24044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24047 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24048 round-to-nearest mode when using frndint.
24049 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24050 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24051 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24053 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24055 * math/auto-libm-test-out: Regenerated.
24056 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24057 (TEST_COND_x86): Likewise.
24058 (expm1_tonearest_test_data): New array.
24059 (expm1_test_tonearest): New function.
24060 (expm1_towardzero_test_data): New array.
24061 (expm1_test_towardzero): New function.
24062 (expm1_downward_test_data): New array.
24063 (expm1_test_downward): New function.
24064 (expm1_upward_test_data): New array.
24065 (expm1_test_upward): New function.
24066 (main): Run the new test functions.
24067 * sysdeps/i386/fpu/libm-test-ulps: Update.
24068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24070 * include/features.h: Update comment documenting feature test
24071 macros. Mention _DEFAULT_SOURCE in comment.
24072 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24073 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24074 _BSD_SOURCE and _SVID_SOURCE.
24075 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24076 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24077 !_SVID_SOURCE]: Likewise.
24078 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24079 (__USE_POSIX_IMPLICITLY): Define.
24080 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24081 (_POSIX_SOURCE): Undefine and redefine.
24082 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24083 (_POSIX_C_SOURCE): Likewise.
24084 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24085 (Feature Test Macros): Update documentation of default features.
24087 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24089 * benchtests/Makefile: Add bench-strtok.
24090 * benchtests/bench-strtok.c: New file: strtok benchtest.
24092 2013-12-19 Allan McRae <allan@archlinux.org>
24094 * manual/install.texi: Suppress menu for plain text output.
24095 * INSTALL: Regenerated.
24097 2013-12-18 Brooks Moses <bmoses@google.com>
24100 * misc/getauxval.c: Include errno.h.
24101 (__getauxval): Set errno to ENOENT if the requested type is not
24103 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24104 don't declare with __attribute_const__.
24105 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24106 * manual/startup.texi: Document that getauxval sets errno.
24108 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24110 * math/auto-libm-test-in: Add tests of jn and yn.
24111 * math/auto-libm-test-out: Regenerated.
24112 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24113 (yn_test_data): Likewise.
24114 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24116 (func_calc_desc): Add mpfr_if_f union field.
24117 (FUNC_mpfr_if_f): New macro.
24118 (test_functions): Add jn and yn.
24119 (calc_generic_results): Assert type of second input for
24120 mpfr_ff_f. Handle mpfr_if_f.
24121 (output_for_one_input_case): Disable all checking for arguments
24122 fitting floating-point types in case of an integer argument.
24123 * sysdeps/i386/fpu/libm-test-ulps: Update.
24124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24127 Don't expect fegetround reference in libm.so.
24129 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24131 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24132 $(config-cflags-nofma).
24134 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24136 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24137 * math/auto-libm-test-out: Regenerated.
24140 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24141 to determine exponent and adjust argument to have exponent of -1.
24142 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24144 * math/auto-libm-test-out: Regenerated.
24145 * sysdeps/i386/fpu/libm-test-ulps: Update.
24146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24148 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
24150 * manual/probes.texi: Remove cases when per-thread arenas are
24153 2013-12-18 Andreas Schwab <schwab@suse.de>
24155 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24156 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24157 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24158 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24159 * sysdeps/i386/i686/multiarch/Makefile: Update.
24160 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24162 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24164 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24165 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24167 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24170 Support TZ transition times < 00:00:00.
24171 This is needed for version-3 tz-format files; it supports time
24172 stamps past 2037 for America/Godthab (the only entry in the tz
24173 database for which this change is relevant).
24174 * manual/time.texi (TZ Variable): Document transition times
24175 from -167:59:59 through -00:00:01.
24176 * time/tzset.c (tz_rule): Time of day is now signed.
24177 (__tzset_parse_tz): Parse negative time of day.
24179 Document TZ transition times >= 25:00:00.
24180 * manual/time.texi (TZ Variable): Document transition times from
24181 25:00:00 through 167:59:59. These are already supported, and this
24182 support will help with version-3 tz-format files.
24184 * manual/time.texi (TZ Variable): Modernize North America example
24185 to reflect current (i.e., 2007-and-later) daylight saving rules.
24187 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24189 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24191 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24192 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24193 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24194 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24195 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24196 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24197 * sysdeps/unix/bsd/clock.c: Likewise.
24198 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24199 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24200 * sysdeps/unix/bsd/init-posix.c: Likewise.
24201 * sysdeps/unix/bsd/poll.c: Likewise.
24202 * sysdeps/unix/bsd/ptsname.c: Likewise.
24203 * sysdeps/unix/bsd/seekdir.c: Likewise.
24204 * sysdeps/unix/bsd/setegid.c: Likewise.
24205 * sysdeps/unix/bsd/seteuid.c: Likewise.
24206 * sysdeps/unix/bsd/setgid.c: Likewise.
24207 * sysdeps/unix/bsd/setrgid.c: Likewise.
24208 * sysdeps/unix/bsd/setruid.c: Likewise.
24209 * sysdeps/unix/bsd/setsid.c: Likewise.
24210 * sysdeps/unix/bsd/setuid.c: Likewise.
24211 * sysdeps/unix/bsd/sigaction.c: Likewise.
24212 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24213 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24214 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24215 * sysdeps/unix/bsd/telldir.c: Likewise.
24216 * sysdeps/unix/bsd/times.c: Likewise.
24217 * sysdeps/unix/bsd/usleep.c: Likewise.
24219 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24220 ($(objpfx)libbsd-compat.a): Remove rule.
24222 * include/features.h (__FAVOR_BSD): Do not define.
24223 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24224 features conflicting with POSIX.
24225 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24226 (_BSD_SOURCE): Remove description of not being a subset of other
24227 feature test macros.
24228 * manual/job.texi (getpgrp): Do not document BSD version.
24229 (getpgid): Do not document by reference to BSD getpgrp.
24230 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24231 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24232 * signal/signal.h [__FAVOR_BSD]: Likewise.
24233 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24234 instead of making contents conditional on [__FAVOR_BSD].
24235 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24237 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24241 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24244 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24245 values below 2**-450, not 2**-500.
24246 * math/auto-libm-test-in: Don't allow spurious underflow from
24248 * math/auto-libm-test-out: Regenerated.
24252 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24253 values of ha and hb and sort them after adjusting subnormal
24255 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24257 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24258 values of ea and eb and sort them after adjusting subnormal
24260 * math/auto-libm-test-in: Do not expect some hypot tests of
24261 subnormals to fail. Add more hypot tests.
24262 * math/auto-libm-test-out: Regenerated.
24264 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24267 * sysdeps/sh/s_fma.c: New file.
24268 * sysdeps/sh/s_fmaf.c: New file.
24269 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24271 * sysdeps/sh/Implies: Add sh/soft-fp.
24273 2013-12-16 Roland McGrath <roland@hack.frob.com>
24275 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24276 level of indirection to members `objname', `errstring', `malloced'.
24277 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24278 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
24279 it as the __longjmp argument (just pass 1 instead).
24280 (_dl_catch_error): Initialize C with argument pointers and address of
24281 volatile local ERRCODE rather than copying values out of C at return.
24283 2013-12-16 Joseph Myers <joseph@codesourcery.com>
24285 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24286 * math/auto-libm-test-out: Regenerated.
24287 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24288 (hypot_test_data): Likewise.
24289 (pow_test_data): Likewise.
24290 (pow_tonearest_test_data): Likewise.
24291 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24293 (func_calc_desc): Add mpfr_ff_f union field.
24294 (FUNC_mpfr_ff_f): New macro.
24295 (test_functions): Add atan2, hypot and pow.
24296 (special_fill_min): New function.
24297 (special_fill_minus_min): Likewise.
24298 (special_fill_min_subnorm): Likewise.
24299 (special_fill_minus_min_subnorm): Likewise.
24300 (special_real_inputs): Add min, -min, min_subnorm and
24302 (calc_generic_results): Handle mpfr_ff_f.
24303 * sysdeps/i386/fpu/libm-test-ulps: Update.
24304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24306 2013-12-16 Will Newton <will.newton@linaro.org>
24308 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24309 (Aligned Memory Blocks): Add documentation for aligned_alloc
24310 and suggest it as an alternative to posix_memalign.
24311 (Hooks for Malloc): Document __memalign_hook is also called
24312 for aligned_alloc. (Summary of Malloc): Add summary for
24313 aligned alloc. Document __memalign_hook is also called
24316 2013-12-16 Will Newton <will.newton@linaro.org>
24318 * manual/memory.texi (Malloc Examples): Clarify default
24319 alignment documentation. Suggest posix_memalign rather
24320 than memalign or valloc.
24321 (Aligned Memory Blocks): Remove suggestion to use memalign
24322 or valloc. Remove obsolete comment about BSD.
24323 Document memalign errno values and mark the function obsolete.
24324 Document posix_memalign returned error codes. Mark valloc
24325 as obsolete. (Hooks for Malloc): __memalign_hook is also
24326 called for posix_memalign and valloc.
24327 (Summary of Malloc): Add posix_memalign to function summary.
24328 __memalign_hook is also called for posix_memalign and valloc.
24330 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24332 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24336 (sloww): Use mynumber union. Expand ternary operator into
24337 if-else statements.
24338 (cslow): use mynumber union.
24340 2013-12-16 Allan McRae <allan@archlinux.org>
24342 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24343 * configure: Regenerated.
24345 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24348 * configure.ac: Added --enable-maintainer-mode. Check for
24349 autoconf when enabled.
24350 * configure: Regenerated.
24352 * nscd/nscd.service: New file.
24353 * nscd/nscd.tmpfiles: New file.
24355 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
24358 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24359 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24360 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24361 (strstr): Add __strstr_sse2_unaligned ifunc.
24362 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24363 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24364 (strcasestr): Remove __strcasestr_sse42 ifunc.
24365 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24367 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24369 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24371 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24372 * sysdeps/sh/bits/fenv.h: ... here.
24373 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24375 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24377 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24380 hypotf multiarch implementations.
24381 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24382 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24383 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24384 multiarch hypot for PPC64.
24385 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24386 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24387 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24388 multiarch hypotf for PPC64.
24390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24391 modff multiarch implementations.
24392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24395 multiarch modf for PPC64.
24396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24399 multiarch modff for PPC64.
24401 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24402 and logl multiarch implementations.
24403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24406 multiarch logb for PPC64.
24407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24410 multiarch logb for PPC64.
24411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24414 multiarch logb for PPC64.
24416 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24417 isinff multiarch implementation.
24418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24422 multiarch isinf for PPC64.
24423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24426 multiarch isinff for PPC64.
24428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24429 finitef multiarch implementation.
24430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24434 multiarch finite for PPC64.
24435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24438 multiarch finitef for PPC64.
24440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24441 lrint multiarch implementation.
24442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24446 multiarch llrint for PPC64.
24447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24448 multiarch lrint for PPC64.
24450 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24451 copysignf multiarch implementation.
24452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24457 multiarch copysign for PPC64.
24458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24459 multiarch copysignf for PPC64.
24461 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24462 multiarch implementation.
24463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24471 multiarch llround for PPC64.
24472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24473 multiarch trunc for PPC64.
24474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24475 multiarch truncf for PPC64.
24477 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24478 multiarch implementation.
24479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24487 multiarch llround for PPC64.
24488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24489 multiarch round for PPC64.
24490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24491 multiarch roundf for PPC64.
24493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24494 multiarch implementation.
24495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24503 multiarch llround for PPC64.
24504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24505 multiarch floor for PPC64.
24506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24507 multiarch floorf for PPC64.
24509 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24510 multiarch implementation.
24511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24519 multiarch llround for PPC64.
24520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24521 multiarch ceil for PPC64.
24522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24523 multiarch ceilf for PPC64.
24525 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24526 multiarch implementation.
24527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24534 multiarch llround for PPC64.
24535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24536 multiarch lround for PPC64.
24538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24539 multiarch implementation.
24540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24547 multiarch isnan for PPC64.
24548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24549 multiarch isnanf for PPC64.
24551 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24552 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24553 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24554 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24555 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24558 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24559 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24560 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24561 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24564 multiarch implementations.
24565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24566 (__libc_ifunc_impl_list): Likewise.
24567 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24568 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24569 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24570 multiarch stpcpy for PPC64.
24572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24573 multiarch implementations.
24574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24575 (__libc_ifunc_impl_list): Likewise.
24576 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24577 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24578 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24579 multiarch strcpy for PPC64.
24581 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24582 redefine function name.
24583 (_wordcopy_fwd_dest_aligned): Likewise.
24584 (_wordcopy_bwd_aligned): Likewise.
24585 (_wordcopy_bwd_dest_aligned): Likewise.
24586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24587 multiarch implementations.
24588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24589 (__libc_ifunc_impl_list): Likewise.
24590 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24591 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24592 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24593 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24594 multiarch wcscpy for PPC64.
24596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24597 multiarch implementations.
24598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24599 (__libc_ifunc_impl_list): Likewise.
24600 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24601 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24602 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24603 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24604 multiarch wcscpy for PPC64.
24606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24607 multiarch implementations.
24608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24609 (__libc_ifunc_impl_list): Likewise.
24610 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24611 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24612 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24613 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24614 multiarch wcsrchr for PPC64.
24616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24617 multiarch implementations.
24618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24619 (__libc_ifunc_impl_list): Likewise.
24620 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24621 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24622 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24623 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24624 multiarch wcschr for PPC64.
24626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24627 multiarch implementations.
24628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24629 (__libc_ifunc_impl_list): Likewise.
24630 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24631 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24632 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24633 multiarch strchrnul for PPC64.
24635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24638 (__libc_ifunc_impl_list): Likewise.
24639 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24640 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24641 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24642 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24648 (__libc_ifunc_impl_list): Likewise.
24649 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24650 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24651 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24652 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24656 multiarch implementations.
24657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24658 (__libc_ifunc_impl_list): Likewise.
24659 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24660 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24661 strncasecmp for PPC64.
24662 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24663 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24664 multiarch strncasecmp_l for PPC64.
24666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24667 multiarch implementations.
24668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24669 (__libc_ifunc_impl_list): Likewise.
24670 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24671 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24672 multiarch strcasecmp for PPC64.
24673 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24675 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24676 multiarch strcasecmp_l for PPC64.
24678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24681 (__libc_ifunc_impl_list): Likewise.
24682 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24683 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24684 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24690 (__libc_ifunc_impl_list): Likewise.
24691 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24692 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24693 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24699 (__libc_ifunc_impl_list): Likewise.
24700 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24701 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24702 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24703 rawmemrchr for PPC64.
24705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24708 (__libc_ifunc_impl_list): Likewise.
24709 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24710 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24711 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24717 (__libc_ifunc_impl_list): Likewise.
24718 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24719 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24720 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24726 (__libc_ifunc_impl_list): Likewise.
24727 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24728 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24729 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24732 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24733 avoid cretion of __bzero symbol.
24734 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24736 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24738 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24741 multiarch implementations.
24742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24743 (__libc_ifunc_impl_list): Likewise.
24744 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24745 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24746 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24747 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24749 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24750 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24751 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24752 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24753 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24755 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24757 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24761 (__libc_ifunc_impl_list): Likewise.
24762 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24763 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24764 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24765 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24769 multiarch for POWER/PPC64.
24770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24771 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24773 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24774 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24775 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24776 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24777 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24778 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24781 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24782 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24783 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24784 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24785 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24786 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24787 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24788 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24789 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24790 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24791 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24792 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24793 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24794 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24795 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24804 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24806 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24808 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24810 * benchtests/Makefile (bench): Add exp2 and log2.
24811 (LDLIBS-bench-exp2): Add -lm.
24812 (LDLIBS-bench-log2): Likewise.
24813 * benchtests/exp2-inputs: New inputs file.
24814 * benchtests/log2-inputs: New inputs file.
24815 * benchtests/log-inputs: Add new inputs.
24816 * benchtests/tan-inputs: Likewise.
24818 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24820 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24822 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24823 (csloww2): ... from here.
24825 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24826 instead of structures.
24827 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24828 (POLYNOMIAL): Likewise.
24829 (TAYLOR_SLOW): Likewise.
24835 (sloww1); Likewise.
24836 (sloww2): Likewise.
24837 (bsloww1): Likewise.
24838 (bsloww2): Likewise.
24839 (cslow2): Likewise.
24840 (csloww): Likewise.
24841 (csloww1): Likewise.
24842 (csloww2): Likewise.
24844 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
24846 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24847 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24848 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24849 * malloc/hooks.c (realloc_check): Likewise.
24851 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24852 * malloc/arena.c: Remove PER_THREAD conditional.
24853 [!PER_THREAD]: Remove code.
24854 (ptmalloc_unlock_all2): Likewise.
24855 (ptmalloc_init): Likewise.
24856 (_int_new_arena): Likewise.
24857 (arena_get2): Likewise.
24858 * malloc/hooks.c (__malloc_get_state): Likewise.
24859 (__malloc_set_state): Likewise.
24860 * malloc/malloc.c: Likewise.
24861 (struct malloc_state): Likewise.
24862 (struct malloc_par): Likewise.
24863 (__libc_realloc): Likewise.
24864 (__libc_mallopt): Likewise.
24866 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24868 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24870 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
24872 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24873 macro to a function. Check for zero perturb_byte.
24874 (_int_malloc, _int_free): Remove zero perturb_byte checks.
24876 * malloc/malloc.c: (force_reg): Remove.
24877 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24878 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24879 force_reg by atomic_forced_read.
24880 * malloc/arena.c (ptmalloc_init): Likewise.
24881 * malloc/hooks.c (top_check): Likewise.
24883 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24887 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
24889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24891 2013-12-08 Joseph Myers <joseph@codesourcery.com>
24893 * math/auto-libm-test-in: Add tests of lgamma.
24894 * math/auto-libm-test-out: Regenerated.
24895 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24896 (M_LOG_2_SQRT_PIl): Likewise.
24897 (lgamma_test_data): Use AUTO_TESTS_f_f1.
24898 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24900 (func_calc_desc): Add mpfr_f_f1 union field.
24901 (ARGS1): New macro.
24909 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24910 (test_functions): Add lgamma.
24911 (calc_generic_results): Handle mpfr_f_f1.
24912 * sysdeps/i386/fpu/libm-test-ulps: Update.
24913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24915 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24917 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24918 __mpn_add_n for PowerPC64/POWER7.
24919 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24920 __mpn_sub_n for PowerPC64/POWER7.
24922 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24923 __mpn_addmul_1 for PowerPC64.
24924 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24925 __mpn_submul_1 for PowerPC64.
24926 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24928 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24931 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
24934 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24936 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24938 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24940 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24941 add multiarch folders.
24942 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24943 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24944 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24945 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24946 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24947 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24948 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24949 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24950 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24951 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24952 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24961 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24967 multiarch __ieee754_hypot for PowerPC32.
24968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24973 multiarch __ieee754_hypotf for PowerPC32.
24975 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24976 long_double_symbol only if __logbl is defined.
24977 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24978 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24979 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24980 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24981 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24982 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24983 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24984 path for implementation.
24985 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24986 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24988 logb, and logbl multiarch implementations for PowerPC32.
24989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24994 multiarch logb for PowerPC32.
24995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25000 multiarch logbf for PowerPC32.
25001 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25005 multiarch logbl implementation for PowerPC32.
25007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25008 and modff multiarch implementations.
25009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25014 multiarch modf for PowerPC32.
25015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25020 multiarch modff for PowerPC32.
25022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25023 and lrintf multiarch implementations.
25024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25029 multiarch lrint for PowerPC32.
25030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25031 file: multiarch lrintf for PowerPC32.
25033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25034 and lroundf multiarch implementations.
25035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25042 multiarch lround for PowerPC32.
25043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25044 file: multiarch lroundf for PowerPC32.
25046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25047 copysign and copysignf multiarch implementations.
25048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25053 file: multiarch copysign for PowerPC32.
25054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25055 file: multiarch copysignf for PowerPC32.
25057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25058 and truncf multiarch implementations.
25059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25064 multiarch trunc for PowerPC32.
25065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25070 multiarch truncf for PowerPC32.
25072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25073 and roundf multiarch implementations.
25074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25079 multiarch round for PowerPC32.
25080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25085 multiarch roundf for PowerPC32.
25087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25088 and floorf multiarch implementations.
25089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25094 multiarch floor for PowerPC32.
25095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25100 multiarch floorf for PowerPC32.
25102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25103 and ceilf multiarch implementations.
25104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25109 multiarch ceil for PowerPC32.
25110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25115 multiarch ceilf for PowerPC32.
25117 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25119 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25120 FINITEF is defined.
25121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25122 and finitef multiarch implementations.
25123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25128 multiarch finite for PowerPC32.
25129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25132 file: multiarch finitef for PowerPC32.
25134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25135 and isinff multiarch implementations.
25136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25141 multiarch isinf for PowerPC32.
25142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25145 multiarch isinff for PowerPC32.
25147 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25148 alias when __isnan is defined.
25149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25150 and isnanf multiarch implementations.
25151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25160 multiarch isnan for PowerPC32.
25161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25166 multiarch isnanf for PowerPC32.
25168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25169 and sqrtf multiarch implementations.
25170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25175 multiarch sqrt for PowerPC32.
25176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25181 multiarch sqrtf for PowerPC32.
25183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25184 and llroundf multiarch implementations.
25185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25192 file: multiarch llround for PowerPC32.
25193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25194 file: multiarch llroundf for PowerPC32.
25196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25197 multiarch PowerPC32 fpu implementations.
25198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25203 multiarch llrint for PowerPC32.
25204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25213 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25215 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25217 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25219 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25220 multiarch wordcopy for PPC32.
25221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25224 (__libc_ifunc_impl_list): Likewise.
25225 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25226 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25227 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25228 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25229 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25230 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25232 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25233 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25235 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25240 multiarch wcscpy for PPC32.
25241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25244 (__libc_ifunc_impl_list): Likewise.
25245 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25246 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25247 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25248 sysdeps/powerpc/power6/wcscpy.c.
25250 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25253 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25258 multiarch wcsrchr for PPC32.
25259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25262 (__libc_ifunc_impl_list): Likewise.
25263 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25264 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25265 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25266 sysdeps/powerpc/power6/wcsrchr.c.
25268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25272 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25273 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25274 multiarch wcschr for PPc32.
25275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25278 (__libc_ifunc_impl_list): Likewise.
25279 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25280 * sysdeps/powerpc/power6/wcschr.c: ... to here.
25281 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25282 sysdeps/powerpc/power6/wcschr.c.
25284 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25285 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25287 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25288 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25289 file: multiarch strchr for PPC32.
25290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25293 (__libc_ifunc_impl_list): Likewise.
25295 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25297 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25299 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25301 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25302 multiarch strchrnul for PPC32.
25303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25306 (__libc_ifunc_impl_list): Likewise.
25308 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25310 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25311 multiarch strncasecmp for PPC32.
25312 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25314 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25315 multiarch strncasecmp_l for PPC32.
25316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25317 strncasecmp multiarch objects.
25318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25319 (__libc_ifunc_impl_list): Likewise.
25321 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25323 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25324 multiarch strncasecmp for PPC32.
25325 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25327 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25328 multiarch strcasecmp_l for PPC32.
25329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25332 (__libc_ifunc_impl_list): Likewise.
25334 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25336 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25338 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25339 multiarch strncmp for PPC32.
25340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25343 (__libc_ifunc_impl_list): Likewise.
25345 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25346 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25348 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25349 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25353 (__libc_ifunc_impl_list): Likewise.
25355 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25357 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25359 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25363 (__libc_ifunc_impl_list): Likewise.
25365 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25367 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25369 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25370 multiarch rawmemchr for PPC32.
25371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25374 (__libc_ifunc_impl_list): Likewise.
25376 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25378 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25380 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25381 file: memrchr multiarch for PPC32.
25382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25385 (__libc_ifunc_impl_list): Likewise.
25387 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25388 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25390 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25391 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25392 multiarch memchr for PPC32.
25393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25396 (__libc_ifunc_impl_list): Likewise.
25398 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25399 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25401 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25403 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25404 file: multiarch mempcpy for PPC32.
25405 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25407 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25408 (__libc_ifunc_impl_list): Likewise.
25410 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25411 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25412 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25413 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25414 multiarch bzero for PPC32.
25415 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25417 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25419 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25420 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25421 file: multiarch memset for PPC32.
25422 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25424 memset multiarch objects.
25425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25426 (__libc_ifunc_impl_list): Likewise.
25428 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25430 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25431 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25433 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25434 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25436 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25437 (__libc_ifunc_impl_list): Likewise.
25439 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25440 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25441 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25443 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25445 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25448 multiarch memcpy for PPC32.
25449 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25451 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25452 (__libc_ifunc_impl_list): Likewise.
25454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25455 support multiarch for POWER/PPC32.
25456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25458 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25460 Implies file to make multiarch folder appers before the fpu and
25461 default folder for power4 configuration.
25463 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25465 * scripts/bench.pl: Append volatile keyword to type.
25467 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25469 * sysdeps/sh/sotruss-lib.c: New file.
25470 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25472 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25476 2013-12-05 Joseph Myers <joseph@codesourcery.com>
25479 * math/w_tgamma.c: Include <errno.h>.
25480 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25481 * math/w_tgammaf.c: Include <errno.h>.
25482 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25483 * math/w_tgammal.c: Include <errno.h>.
25484 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25485 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25486 underflow. Add more tgamma tests.
25487 * math/auto-libm-test-out: Regenerated.
25488 * sysdeps/i386/fpu/libm-test-ulps: Update.
25489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25491 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25492 sin, sinh, tan, tanh, tgamma, y0 and y1.
25493 * math/auto-libm-test-out: Regenerated.
25494 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25495 (TEST_COND_x86): Likewise.
25496 (M_E2l): Remove macro.
25498 (M_2_SQRT_PIl): Likewise.
25499 (M_SQRT_PIl): Likewise.
25500 (M_1_DIV_El): Likewise.
25501 (log_test_data): Use AUTO_TESTS_f_f.
25502 (log10_test_data): Likewise.
25503 (log1p_test_data): Likewise.
25504 (log2_test_data): Likewise.
25505 (sin_test_data): Likewise.
25506 (sin_tonearest_test_data): Likewise.
25507 (sin_towardzero_test_data): Likewise.
25508 (sin_downward_test_data): Likewise.
25509 (sin_upward_test_data): Likewise.
25510 (sinh_test_data): Likewise.
25511 (sinh_tonearest_test_data): Likewise.
25512 (sinh_towardzero_test_data): Likewise.
25513 (sinh_downward_test_data): Likewise.
25514 (sinh_upward_test_data): Likewise.
25515 (tan_test_data): Likewise.
25516 (tan_tonearest_test_data): Likewise.
25517 (tan_towardzero_test_data): Likewise.
25518 (tan_downward_test_data): Likewise.
25519 (tan_upward_test_data): Likewise.
25520 (tanh_test_data): Likewise.
25521 (tgamma_test_data): Likewise.
25522 (y0_test_data): Likewise.
25523 (y1_test_data): Likewise.
25524 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25525 (special_real_inputs): Add pi/4.
25526 * sysdeps/i386/fpu/libm-test-ulps: Update.
25527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25529 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25531 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25532 "longjmp_target" static probes.
25533 (__longjmp): Rename to __longjmp_symbol.
25534 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25535 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25536 on which longjmp to generate.
25537 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25538 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25540 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25541 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25542 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25543 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25544 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25545 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25547 __longjmp_symbol based on which __longjmp to generate.
25548 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25550 (setjmp): Rename to setjmp_symbol.
25551 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25552 (_setjmp): Rename to _setjmp_symbol.
25553 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25554 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25555 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25556 which setjmp to generate.
25557 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25558 "longjmp_target" static probes.
25560 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25562 * benchtests/README: Add note about output arguments.
25563 * benchtests/bench-sincos.c: Remove file.
25564 * benchtests/sincos-inputs: New file.
25565 * scripts/bench.pl: Identify output arguments and define
25566 static variables for them.
25568 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25571 * Makefile (INSTALL): Add install-plain.texi as the primary
25573 * manual/install-plain.texi: New file.
25574 * manual/install.texi: Include node directive only for
25575 non-plaintext output.
25577 2013-12-04 Joseph Myers <joseph@codesourcery.com>
25579 * stdlib/longlong.h: Update from GCC.
25583 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25584 * math/w_j0f.c (y0f): Likewise.
25585 * math/w_j0l.c (__y0l): Likewise.
25586 * math/w_j1.c (y1): Likewise.
25587 * math/w_j1f.c (y1f): Likewise.
25588 * math/w_j1l.c (__y1l): Likewise
25589 * math/w_jn.c (yn): Likewise.
25590 * math/w_jnf.c (ynf): Likewise.
25591 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25592 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25593 value for Bessel function domain errors outside _SVID_ mode.
25594 Adjust sign of return value for yn (negative integer, 0).
25595 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25596 by zero in return for negative x and set sign appropriately for
25598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25599 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25600 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25601 expectations in error cases.
25602 (y1_test_data): Likewise.
25603 (yn_test_data): Likewise.
25604 * sysdeps/i386/fpu/libm-test-ulps: Update.
25605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25607 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25609 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25610 "64" to "64-v1". Add "64-v2".
25611 (abi-64-options): Rename to ...
25612 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25613 (abi-64-condition): Rename to ...
25614 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25615 (abi-64-ld-soname): Rename to ...
25616 (abi-64-v1-ld-soname): ... this.
25617 (abi-64-v2-options): Define.
25618 (abi-64-v2-condition): Likewise.
25619 (abi-64-v2-ld-soname): Likewise.
25620 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25621 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25626 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25627 Alan Modra <amodra@gmail.com>
25629 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25630 New versions for use with the ELFv2 ABI.
25631 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25632 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25634 (struct La_ppc64v2_retval): Likewise.
25635 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25636 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25637 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25638 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25639 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25640 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25641 Do not save or restore CR.
25642 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25643 (_dl_profile_resolve): Do no save or restore CR. Support extended
25644 return values for ELFv2 ABI. Fix location of FPR return registers.
25645 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25646 updated values for _CALL_ELF == 2.
25647 (La_regs, La_retval, int_retval): Likewise.
25649 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25651 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25652 (FRAME_MIN_SIZE_PARM): Likewise.
25653 (FRAME_BACKCHAIN): Likewise.
25654 (FRAME_CR_SAVE): Likewise.
25655 (FRAME_LR_SAVE): Likewise.
25656 (FRAME_TOC_SAVE): Likewise.
25657 (FRAME_PARM_SAVE): Likewise.
25658 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25659 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25660 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25661 (call_mcount_parm_offset): New macro.
25662 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25663 (PROF): Use symbolic stack frame offsets.
25664 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25665 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25666 Redefine in terms of FRAME_MIN_SIZE.
25667 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25668 (_dl_profile_resolve): Likewise. Update comment.
25669 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25670 symbols stack frame offsets.
25671 (__sigsetjmp): Likewise.
25672 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25673 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25674 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25675 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25678 (FRAME_BACKCHAIN): Remove.
25679 (FRAME_CR_SAVE): Likewise.
25680 (FRAME_LR_SAVE): Likewise.
25681 (FRAME_COMPILER_DW): Likewise.
25682 (FRAME_LINKER_DW): Likewise.
25683 (FRAME_TOC_SAVE): Likewise.
25684 (FRAME_PARM_SAVE): Likewise.
25685 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25686 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25687 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25689 (CHECK_SP): Use symbolic stack frame offsets.
25690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25691 zone" instead of caller's parameter save area for temp storage.
25692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25693 Likewise. Also, use symbolic stack frame offsets.
25694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25695 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25696 our own stack frame instead of the caller's.
25697 (__socket): Use symbolic stack frame offsets.
25699 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25700 Alan Modra <amodra@gmail.com>
25702 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25704 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25705 (PPC64_LOCAL_ENTRY_OFFSET): Define.
25706 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25708 (elf_machine_fixup_plt): Call it.
25709 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25711 (elf_machine_rela): Update call to elf_machine_plt_conflict.
25712 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25713 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25714 r2 before calling target.
25716 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25717 Alan Modra <amodra@gmail.com>
25719 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25720 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25721 versions of macros to support ELFv2 ABI.
25722 (LOCALENTRY): New macro.
25723 (ENTRY, EALIGN): Use it.
25724 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25725 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25726 fall through into ENTRY entry point.
25727 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25728 Only define if _CALL_ELF != 2.
25730 (elf_machine_matches_host): Verify ABI version matches.
25731 (RTLD_START): Use LOCALENTRY.
25732 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25733 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25734 (PLT_ENTRY_WORDS): New macro.
25735 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25736 (elf_machine_runtime_setup): Support ELFv2 ABI.
25737 (elf_machine_fixup_plt): Likewise.
25738 (elf_machine_plt_conflict): Likewise.
25739 (resolve_ifunc): Likewise.
25740 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25741 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25744 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25746 (makecontext): Support ELFv2 ABI.
25747 * elf/elf.h (EF_PPC64_ABI): Define.
25749 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25751 * sysdeps/powerpc/powerpc64/sysdep.h
25752 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25753 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25754 (ENTRY) [ASSEMBLER]: ... but instead here ...
25755 (EALIGN) [ASSEMBLER]: ... and here.
25756 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25757 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25758 (ENTRY_2) [!ASSEMBLER]: Use it.
25759 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25760 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
25761 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25762 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25763 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25765 Use PPC64_LOAD_FUNCPTR.
25767 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25769 2013-12-04 Alan Modra <amodra@gmail.com>
25771 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25772 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25773 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25774 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25776 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25777 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25778 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25779 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25780 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25781 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25783 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25786 (__makecontext): Fix incorrect CFI when backtracing out of
25787 context created via makecontext.
25788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25789 (__setcontext): Fix incorrect CFI during switch to new context.
25790 (__novec_setcontext): Likewise.
25792 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25795 * time/strptime_l.c (__strptime_internal): Allow modifiers
25797 * time/tst-strptime.c (day_tests): Add testcase.
25799 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25801 * scripts/bench.pl: Skip over blank lines.
25803 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
25806 * manual/time.texi (Calendar Time): Clarify what timezone functions
25809 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25813 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25815 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25817 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25818 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25819 * debug/memset_chk.c (__memset_chk): Likewise.
25820 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25821 * debug/strncpy_chk.c: Likewise.
25823 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25827 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25828 (__ieee754_exp): For possibly underflowing results, check size of
25829 result and force underflow exception if required.
25830 * math/auto-libm-test-in: Add more tests of exp.
25831 * math/auto-libm-test-out: Regenerated.
25832 * sysdeps/i386/fpu/libm-test-ulps: Update.
25833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25836 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25837 * math/w_exp2f.c (__exp2f): Likewise.
25838 * math/w_exp2l.c (__exp2l): Likewise.
25839 * math/auto-libm-test-in: Do not allow missing errno on exp2
25841 * math/auto-libm-test-out: Regenerated.
25843 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
25846 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25847 handle filename validation.
25848 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25851 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25854 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25855 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25856 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25858 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25859 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25860 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25861 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25862 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25863 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25864 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25865 * math/auto-libm-test-in: Don't allow missing errno from erfc.
25866 Add more erfc tests.
25867 * math/auto-libm-test-out: Regenerated.
25868 * sysdeps/i386/fpu/libm-test-ulps: Update.
25869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25871 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25872 exp2, expm1, j0 and j1.
25873 * math/auto-libm-test-out: Regenerated.
25874 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25875 (erfc_test_data): Likewise.
25876 (exp_test_data): Likewise.
25877 (exp_tonearest_test_data): Likewise.
25878 (exp_towardzero_test_data): Likewise.
25879 (exp_downward_test_data): Likewise.
25880 (exp_upward_test_data): Likewise.
25881 (exp10_test_data): Likewise.
25882 (exp2_test_data): Likewise.
25883 (expm1_test_data): Likewise.
25884 (j0_test_data): Likewise.
25885 (j1_test_data): Likewise.
25886 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25887 (input_flag_type): Add flag_xfail_rounding.
25888 (input_flags): Add xfail-rounding.
25889 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25890 (output_for_one_input_case): Handle flag_xfail_rounding.
25891 * sysdeps/i386/fpu/libm-test-ulps: Update.
25892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25894 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
25897 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25900 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25903 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25904 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25905 (STAP_PROBE0): New macro.
25906 (STAP_PROBE1): Likewise.
25907 (STAP_PROBE2): Likewise.
25908 (STAP_PROBE3): Likewise.
25909 (STAP_PROBE4): Likewise.
25911 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
25913 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25915 2013-12-02 Steve Ellcey <sellcey@mips.com>
25917 * benchtests/Makefile (bench): Add sqrt.
25918 (LDLIBS-bench-sqrt): New.
25919 * benchtests/sqrt-input: New.
25921 2013-12-02 Pavel Simerda <psimerda@redhat.com>
25923 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25924 (GAIH_EAI): Likewise.
25925 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25926 (gaih_inet): Likewise.
25927 (getaddrinfo): Don't use GAIH_EAI.
25929 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25930 (struct gaih): Remove definition.
25932 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25934 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25935 Use HERRNOP directly.
25937 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25941 2013-11-30 Joseph Myers <joseph@codesourcery.com>
25943 * math/gen-auto-libm-tests.c (test_functions): Add more
25944 single-argument functions.
25945 (special_fill_pi_2): New function.
25946 (special_fill_minus_pi_2): Likewise.
25947 (special_fill_pi_6): Likewise.
25948 (special_fill_minus_pi_6): Likewise.
25949 (special_fill_pi_3): Likewise.
25950 (special_fill_2pi_3): Likewise.
25951 (special_fill_e): Likewise.
25952 (special_fill_1_e): Likewise.
25953 (special_fill_e_minus_1): Likewise.
25954 (special_real_inputs): Add more special inputs.
25955 (output_for_one_input_case): Do not require ERANGE on underflow to
25956 zero if round-to-nearest result does not underflow to zero, unless
25957 exact results required.
25958 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25959 atan, atanh, cbrt, cos and cosh.
25960 * math/auto-libm-test-out: Regenerated.
25961 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25962 (acos_tonearest_test_data): Likewise.
25963 (acos_towardzero_test_data): Likewise.
25964 (acos_downward_test_data): Likewise.
25965 (acos_upward_test_data): Likewise.
25966 (acosh_test_data): Likewise.
25967 (asin_test_data): Likewise.
25968 (asin_tonearest_test_data): Likewise.
25969 (asin_towardzero_test_data): Likewise.
25970 (asin_upward_test_data): Likewise.
25971 (asinh_test_data): Likewise.
25972 (atan_test_data): Likewise.
25973 (atanh_test_data): Likewise.
25974 (cbrt_test_data): Likewise.
25975 (cos_test_data): Likewise.
25976 (cos_tonearest_test_data): Likewise.
25977 (cos_towardzero_test_data): Likewise.
25978 (cos_downward_test_data): Likewise.
25979 (cos_upward_test_data): Likewise.
25980 (cosh_test_data): Likewise.
25981 (cosh_tonearest_test_data): Likewise.
25982 (cosh_towardzero_test_data): Likewise.
25983 (cosh_downward_test_data): Likewise.
25984 (cosh_upward_test_data): Likewise.
25985 * sysdeps/i386/fpu/libm-test-ulps: Update.
25986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25988 2013-11-29 Joseph Myers <joseph@codesourcery.com>
25991 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25992 * math/w_exp10f.c (__exp10f): Likewise.
25993 * math/w_exp10l.c (__exp10l): Likewise.
25994 * math/libm-test.inc (exp10_test_data): Add more tests and expect
25995 errno settings in existing tests.
25998 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25999 precision control set to double precision.
26000 * sysdeps/i386/fpu/w_sqrt.c: New file.
26001 * math/auto-libm-test-in: Add more tests.
26002 * math/auto-libm-test-out: Update.
26004 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26005 (sqrt_test_tonearest): New function.
26006 (sqrt_towardzero_test_data): New variable.
26007 (sqrt_test_towardzero): New function.
26008 (sqrt_downward_test_data): New variable.
26009 (sqrt_test_downward): New function.
26010 (sqrt_upward_test_data): New variable.
26011 (sqrt_test_upward): New function.
26012 (main): Call the new functions.
26014 * math/gen-auto-libm-tests.c: New file.
26015 * math/auto-libm-test-in: Likewise.
26016 * math/auto-libm-test-out: New generated file.
26017 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26019 (%beautify): Add generated representations of zero.
26020 (top level): Set $auto_input and call parse_auto_input.
26021 (beautify): Remove trailing "f" from hex float constants.
26022 (parse_args): Handle XFAIL_TEST.
26023 (convert_condition): New function.
26024 (or_value): Likewise.
26025 (or_cond_value): Likewise.
26026 (generate_testfile): Handle AUTO_TESTS_* lines.
26027 (parse_auto_input): New function.
26028 * math/libm-test.inc (XFAIL_TEST): New macro.
26029 (ERRNO_UNCHANGED): Update value.
26030 (ERRNO_EDOM): Likewise.
26031 (ERRNO_ERANGE): Likewise.
26032 (IGNORE_RESULT): Likewise.
26033 (TEST_COND_flt_32): New macro.
26034 (TEST_COND_dbl_64): Likewise.
26035 (TEST_COND_ldbl_96_intel): Likewise.
26036 (TEST_COND_ldbl_96_m68k): Likewise.
26037 (TEST_COND_ldbl_128): Likewise.
26038 (TEST_COND_ldbl_128ibm): Likewise.
26039 (TEST_COND_long32): Likewise.
26040 (TEST_COND_long64): Likewise.
26041 (TEST_COND_before_rounding): Likewise.
26042 (TEST_COND_after_rounding): Likewise.
26043 (enable_test): Handle XFAIL_TEST flag.
26044 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26045 with finite results.
26046 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26047 auto-libm-test-out.
26049 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26050 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26053 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26054 __tls_get_addr_internal instead of __tls_get_offset in order to
26055 avoid GOT pointer dependency. Make rtld export
26056 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26057 __tls_get_addr since we are a __tls_get_offset platform.
26058 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26059 GOT pointer being set up before.
26060 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26062 2013-11-28 Joseph Myers <joseph@codesourcery.com>
26064 * manual/math.texi (Errors in Math Functions): Document accuracy
26068 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26069 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26070 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26071 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26072 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26073 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26074 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26075 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26076 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26077 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26078 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26079 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26080 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26081 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26082 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26083 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26085 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26086 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26087 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26088 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26089 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26091 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26093 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26095 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26096 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26097 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26098 atomic-feupdateenv and flt-rounds.
26099 * sysdeps/powerpc/nofpu/Versions (libc): Add
26100 __atomic_feholdexcept, __atomic_feclearexcept,
26101 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26102 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26103 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26104 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26105 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26110 * manual/arith.texi (FP Exceptions): Document that exceptions may
26111 not be raised when matherr is used.
26112 (Math Error Reporting): Document overflow in directed rounding
26113 modes. Document that errno may not be set when finite values are
26114 returned on overflow. Document intent to set errno on underflow
26115 only for underflow to zero.
26118 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26119 round-to-nearest then adjust result for other rounding modes.
26120 * include/fenv.h (fegetround): Use libm_hidden_proto.
26121 * math/fegetround.c (fegetround): Use libm_hidden_def.
26122 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26123 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26124 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26125 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26127 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26128 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26129 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26130 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26132 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26135 * nss/Versions (libnss_files): Add
26136 _nss_files_gethostbyname3_r.
26137 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26139 (HOST_DB_LOOKUP): Remove macro.
26140 (_nss_files_gethostbyname_r): Implement function without the
26141 HOST_DB_LOOKUP macro.
26142 (_nss_files_gethostbyname2_r): Likewise.
26144 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
26146 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26148 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
26150 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26151 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26154 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26156 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26157 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26158 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26159 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26160 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26161 __fe_nomask_env_priv and attribute_hidden.
26162 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26163 (libc_feupdateenv_test_ppc): Likewise.
26164 (libc_feresetround_ppc): Likewise.
26165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26166 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26167 compat_symbol macro.
26168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26169 (__fe_nomask_env): Likewise.
26170 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26172 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26174 * string/Makefile: Remove ifunc tests.
26175 * string/test-string.h: Define TEST_IFUNC.
26176 * string/test-bcopy-ifunc.c: Remove.
26177 * string/test-bzero-ifunc.c: Likewise.
26178 * string/test-memccpy-ifunc.c: Likewise.
26179 * string/test-memchr-ifunc.c: Likewise.
26180 * string/test-memcmp-ifunc.c: Likewise.
26181 * string/test-memcpy-ifunc.c: Likewise.
26182 * string/test-memmem-ifunc.c: Likewise.
26183 * string/test-memmove-ifunc.c: Likewise.
26184 * string/test-mempcpy-ifunc.c: Likewise.
26185 * string/test-memrchr-ifunc.c: Likewise.
26186 * string/test-memset-ifunc.c: Likewise.
26187 * string/test-rawmemchr-ifunc.c: Likewise.
26188 * string/test-stpcpy-ifunc.c: Likewise.
26189 * string/test-stpncpy-ifunc.c: Likewise.
26190 * string/test-strcasecmp-ifunc.c: Likewise.
26191 * string/test-strcasestr-ifunc.c: Likewise.
26192 * string/test-strcat-ifunc.c: Likewise.
26193 * string/test-strchr-ifunc.c: Likewise.
26194 * string/test-strchrnul-ifunc.c: Likewise.
26195 * string/test-strcmp-ifunc.c: Likewise.
26196 * string/test-strcpy-ifunc.c: Likewise.
26197 * string/test-strcspn-ifunc.c: Likewise.
26198 * string/test-strlen-ifunc.c: Likewise.
26199 * string/test-strncasecmp-ifunc.c: Likewise.
26200 * string/test-strncat-ifunc.c: Likewise.
26201 * string/test-strncmp-ifunc.c: Likewise.
26202 * string/test-strncpy-ifunc.c: Likewise.
26203 * string/test-strnlen-ifunc.c: Likewise.
26204 * string/test-strpbrk-ifunc.c: Likewise.
26205 * string/test-strrchr-ifunc.c: Likewise.
26206 * string/test-strspn-ifunc.c: Likewise.
26207 * string/test-strstr-ifunc.c: Likewise.
26209 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26211 * benchtests/Makefile: Remove ifunc tests.
26212 * benchtests/bench-string.h: Define TEST_IFUNC.
26213 * benchtests/bench-bcopy-ifunc.c: Remove.
26214 * benchtests/bench-bzero-ifunc.c: Likewise.
26215 * benchtests/bench-memccpy-ifunc.c: Likewise.
26216 * benchtests/bench-memchr-ifunc.c: Likewise.
26217 * benchtests/bench-memcmp-ifunc.c: Likewise.
26218 * benchtests/bench-memcpy-ifunc.c: Likewise.
26219 * benchtests/bench-memmem-ifunc.c: Likewise.
26220 * benchtests/bench-memmove-ifunc.c: Likewise.
26221 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26222 * benchtests/bench-memrchr-ifunc.c: Likewise.
26223 * benchtests/bench-memset-ifunc.c: Likewise.
26224 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26225 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26226 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26227 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26228 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26229 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26230 * benchtests/bench-strcat-ifunc.c: Likewise.
26231 * benchtests/bench-strchr-ifunc.c: Likewise.
26232 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26233 * benchtests/bench-strcmp-ifunc.c: Likewise.
26234 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26235 * benchtests/bench-strcpy-ifunc.c: Likewise.
26236 * benchtests/bench-strcspn-ifunc.c: Likewise.
26237 * benchtests/bench-strlen-ifunc.c: Likewise.
26238 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26239 * benchtests/bench-strncat-ifunc.c: Likewise.
26240 * benchtests/bench-strncmp-ifunc.c: Likewise.
26241 * benchtests/bench-strncpy-ifunc.c: Likewise.
26242 * benchtests/bench-strnlen-ifunc.c: Likewise.
26243 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26244 * benchtests/bench-strrchr-ifunc.c: Likewise.
26245 * benchtests/bench-strsep-ifunc.c: Likewise.
26246 * benchtests/bench-strspn-ifunc.c: Likewise.
26247 * benchtests/bench-strstr-ifunc.c: Likewise.
26249 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26251 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26253 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26255 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26256 * rt/aio.h: Likewise.
26257 * sysdeps/gnu/bits/utmp.h: Likewise.
26258 * sysdeps/gnu/bits/utmpx.h: Likewise.
26259 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26260 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26261 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26262 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26263 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26264 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26265 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26266 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26267 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26268 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26269 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26270 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26271 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26273 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26274 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26275 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26276 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26277 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26278 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26279 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26280 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26281 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26282 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26283 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26285 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26286 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26287 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26288 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26289 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26290 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26291 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26292 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26293 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26294 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26295 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26296 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26297 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26298 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26299 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26300 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26302 2013-11-25 Carlos O'Donell <carlos@redhat.com>
26305 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26306 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26308 2013-11-25 Joseph Myers <joseph@codesourcery.com>
26310 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26311 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26314 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26316 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26317 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26318 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26319 (__fesetround): Remove define.
26320 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26321 rounding and exceptions handling.
26322 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26323 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26324 (__fe_nomask_env): Likewise.
26325 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26326 __fegetround instead of fegetround.
26327 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26328 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26330 2013-11-21 Roland McGrath <roland@hack.frob.com>
26332 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26335 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26337 2013-11-21 Meador Inge <meadori@codesourcery.com>
26340 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26341 (encrypt_r): Likewise.
26342 * malloc/obstack.h (obstack_free): Likewise.
26343 * posix/unistd.h (encrypt): Likewise.
26345 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26347 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26348 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26349 DL_CALL_DT_FINI() that call the functions directly.
26350 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26351 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26352 * elf/dl-fini.c: Likewise.
26354 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
26356 * malloc/hooks.c (memalign_check): Add alignment rounding.
26357 * malloc/malloc.c (_mid_memalign): New function.
26358 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26359 Implement by calling _mid_memalign.
26360 * manual/probes.texi (Memory Allocation Probes): Remove
26361 memory_valloc_retry and memory_pvalloc_retry.
26363 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26365 * locale/programs/locarchive.c (open_archive): Add const
26366 qualifier to ARCHIVEFNAME and copy default fname to
26370 * libio/tst-widetext.input: Rename Oriya to Odia.
26371 * locale/iso-639.def: Likewise.
26373 * manual/probes.texi (Mathematical Function Probes): Add
26374 documentation for sin, cos, asin and acos probes.
26375 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26376 (__sin32): Add slowasin probe.
26377 (__cos32): Add slowacos probe.
26378 (__mpsin): Add slowsin probe.
26379 (__mpcos): Add slowcos probe.
26381 2013-11-19 Joseph Myers <joseph@codesourcery.com>
26384 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26385 thread-local __sim_exceptions_thread and global
26386 __sim_exceptions_global.
26387 (__sim_disabled_exceptions): Change to thread-local
26388 __sim_disabled_exceptions_thread and global
26389 __sim_disabled_exceptions_global.
26390 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26391 and global __sim_round_mode_global.
26392 (__simulate_exceptions): Use thread-local floating-point state and
26393 set global state from it as needed.
26394 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26395 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26396 __sim_round_mode_thread.
26397 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26398 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26399 and global __sim_exceptions_global.
26400 (__sim_disabled_exceptions): Change to thread-local
26401 __sim_disabled_exceptions_thread and global
26402 __sim_disabled_exceptions_global.
26403 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26404 and global __sim_round_mode_global.
26405 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26406 (SIM_SET_GLOBAL): Likewise.
26407 * sysdeps/powerpc/soft-fp/sfp-machine.h
26408 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26409 __sim_round_mode_thread.
26410 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26411 __sim_disabled_exceptions_thread.
26412 (__sim_exceptions): Change to __sim_exceptions_thread.
26413 (__sim_disabled_exceptions): Change to
26414 __sim_disabled_exceptions_thread.
26415 (__sim_round_mode): Change to __sim_round_mode_thread.
26416 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26417 thread-local floating-point state and set global state from it as
26419 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26420 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26421 (__sim_disabled_exceptions): Remove extern declaration.
26422 (feenableexcept): Use thread-local floating-point state and set
26423 global state from it as needed.
26424 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26425 extern declaration.
26426 (__sim_disabled_exceptions): Likewise.
26427 (__sim_round_mode): Likewise.
26428 (__fegetenv): Use thread-local floating-point state.
26429 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26430 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26431 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26432 floating-point state and set global state from it as needed.
26433 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26434 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26435 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26437 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26438 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26440 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26441 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26442 Use __sim_round_mode_thread.
26443 * math/test-fenv-tls.c: New file.
26444 * math/Makefile (tests): Add test-fenv-tls.
26445 ($(objpfx)test-fenv-tls): Depend on
26446 $(common-objpfx)nptl/libpthread.so.
26448 2013-11-19 Andreas Schwab <schwab@suse.de>
26450 * locale/programs/locale.c (show_info): Decode wordarray elements.
26451 * locale/categories.def (LC_MONETARY): Add element for
26452 _NL_MONETARY_CRNCYSTR.
26453 * locale/C-monetary.c (conversion_rate): New variable.
26454 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26457 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26459 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26460 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26462 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26464 * elf/Makefile (tst-auxv): New test.
26465 * elf/tst-auxv.c: New
26466 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26468 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26470 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26471 (hidden_proto): Caller changed.
26472 (hidden_tls_proto): New macro.
26473 (libc_hidden_tls_proto): Likewise.
26474 (rtld_hidden_tls_proto): Likewise.
26475 (libm_hidden_tls_proto): Likewise.
26476 (libresolv_hidden_tls_proto): Likewise.
26477 (librt_hidden_tls_proto): Likewise.
26478 (libdl_hidden_tls_proto): Likewise.
26479 (libnss_files_hidden_tls_proto): Likewise.
26480 (libnsl_hidden_tls_proto): Likewise.
26481 (libnss_nisplus_hidden_tls_proto): Likewise.
26482 (libutil_hidden_tls_proto): Likewise.
26484 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
26487 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26488 (decompose_rpath): Defer expansion to fillin_rpath.
26489 (_dl_init_paths): Pass linkmap to fillin_rpath.
26491 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26493 * benchtests/Makefile: Add strsep.
26494 * benchtests/bench-strsep.c: New file: strsep benchtest.
26495 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26497 2013-11-18 Andreas Schwab <schwab@suse.de>
26499 * locale/programs/locale.c (show_info) [case byte]: Check for
26500 '\377' instead of '\177'.
26501 * locale/C-monetary.c (not_available): Always use "\377".
26502 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26503 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26504 detect unavailable sign_posn locale elements.
26505 * locale/localeconv.c (__localeconv): For grouping and
26506 mon_grouping handle "\177" and "\377" like no grouping.
26507 (INT_ELEM): New macro. Use it to set all numeric members.
26508 * locale/programs/ld-monetary.c (monetary_read)
26509 <tok_mon_grouping>: Normalize single -1 to the empty string.
26510 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26513 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26516 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26517 when we match (nil).
26518 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26520 2013-11-16 Joseph Myers <joseph@codesourcery.com>
26522 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26523 (NO_TEST_INLINE): Update value.
26524 (ERRNO_UNCHANGED): Likewise.
26525 (ERRNO_EDOM): Likewise.
26526 (ERRNO_ERANGE): Likewise.
26527 (IGNORE_RESULT): Likewise.
26528 (check_float_internal): Check signs of NaN results if
26529 TEST_NAN_SIGN used.
26530 (check_complex): Pass TEST_NAN_SIGN flag through to second
26531 check_float_internal call.
26532 (copysign_test_data): Add tests with quiet NaNs as second
26533 argument. Use TEST_NAN_SIGN.
26534 (fabs_test_data): Add test of negative quiet NaN argument. Use
26536 (signbit_test_data): Add tests of quiet NaN argument.
26537 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26539 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26541 (parse_args): Handle function results specified as IGNORE.
26542 * math/libm-test.inc (IGNORE_RESULT): New macro.
26543 (check_float_internal): Do not check numerical result if flag
26545 (check_complex): Pass through IGNORE_RESULT to second
26546 check_float_internal call.
26547 (check_int): Do not check numerical result if flag IGNORE_RESULT
26549 (check_long): Likewise.
26550 (check_bool): Likewise.
26551 (check_longlong): Likewise.
26552 (lrint_test_data): Add tests of infinite and NaN arguments.
26553 (lrint_tonearest_test_data): Likewise.
26554 (lrint_towardzero_test_data): Likewise.
26555 (lrint_downward_test_data): Likewise.
26556 (lrint_upward_test_data): Likewise.
26557 (llrint_test_data): Likewise.
26558 (llrint_tonearest_test_data): Likewise.
26559 (llrint_towardzero_test_data): Likewise.
26560 (llrint_downward_test_data): Likewise.
26561 (llrint_upward_test_data): Likewise.
26562 (lround_test_data): Likewise.
26563 (llround_test_data): Likewise.
26565 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26566 (ERRNO_UNCHANGED): Update value.
26567 (ERRNO_EDOM): Likewise.
26568 (ERRNO_ERANGE): Likewise.
26569 (NO_TEST_INLINE_FLOAT): New macro.
26570 (NO_TEST_INLINE_DOUBLE): Likewise.
26571 (enable_test): New function.
26572 (RUN_TEST_f_f): Check enable_test before running test.
26573 (RUN_TEST_2_f): Likewise.
26574 (RUN_TEST_fff_f): Likewise.
26575 (RUN_TEST_c_f): Likewise.
26576 (RUN_TEST_f_f1): Likewise.
26577 (RUN_TEST_fF_f1): Likewise.
26578 (RUN_TEST_fI_f1): Likewise.
26579 (RUN_TEST_ffI_f1): Likewise.
26580 (RUN_TEST_c_c): Likewise.
26581 (RUN_TEST_cc_c): Likewise.
26582 (RUN_TEST_f_i): Likewise.
26583 (RUN_TEST_f_i_tg): Likewise.
26584 (RUN_TEST_ff_i_tg): Likewise.
26585 (RUN_TEST_f_b): Likewise.
26586 (RUN_TEST_f_b_tg): Likewise.
26587 (RUN_TEST_f_l): Likewise.
26588 (RUN_TEST_f_L): Likewise.
26589 (RUN_TEST_fFF_11): Likewise.
26590 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26592 (cosh_test_data): Likewise.
26593 (exp_test_data): Likewise.
26594 (expm1_test_data): Likewise.
26595 (hypot_test_data): Likewise.
26596 (pow_test_data): Likewise.
26597 (sinh_test_data): Likewise.
26598 (tanh_test_data): Likewise.
26599 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26602 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26603 tests with quiet NaN input and output.
26604 (acosh_test_data): Likewise.
26605 (asin_test_data): Likewise.
26606 (asinh_test_data): Likewise.
26607 (atan_test_data): Likewise.
26608 (atanh_test_data): Likewise.
26609 (atan2_test_data): Likewise.
26610 (cbrt_test_data): Likewise.
26611 (cos_test_data): Likewise.
26612 (cosh_test_data): Likewise.
26613 (erf_test_data): Likewise.
26614 (erfc_test_data): Likewise.
26615 (exp_test_data): Likewise.
26616 (exp10_test_data): Likewise.
26617 (exp2_test_data): Likewise.
26618 (expm1_test_data): Likewise.
26619 (hypot_test_data): Likewise.
26620 (j0_test_data): Likewise.
26621 (j1_test_data): Likewise.
26622 (jn_test_data): Likewise.
26623 (lgamma_test_data): Likewise.
26624 (log_test_data): Likewise.
26625 (log10_test_data): Likewise.
26626 (log1p_test_data): Likewise.
26627 (log2_test_data): Likewise.
26628 (pow_test_data): Likewise.
26629 (scalb_test_data): Likewise.
26630 (sin_test_data): Likewise.
26631 (sincos_test_data): Likewise.
26632 (sinh_test_data): Likewise.
26633 (tan_test_data): Likewise.
26634 (tanh_test_data): Likewise.
26635 (tgamma_test_data): Likewise.
26636 (y0_test_data): Likewise.
26637 (y1_test_data): Likewise.
26638 (yn_test_data): Likewise.
26641 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26642 argument being NaN and avoid computations with second argument in
26644 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26645 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26646 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26648 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26650 * locale/iso-639.def: Add Chitwani Tharu (the).
26652 2013-11-14 Andreas Schwab <schwab@suse.de>
26654 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26655 word instead of empty string.
26657 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26660 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26662 (__fe_nomask_env): Likewise.
26664 2013-11-13 Steve Ellcey <sellcey@mips.com>
26666 * benchtests/bench-timing.h: Include time.h.
26668 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26671 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26673 * sysdeps/unix/sysv/linux/configure: Regenerated.
26675 2013-11-13 Joseph Myers <joseph@codesourcery.com>
26678 * stdlib/strtod_l.c (round_and_return): Do not consider
26679 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26680 exponent one less than half the least subnormal exponent.
26681 * stdlib/test-strtod-round-data: Add more tests.
26682 * stdlib/tst-strtod-round.c (tests): Regenerated.
26684 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26687 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26688 (__fe_mask_env): Likewise.
26689 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26690 libm_hidden_proto and add function prototype.
26691 (__fe_mask_env): Add function prototype.
26692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26693 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26695 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26697 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26699 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26701 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26702 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26704 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26706 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26707 of htab_find_slot().
26709 2013-11-11 David S. Miller <davem@davemloft.net>
26712 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26713 symbol in the non-vis3 case in static builds.
26714 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26715 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26716 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26717 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26719 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26722 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26725 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26727 * benchtests/Makefile: Add bench-strtod.
26728 * benchtests/bench-strtod.c: New file: strtod benchtest
26730 2013-11-11 Andreas Schwab <schwab@suse.de>
26733 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26734 terminating NUL in key length.
26736 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26738 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26739 Add artificial ODP entry for vDSO symbol for PPC64.
26740 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26741 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26743 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26746 * nss/getent.c (services_keys): Recognize services starting with digit.
26748 2013-11-06 David S. Miller <davem@davemloft.net>
26751 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26752 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26754 2013-11-06 Will Newton <will.newton@linaro.org>
26756 * manual/memory.texi (Malloc Examples): Remove register
26757 keyword from examples.
26759 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
26761 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26763 2013-11-04 Joseph Myers <joseph@codesourcery.com>
26766 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26767 depending on [__GCC_IEC_559 > 0].
26768 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26769 depending on [__GCC_IEC_559_COMPLEX > 0].
26771 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
26773 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26776 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
26778 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26780 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
26783 * malloc/malloc (malloc_info): Do not handle first bin as
26786 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
26788 * locale/iso-639.def: Add Central Nahuatl (nhn).
26790 2013-11-01 Bruno Haible <bruno@clisp.org>
26793 * manual/math.texi (BSD Random): Specify range upper bound as
26796 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
26798 * locale/iso-639.def: Add Meadow Mari (mhr).
26800 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
26802 [BZ #14752], [BZ #15763]
26803 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26805 * rt/tst_shm.c: Add test for escaping directory.
26807 2013-10-31 Andreas Schwab <schwab@suse.de>
26810 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26811 followed by 'x' as part of digit sequence.
26812 * stdio-common/tst-sscanf.c (double_tests2): New tests.
26814 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26817 * configure.ac: allow GNU Make 4.0 and greater.
26818 * configure: Regenerated.
26820 2013-10-30 Will Newton <will.newton@linaro.org>
26823 * malloc/hooks.c (memalign_check): Limit alignment to the
26824 maximum representable power of two.
26825 * malloc/malloc.c (__libc_memalign): Likewise.
26826 * malloc/tst-memalign.c (do_test): Add test for very
26827 large alignment values.
26828 * malloc/tst-posix_memalign.c (do_test): Likewise.
26830 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26833 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26834 (munmap_chunk): Likewise.
26835 (mremap_chunk): Likewise.
26837 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26840 * stdlib/div.c (div): Remove obsolete code.
26841 * stdlib/ldiv.c (ldiv): Likewise.
26842 * stdlib/lldiv.c (lldiv): Likewise.
26844 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26847 * nss/nss_files/files-XXX.c (get_contents_ret): New
26849 (get_contents): New function.
26850 (internal_getent): Use it. Expand size of LINEBUFLEN.
26852 2013-10-30 Mike Frysinger <vapier@gentoo.org>
26854 * configure.in: Moved to ...
26855 * configure.ac: ... here. Change reference to configure.in
26857 * sysdeps/arm/preconfigure.ac: ... here.
26858 configure.in to configure.ac.
26859 * sysdeps/gnu/configure.in: Moved to ...
26860 * sysdeps/gnu/configure.ac: ... here.
26861 * sysdeps/i386/configure.in: Moved to ...
26862 * sysdeps/i386/configure.ac: ... here.
26863 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26864 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26865 * sysdeps/mach/configure.in: Moved to ...
26866 * sysdeps/mach/configure.ac: ... here.
26867 * sysdeps/mach/hurd/configure.in: Moved to ...
26868 * sysdeps/mach/hurd/configure.ac: ... here.
26869 * sysdeps/powerpc/configure.in: Moved to ...
26870 * sysdeps/powerpc/configure.ac: ... here.
26871 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26872 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26873 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26874 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26875 * sysdeps/s390/s390-32/configure.in: Moved to ...
26876 * sysdeps/s390/s390-32/configure.ac: ... here.
26877 * sysdeps/s390/s390-64/configure.in: Moved to ...
26878 * sysdeps/s390/s390-64/configure.ac: ... here.
26879 * sysdeps/sh/configure.in: Moved to ...
26880 * sysdeps/sh/configure.ac: ... here.
26881 * sysdeps/sparc/configure.in: Moved to ...
26882 * sysdeps/sparc/configure.ac: ... here.
26883 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26884 * sysdeps/unix/sysv/linux/configure.ac: ... here.
26885 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26886 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26887 * sysdeps/x86_64/configure.in: Moved to ...
26888 * sysdeps/x86_64/configure.ac: ... here.
26889 * sysdeps/x86_64/preconfigure.in: Moved to ...
26890 * sysdeps/x86_64/preconfigure.ac: ... here.
26891 * aclocal.m4: Change reference to configure.in to configure.ac.
26892 * config.h.in: Likewise.
26893 * manual/install.texi: Likewise.
26894 * manual/maint.texi: Likewise.
26895 * Makefile: Likewise.
26896 * malloc/Makefile: Likewise.
26897 * nscd/Makefile: Likewise.
26898 * Makeconfig: Change reference to configure.in and
26899 preconfigure.in to configure.ac and preconfigure.ac
26901 * INSTALL: Regenerated.
26902 * configure: Likewise.
26903 * sysdeps/gnu/configure: Likewise.
26904 * sysdeps/i386/configure: Likewise.
26905 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26906 * sysdeps/mach/configure: Likewise.
26907 * sysdeps/mach/hurd/configure: Likewise.
26908 * sysdeps/powerpc/configure: Likewise.
26909 * sysdeps/powerpc/powerpc32/configure: Likewise.
26910 * sysdeps/powerpc/powerpc64/configure: Likewise.
26911 * sysdeps/s390/s390-32/configure: Likewise.
26912 * sysdeps/s390/s390-64/configure: Likewise.
26913 * sysdeps/sh/configure: Likewise.
26914 * sysdeps/sparc/configure: Likewise.
26915 * sysdeps/unix/sysv/linux/configure: Likewise.
26916 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26917 * sysdeps/x86_64/configure: Likewise.
26918 * sysdeps/x86_64/preconfigure: Likewise.
26920 2013-10-29 Andreas Schwab <schwab@suse.de>
26922 * stdio-common/Makefile (tst-swscanf-ENV): Define.
26924 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26926 * benchtests/pow-inputs: Add new inputs.
26928 * benchtests/exp-inputs: Add new inputs.
26930 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26931 conditional check for return value.
26932 (__cos32): Likewise.
26934 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26936 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26937 to provide a boost for large inputs with word alignment.
26938 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26939 implementation based on optimized PPC64 strcpy.
26940 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26941 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26942 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26943 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26945 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26948 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26950 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26953 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26954 * time/tst-strptime.c (day_tests): Add testcase.
26956 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26959 * manual/pattern.texi: Acknowledge that fnmatch can fail.
26961 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
26964 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26965 MAP_FAILED on error.
26967 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26970 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26971 heap for large requests.
26973 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
26976 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26977 result if the result has no associated interface.
26978 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26979 interface for all 127.X.Y.Z addresses.
26981 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
26983 * locale/iso-639.def: Add Ligurian (lij)
26985 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
26988 * sunrpc/rpc_main.c: Document rpcgen -5.
26990 2013-10-19 Michael Stahl <mstahl@redhat.com>
26992 * elf/rtld.c (do_preload): Print the reason why preloading failed.
26994 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26997 * posix/glob.c: Match only directories when trailing slash is present.
26998 * posix/tst-gnuglob.c (my_opendir): Do not open files.
26999 (main): Add testcase.
27001 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27004 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27006 2013-10-18 Carlos O'Donell <carlos@redhat.com>
27008 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27009 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27010 AUTH_DES and cindex for FIPS 140-2.
27011 (DES Encryption): Add cindex FIPS 46-3.
27013 * locale/locarchive.h (struct locarhandle): Add fname.
27014 * locale/programs/localedef.c (main): Pass ARGV[remaining]
27015 if an optional argument was specified to --list-archive,
27017 * locale/programs/locarchive.c (show_archive_content): Take new
27018 argument fname and pass it via ah.fname to open_archive.
27019 * locale/programs/localedef.h: Update decl.
27020 (open_archive): If AH->fname is non-null, open that file
27021 rather than the default file name, and don't ignore ENOENT.
27022 (create_archive): Set AH.fname to NULL.
27023 (delete_locales_from_archive): Likewise.
27024 (add_locales_to_archive): Likewise.
27025 * locale/programs/locfile.c (write_all_categories): Likewise.
27027 2013-10-18 Joseph Myers <joseph@codesourcery.com>
27028 Aldy Hernandez <aldyh@redhat.com>
27030 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27031 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27032 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27033 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27034 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27035 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27036 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27037 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27038 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27039 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27040 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27041 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27042 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27043 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27044 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27046 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27048 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27050 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27052 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27053 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27055 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27056 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27057 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27058 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27060 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27061 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27062 * sysdeps/powerpc/preconfigure: Likewise.
27063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27065 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27066 Replace contents of file by #include of <fenv_libc.h>.
27067 * sysdeps/powerpc/soft-fp/sfp-machine.h
27068 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27070 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27071 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27072 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27073 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27074 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27075 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27077 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27078 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27079 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27080 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27081 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27083 Allow copysignl PLT reference to be missing.
27085 2013-10-18 Richard Sandiford <richard@codesourcery.com>
27086 Joseph Myers <joseph@codesourcery.com
27089 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27091 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27093 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27095 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27096 * elf/tst-tls1.c: Likewise.
27097 * elf/tst-tls10.h: Likewise.
27098 * elf/tst-tls14.c: Likewise.
27099 * elf/tst-tls2.c: Likewise.
27100 * elf/tst-tls3.c: Likewise.
27101 * elf/tst-tls4.c: Likewise.
27102 * elf/tst-tls5.c: Likewise.
27103 * elf/tst-tls6.c: Likewise.
27104 * elf/tst-tls7.c: Likewise.
27105 * elf/tst-tls8.c: Likewise.
27106 * elf/tst-tls9.c: Likewise.
27107 * elf/tst-tlsmod1.c: Likewise.
27108 * elf/tst-tlsmod13.c: Likewise.
27109 * elf/tst-tlsmod13a.c: Likewise.
27110 * elf/tst-tlsmod14a.c: Likewise.
27111 * elf/tst-tlsmod16a.c: Likewise.
27112 * elf/tst-tlsmod16b.c: Likewise.
27113 * elf/tst-tlsmod2.c: Likewise.
27114 * elf/tst-tlsmod3.c: Likewise.
27115 * elf/tst-tlsmod4.c: Likewise.
27116 * elf/tst-tlsmod5.c: Likewise.
27117 * elf/tst-tlsmod6.c: Likewise.
27119 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
27122 * malloc/malloc.c: remove checks for statistics.
27124 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27127 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27128 * inet/tst-network.c: Add testcase.
27130 2013-10-17 Andreas Schwab <schwab@suse.de>
27133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27134 to determine canonical name.
27136 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27138 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27139 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27141 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27143 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27144 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27145 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27146 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27147 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27148 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27149 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27151 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27152 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27153 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27155 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27156 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27157 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27160 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27161 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27162 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27163 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27164 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27165 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27166 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27167 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27168 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27170 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27171 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27172 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27173 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27174 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27175 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27176 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27177 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27178 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27179 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27180 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27181 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27182 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27183 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27184 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27185 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27186 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27187 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27188 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27189 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27190 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27191 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27192 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27193 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27194 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27195 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27197 2013-10-17 Joseph Myers <joseph@codesourcery.com>
27200 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27201 make result into a quiet NaN.
27203 2013-10-16 Joseph Myers <joseph@codesourcery.com>
27205 * soft-fp/adddf3.c: Fix horizontal whitespace.
27206 * soft-fp/addsf3.c: Likewise.
27207 * soft-fp/addtf3.c: Likewise.
27208 * soft-fp/divdf3.c: Likewise.
27209 * soft-fp/divsf3.c: Likewise.
27210 * soft-fp/divtf3.c: Likewise.
27211 * soft-fp/double.h: Likewise.
27212 * soft-fp/eqdf2.c: Likewise.
27213 * soft-fp/eqsf2.c: Likewise.
27214 * soft-fp/eqtf2.c: Likewise.
27215 * soft-fp/extenddftf2.c: Likewise.
27216 * soft-fp/extended.h: Likewise.
27217 * soft-fp/extendsfdf2.c: Likewise.
27218 * soft-fp/extendsftf2.c: Likewise.
27219 * soft-fp/extendxftf2.c: Likewise.
27220 * soft-fp/fixdfdi.c: Likewise.
27221 * soft-fp/fixdfsi.c: Likewise.
27222 * soft-fp/fixdfti.c: Likewise.
27223 * soft-fp/fixsfdi.c: Likewise.
27224 * soft-fp/fixsfsi.c: Likewise.
27225 * soft-fp/fixsfti.c: Likewise.
27226 * soft-fp/fixtfdi.c: Likewise.
27227 * soft-fp/fixtfsi.c: Likewise.
27228 * soft-fp/fixtfti.c: Likewise.
27229 * soft-fp/fixunsdfdi.c: Likewise.
27230 * soft-fp/fixunsdfsi.c: Likewise.
27231 * soft-fp/fixunsdfti.c: Likewise.
27232 * soft-fp/fixunssfdi.c: Likewise.
27233 * soft-fp/fixunssfsi.c: Likewise.
27234 * soft-fp/fixunssfti.c: Likewise.
27235 * soft-fp/fixunstfdi.c: Likewise.
27236 * soft-fp/fixunstfsi.c: Likewise.
27237 * soft-fp/fixunstfti.c: Likewise.
27238 * soft-fp/floatdidf.c: Likewise.
27239 * soft-fp/floatdisf.c: Likewise.
27240 * soft-fp/floatditf.c: Likewise.
27241 * soft-fp/floatsidf.c: Likewise.
27242 * soft-fp/floatsisf.c: Likewise.
27243 * soft-fp/floatsitf.c: Likewise.
27244 * soft-fp/floattidf.c: Likewise.
27245 * soft-fp/floattisf.c: Likewise.
27246 * soft-fp/floattitf.c: Likewise.
27247 * soft-fp/floatundidf.c: Likewise.
27248 * soft-fp/floatundisf.c: Likewise.
27249 * soft-fp/floatunditf.c: Likewise.
27250 * soft-fp/floatunsidf.c: Likewise.
27251 * soft-fp/floatunsisf.c: Likewise.
27252 * soft-fp/floatunsitf.c: Likewise.
27253 * soft-fp/floatuntidf.c: Likewise.
27254 * soft-fp/floatuntisf.c: Likewise.
27255 * soft-fp/floatuntitf.c: Likewise.
27256 * soft-fp/fmadf4.c: Likewise.
27257 * soft-fp/fmasf4.c: Likewise.
27258 * soft-fp/fmatf4.c: Likewise.
27259 * soft-fp/gedf2.c: Likewise.
27260 * soft-fp/gesf2.c: Likewise.
27261 * soft-fp/getf2.c: Likewise.
27262 * soft-fp/ledf2.c: Likewise.
27263 * soft-fp/lesf2.c: Likewise.
27264 * soft-fp/letf2.c: Likewise.
27265 * soft-fp/muldf3.c: Likewise.
27266 * soft-fp/mulsf3.c: Likewise.
27267 * soft-fp/multf3.c: Likewise.
27268 * soft-fp/negdf2.c: Likewise.
27269 * soft-fp/negsf2.c: Likewise.
27270 * soft-fp/negtf2.c: Likewise.
27271 * soft-fp/op-1.h: Likewise.
27272 * soft-fp/op-2.h: Likewise.
27273 * soft-fp/op-4.h: Likewise.
27274 * soft-fp/op-8.h: Likewise.
27275 * soft-fp/op-common.h: Likewise.
27276 * soft-fp/quad.h: Likewise.
27277 * soft-fp/single.h: Likewise.
27278 * soft-fp/soft-fp.h: Likewise.
27279 * soft-fp/sqrtdf2.c: Likewise.
27280 * soft-fp/sqrtsf2.c: Likewise.
27281 * soft-fp/sqrttf2.c: Likewise.
27282 * soft-fp/subdf3.c: Likewise.
27283 * soft-fp/subsf3.c: Likewise.
27284 * soft-fp/subtf3.c: Likewise.
27285 * soft-fp/truncdfsf2.c: Likewise.
27286 * soft-fp/trunctfdf2.c: Likewise.
27287 * soft-fp/trunctfsf2.c: Likewise.
27288 * soft-fp/trunctfxf2.c: Likewise.
27289 * soft-fp/unorddf2.c: Likewise.
27290 * soft-fp/unordsf2.c: Likewise.
27291 * soft-fp/unordtf2.c: Likewise.
27293 2013-10-15 Joseph Myers <joseph@codesourcery.com>
27295 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27296 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27298 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
27300 * elf/dl-libc.c: Clear initfini list after freeing.
27302 2013-10-14 Joseph Myers <joseph@codesourcery.com>
27304 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27305 * soft-fp/addsf3.c: Likewise.
27306 * soft-fp/addtf3.c: Likewise.
27307 * soft-fp/divdf3.c: Likewise.
27308 * soft-fp/divsf3.c: Likewise.
27309 * soft-fp/divtf3.c: Likewise.
27310 * soft-fp/double.h: Likewise.
27311 * soft-fp/eqdf2.c: Likewise.
27312 * soft-fp/eqsf2.c: Likewise.
27313 * soft-fp/eqtf2.c: Likewise.
27314 * soft-fp/extenddftf2.c: Likewise.
27315 * soft-fp/extended.h: Likewise.
27316 * soft-fp/extendsfdf2.c: Likewise.
27317 * soft-fp/extendsftf2.c: Likewise.
27318 * soft-fp/extendxftf2.c: Likewise.
27319 * soft-fp/fixdfdi.c: Likewise.
27320 * soft-fp/fixdfsi.c: Likewise.
27321 * soft-fp/fixdfti.c: Likewise.
27322 * soft-fp/fixsfdi.c: Likewise.
27323 * soft-fp/fixsfsi.c: Likewise.
27324 * soft-fp/fixsfti.c: Likewise.
27325 * soft-fp/fixtfdi.c: Likewise.
27326 * soft-fp/fixtfsi.c: Likewise.
27327 * soft-fp/fixtfti.c: Likewise.
27328 * soft-fp/fixunsdfdi.c: Likewise.
27329 * soft-fp/fixunsdfsi.c: Likewise.
27330 * soft-fp/fixunsdfti.c: Likewise.
27331 * soft-fp/fixunssfdi.c: Likewise.
27332 * soft-fp/fixunssfsi.c: Likewise.
27333 * soft-fp/fixunssfti.c: Likewise.
27334 * soft-fp/fixunstfdi.c: Likewise.
27335 * soft-fp/fixunstfsi.c: Likewise.
27336 * soft-fp/fixunstfti.c: Likewise.
27337 * soft-fp/floatdidf.c: Likewise.
27338 * soft-fp/floatdisf.c: Likewise.
27339 * soft-fp/floatditf.c: Likewise.
27340 * soft-fp/floatsidf.c: Likewise.
27341 * soft-fp/floatsisf.c: Likewise.
27342 * soft-fp/floatsitf.c: Likewise.
27343 * soft-fp/floattidf.c: Likewise.
27344 * soft-fp/floattisf.c: Likewise.
27345 * soft-fp/floattitf.c: Likewise.
27346 * soft-fp/floatundidf.c: Likewise.
27347 * soft-fp/floatundisf.c: Likewise.
27348 * soft-fp/floatunsidf.c: Likewise.
27349 * soft-fp/floatunsisf.c: Likewise.
27350 * soft-fp/floatuntidf.c: Likewise.
27351 * soft-fp/floatuntisf.c: Likewise.
27352 * soft-fp/floatuntitf.c: Likewise.
27353 * soft-fp/fmadf4.c: Likewise.
27354 * soft-fp/fmasf4.c: Likewise.
27355 * soft-fp/fmatf4.c: Likewise.
27356 * soft-fp/gedf2.c: Likewise.
27357 * soft-fp/gesf2.c: Likewise.
27358 * soft-fp/getf2.c: Likewise.
27359 * soft-fp/ledf2.c: Likewise.
27360 * soft-fp/lesf2.c: Likewise.
27361 * soft-fp/letf2.c: Likewise.
27362 * soft-fp/muldf3.c: Likewise.
27363 * soft-fp/mulsf3.c: Likewise.
27364 * soft-fp/multf3.c: Likewise.
27365 * soft-fp/negdf2.c: Likewise.
27366 * soft-fp/negsf2.c: Likewise.
27367 * soft-fp/negtf2.c: Likewise.
27368 * soft-fp/op-1.h: Likewise.
27369 * soft-fp/op-2.h: Likewise.
27370 * soft-fp/op-4.h: Likewise.
27371 * soft-fp/op-8.h: Likewise.
27372 * soft-fp/op-common.h: Likewise.
27373 * soft-fp/quad.h: Likewise.
27374 * soft-fp/single.h: Likewise.
27375 * soft-fp/soft-fp.h: Likewise.
27376 * soft-fp/sqrtdf2.c: Likewise.
27377 * soft-fp/sqrtsf2.c: Likewise.
27378 * soft-fp/sqrttf2.c: Likewise.
27379 * soft-fp/subdf3.c: Likewise.
27380 * soft-fp/subsf3.c: Likewise.
27381 * soft-fp/subtf3.c: Likewise.
27382 * soft-fp/truncdfsf2.c: Likewise.
27383 * soft-fp/trunctfdf2.c: Likewise.
27384 * soft-fp/trunctfsf2.c: Likewise.
27385 * soft-fp/trunctfxf2.c: Likewise.
27386 * soft-fp/unorddf2.c: Likewise.
27387 * soft-fp/unordsf2.c: Likewise.
27388 * soft-fp/unordtf2.c: Likewise.
27390 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
27393 * misc/error.c (error_tail): Fix possible buffer overflow.
27395 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27398 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27401 2013-10-14 P. J. McDermott <pj@pehjota.net>
27404 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27405 testing pipefail option.
27407 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27409 * soft-fp/double.h: Indent preprocessor directives inside #if.
27410 * soft-fp/extended.h: Likewise.
27411 * soft-fp/op-2.h: Likewise.
27412 * soft-fp/op-4.h: Likewise.
27413 * soft-fp/op-common.h: Likewise.
27414 * soft-fp/quad.h: Likewise.
27415 * soft-fp/single.h: Likewise.
27416 * soft-fp/soft-fp.h: Likewise.
27418 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27420 * iconv/iconv_prog.c: Fix typos.
27421 * stdio-common/psiginfo-data.h: Likewise.
27423 2013-10-12 Reuben Thomas <rrt@sc3d.org>
27426 * locale/setlocale.c: Fix typo.
27428 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27431 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27432 signaling NaN arguments.
27433 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27434 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27437 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27438 unordered operands.
27439 * soft-fp/gesf2.c (__gesf2): Likewise.
27440 * soft-fp/getf2.c (__getf2): Likewise.
27441 * soft-fp/ledf2.c (__ledf2): Likewise.
27442 * soft-fp/lesf2.c (__lesf2): Likewise.
27443 * soft-fp/letf2.c (__letf2): Likewise.
27445 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27446 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27447 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27448 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27449 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27450 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27451 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27452 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27453 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27454 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27455 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27456 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27457 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27458 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27459 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27460 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27461 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27462 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27463 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27464 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27465 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27466 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27467 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27468 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27469 * soft-fp/floattidf.c (__floattidf): Likewise.
27470 * soft-fp/floattisf.c (__floattisf): Likewise.
27471 * soft-fp/floattitf.c (__floattitf): Likewise.
27472 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27473 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27474 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27475 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27476 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27477 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27478 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27479 * soft-fp/gesf2.c (__gesf2): Likewise.
27480 * soft-fp/getf2.c (__getf2): Likewise.
27481 * soft-fp/ledf2.c (__ledf2): Likewise.
27482 * soft-fp/lesf2.c (__lesf2): Likewise.
27483 * soft-fp/letf2.c (__letf2): Likewise.
27485 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27486 Undefine and redefine.
27487 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27488 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27489 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27490 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27491 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27492 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27493 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27494 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27495 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27496 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27497 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27498 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27499 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27500 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27501 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27504 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27505 without decrementing exponent if mantissa >= that for the
27506 denominator, not >.
27507 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27508 denominator, not >. Decrement exponent in < case instead of
27509 incrementing in >= case.
27510 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27511 without decrementing exponent if mantissa >= that for the
27512 denominator, not >.
27514 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27515 computing saturated result for unsigned overflow.
27517 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27518 Jeff Law <law@redhat.com>
27520 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27521 (atan2Mp): Add systemtap probe marker.
27522 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27523 (__ieee754_log): Add systemtap probe marker.
27524 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27525 (atanMp): Add systemtap probe marker.
27526 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27527 (tanMp): Add systemtap probe marker.
27528 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27529 (__slowexp): Add systemtap probe marker.
27530 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27531 (__slowpow): Add systemtap probe marker.
27532 * manual/probes.texi: Document probes.
27534 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
27537 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27539 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27541 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27542 written to buffer but not flushed.
27543 * libio/iofwrite_u.c: Likewise.
27544 * libio/iopadn.c: Return bytes returned even if EOF was
27546 * libio/iowpadn.c: Likewise.
27547 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27548 if _IO_padn does not write the whole buffer.
27549 [!COMPILE_WPRINTF] (PAD): Likewise.
27551 2013-10-10 David S. Miller <davem@davemloft.net>
27553 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27556 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27558 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27559 instead of FSF address.
27560 * soft-fp/fixdfti.c: Likewise.
27561 * soft-fp/fixsfti.c: Likewise.
27562 * soft-fp/fixtfti.c: Likewise.
27563 * soft-fp/fixunsdfti.c: Likewise.
27564 * soft-fp/fixunssfti.c: Likewise.
27565 * soft-fp/fixunstfti.c: Likewise.
27566 * soft-fp/floattidf.c: Likewise.
27567 * soft-fp/floattisf.c: Likewise.
27568 * soft-fp/floattitf.c: Likewise.
27569 * soft-fp/floatuntidf.c: Likewise.
27570 * soft-fp/floatuntisf.c: Likewise.
27571 * soft-fp/floatuntitf.c: Likewise.
27572 * soft-fp/trunctfxf2.c: Likewise.
27574 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27575 * soft-fp/fixdfti.c: Likewise.
27576 * soft-fp/fixsfti.c: Likewise.
27577 * soft-fp/fixtfti.c: Likewise.
27578 * soft-fp/fixunsdfti.c: Likewise.
27579 * soft-fp/fixunssfti.c: Likewise.
27580 * soft-fp/fixunstfti.c: Likewise.
27581 * soft-fp/floattidf.c: Likewise.
27582 * soft-fp/floattisf.c: Likewise.
27583 * soft-fp/floattitf.c: Likewise.
27584 * soft-fp/floatuntidf.c: Likewise.
27585 * soft-fp/floatuntisf.c: Likewise.
27586 * soft-fp/floatuntitf.c: Likewise.
27587 * soft-fp/trunctfxf2.c: Likewise.
27589 2013-10-10 David S. Miller <davem@davemloft.net>
27591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27593 2013-10-10 Joseph Myers <joseph@codsourcery.com>
27595 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27596 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27597 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27598 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27599 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27600 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27601 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27603 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27604 for NaNs before doing comparisons on argument.
27605 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27608 2013-10-10 Will Newton <will.newton@linaro.org>
27610 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27611 passed to _int_memalign does not overflow.
27613 2013-10-10 Torvald Riegel <triegel@redhat.com>
27615 * scripts/bench.pl: Add include-sources directive.
27616 * benchtests/README: Update documentation.
27618 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27620 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27621 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27622 instead of FP_INIT_ROUNDMODE.
27623 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27624 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27627 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27628 copy class of input value.
27629 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27630 not handle exceptions.
27631 * soft-fp/negsf2.c (__negsf2): Likewise.
27632 * soft-fp/negtf2.c (__negtf2): Likewise.
27633 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27635 2013-10-09 Joseph Myers <joseph@codesourcery.com>
27637 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27638 semicolon. From Linux kernel.
27640 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27642 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27644 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27647 * manual/socket.texi: Added statement about buffer
27648 for gethostbyname2_r.
27650 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
27652 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27653 Use .p2align directive instead, throughout.
27654 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27655 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27656 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27657 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27658 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27659 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27660 * sysdeps/x86_64/strchr.S: Likewise.
27661 * sysdeps/x86_64/strrchr.S: Likewise.
27663 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27665 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27667 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27669 * sysdeps/generic/math_private.h (__mpsin1): Remove
27671 (__mpcos1): Likewise.
27672 (__mpsin): New argument __range_reduce.
27673 (__mpcos): Likewise.
27674 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27675 (slow): Use __mpsin and __mpcos.
27679 (sloww1): Likewise.
27680 (sloww2): Likewise.
27681 (bsloww): Likewise.
27682 (bsloww1): Likewise.
27683 (bsloww2): Likewise.
27684 (cslow2): Likewise.
27685 (csloww): Likewise.
27686 (csloww1): Likewise.
27687 (csloww2): Likewise.
27688 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27689 range_reduce. Merge in __mpsin1.
27690 (__mpcos): Likewise.
27691 (__mpsin1): Remove.
27692 (__mpcos1): Likewise.
27694 2013-10-07 Joseph Myers <joseph@codesourcery.com>
27696 * locale/loadlocale.c (_nl_intern_locale_data): Use
27698 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27699 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27700 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27701 obstack data is appropriately aligned.
27702 (obstack_int32_grow_fast): Likewise.
27703 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27704 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27705 (add_locale_uint32_array): Likewise.
27707 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27709 * benchtests/Makefile: Remove ARGLIST and RET variables.
27710 ($(objpfx)bench-%.c): Pass only function name to the script.
27711 * benchtests/README: Update documentation.
27712 * benchtests/acos-inputs: Add new directives.
27713 * benchtests/acosh-inputs: Likewise.
27714 * benchtests/asin-inputs: Likewise.
27715 * benchtests/asinh-inputs: Likewise.
27716 * benchtests/atan-inputs: Likewise.
27717 * benchtests/atanh-inputs: Likewise.
27718 * benchtests/cos-inputs: Likewise.
27719 * benchtests/cosh-inputs: Likewise.
27720 * benchtests/exp-inputs: Likewise.
27721 * benchtests/log-inputs: Likewise.
27722 * benchtests/pow-inputs: Likewise.
27723 * benchtests/rint-inputs: Likewise.
27724 * benchtests/sin-inputs: Likewise.
27725 * benchtests/sinh-inputs: Likewise.
27726 * benchtests/tan-inputs: Likewise.
27727 * benchtests/tanh-inputs: Likewise.
27728 * scripts/bench.pl: Add support for new directives.
27730 2013-10-07 Alan Modra <amodra@gmail.com>
27732 * README: Fix careless merge.
27734 2013-10-05 Alan Modra <amodra@gmail.com>
27736 * NEWS: Mention powerpc64le support and bugs fixed.
27737 * README: Both big-endian and little-endian powerpc64 supported.
27739 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27741 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27742 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27743 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27744 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27746 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27748 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27751 2013-10-04 Joseph Myers <joseph@codesourcery.com>
27753 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27754 Move -mhard-float appending from
27755 ports/sysdeps/powerpc/powerpc32/Makefile.
27756 [$(with-fp) = yes] (ASFLAGS): Likewise.
27757 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27758 * sysdeps/powerpc/nofpu: Move directory from
27759 ports/sysdeps/powerpc/nofpu.
27760 * sysdeps/powerpc/soft-fp: Move directory from
27761 ports/sysdeps/powerpc/soft-fp.
27762 * sysdeps/powerpc/powerpc32/405: Move directory from
27763 ports/sysdeps/powerpc/powerpc32/405.
27764 * sysdeps/powerpc/powerpc32/440: Move directory from
27765 ports/sysdeps/powerpc/powerpc32/440.
27766 * sysdeps/powerpc/powerpc32/464: Move directory from
27767 ports/sysdeps/powerpc/powerpc32/464.
27768 * sysdeps/powerpc/powerpc32/476: Move directory from
27769 ports/sysdeps/powerpc/powerpc32/476.
27770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27771 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27773 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27775 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27777 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27779 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27780 * README: Update for powerpc-*-linux-gnu software floating point
27783 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27784 case to powerpc/powerpc32*.
27785 * sysdeps/unix/sysv/linux/configure: Regenerated.
27787 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27788 (_FPU_MASK_OM): Define as 0x04.
27789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27797 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27800 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27803 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27804 and setcontext_e500.
27806 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
27808 * locale/iso-3166.def: Update iso-1366.def and related occurrences
27810 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27812 * manual/threads.texi (Default Thread Attributes): Fix typo.
27814 2013-10-04 Will Newton <will.newton@linaro.org>
27816 * malloc/Makefile: Add tst-memalign.
27817 * malloc/tst-memalign.c: New file.
27819 * malloc/tst-posix_memalign.c: Add comments.
27820 (do_test): Add comments and call free on all potentially
27821 allocated pointers. Add space after cast.
27823 * malloc/tst-pvalloc.c: Add comments.
27824 (do_test): Add comments and call free on all potentially
27825 allocated pointers. Remove duplicate check for NULL pointer.
27826 Add space after cast.
27828 * malloc/tst-valloc.c: Add comments.
27829 (do_test): Add comments and call free on all potentially
27830 allocated pointers. Remove duplicate check for NULL pointer.
27831 Add space after cast.
27833 2013-10-04 Alan Modra <amodra@gmail.com>
27835 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27836 Use stdint types in rather than __attribute__((mode())).
27837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27839 2013-10-04 Alan Modra <amodra@gmail.com>
27841 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27842 Correct handling of unaligned relocs for little-endian.
27843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27845 2013-10-04 Alan Modra <amodra@gmail.com>
27847 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27848 * configure: Regenerate.
27849 * nptl/shlib-versions: Powerpc*le starts at 2.18.
27850 * shlib-versions: Likewise.
27852 2013-10-04 Alan Modra <amodra@gmail.com>
27854 * string/tester.c (test_memrchr): Increment reported test cycle.
27856 2013-10-04 Alan Modra <amodra@gmail.com>
27858 * string/test-memcpy.c (do_one_test): When reporting errors, print
27859 string address and don't overrun end of string.
27861 2013-10-04 Alan Modra <amodra@gmail.com>
27863 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27864 insrdi. Make better use of reg selection to speed exit slightly.
27865 Schedule entry path a little better. Remove useless "are we done"
27866 checks on entry to main loop. Handle wrapping around zero address.
27867 Correct main loop count. Handle single left-over word from main
27868 loop inline rather than by using loop_small. Remove extra word
27869 case in loop_small caused by wrong loop count. Add little-endian
27871 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27872 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
27874 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27875 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27876 support. Avoid rlwimi.
27877 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27879 2013-10-04 Alan Modra <amodra@gmail.com>
27881 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27882 insrdi. Formatting.
27883 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27884 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27885 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27886 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27887 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27888 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27890 2013-10-04 Alan Modra <amodra@gmail.com>
27892 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27893 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27894 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27895 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27896 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27897 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27898 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27899 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27900 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
27901 use of regs. Use power7 mtocrf. Tidy function tails.
27903 2013-10-04 Alan Modra <amodra@gmail.com>
27905 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27906 Formatting. Consistently use rXXX register defines or rN defines.
27907 Use early exit labels that avoid restoring unused non-volatile regs.
27908 Make cr field use more consistent with rWORDn compares. Rename
27909 regs used as shift registers for unaligned loop, using rN defines
27910 for short lifetime/multiple use regs.
27911 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27912 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
27913 addi 1,1,64 to pop stack frame. Simplify return value code.
27914 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27916 2013-10-04 Alan Modra <amodra@gmail.com>
27918 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27919 support. Correct typos, formatting. Optimize tail. Use insrdi
27920 rather than rlwimi.
27921 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27922 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27923 little-endian support. Correct typos.
27924 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
27925 rather than rlwimi.
27926 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
27927 in loop and entry code to keep "and." results.
27928 (strchr): Add little-endian support. Comment. Move cntlzd
27930 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27932 2013-10-04 Alan Modra <amodra@gmail.com>
27934 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27935 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27936 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27937 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27939 2013-10-04 Alan Modra <amodra@gmail.com>
27941 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27942 (rTMP): Define as r11.
27943 (strcmp): Add little-endian support. Optimise tail.
27944 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27945 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27946 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27947 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27948 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27949 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27950 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27952 2013-10-04 Alan Modra <amodra@gmail.com>
27954 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27955 little-endian support. Remove unnecessary "are we done" tests.
27956 Handle "s" wrapping around zero and extremely large "size".
27957 Correct main loop count. Handle single left-over word from main
27958 loop inline rather than by using small_loop. Correct comments.
27959 Delete "zero" tail, use "end_max" instead.
27960 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27962 2013-10-04 Alan Modra <amodra@gmail.com>
27964 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27965 support. Don't branch over align.
27966 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27967 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27968 support. Rearrange tmp reg use to suit. Comment.
27969 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27971 2013-10-04 Alan Modra <amodra@gmail.com>
27973 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27975 2013-10-04 Alan Modra <amodra@gmail.com>
27977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27978 conditional form of branch and link when obtaining pc.
27979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27981 2013-10-04 Alan Modra <amodra@gmail.com>
27983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27988 2013-10-04 Alan Modra <amodra@gmail.com>
27990 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27991 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27992 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27993 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27994 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27995 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27996 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27997 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27998 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27999 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28001 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28002 Alistair Popple <alistair@ozlabs.au.ibm.com>
28003 Alan Modra <amodra@gmail.com>
28006 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28007 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28008 _dl_hwcap access for little-endian.
28009 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
28010 destroy vmx regs when saving unaligned.
28011 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28012 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
28013 destroy vmx regs when saving unaligned.
28015 2013-10-04 Alan Modra <amodra@gmail.com>
28017 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28018 Don't use a union to pack hi/low value.
28020 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28022 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28024 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28025 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28026 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28027 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28028 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28030 2013-10-04 Alan Modra <amodra@gmail.com>
28032 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28033 constants to usual value for .cst8 section, and remove redundant
28035 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28036 constant for 0x1p52. Load little-endian words of double from
28037 correct stack offsets.
28039 2013-10-04 Alan Modra <amodra@gmail.com>
28041 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28042 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28043 words of double from correct stack offsets.
28044 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28045 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28046 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28047 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28048 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28049 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28050 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28051 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28052 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28053 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28054 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28055 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28056 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28057 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28058 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28059 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28060 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28062 2013-10-04 Alan Modra <amodra@gmail.com>
28064 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28065 64-bit int/double union.
28066 (_FPU_SETCW): Likewise.
28067 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28068 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28070 2013-10-04 Alan Modra <amodra@gmail.com>
28072 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28073 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28075 2013-10-04 Alan Modra <amodra@gmail.com>
28077 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28078 use vector int constants.
28079 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28081 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28083 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28084 array with long long.
28085 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28086 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28087 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28088 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28089 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28090 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28091 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28092 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28093 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28094 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28095 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28096 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28097 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28099 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28101 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28102 (__signbit): Likewise. Correct for little-endian.
28103 (__signbitl): Call __signbit.
28104 (lrint): Correct for little-endian.
28105 (lrintf): Call lrint.
28107 2013-10-04 Alan Modra <amodra@gmail.com>
28109 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28110 union 32-bit int array member with 64-bit int array.
28111 (t515, tm256): Double rather than long double.
28112 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28114 2013-10-04 Alan Modra <amodra@gmail.com>
28116 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28118 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28119 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28120 version of math_ldbl.h.
28122 2013-10-04 Alan Modra <amodra@gmail.com>
28124 [BZ #15734], [BZ #15735]
28125 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28126 all uses of ieee875 long double macros and unions. Simplify test
28127 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28128 ldbl_extract_mantissa value for ix,iy exponents. Properly
28129 normalize after ldbl_extract_mantissa, and don't add hidden bit
28130 already handled. Don't treat low word of ieee854 mantissa like
28131 low word of IBM long double and mask off bit when testing for
28133 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28134 all uses of ieee875 long double macros and unions. Simplify tests
28135 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28136 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28137 two1022, instead use their values. Recognise that tests for large
28138 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28139 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28140 Rewrite all uses of ieee875 long double macros and unions. Simplify
28141 test for 0.0L and nan. Correct negation.
28142 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28143 ieee875 long double macros and unions. Correct output for large
28144 magnitude x. Correct absolute value calculation.
28145 (__erfcl): Likewise.
28146 * math/libm-test.inc: Add tests for errors discovered in IBM long
28147 double versions of fmodl, remainderl, erfl and erfcl.
28149 2013-10-04 Alan Modra <amodra@gmail.com>
28151 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28152 all uses of ieee854 long double macros and unions. Simplify tests
28153 for long doubles that are fully specified by the high double.
28154 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28156 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28157 Remove dead code too.
28158 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28159 (__ieee754_ynl): Likewise.
28160 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28161 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28162 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28163 Remove dead code too.
28164 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28165 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28167 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28169 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28171 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28172 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28173 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28174 Comment on variable precision.
28175 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28176 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28178 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28180 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28181 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28182 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28184 2013-10-04 Alan Modra <amodra@gmail.com>
28186 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28188 all uses of ieee854 long double macros and unions.
28189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28191 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28192 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28193 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28194 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28196 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28197 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28198 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28199 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28200 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28201 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28202 Simplify sign and nan test too.
28203 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28204 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28205 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28206 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28208 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28209 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28211 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28212 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28213 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28214 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28215 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28216 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28218 2013-10-04 Alan Modra <amodra@gmail.com>
28220 * stdio-common/printf_size.c (__printf_size): Don't use
28221 union ieee854_long_double in fpnum union.
28222 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28223 signbit macro to retrieve sign from long double.
28224 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28225 retrieve sign from long double.
28226 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28227 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28228 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28229 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28230 * math/test-misc.c (main): Don't use union ieee854_long_double.
28232 2013-10-04 Alan Modra <amodra@gmail.com>
28235 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28236 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28237 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28238 calculation. Remove unnecessary test for denormal exponent.
28239 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28240 Correct handling of denormals. Avoid undefined shift behaviour.
28241 Correct normalisation of low mantissa when low double is denormal.
28242 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28243 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28244 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28245 Correct normalisation of low mantissa. Test for overflow of high
28246 mantissa and normalise.
28247 (ldbl_nearbyint): Use more readable constant for two52.
28248 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28249 (__mpn_construct_long_double): Fix test for overflow of high
28250 mantissa and correct normalisation. Avoid undefined shift.
28252 2013-10-04 Alan Modra <amodra@gmail.com>
28254 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28255 (union ibm_extended_long_double): Define as an array of ieee754_double.
28256 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28257 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28258 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28259 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28260 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28261 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28262 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28263 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28264 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28265 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28266 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28268 2013-10-03 Joseph Myers <joseph@codesourcery.com>
28270 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28271 page size instead of calling getpagesize.
28273 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28274 (LOCFILE_ALIGN_MASK): Likewise.
28275 (LOCFILE_ALIGN_UP): Likewise.
28276 (LOCFILE_ALIGNED_P): Likewise.
28277 * locale/programs/ld-collate.c (collate_output): Use the new
28278 macros instead of __alignof__ (int32_t).
28279 * locale/weight.h (findidx): Likewise.
28281 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
28284 * manual/string.texi: Fix strncat and wcsncat.
28286 2013-10-03 Brooks Moses <bmoses@google.com>
28289 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28290 * Makerules: ...here, and adjust associated comments.
28292 2013-10-02 Will Newton <will.newton@linaro.org>
28294 * malloc/Makefile: Add tst-pvalloc.
28295 * malloc/tst-pvalloc.c: New file.
28297 2013-10-02 Will Newton <will.newton@linaro.org>
28299 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28300 improve test coverage.
28302 2013-10-02 Will Newton <will.newton@linaro.org>
28304 * malloc/Makefile: Add tst-posix_memalign.
28305 * malloc/tst-posix_memalign.c: New file.
28307 2013-10-01 Eric Blake <eblake@redhat.com>
28309 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28310 Use __THROWNL rather than __THROW on static functions.
28312 2013-09-30 Petr Machata <pmachata@redhat.com>
28314 * elf/elf.h (R_AARCH64_ABS16): New macro.
28315 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28316 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28317 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28318 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28319 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28320 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28321 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28322 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28323 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28324 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28325 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28326 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28327 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28328 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28329 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28330 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28331 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28332 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28333 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28334 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28335 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28336 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28337 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28338 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28339 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28340 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28341 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28342 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28343 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28344 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28345 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28346 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28347 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28348 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28349 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28350 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28351 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28352 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28353 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28354 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28355 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28356 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28357 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28358 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28359 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28360 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28361 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28362 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28363 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28364 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28365 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28366 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28367 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28368 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28369 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28370 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28371 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28372 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28373 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28374 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28375 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28376 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28377 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28378 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28379 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28380 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28381 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28382 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28383 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28384 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28385 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28386 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28387 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28388 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28389 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28390 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28391 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28392 (R_AARCH64_TLSDESC_LDR): Likewise.
28393 (R_AARCH64_TLSDESC_ADD): Likewise.
28394 (R_AARCH64_TLSDESC_CALL): Likewise.
28396 2013-09-30 Andreas Schwab <schwab@suse.de>
28399 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28400 the nss database lookup.
28401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28404 2013-09-28 Mike Frysinger <vapier@gentoo.org>
28406 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28408 2013-09-28 P. J. McDermott <pj@pehjota.net>
28410 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28411 ${Bash-specific parameter/pattern/string} parameter expansion.
28412 * sysdeps/unix/make-syscalls.sh: Likewise.
28414 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28416 * sysdeps/sh/stackguard-macros.h: New file.
28418 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
28420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28422 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28423 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28424 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28425 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28427 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28429 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28430 Fix thread ID register.
28432 2013-09-25 Joseph Myers <joseph@codesourcery.com>
28434 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28435 [POSIX || UNIX98]: Require rather than permitting all symbols from
28437 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28438 element of struct sched_param.
28439 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28440 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28441 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28442 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28445 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28447 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28448 argument calculation.
28450 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28452 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28454 [POSIX] (pthread_attr_t): Do not require type.
28455 [POSIX] (pthread_cond_t): Likewise.
28456 [POSIX] (pthread_condattr_t): Likewise.
28457 [POSIX] (pthread_key_t): Likewise.
28458 [POSIX] (pthread_mutex_t): Likewise.
28459 [POSIX] (pthread_mutexattr_t): Likewise.
28460 [POSIX] (pthread_once_t): Likewise.
28461 [POSIX] (pthread_t): Likewise.
28462 [POSIX-based standards] (pthread_atfork): Expect function.
28464 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28465 Richard Sandiford <richard@codesourcery.com>
28467 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28468 (swap_endianness_p): New extern variable.
28469 (set_big_endian): New inline function.
28470 (maybe_swap_uint32): Likewise.
28471 (maybe_swap_uint32_array): Likewise.
28472 (maybe_swap_uint32_obstack): Likewise.
28473 * locale/programs/locfile.c: Include <stdbool.h>.
28474 (swap_endianness_p): New variable.
28475 (add_locale_uint32): Call maybe_swap_uint32.
28476 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28477 (write_locale_data): Call maybe_swap_uint32_array.
28478 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28480 (obstack_int32_grow_fast): Likewise.
28481 (output_weightwc): Call maybe_swap_uint32_obstack.
28482 (collate_output): Likewise.
28483 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28484 (OPT_LITTLE_ENDIAN): Likewise.
28485 (options): Add --little-endian and --big-endian options.
28486 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28487 * locale/programs/locarchive.c: Include "locfile.h".
28491 (create_archive): Use the new macros to access fields of
28492 structures directly mapped from or written to locale archives.
28493 (oldlocrecentcmp): Likewise.
28494 (enlarge_archive): Likewise.
28495 (insert_name): Likewise.
28496 (add_alias): Likewise.
28497 (add_locale): Likewise.
28498 (delete_locales_from_archive): Likewise.
28499 (show_archive_content): Likewise.
28500 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28503 2013-09-24 Roland McGrath <roland@hack.frob.com>
28505 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28506 http://www.gnu.org/doc/freemanuals.texi.
28507 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28509 2013-09-24 Will Newton <will.newton@linaro.org>
28511 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28514 2013-09-23 Joseph Myers <joseph@codesourcery.com>
28516 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28519 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28521 * manual/threads.texi (POSIX Threads): Fix a typo.
28523 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28526 * string/tst-strcoll-overflow.c: New test case.
28527 * string/Makefile (xtests): Add tst-strcoll-overflow.
28528 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28529 cache if string sizes may cause integer overflow.
28532 * string/strcoll_l.c (coll_seq): New members rule, idx,
28533 save_idx and back_us.
28534 (get_next_seq_nocache): New function.
28535 (do_compare_nocache): New function.
28536 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28539 2013-09-23 Carlos O'Donell <carlos@redhat.com>
28542 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28543 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28544 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28547 * elf/Makefile (tests): Add tst-ptrguard1.
28548 (tests-static): Add tst-ptrguard1-static.
28549 (tst-ptrguard1-ARGS): Define.
28550 (tst-ptrguard1-static-ARGS): Define.
28551 * elf/tst-ptrguard1.c: New file.
28552 * elf/tst-ptrguard1-static.c: New file.
28553 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28554 * sysdeps/i386/stackguard-macros.h: Likewise.
28555 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28556 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28557 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28558 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28559 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28560 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28562 2013-09-23 Hector Marco <hecmargi@upv.es>
28563 Ismael Ripoll <iripoll@disca.upv.es>
28564 Carlos O'Donell <carlos@redhat.com>
28567 * sysdeps/generic/stackguard-macros.h: Define
28568 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28569 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28570 Define __pointer_chk_guard_local.
28571 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28572 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28574 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28577 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28579 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28581 * include/string.h (__ffs): Declare as hidden.
28582 * string/ffs.c (__ffs): Define as hidden.
28583 * sysdeps/i386/ffs.c (__ffs): Likewise.
28584 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28585 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28586 * sysdeps/s390/ffs.c (__ffs): Likewise.
28587 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28589 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
28591 * NEWS: Mention malloc probes.
28593 * malloc/arena.c (new_heap): New memory_heap_new probe.
28594 (grow_heap): New memory_heap_more probe.
28595 (shrink_heap): New memory_heap_less probe.
28596 (heap_trim): New memory_heap_free probe.
28597 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28598 (systrim): New memory_sbrk_less probe.
28599 * manual/probes.texi: Document them.
28601 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28602 * manual/probes.texi: Document it.
28604 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28605 (__libc_realloc): Add memory_realloc_retry probe.
28606 (__libc_memalign): Add memory_memalign_retry probe.
28607 (__libc_valloc): Add memory_valloc_retry probe.
28608 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28609 (__libc_calloc): Add memory_calloc_retry probe.
28610 * manual/probes.texi: Document them.
28612 * malloc/arena.c (get_free_list): Add probe
28613 memory_arena_reuse_free_list.
28614 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28615 and memory_arena_reuse.
28616 (arena_get2) [!PER_THREAD]: Likewise.
28617 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28618 memory_arena_reuse_realloc.
28619 * manual/probes.texi: Document them.
28621 * malloc/malloc.c (__libc_free): Add
28622 memory_mallopt_free_dyn_thresholds probe.
28623 (__libc_mallopt): Add multiple memory_mallopt probes.
28624 * manual/probes.texi: Document them.
28626 * malloc/malloc.c: Include stap-probe.h.
28627 (__libc_mallopt): Add memory_mallopt probe.
28628 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28629 * manual/probes.texi: New.
28630 * manual/Makefile (chapters): Add probes.
28631 * manual/threads.texi: Set next node.
28633 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
28635 [BZ #15963, #13985]
28636 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28637 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28638 Add `Chinese' to `nan' entry name.
28640 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28642 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28643 (POLYNOMIAL): Likewise.
28644 (TAYLOR_SINCOS): Likewise.
28645 (TAYLOR_SLOW): Likewise.
28646 (__sin): Use TAYLOR_SINCOS.
28648 (slow): Use TAYLOR_SLOW.
28650 (bsloww): Likewise.
28651 (csloww): Likewise.
28653 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28655 * stdlib/strtod_l.c: Fix buffer overrun.
28657 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28659 * benchtests/Makefile (bench): Add sincos.
28660 * benchtests/bench-sincos.c: New file.
28662 * math/libm-test.inc (cos_test_data): New test inputs.
28663 (sin_test_data): Likewise.
28665 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28671 (sloww1): Likewise.
28672 (sloww2): Likewise.
28673 (bsloww1): Likewise.
28674 (bsloww2): Likewise.
28675 (cslow2): Likewise.
28676 (csloww1): Likewise.
28677 (csloww2): Likewise.
28679 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28684 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28688 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28690 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28691 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28692 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28693 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28694 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28695 * elf/cache.c (print_entry): Handle the new cache flags.
28697 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28698 Aldy Hernandez <aldyh@redhat.com>
28700 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28701 Change condition to [_SOFT_FLOAT].
28702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28714 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28717 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28720 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28722 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28723 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28724 (__longjmp): Use LOAD_GP to load saved GPRs.
28725 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28726 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28727 (__sigsetjmp): Use SAVE_GP to save GPRs.
28729 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28730 Do not append -msoft-float.
28731 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28733 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28735 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28737 2013-09-17 Joseph Myers <joseph@codesourcery.com>
28740 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28741 (_FPU_GETCW): Use initial "__" on variable and field names but not
28742 on macro parameter name.
28743 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28744 parentheses around reference to macro parameter.
28746 2013-09-13 Richard Sandiford <richard@codesourcery.com>
28748 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28750 (ctype_startup): Use uint32_t in cast and sizeof for
28753 2013-09-11 Jia Liu <proljc@gmail.com>
28755 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28757 [__FreeBSD__]: Likewise.
28759 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
28761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28762 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28763 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28764 (strchr): Remove __strchr_sse42 ifunc selection.
28765 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28766 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28768 2013-09-11 Will Newton <will.newton@linaro.org>
28770 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28771 parameter to RES. Remove hardcoded 1000 value.
28772 * benchtests/bench-skeleton.c (main): Pass RES parameter
28773 to TIMING_INIT and multiply result by 1000.
28775 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28779 2013-09-11 Andreas Schwab <schwab@suse.de>
28781 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28783 (O_TMPFILE) [__USE_GNU]: Define.
28784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28787 2013-09-11 Will Newton <will.newton@linaro.org>
28790 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28793 2013-09-11 Will Newton <will.newton@linaro.org>
28796 * malloc/malloc.c (__libc_valloc): Check the value of bytes
28799 2013-09-11 Will Newton <will.newton@linaro.org>
28802 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28805 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
28807 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28808 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28809 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28810 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28811 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28813 2013-09-10 Allan McRae <allan@archlinux.org>
28816 * manual/arith.texi (Parsing of Floats): Clarify
28820 * manual/install.texi (Running make install): Mention
28822 * INSTALL: Regenerated.
28824 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
28826 * csu/init-first.c (_init): Remove the !SHARED condition around
28827 FPU control word initialization.
28828 * elf/dl-support.c (_dl_fpu_control): New variable.
28829 (_dl_aux_init) <AT_FPUCW>: Initialize it.
28830 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28831 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28832 * math/test-fpucw-static.c: New file.
28833 * math/test-fpucw-ieee.c: New file.
28834 * math/test-fpucw-ieee-static.c: New file.
28835 * math/Makefile (tests): Add `test-fpucw-ieee' and
28837 (tests-static): New variable.
28838 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28840 [($(build-shared),yes)]
28841 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28843 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28846 2013-09-09 Allan McRae <allan@archlinux.org>
28849 * manual/string.texi (Collation Functions): Fix typo in
28851 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28854 * stdlib/isomac.c (get_null_defines): Fix memory leak.
28857 * libio/memstream.c (open_memstream): Fix memory leak.
28858 * libio/wmemstream.c (open_wmemstream): Likewise.
28861 * nscd/netgroupcache.c: Fix nesting of ifdefs.
28863 2013-09-09 Will Newton <will.newton@linaro.org>
28865 * malloc/Makefile: Add tst-realloc to tests.
28866 * malloc/tst-realloc.c: New file.
28868 2013-09-09 Allan McRae <allan@archlinux.org>
28871 * COPYING: Update from GNU website to fix FSF address.
28872 * COPYING.LIB: Likewise.
28874 2013-09-06 David S. Miller <davem@davemloft.net>
28876 * po/zh_TW.po: Update Chinese (traditional) translation from
28877 translation project.
28879 2013-09-06 Richard Sandiford <richard@codesourcery.com>
28880 Joseph Myers <joseph@codesourcery.com>
28882 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28884 (obstack_chunk_alloc): New macro.
28885 (obstack_chunk_free): Likewise.
28886 (record_offset): New function.
28887 (init_locale_data): Likewise.
28888 (align_locale_data): Likewise.
28889 (add_locale_empty): Likewise.
28890 (add_locale_raw_data): Likewise.
28891 (add_locale_raw_obstack): Likewise.
28892 (add_locale_string): Likewise.
28893 (add_locale_wstring): Likewise.
28894 (add_locale_uint32): Likewise.
28895 (add_locale_uint32_array): Likewise.
28896 (add_locale_char): Likewise.
28897 (start_locale_structure): Likewise.
28898 (end_locale_structure): Likewise.
28899 (start_locale_prelude): Likewise.
28900 (end_locale_prelude): Likewise.
28901 (write_locale_data): Take locale_file structure rather than an
28903 * locale/programs/locfile.h: Include "obstack.h".
28904 (struct locale_file): Change to store locale file contents instead
28906 (init_locale_data): New prototype.
28907 (align_locale_data): Likewise.
28908 (add_locale_empty): Likewise.
28909 (add_locale_raw_data): Likewise.
28910 (add_locale_raw_obstack): Likewise.
28911 (add_locale_string): Likewise.
28912 (add_locale_wstring): Likewise.
28913 (add_locale_uint32): Likewise.
28914 (add_locale_uint32_array): Likewise.
28915 (add_locale_char): Likewise.
28916 (start_locale_structure): Likewise.
28917 (end_locale_structure): Likewise.
28918 (start_locale_prelude): Likewise.
28919 (end_locale_prelude): Likewise.
28920 (write_locale_data): Update prototype.
28921 * locale/programs/3level.h (struct TABLE): Remove result field.
28922 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28923 Use new locale_file interface.
28924 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28925 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28926 * locale/programs/ld-address.c (address_output): Use new
28927 locale_file interface.
28928 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28930 (collate_finish): Don't call collseq_table_finalize.
28931 (collate_output): Use new locale_file interface.
28932 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28934 (NO_FINALIZE): Change to NO_ADD_LOCALE.
28935 (TABLE): Move defines earlier in file.
28936 (ELEMENT): Likewise.
28937 (DEFAULT): Likewise.
28938 (wctrans_table_add): Move macro and inline function earlier in
28940 (struct wctype_table): Move type earlier in file.
28941 (add_locale_wctype_table): New static prototype.
28942 (struct locale_ctype_t): Use logical types instead of struct iovec
28943 pointers for members.
28944 (ctype_output): Use new locale_file interface.
28945 (wctype_table_finalize): Change to add_locale_wctype_table. Use
28946 new locale_file interface.
28947 (allocate_arrays): Update for use of new locale_file interface.
28948 * locale/programs/ld-identification.c (identification_output): Use
28949 new locale_file interface.
28950 * locale/programs/ld-measurement.c (measurement_output): Likewise.
28951 * locale/programs/ld-messages.c (messages_output): Likewise.
28952 * locale/programs/ld-monetary.c (monetary_output): Likewise.
28953 * locale/programs/ld-name.c (name_output): Likewise.
28954 * locale/programs/ld-numeric.c (numeric_output): Likewise.
28955 * locale/programs/ld-paper.c (paper_output): Likewise.
28956 * locale/programs/ld-telephone.c (telephone_output): Likewise.
28957 * locale/programs/ld-time.c (time_output): Likewise.
28959 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28961 * benchtests/Makefile: Add memrchr benchmark.
28962 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28963 benchmark as memrchr.
28964 * benchtests/bench-memrchr-ifunc.c: New file.
28965 * benchtests/bench-memrchr.c: New file.
28967 2013-09-06 Will Newton <will.newton@linaro.org>
28969 * benchtests/Makefile (string-bench): Add memcpy.
28971 2013-09-05 Carlos O'Donell <carlos@redhat.com>
28972 Cong Wang <amwang@redhat.com>
28975 * sysdeps/unix/sysv/linux/bits/in.h
28976 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28977 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28978 before __USE_KERNEL_IPV6_DEFS uses.
28979 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28981 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28982 sockaddr_in6, or ipv6_mreq.
28984 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28986 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28987 memory access for final bytes in some large inputs.
28988 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28990 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28992 * string/test-memrchr.c: New file.
28993 * string/test-memrchr-ifunc.c: New file.
28994 * string/Makefile: Add new memrchr testcase.
28996 2013-09-05 Mike Frysinger <vapier@gentoo.org>
28998 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28999 fanotify_init returns EPERM.
29001 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29003 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29005 (top level): Treat second token from macro or constant entries for
29006 allowed headers as allowed.
29007 * include/complex.h: Condition internal declarations on
29009 * include/fenv.h: Condition include of <stdbool.h> and internal
29010 declarations on [!_ISOMAC].
29012 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
29015 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29017 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29019 * configure.in (--enable-versioning): Remove configure option.
29020 (libc_cv_asm_symver_directive): Remove configure test.
29021 (libc_cv_ld_version_script_option): Likewise.
29022 (VERSIONING): Remove variable and AC_SUBST.
29023 (DO_VERSIONING): Remove AC_DEFINE.
29024 * configure: Regenerated.
29025 * config.h.in (DO_VERSIONING): Remove macro.
29026 * Makerules [$(versioning) = yes]: Change conditionals to
29027 [$(build-shared) = yes].
29028 * config.make.in (versioning): Remove variable.
29029 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29030 [$(build-shared) = yes].
29031 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29032 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29033 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29034 [$(build-shared) = yes].
29035 * extra-lib.mk [$(versioning) = yes]: Likewise.
29036 * hurd/Makefile [$(versioning) = yes]: Likewise.
29037 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29039 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29041 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29042 [SHARED && !NO_HIDDEN].
29043 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29045 [SHARED && DO_VERSIONING]: Likewise..
29046 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29047 [$(build-shared) = yes].
29048 * manual/install.texi (--disable-versioning): Remove
29050 * INSTALL: Regenerated.
29051 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29053 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29054 [$(build-shared) = yes].
29055 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29056 * sysdeps/i386/i686/multiarch/strstr-c.c
29057 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29058 [SHARED && !NO_HIDDEN].
29059 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29060 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29061 * sysdeps/powerpc/powerpc32/dl-machine.c
29062 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29063 * sysdeps/powerpc/powerpc32/sysdep.h
29064 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29065 to [SHARED && PIC && !NO_HIDDEN].
29066 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29067 conditional to [SHARED].
29069 2013-09-04 Will Newton <will.newton@linaro.org>
29071 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29072 * benchtests/bench-string.h: Include bench-timing.h instead
29073 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29074 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29075 call to HP_TIMING_DIFF_INIT.
29076 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29077 instead of hp-timing.h macros.
29078 * benchtests/bench-memchr.c: Likewise.
29079 * benchtests/bench-memcmp.c: Likewise.
29080 * benchtests/bench-memcpy.c: Likewise.
29081 * benchtests/bench-memmem.c: Likewise.
29082 * benchtests/bench-memmove.c: Likewise.
29083 * benchtests/bench-memset.c: Likewise.
29084 * benchtests/bench-rawmemchr.c: Likewise.
29085 * benchtests/bench-strcasecmp.c: Likewise.
29086 * benchtests/bench-strcasestr.c: Likewise.
29087 * benchtests/bench-strcat.c: Likewise.
29088 * benchtests/bench-strchr.c: Likewise.
29089 * benchtests/bench-strcmp.c: Likewise.
29090 * benchtests/bench-strcpy.c: Likewise.
29091 * benchtests/bench-strcpy_chk.c: Likewise.
29092 * benchtests/bench-strlen.c: Likewise.
29093 * benchtests/bench-strncasecmp.c: Likewise.
29094 * benchtests/bench-strncat.c: Likewise.
29095 * benchtests/bench-strncmp.c: Likewise.
29096 * benchtests/bench-strncpy.c: Likewise.
29097 * benchtests/bench-strnlen.c: Likewise.
29098 * benchtests/bench-strpbrk.c: Likewise.
29099 * benchtests/bench-strrchr.c: Likewise.
29100 * benchtests/bench-strspn.c: Likewise.
29101 * benchtests/bench-strstr.c: Likewise.
29103 2013-09-04 Will Newton <will.newton@linaro.org>
29105 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29107 2013-09-03 Joseph Myers <joseph@codesourcery.com>
29110 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29111 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29112 * math/libm-test.inc (lgamma_test_data): Add more tests.
29113 * sysdeps/i386/fpu/libm-test-ulps: Update.
29114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29116 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
29118 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29122 Add strcmp-sse2-unaligned
29123 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29125 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29127 * Versions.def (libc): Add GLIBC_2.19.
29129 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29131 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29132 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29134 2013-09-02 Joseph Myers <joseph@codesourcery.com>
29137 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29138 intermediate calculations in recurrence.
29139 (__ieee754_ynf): Likewise.
29140 * math/libm-test.inc (jn_test_data): Do not allow spurious
29141 underflow exception. Add more tests.
29142 (yn_test_data): Add more tests.
29143 * sysdeps/i386/fpu/libm-test-ulps: Update.
29144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29146 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
29148 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29150 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29152 * csu/init-first.c: Fix then/than typos.
29153 * locale/programs/ld-collate.c: Likewise.
29154 * locale/programs/linereader.h: Likewise.
29155 * manual/charset.texi: Likewise.
29156 * manual/filesys.texi: Likewise.
29157 * manual/stdio.texi: Likewise.
29158 * manual/string.texi: Likewise.
29159 * stdlib/fmtmsg.c: Likewise.
29160 * sysdeps/i386/stpncpy.S: Likewise.
29161 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29162 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29163 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29164 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29166 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29168 * elf/dl-open.c: Fix typos.
29169 * iconvdata/gbbig5.c: Likewise.
29170 * iconvdata/iso-2022-jp.c: Likewise.
29171 * iconv/gconv_int.h: Likewise.
29172 * iconv/loop.c: Likewise.
29173 * nis/rpcsvc/nis.h: Likewise.
29174 * resolv/ns_name.c: Likewise.
29175 * stdio-common/vfscanf.c: Likewise.
29176 * streams/stropts.h: Likewise.
29177 * sunrpc/rpc_thread.c: Likewise.
29178 * sysdeps/i386/strpbrk.S: Likewise.
29179 * sysdeps/ieee754/k_standard.c: Likewise.
29180 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29181 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29182 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29183 * sysdeps/mach/hurd/profil.c: Likewise.
29184 * sysdeps/s390/dl-procinfo.h: Likewise.
29185 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29186 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29187 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29188 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29189 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29191 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29193 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29196 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29198 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29199 aix specific files.
29200 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29201 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29202 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29203 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29204 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29205 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29206 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29207 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29209 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29210 Roland McGrath <roland@hack.frob.com>
29212 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29213 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29215 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29217 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29218 __executable_start symbol instead of _start.
29220 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29222 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29223 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29225 * sysdeps/gnu/ldsodefs.h: ... this new file.
29227 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29228 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29229 instead of ELFOSABI_LINUX.
29231 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29232 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29233 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29234 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29236 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29237 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29238 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29240 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29241 (ibm_extended_long_double): Add ieee_nan member.
29242 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29243 (do_test): New function.
29245 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29247 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29248 functions, renamed from truncdfsf_test, trunctfsf_test,
29250 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29252 (do_test): Run all these.
29254 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29256 * argp/argp-help.c: Fix typos.
29257 * argp/argp-parse.c: Likewise.
29258 * debug/backtracesyms.c: Likewise.
29259 * elf/elf.h: Likewise.
29260 * malloc/malloc.c: Likewise.
29261 * nis/nis_print.c: Likewise.
29262 * resolv/res_comp.c: Likewise.
29263 * stdlib/stdlib.h: Likewise.
29264 * sunrpc/clnt_tcp.c: Likewise.
29265 * sunrpc/clnt_udp.c: Likewise.
29266 * sunrpc/clnt_unix.c: Likewise.
29267 * sysdeps/unix/bsd/ptsname.c: Likewise.
29268 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29269 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29276 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29278 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29280 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29283 2013-08-27 Mike Frysinger <vapier@gentoo.org>
29286 * dlfcn/Makefile (tests): Add bug-dl-leaf.
29287 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29288 ($(objpfx)bug-dl-leaf): New rule.
29289 ($(objpfx)bug-dl-leaf.so): Likewise.
29290 ($(objpfx)bug-dl-leaf.out): Likewise.
29291 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29292 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29293 * dlfcn/bug-dl-leaf.c: New test.
29294 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29295 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29296 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29297 (dlclose): Likewise.
29298 (dlmopen): Likewise.
29300 2013-08-27 Roland McGrath <roland@hack.frob.com>
29302 * include/netdb.h [!_ISOMAC]:
29303 Don't include <tls.h>.
29304 (h_errno, __libc_h_errno): Move declaration and macros out of
29307 * include/resolv.h [_RESOLV_H_]:
29308 Don't include <tls.h>.
29309 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29310 * resolv/res_libc.c: Don't include <tls.h>.
29311 (_res): Use __attribute__ ((nocommon)) in place of
29312 __attribute__ ((section (".bss"))).
29314 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29315 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29317 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29319 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29320 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29322 * resolv/res_mkquery.c: Include <sys/time.h>.
29324 * inet/ifreq.c: Moved to ...
29325 * sysdeps/unix/ifreq.c: ... here.
29326 * inet/ifreq.c: New file, true stub version.
29328 * socket/sa_len.c: New file.
29329 * socket/Makefile (aux): Add it.
29330 * sysdeps/unix/sysv/linux/Makefile
29331 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29332 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29333 and #include <socket/sa_len.c>.
29334 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29335 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29337 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29338 * bits/socket.h: ... here.
29340 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29341 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29342 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29344 2013-08-27 Andreas Schwab <schwab@suse.de>
29347 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29348 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29349 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29350 * string/test-strcasecmp.c (test_main): Run tests in several
29352 * string/test-strncasecmp.c (test_main): Likewise.
29354 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29355 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29356 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29358 (__strncasecmp_ssse3) [PIC]: Likewise.
29360 2013-08-26 Roland McGrath <roland@hack.frob.com>
29362 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29364 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29365 instead of explicitly declaring xdecrypt.
29366 * nis/nss_nis/nis-publickey.c: Likewise.
29368 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29371 * nscd/aicache.c: Include res_hconf.h.
29372 (addhstaiX): Initialize res_hconf.
29374 2013-08-26 Andreas Schwab <schwab@suse.de>
29376 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29377 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29379 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29381 * nscd/aicache.c (addhstaiX): Fix indentation.
29383 2013-08-25 Mike Frysinger <vapier@gentoo.org>
29385 * configure.ac: Quote $build_pt_chown test.
29386 * configure: Regenerated.
29388 2013-08-23 Joseph Myers <joseph@codesourcery.com>
29391 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29392 * math/s_cexpf.c (__cexpf): Likewise.
29393 * math/s_cexpl.c (__cexpl): Likewise.
29394 * math/libm-test.inc (cexp_test_data): Correct expected return
29395 value for NaN + i0. Add another test.
29397 2013-08-22 David S. Miller <davem@davemloft.net>
29399 * po/ca.po: Update Catalan translation from translation project.
29400 * po/uk.po: Add Ukrainian translations from translation project.
29402 2013-08-21 Joseph Myers <joseph@codesourcery.com>
29405 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29406 is infinite, not alongside NaN test.
29407 * math/s_fdimf.c (__fdimf): Likewise.
29408 * math/s_fdiml.c (__fdiml): Likewise.
29409 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29410 errno is unchanged.
29412 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
29414 * argp/argp-help.c: Fix typos.
29415 * crypt/speeds.c: Likewise.
29416 * csu/check_fds.c: Likewise.
29417 * elf/dl-load.c: Likewise.
29418 * elf/dl-open.c: Likewise.
29419 * elf/reldep3.c: Likewise.
29420 * elf/reldep.c: Likewise.
29421 * elf/sprof.c: Likewise.
29422 * iconv/iconv_charmap.c: Likewise.
29423 * iconv/skeleton.c: Likewise.
29424 * iconv/strtab.c: Likewise.
29425 * io/lockf64.c: Likewise.
29426 * libio/libioP.h: Likewise.
29427 * resolv/gai_notify.c: Likewise.
29428 * resolv/ns_name.c: Likewise.
29429 * resolv/ns_samedomain.c: Likewise.
29430 * resolv/res_send.c: Likewise.
29431 * stdlib/random.c: Likewise.
29432 * sunrpc/rpc/xdr.h: Likewise.
29433 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29434 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29435 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29436 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29437 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29438 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29440 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29441 * sysdeps/mach/hurd/check_fds.c: Likewise.
29442 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29443 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29444 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29445 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29446 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29447 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29448 * sysdeps/pthread/aio_notify.c: Likewise.
29449 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29450 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29451 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29452 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29453 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29455 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29457 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29458 version if bit_Slow_SSE4_2 is set.
29459 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29460 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29462 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29465 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29466 trampoline stack frame information.
29467 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29468 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29469 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29470 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29471 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29472 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29473 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29474 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29476 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29477 interrupting a syscall and set with option SA_SIGINFO.
29479 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29482 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29483 argument is infinite.
29484 * math/s_cprojf.c (__cprojf): Likewise.
29485 * math/s_cprojl.c (__cprojl): Likewise.
29486 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29487 * math/libm-test.inc (cproj_test_data): Add more tests.
29489 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29491 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29492 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29493 size. Use __ffs to determine corresponding shift.
29495 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29496 Roland McGrath <roland@hack.frob.com>
29498 * Makefile (INSTALL): Remove trailing blank lines from output of
29501 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29503 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29504 Align 32 bit compat elf_greg to 8 bytes.
29506 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29508 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29510 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29512 * string/strcoll_l.c (coll_seq): New structure.
29513 (get_next_seq_cached): New function.
29514 (get_next_seq): New function.
29515 (do_compare): New function.
29516 (STRCOLL): Use GNU style definition. Simplify implementation
29517 by using get_next_seq, get_next_seq_cached and do_compare.
29519 2013-08-16 Florian Weimer <fweimer@redhat.com>
29523 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29525 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29527 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29528 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29529 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29531 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29532 GETDENTS_64BIT_ALIGNED.
29533 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29534 * manual/filesys.texi (Reading/Closing Directory): Document
29535 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29537 * manual/conf.texi (Limits for Files): Add portability note to
29538 NAME_MAX, PATH_MAX.
29539 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29541 2013-08-13 Andreas Schwab <schwab@suse.de>
29544 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29546 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29547 LDBL_MAX_EXP >= 16384]: Add tests for it.
29549 2013-08-12 David S. Miller <davem@davemloft.net>
29551 * version.h (RELEASE): Set to "development".
29552 (VERSION): Set to "2.18.90".
29553 * NEWS: Add 2.19 section.
29555 2013-08-03 David S. Miller <davem@davemloft.net>
29557 * po/ko.po: Update Korean translation from translation project.
29559 2013-08-01 David S. Miller <davem@davemloft.net>
29561 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29562 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29565 2013-07-30 David S. Miller <davem@davemloft.net>
29567 * po/fr.po: Update French translation from translation project.
29569 2013-07-28 David S. Miller <davem@davemloft.net>
29571 * po/cs.po: Update Czech translation from translation project.
29573 * po/sv.po: Update Swedish translation from translation project.
29575 2013-07-27 David S. Miller <davem@davemloft.net>
29577 * po/eo.po: Update Esperanto translation from translation project.
29579 * po/vi.po: Update Vietnamese translation from translation project.
29581 * po/de.po: Update German translation from translation project.
29583 2013-07-26 David S. Miller <davem@davemloft.net>
29585 * po/bg.po: Update Bulgarian translation from translation project.
29587 * po/nl.po: Update Dutch translation from translation project.
29588 * po/pl.po: Update Polish translation from translation project.
29589 * po/ru.po: Update Russian translation from translation project.
29591 2013-07-24 David S. Miller <davem@davemloft.net>
29593 * po/libc.pot: Update.
29595 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29597 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29598 variable page size.
29599 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29600 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29601 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29603 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29605 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29607 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29608 Andreas Schwab <schwab@suse.de>
29609 Roland McGrath <roland@hack.frob.com>
29610 Joseph Myers <joseph@codesourcery.com>
29611 Carlos O'Donell <carlos@redhat.com>
29614 * config.h.in: Define HAVE_PT_CHOWN.
29615 * config.make.in (build-pt-chown): New variable.
29616 * configure.in (--enable-pt_chown): New configure option.
29617 * configure: Regenerate.
29618 * login/Makefile: Include Makeconfig. Build pt_chown only if
29619 build-pt-chown is enabled.
29620 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29621 pt_chown to fix pty ownership.
29622 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29624 * manual/install.texi (Configuring and compiling): Mention
29625 --enable-pt_chown. Add @findex for grantpt.
29626 * INSTALL: Regenerate.
29628 2013-07-20 David S. Miller <davem@davemloft.net>
29630 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29631 difference between 32-bit and 64-bit.
29633 2013-07-15 Carlos O'Donell <carlos@redhat.com>
29636 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29637 Avoid system header dependency with -ffreestanding.
29638 ($(objpfx)bits/syscall%d): Likewise.
29640 2013-07-13 David S. Miller <davem@davemloft.net>
29642 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29643 underflows from atanl/atan2l due to bug 15319.
29644 (casinh_test_data): Likewise.
29646 2013-07-07 David S. Miller <davem@davemloft.net>
29648 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29650 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29652 * sysdeps/i386/fpu/libm-test-ulps: Update.
29653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29655 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29657 * configure.in (--enable-lock-elision): Fix message text.
29658 * INSTALL: Regenerate.
29659 * configure: Regenerate.
29661 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29665 2013-07-03 Andreas Jaeger <aj@suse.de>
29667 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29669 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29670 (ptrace_peeksiginfo_args): Add.
29671 (__ptrace_peeksiginfo_flags): Add.
29672 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29673 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29674 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29676 2013-07-03 Allan McRae <allan@archlinux.org>
29678 * sysdeps/i386/fpu/libm-test-ulps: Update.
29680 2013-07-02 David S. Miller <davem@davemloft.net>
29682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29684 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29688 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29690 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29693 2013-07-02 Andi Kleen <ak@linux.intel.com>
29695 * config.h.in (ENABLE_LOCK_ELISION): Add.
29696 * configure.in (--enable-lock-elision): Add option.
29697 * manual/install.texi: Document --enable lock elision.
29698 * configure: Regenerate
29699 * INSTALL: Regenerate.
29701 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29703 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29704 SSE4.2 strcasecmp for libc.a.
29705 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29707 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29710 * soft-fp/op-common.h (_FP_FMA): New macro.
29711 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29712 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29713 (_FP_MUL_MEAT_1_imm): ... here.
29714 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29715 (_FP_MUL_MEAT_1_wide): ... here.
29716 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29717 (_FP_MUL_MEAT_1_hard): ... here.
29718 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29719 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29720 (_FP_MUL_MEAT_2_wide): ... here.
29721 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29722 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29723 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29724 (_FP_MUL_MEAT_2_gmp): ... here.
29725 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29726 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29727 (_FP_MUL_MEAT_4_wide): ... here.
29728 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29729 (_FP_MUL_MEAT_4_gmp): ... here.
29730 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29731 (_FP_WFRACBITS_DW_S): Likewise.
29732 (_FP_WFRACXBITS_DW_S): Likewise.
29733 (_FP_HIGHBIT_DW_S): Likewise.
29734 (FP_FMA_S): Likewise.
29735 (_FP_FRAC_HIGH_DW_S): Likewise.
29736 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29737 (_FP_WFRACBITS_DW_D): Likewise.
29738 (_FP_WFRACXBITS_DW_D): Likewise.
29739 (_FP_HIGHBIT_DW_D): Likewise.
29740 (FP_FMA_D): Likewise.
29741 (_FP_FRAC_HIGH_DW_D): Likewise.
29742 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29743 (_FP_WFRACBITS_DW_E): Likewise.
29744 (_FP_WFRACXBITS_DW_E): Likewise.
29745 (_FP_HIGHBIT_DW_E): Likewise.
29746 (FP_FMA_E): Likewise.
29747 (_FP_FRAC_HIGH_DW_E): Likewise.
29748 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29749 (_FP_WFRACBITS_DW_Q): Likewise.
29750 (_FP_WFRACXBITS_DW_Q): Likewise.
29751 (_FP_HIGHBIT_DW_Q): Likewise.
29752 (FP_FMA_Q): Likewise.
29753 (_FP_FRAC_HIGH_DW_Q): Likewise.
29754 * soft-fp/fmasf4.c: New file.
29755 * soft-fp/fmadf4.c: Likewise.
29756 * soft-fp/fmatf4.c: Likewise.
29758 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29761 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29763 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29765 (index_Slow_SSE4_2): Likewise.
29766 (index_Prefer_PMINUB_for_stringop): Likewise.
29767 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29768 bit_Slow_SSE4_2 is set.
29769 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29770 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29772 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29774 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29775 rtld_global._dl_hwcap2.
29776 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29778 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29779 POWER8 feature descriptions defined in _dl_hwcap2.
29780 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29781 string handling for POWER8 feature bits.
29782 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29783 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29784 _dl_powerpc_cap_flags.
29785 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29786 * sysdeps/powerpc/rtld-global-offsets.sym
29787 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29788 _dl_hwcap2 in the rtld_global_ro structure.
29790 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29792 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29793 hardware capabilities in support of AT_HWCAP2.
29794 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29795 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29797 (_dl_show_auxv): Add support for calling _dl_procinfo to display
29798 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
29799 explicitly the unknown a_type display mechanism is used.
29800 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29801 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29803 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29804 to macro prototype for AT_HWCAP2 support.
29805 * sysdeps/i386/dl-procinfo.h: Likewise.
29806 * sysdeps/s390/dl-procinfo.h: Likewise.
29807 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29808 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
29809 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
29810 return -1 for unknown a_type display fallback.
29811 * sysdeps/sparc/dl-procinfo.h: Likewise.
29812 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29813 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29815 2013-06-28 Joseph Myers <joseph@codesourcery.com>
29817 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29818 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29820 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
29823 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29824 mprotect making __stack_prot writable.
29826 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
29827 Joseph Myers <joseph@codesourcery.com>
29829 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29830 as being properly aligned.
29832 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
29834 * dlfcn/modstatic5.c: New file.
29835 * dlfcn/tststatic5.c: New file.
29836 * dlfcn/Makefile (tests): Add tststatic5.
29837 (tests-static): Likewise.
29838 (modules-names): Add modstatic5.
29839 (tststatic5-ENV): New variable.
29840 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29843 * elf/dl-support.c (_dl_main_map): New variable.
29844 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29845 (_dl_nns, _dl_load_adds): Set to 1.
29846 (_dl_initial_searchlist): Refer to _dl_main_map.
29847 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29848 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29849 call to _dl_get_origin.
29850 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29852 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29853 * dlfcn/modstatic3.c: New file.
29854 * dlfcn/tststatic3.c: New file.
29855 * dlfcn/tststatic4.c: New file.
29856 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29857 (tests-static): Likewise.
29858 (modules-names): Add modstatic3.
29859 (tststatic3-ENV, tststatic4-ENV): New variables.
29860 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29861 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29863 2013-06-26 Joseph Myers <joseph@codesourcery.com>
29865 * configure.in (CC): Require GCC version 4.4 or later.
29866 * configure: Regenerated.
29867 * manual/install.texi (Tools for Compilation): Update GCC version
29869 * INSTALL: Regenerated.
29871 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29874 * string/test-memcmp.c (check2): New.
29875 (main): Call check2.
29877 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29879 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
29882 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29884 (dl_open_worker) [!SHARED]: ... here.
29886 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29888 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29890 2013-06-25 Richard Henderson <rth@redhat.com>
29892 * locale/programs/locarchive.c: Include <libc-internal.h>
29894 2013-06-25 Joseph Myers <joseph@codesourcery.com>
29896 * manual/texinfo.tex: Update to version 2013-06-21.17, with
29897 trailing whitespace removed.
29899 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29902 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29903 * locale/programs/locarchive.c: Include libc-mmap.h.
29904 (prepare_address_space): Take two new outputs (the mmap base and len).
29905 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
29907 (create_archive): Declare new mmap base and len values for
29908 prepare_address_space, and store the result in ah.
29909 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29910 (enlarge_archive): If ah->mmap_base is not NULL, use that and
29911 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29912 Declare new mmap base and len values for
29913 prepare_address_space, and store the result in new_ah.
29914 (open_archive): Declare new mmap base and len values for
29915 prepare_address_space, and store the result in ah.
29916 (close_archive): If ah->mmap_base is not NULL, use that and
29917 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29918 * sysdeps/generic/libc-mmap.h: New file.
29920 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29922 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29923 (ALIGN_UP): Likewise.
29924 (PTR_ALIGN_DOWN): Likewise.
29925 (PTR_ALIGN_UP): Likewise.
29927 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29929 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29930 entry mapped to PPC_PLATFORM_POWER8.
29931 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29933 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29934 (_dl_string_platform): Add case for exporting platform position for
29936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29937 search path to sysdeps/powerpc/powerpc32/power8 directory.
29938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29939 search path to sysdeps/powerpc/powerpc64/power8 directory.
29940 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29941 power7 directories.
29942 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29943 power7 directories.
29945 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29947 * INSTALL: Regenerate.
29949 * nscd/connections.c (nscd_init): Fix comment.
29951 2013-06-22 Joseph Myers <joseph@codesourcery.com>
29953 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29956 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29957 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29959 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29961 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29963 (DL_DST_REQ_STATIC): Remove macro.
29965 2013-06-21 Joseph Myers <joseph@codesourcery.com>
29968 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29969 with a shift of 0 bits.
29971 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29973 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29976 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29979 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29981 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29983 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29984 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29985 accepts -fno-tree-loop-distribute-patterns.
29986 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29987 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29989 * string/memset.c (memset): Likewise.
29990 * string/test-memmove.c (simple_memmove): Disable loop transformation
29992 * string/test-memset.c (simple_memset): Likewise.
29993 * benchtests/bench-memmove.c (simple_memmove): Likewise.
29994 * benchtests/bench-memset.c (simple_memset): Likewise.
29995 * configure: Regenerated.
29997 2013-06-20 Joseph Myers <joseph@codesourcery.com>
29999 * math/test-misc.c (main): Ignore fesetround failure when failures
30000 of subsequent rounding tests would be ignored.
30003 * math/fedisblxcpt.c (fedisableexcept): Return 0.
30004 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30005 * math/fegetenv.c (__fegetenv): Return 0.
30006 * math/fegetexcept.c (fegetexcept): Return 0.
30007 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30009 * math/feholdexcpt.c (feholdexcept): Return 0.
30010 * math/fesetenv.c (__fesetenv): Return 0.
30011 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30012 argument FE_TONEAREST.
30013 * math/feupdateenv.c (__feupdateenv): Return 0.
30014 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30016 2013-06-18 Roland McGrath <roland@hack.frob.com>
30018 * elf/rtld-Rules (rtld-compile-command.S): New variable.
30019 (rtld-compile-command.s, rtld-compile-command.c): New variables.
30020 ($(objpfx)rtld-%.os rules): Use them.
30022 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30024 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30027 2013-06-17 Roland McGrath <roland@hack.frob.com>
30029 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30030 length of target pattern, then descending length of dependency pattern.
30031 * configure.in (AWK): Require gawk 3.1.2 or newer.
30032 * manual/install.texi (Tools for Compilation): Say that we do.
30033 * configure: Regenerated.
30035 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30036 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30037 * scripts/sysd-rules.awk: ... this new script.
30038 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30039 than a glob-style pattern.
30041 2013-06-17 Joseph Myers <joseph@codesourcery.com>
30043 * math/test-misc.c (main): Do not treat incorrectly rounded
30044 conversions as failure unless ROUNDING_TESTS passes.
30046 2013-06-15 Joseph Myers <joseph@codesourcery.com>
30049 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30050 restore exception state around main square root computation, then
30051 check for inexactness explicitly.
30053 * math/libm-test.inc (fma_test_data): Add another test.
30055 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30057 * manual/threads.texi (Non-POSIX Extensions): New document
30058 node. Document pthread_getattr_default_np and
30059 pthread_setattr_default_np.
30061 * Versions.def (libpthread): Add GLIBC_2.18.
30062 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30071 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30082 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30085 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30087 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30088 H.J. Lu <hjl.tools@gmail.com>
30091 * sysdeps/x86_64/rtld-memset.c: Remove file.
30092 * sysdeps/x86_64/rtld-memset.S: New file.
30094 2013-06-14 Joseph Myers <joseph@codesourcery.com>
30096 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30097 (test_in_one_mode): Take arguments for whether the rounding mode
30098 is supported for each floating-point type.
30099 (do_test): Pass new arguments to test_in_one_mode using
30102 2013-06-13 Roland McGrath <roland@hack.frob.com>
30104 * posix/tst-waitid.c (do_test): Distinguish different instances of
30105 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30106 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30107 before entering the kernel for waitpid.
30109 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30111 * NEWS: Fix note on clock function precision. Text by Roland
30114 2013-06-13 Roland McGrath <roland@hack.frob.com>
30116 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30117 it into place only when and if the sanity check passes.
30119 2013-06-13 Joseph Myers <joseph@codesourcery.com>
30121 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30122 output for whether conversion result is exact. Take argument
30123 indicating whether type is IBM long double.
30124 (round_for_all): Change need_exact field to ibm_ld.
30125 * stdlib/tst-strtod-round.c (struct exactness): New type.
30126 (struct test): Change bool ld_ok field to struct exactness exact.
30127 (TEST): Update all definitions for change to field.
30128 (tests): Regenerate array contents.
30129 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30130 field value. Check for IBM long double here.
30131 (do_test): Update calls to test_in_one_mode.
30133 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30136 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30137 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30139 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30142 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30143 generated by the compiler on loop optimizations.
30144 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30145 general definitions.
30147 2013-06-12 Joseph Myers <joseph@codesourcery.com>
30149 * math/bug-nextafter.c: Include <math-tests.h>.
30150 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30152 * math/bug-nexttoward.c: Include <math-tests.h>.
30153 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30155 * math/test-misc.c: Include <math-tests.h>.
30156 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30159 2013-06-12 Andreas Jaeger <aj@suse.de>
30161 * po/ia.po: Update Interlingua translation from translation
30164 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30166 * include/fenv.h: Include stdbool.h.
30167 (struct rm_ctx): New structure.
30168 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30170 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30171 (SET_RESTORE_ROUNDF): Likewise.
30172 (SET_RESTORE_ROUNDL): Likewise.
30173 (SET_RESTORE_ROUND_NOEX): Likewise.
30174 (SET_RESTORE_ROUND_NOEXF): Likewise.
30175 (SET_RESTORE_ROUND_NOEXL): Likewise.
30176 (SET_RESTORE_ROUND_53BIT): Likewise.
30177 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30178 (libc_feresetround_noexf_ctx): Likewise.
30179 (libc_feresetround_noexl_ctx): Likewise.
30180 (libc_feholdsetround_53bit_ctx): Likewise.
30181 (libc_feresetround_53bit_ctx): Likewise.
30182 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30183 (libc_feholdexcept_setround_sse_ctx): New function.
30184 (libc_fesetenv_sse_ctx): Likewise.
30185 (libc_feupdateenv_sse_ctx): Likewise.
30186 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30187 (libc_feholdexcept_setround_387_ctx): Likewise.
30188 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30189 (libc_feholdsetround_387_prec_ctx): Likewise.
30190 (libc_feholdsetround_387_ctx): Likewise.
30191 (libc_feholdsetround_387_53bit_ctx): Likewise.
30192 (libc_feholdsetround_sse_ctx): Likewise.
30193 (libc_feresetround_sse_ctx): Likewise.
30194 (libc_feresetround_387_ctx): Likewise.
30195 (libc_feupdateenv_387_ctx): Likewise.
30196 (libc_feholdexcept_setroundf_ctx): Define macro.
30197 (libc_fesetenvf_ctx): Likewise.
30198 (libc_feupdateenvf_ctx): Likewise.
30199 (libc_feholdsetroundf_ctx): Likewise.
30200 (libc_feresetroundf_ctx): Likewise.
30201 (libc_feholdexcept_setround_ctx): Likewise.
30202 (libc_fesetenv_ctx): Likewise.
30203 (libc_feupdateenv_ctx): Likewise.
30204 (libc_feholdsetround_ctx): Likewise.
30205 (libc_feresetround_ctx): Likewise.
30206 (libc_feholdexcept_setroundl_ctx): Likewise.
30207 (libc_feupdateenvl_ctx): Likewise.
30208 (libc_feholdsetroundl_ctx): Likewise.
30209 (libc_feresetroundl_ctx): Likewise.
30210 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30211 (libc_feresetround_53bit_ctx): Likewise.
30213 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30215 * locale/iso-639.def: Convert to UTF-8.
30217 2013-06-11 Joseph Myers <joseph@codesourcery.com>
30219 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30220 (EXCEPTION_TESTS_double): Likewise.
30221 (EXCEPTION_TESTS_long_double): Likewise.
30222 (EXCEPTION_TESTS): Likewise.
30223 * math/libm-test.inc (test_exceptions): Only test exceptions if
30224 EXCEPTION_TESTS (FLOAT).
30226 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30228 * benchtests/Makefile (string-bench): Add strcpy_chk and
30230 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30231 * benchtests/bench-stpcpy_chk.c: New file.
30232 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30233 * benchtests/bench-strcpy_chk.c: New file.
30234 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30236 (do_test): Likewise.
30238 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30240 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30241 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30242 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30243 with tabs where appropriate.
30244 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30246 [PPC_PLATFORM_PPC440]: Likewise.
30247 [PPC_PLATFORM_PPC464]: Likewise.
30248 [PPC_PLATFORM_PPC476]: Likewise.
30249 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30250 ppc464, and ppc476 platform strings merging from ports/
30253 2013-06-11 Andreas Schwab <schwab@suse.de>
30256 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30257 (from_ucs4_idx): Regenerate.
30258 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30259 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30260 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30261 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30262 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30263 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30264 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30265 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30266 from FROM_LOOP and TO_LOOP specific macros.
30267 (BODY): Handle combining characters.
30268 * iconvdata/BIG5HKSCS.irreversible: Update.
30269 * iconvdata/BIG5HKSCS.precomposed: New file.
30270 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30272 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30274 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30276 * include/sys/time.h: Fix indentation and add copyright header.
30278 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30279 (do_test): Likewise.
30280 * string/test-memchr.c (do_one_test): Likewise.
30281 (do_test): Likewise.
30282 * string/test-memcmp.c (do_one_test): Likewise.
30283 (do_test): Likewise.
30284 * string/test-memcpy.c (do_one_test): Likewise.
30285 (do_test): Likewise.
30286 * string/test-memmem.c (do_one_test): Likewise.
30287 (do_test): Likewise.
30288 (do_random_tests): Likewise.
30289 * string/test-memmove.c (do_one_test): Likewise.
30290 (do_test): Likewise.
30291 * string/test-memset.c (do_one_test): Likewise.
30292 (do_test): Likewise.
30293 * string/test-rawmemchr.c (do_one_test): Likewise.
30294 (do_test): Likewise.
30295 * string/test-strcasecmp.c (do_one_test): Likewise.
30296 (do_test): Likewise.
30297 * string/test-strcasestr.c (do_one_test): Likewise.
30298 (do_test): Likewise.
30299 * string/test-strcat.c (do_one_test): Likewise.
30300 (do_test): Likewise.
30301 * string/test-strchr.c (do_one_test): Likewise.
30302 (do_test): Likewise.
30303 * string/test-strcmp.c (do_one_test): Likewise.
30304 (do_test): Likewise.
30305 * string/test-strcpy.c (do_one_test): Likewise.
30306 (do_test): Likewise.
30307 * string/test-string.h: Likewise.
30308 (test_init): Likewise.
30309 * string/test-strlen.c (do_one_test): Likewise.
30310 (do_test): Likewise.
30311 * string/test-strncasecmp.c (do_one_test): Likewise.
30312 (do_test): Likewise.
30313 * string/test-strncat.c (do_one_test): Likewise.
30314 (do_test): Likewise.
30315 * string/test-strncmp.c (do_one_test): Likewise.
30316 (do_test_limit): Likewise.
30317 (do_test): Likewise.
30318 * string/test-strncpy.c (do_one_test): Likewise.
30319 (do_test): Likewise.
30320 * string/test-strnlen.c (do_one_test): Likewise.
30321 (do_test): Likewise.
30322 * string/test-strpbrk.c (do_one_test): Likewise.
30323 (do_test): Likewise.
30324 * string/test-strrchr.c (do_one_test): Likewise.
30325 (do_test): Likewise.
30326 * string/test-strspn.c (do_one_test): Likewise.
30327 (do_test): Likewise.
30328 * string/test-strstr.c (do_one_test): Likewise.
30329 (do_test): Likewise.
30331 * benchtests/Makefile (string-bench): Add string benchmarks.
30332 * benchtests/bench-bcopy-ifunc.c: New file.
30333 * benchtests/bench-bcopy.c: New file.
30334 * benchtests/bench-bzero-ifunc.c: New file.
30335 * benchtests/bench-bzero.c: New file.
30336 * benchtests/bench-memccpy-ifunc.c: New file.
30337 * benchtests/bench-memccpy.c: New file.
30338 * benchtests/bench-memchr-ifunc.c: New file.
30339 * benchtests/bench-memchr.c: New file.
30340 * benchtests/bench-memcmp-ifunc.c: New file.
30341 * benchtests/bench-memcmp.c: New file.
30342 * benchtests/bench-memmem-ifunc.c: New file.
30343 * benchtests/bench-memmem.c: New file.
30344 * benchtests/bench-memmove-ifunc.c: New file.
30345 * benchtests/bench-memmove.c: New file.
30346 * benchtests/bench-mempcpy-ifunc.c: New file.
30347 * benchtests/bench-mempcpy.c: New file.
30348 * benchtests/bench-memset-ifunc.c: New file.
30349 * benchtests/bench-memset.c: New file.
30350 * benchtests/bench-rawmemchr-ifunc.c: New file.
30351 * benchtests/bench-rawmemchr.c: New file.
30352 * benchtests/bench-stpcpy-ifunc.c: New file.
30353 * benchtests/bench-stpcpy.c: New file.
30354 * benchtests/bench-stpncpy-ifunc.c: New file.
30355 * benchtests/bench-stpncpy.c: New file.
30356 * benchtests/bench-strcasecmp-ifunc.c: New file.
30357 * benchtests/bench-strcasecmp.c: New file.
30358 * benchtests/bench-strcasestr-ifunc.c: New file.
30359 * benchtests/bench-strcasestr.c: New file.
30360 * benchtests/bench-strcat-ifunc.c: New file.
30361 * benchtests/bench-strcat.c: New file.
30362 * benchtests/bench-strchr-ifunc.c: New file.
30363 * benchtests/bench-strchr.c: New file.
30364 * benchtests/bench-strchrnul-ifunc.c: New file.
30365 * benchtests/bench-strchrnul.c: New file.
30366 * benchtests/bench-strcmp-ifunc.c: New file.
30367 * benchtests/bench-strcmp.c: New file.
30368 * benchtests/bench-strcpy-ifunc.c: New file.
30369 * benchtests/bench-strcpy.c: New file.
30370 * benchtests/bench-strcspn-ifunc.c: New file.
30371 * benchtests/bench-strcspn.c: New file.
30372 * benchtests/bench-strlen-ifunc.c: New file.
30373 * benchtests/bench-strlen.c: New file.
30374 * benchtests/bench-strncasecmp-ifunc.c: New file.
30375 * benchtests/bench-strncasecmp.c: New file.
30376 * benchtests/bench-strncat-ifunc.c: New file.
30377 * benchtests/bench-strncat.c: New file.
30378 * benchtests/bench-strncmp-ifunc.c: New file.
30379 * benchtests/bench-strncmp.c: New file.
30380 * benchtests/bench-strncpy-ifunc.c: New file.
30381 * benchtests/bench-strncpy.c: New file.
30382 * benchtests/bench-strnlen-ifunc.c: New file.
30383 * benchtests/bench-strnlen.c: New file.
30384 * benchtests/bench-strpbrk-ifunc.c: New file.
30385 * benchtests/bench-strpbrk.c: New file.
30386 * benchtests/bench-strrchr-ifunc.c: New file.
30387 * benchtests/bench-strrchr.c: New file.
30388 * benchtests/bench-strspn-ifunc.c: New file.
30389 * benchtests/bench-strspn.c: New file.
30390 * benchtests/bench-strstr-ifunc.c: New file.
30391 * benchtests/bench-strstr.c: New file.
30393 * benchtests/Makefile: Disable parallel execution of targets.
30394 (string-bench): Add memcpy.
30395 (benchset): New variable to store a list of benchmark sets.
30396 (bench-func): Renamed from bench.
30397 (bench-set): New target.
30398 (bench): Depend on bench-func and bench-set.
30399 * benchtests/README: Add section on benchmark sets.
30400 * benchtests/bench-memcpy-ifunc.c: New file.
30401 * benchtests/bench-memcpy.c: New file.
30402 * benchtests/bench-string.h: New file.
30404 2013-06-11 Andreas Schwab <schwab@suse.de>
30407 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30408 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30409 values in the triple.
30410 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30411 terminator in the group key.
30413 2013-06-11 Andreas Jaeger <aj@suse.de>
30415 * po/zh_TW.po: Update Chinese (traditional) translation from
30416 translation project.
30418 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30420 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30421 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30422 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30423 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30424 (clock_getcpuclockid): Likewise.
30425 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30426 Add weak_alias and libc_hidden_def.
30427 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30428 * rt/clock_gettime.c (clock_gettime): Rename to
30429 __clock_gettime. Add weak_alias and libc_hidden_def.
30430 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30431 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30432 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30433 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30434 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30436 * rt/clock_settime.c (clock_settime): Rename to
30437 __clock_settime. Add weak_alias and libc_hidden_def.
30438 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30440 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30442 * mach/err_boot.sub: Remove trailing whitespace.
30443 * mach/err_ipc.sub: Likewise.
30444 * mach/err_mach.sub: Likewise.
30446 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30447 (ROUNDING_TESTS_double): Likewise.
30448 (ROUNDING_TESTS_long_double): Likewise.
30449 (ROUNDING_TESTS): Likewise.
30450 * math/libm-test.inc: Include <math-tests.h>.
30451 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30452 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30453 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30454 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30456 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30458 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30461 2013-06-08 Joseph Myers <joseph@codesourcery.com>
30463 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30464 otherwise empty TRANS lines.
30465 * sysdeps/gnu/errlist.c: Regenerated.
30467 * catgets/gencat.c (error_print): Use (void) in function
30469 * crypt/crypt_util.c (__init_des): Likewise.
30470 * crypt/speeds.c (Stop): Likewise.
30472 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30473 * inet/ruserpass.c (token): Likewise.
30474 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30475 * intl/localealias.c (extend_alias_table): Likewise.
30476 * intl/plural-exp.c (init_germanic_plural): Likewise.
30477 * libio/fcloseall.c (__fcloseall): Likewise.
30478 * libio/genops.c (_IO_flush_all): Likewise.
30479 (_IO_flush_all_linebuffered): Likewise.
30480 (_IO_cleanup): Likewise.
30481 (_IO_iter_begin): Likewise.
30482 (_IO_iter_end): Likewise.
30483 (_IO_list_lock): Likewise.
30484 (_IO_list_unlock): Likewise.
30485 (_IO_list_resetlock): Likewise.
30486 * libio/getchar.c (getchar): Likewise.
30487 * libio/getchar_u.c (getchar_unlocked): Likewise.
30488 * libio/getwchar.c (getwchar): Likewise.
30489 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30490 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30491 * login/getpt.c (__getpt): Likewise.
30492 * login/tst-utmp.c (main): Likewise.
30493 * malloc/hooks.c (__malloc_check_init): Likewise.
30494 * malloc/malloc.c (__malloc_stats): Likewise.
30495 * malloc/mtrace.c (tr_break): Likewise.
30496 (mtrace): Likewise.
30497 (muntrace): Likewise.
30498 * misc/fstab.c (endfsent): Likewise.
30499 * misc/getclktck.c (__getclktck): Likewise.
30500 * misc/getdtsz.c (__getdtablesize): Likewise.
30501 * misc/gethostid.c (gethostid): Likewise.
30502 * misc/getpagesize.c (__getpagesize): Likewise.
30503 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30504 (__get_nprocs): Likewise.
30505 (__get_phys_pages): Likewise.
30506 (__get_avphys_pages): Likewise.
30507 * misc/getttyent.c (getttyent): Likewise.
30508 (setttyent): Likewise.
30509 (endttyent): Likewise.
30510 * misc/getusershell.c (getusershell): Likewise.
30511 (endusershell): Likewise.
30512 (setusershell): Likewise.
30513 (initshells): Likewise.
30514 * misc/hsearch.c (__hdestroy): Likewise.
30515 * misc/sync.c (sync): Likewise.
30516 * misc/syslog.c (closelog_internal): Likewise.
30517 (closelog): Likewise.
30518 * misc/ttyslot.c (ttyslot): Likewise.
30519 * misc/vhangup.c (vhangup): Likewise.
30520 * posix/fork.c (__fork): Likewise.
30521 * posix/getegid.c (__getegid): Likewise.
30522 * posix/geteuid.c (__geteuid): Likewise.
30523 * posix/getgid.c (__getgid): Likewise.
30524 * posix/getpid.c (__getpid): Likewise.
30525 * posix/getppid.c (__getppid): Likewise.
30526 * posix/getuid.c (__getuid): Likewise.
30527 * posix/pause.c (pause): Likewise.
30528 * posix/setpgrp.c (setpgrp): Likewise.
30529 * posix/setsid.c (__setsid): Likewise.
30530 * posix/test-vfork.c (noop): Likewise.
30531 * resolv/gethnamaddr.c (_endhtent): Likewise.
30532 (_gethtent): Likewise.
30533 (ht_endhostent): Likewise.
30534 (gethostent): Likewise.
30535 (dns_service): Likewise.
30536 * stdlib/drand48.c (drand48): Likewise.
30537 * stdlib/lrand48.c (lrand48): Likewise.
30538 * stdlib/mrand48.c (mrand48): Likewise.
30539 * stdlib/rand.c (rand): Likewise.
30540 * stdlib/random.c (__random): Likewise.
30541 * stdlib/setenv.c (clearenv): Likewise.
30542 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30543 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30544 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30545 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30546 (__get_nprocs): Likewise.
30547 (__get_phys_pages): Likewise.
30548 (__get_avphys_pages): Likewise.
30549 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30550 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30551 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30552 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30553 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30554 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30555 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30556 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30557 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30558 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30559 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30560 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30561 * sysdeps/posix/clock.c (clock): Likewise.
30562 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30563 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30564 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30565 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30566 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30567 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30568 (__get_nprocs_conf): Likewise.
30569 (__get_phys_pages): Likewise.
30570 (__get_avphys_pages): Likewise.
30571 * time/clock.c (clock): Likewise.
30572 * time/tzset.c (__tzname_max): Likewise.
30574 2013-06-07 Joseph Myers <joseph@codesourcery.com>
30576 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30577 (__bswap_32): Do not use "register".
30578 * crypt/crypt.c (_ufc_doit_r): Likewise.
30579 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30580 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30581 * gmon/gmon.c (__monstartup): Likewise.
30582 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30583 * hurd/hurdmalloc.c (more_memory): Likewise.
30584 (malloc): Likewise.
30586 (realloc): Likewise.
30587 (malloc_fork_prepare): Likewise.
30588 (malloc_fork_parent): Likewise.
30589 (malloc_fork_child): Likewise.
30590 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30591 (_svcauth_des): Likewise.
30592 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30593 * inet/inet_net.c (inet_network): Likewise.
30594 * inet/inet_netof.c (inet_netof): Likewise.
30595 * inet/rcmd.c (__validuser2_sa): Likewise.
30596 * io/fts.c (fts_open): Likewise.
30597 (fts_load): Likewise.
30598 (fts_close): Likewise.
30599 (fts_read): Likewise.
30600 (fts_children): Likewise.
30601 (fts_build): Likewise.
30602 (fts_stat): Likewise.
30603 (fts_sort): Likewise.
30604 (fts_alloc): Likewise.
30605 (fts_lfree): Likewise.
30606 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30607 (_IO_file_xsgetn): Likewise.
30608 (_IO_file_xsgetn_mmap): Likewise.
30609 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30610 (_IO_cookie_write): Likewise.
30611 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30612 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30613 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30614 * malloc/obstack.c (_obstack_begin): Likewise.
30615 (_obstack_begin_1): Likewise.
30616 (_obstack_newchunk): Likewise.
30617 (_obstack_allocated_p): Likewise.
30618 (obstack_free): Likewise.
30619 (_obstack_memory_used): Likewise.
30620 * misc/getttyent.c (getttynam): Likewise.
30621 (getttyent): Likewise.
30624 * misc/getusershell.c (initshells): Likewise.
30625 * misc/syslog.c (__vsyslog_chk): Likewise.
30626 * misc/ttyslot.c (ttyslot): Likewise.
30627 * nis/nis_hash.c (__nis_hash): Likewise.
30628 * posix/fnmatch_loop.c (FCT): Likewise.
30629 * posix/getconf.c (print_all): Likewise.
30631 * posix/getopt.c (exchange): Likewise.
30632 * posix/glob.c (globfree): Likewise.
30633 (prefix_array): Likewise.
30634 (__glob_pattern_type): Likewise.
30635 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30636 (NS_GET32): Likewise.
30637 (NS_PUT16): Likewise.
30638 (NS_PUT32): Likewise.
30639 * resolv/gethnamaddr.c (getanswer): Likewise.
30640 (gethostbyname2): Likewise.
30641 (gethostbyaddr): Likewise.
30642 (_gethtent): Likewise.
30643 (_gethtbyname2): Likewise.
30644 (_gethtbyaddr): Likewise.
30645 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30646 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30647 * resolv/res_init.c (__res_vinit): Likewise.
30648 (net_mask): Likewise.
30649 * resolv/res_mkquery.c (outchar): Likewise.
30651 * stdio-common/printf_fp.c (outchar): Likewise.
30653 * stdio-common/printf_fphex.c (outchar): Likewise.
30655 * stdio-common/printf_size.c (outchar): Likewise.
30657 * stdio-common/test_rdwr.c (main): Likewise.
30658 * stdio-common/tfformat.c (matches): Likewise.
30659 * stdio-common/vfprintf.c (outchar): Likewise.
30660 (printf_unknown): Likewise.
30661 (buffered_vfprintf): Likewise.
30662 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30663 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30664 (ReadFile): Likewise.
30665 * stdlib/qsort.c (SWAP): Likewise.
30666 (_quicksort): Likewise.
30667 * stdlib/setenv.c (__add_to_environ): Likewise.
30668 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30669 * stdlib/strtol_l.c (__strtol_l): Likewise.
30670 * stdlib/tst-strtod.c (main): Likewise.
30671 * stdlib/tst-strtol.c (main): Likewise.
30672 * stdlib/tst-strtoll.c (main): Likewise.
30673 * string/bits/string2.h (__strcmp_cc): Likewise.
30674 (__strcmp_cg): Likewise.
30675 (__strcspn_c1): Likewise.
30676 (__strcspn_c2): Likewise.
30677 (__strcspn_c3): Likewise.
30678 (__strspn_c1): Likewise.
30679 (__strspn_c2): Likewise.
30680 (__strspn_c3): Likewise.
30681 (__strsep_1c): Likewise.
30682 (__strsep_2c): Likewise.
30683 (__strsep_3c): Likewise.
30684 * string/memccpy.c (__memccpy): Likewise.
30685 * string/stpcpy.c (__stpcpy): Likewise.
30686 * string/strcmp.c (strcmp): Likewise.
30687 * string/strrchr.c (strrchr): Likewise.
30688 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30690 * sysdeps/mach/hurd/getcwd.c
30691 (_hurd_canonicalize_directory_name_internal): Likewise.
30692 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30693 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30694 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30695 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30696 Likewise, in both definitions.
30697 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30699 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30700 64] (__bswap_64): Likewise.
30701 * time/test_time.c (main): Likewise.
30702 * time/tzfile.c (__tzfile_read): Likewise.
30703 (__tzfile_compute): Likewise.
30704 * time/tzset.c (__tzset_parse_tz): Likewise.
30705 (tzset_internal): Likewise.
30706 (compute_change): Likewise.
30707 * wcsmbs/wcscat.c (__wcscat): Likewise.
30708 * wcsmbs/wcschr.c (wcschr): Likewise.
30709 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30710 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30711 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30712 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30713 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30714 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30715 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30716 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30717 * wcsmbs/wmemset.c (wmemset): Likewise.
30719 2013-06-06 Joseph Myers <joseph@codesourcery.com>
30721 * scripts/config.guess: Update to version 2013-05-16.
30722 * scripts/config.sub: Update to version 2013-04-24.
30723 * scripts/install-sh: Update to version 2011-11-20.07.
30724 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30725 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30727 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
30729 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30730 * elf/sln.c: Likewise.
30731 * hurd/hurd/ioctl.h: Likewise.
30732 * hurd/hurdmalloc.c: Likewise.
30733 * hurd/xattr.c: Likewise.
30734 * include/shlib-compat.h: Likewise.
30735 * inet/ruserpass.c: Likewise.
30736 * libio/iofgets_u.c: Likewise.
30737 * libio/iofgetws_u.c: Likewise.
30738 * locale/programs/ld-identification.c: Likewise.
30739 * locale/programs/ld-time.c: Likewise.
30740 * mach/msg-destroy.c: Likewise.
30741 * nss/nss_files/files-netgrp.c: Likewise.
30742 * resolv/res_data.c: Likewise.
30743 * soft-fp/op-1.h: Likewise.
30744 * soft-fp/op-2.h: Likewise.
30745 * soft-fp/op-4.h: Likewise.
30746 * soft-fp/op-common.h: Likewise.
30747 * stdio-common/printf_fphex.c: Likewise.
30748 * stdlib/strtod_l.c: Likewise.
30749 * sunrpc/rpc/clnt.h: Likewise.
30750 * sysdeps/generic/framestate.c: Likewise.
30751 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30752 * sysdeps/i386/bsd-setjmp.S: Likewise.
30753 * sysdeps/i386/__longjmp.S: Likewise.
30754 * sysdeps/i386/setjmp.S: Likewise.
30755 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30756 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30757 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30758 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30759 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30760 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30762 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30763 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30764 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30765 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30766 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30767 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30769 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30773 * sysdeps/ieee754/support.c: Likewise.
30774 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30775 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30776 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30777 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30778 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30779 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30780 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30781 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30782 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30783 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30784 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30785 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30786 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30787 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30788 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30789 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30790 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30793 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
30795 * posix/transbug.c: Remove executable mode.
30797 2013-06-05 Joseph Myers <joseph@codesourcery.com>
30799 * crypt/speeds.c: Remove trailing whitespace.
30800 * dlfcn/default.c: Likewise.
30801 * elf/ifuncdep2.c: Likewise.
30802 * elf/ifuncmain1.c: Likewise.
30803 * elf/ifuncmain1vis.c: Likewise.
30804 * elf/testobj.h: Likewise.
30805 * elf/tst-stackguard1.c: Likewise.
30806 * gmon/sys/gmon.h: Likewise.
30807 * hurd/hurdmsg.c: Likewise.
30808 * hurd/new-fd.c: Likewise.
30809 * hurd/ports-get.c: Likewise.
30810 * iconvdata/ibm1008_420.c: Likewise.
30811 * inet/tst-getni1.c: Likewise.
30812 * inet/tst-getni2.c: Likewise.
30813 * libio/ioungetc.c: Likewise.
30814 * libio/wfiledoalloc.c: Likewise.
30815 * manual/libm-err-tab.pl: Likewise.
30816 * math/w_dremf.c: Likewise.
30817 * misc/ftruncate.c: Likewise.
30818 * posix/bug-glob2.c: Likewise.
30819 * posix/tst-pcre.c: Likewise.
30820 * posix/wait4.c: Likewise.
30821 * resolv/README: Likewise.
30822 * resolv/res_debug.h: Likewise.
30823 * resolv/tst-inet_ntop.c: Likewise.
30824 * setjmp/bug269-setjmp.c: Likewise.
30825 * soft-fp/extended.h: Likewise.
30826 * soft-fp/op-1.h: Likewise.
30827 * soft-fp/op-2.h: Likewise.
30828 * soft-fp/op-4.h: Likewise.
30829 * soft-fp/op-8.h: Likewise.
30830 * soft-fp/testit.c: Likewise.
30831 * stdio-common/bug16.c: Likewise.
30832 * stdlib/random.c: Likewise.
30833 * sunrpc/rpcsvc/rquota.x: Likewise.
30834 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30835 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30836 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30837 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30838 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30839 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30840 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30841 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30842 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30843 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30844 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30845 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30846 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30847 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30848 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30849 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30850 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30851 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30852 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30853 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30854 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30855 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30856 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30857 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30858 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30859 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30860 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30861 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30862 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30863 * sysdeps/ieee754/s_lib_version.c: Likewise.
30864 * sysdeps/mach/hurd/check_fds.c: Likewise.
30865 * sysdeps/mach/hurd/getsockname.c: Likewise.
30866 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30867 * sysdeps/mach/hurd/recvfrom.c: Likewise.
30868 * sysdeps/powerpc/bits/link.h: Likewise.
30869 * sysdeps/powerpc/dl-procinfo.c: Likewise.
30870 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30871 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30872 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30873 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30874 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30875 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30876 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30877 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30878 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30879 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30880 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30881 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30882 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30883 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30884 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30885 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30887 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30888 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30889 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30890 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30891 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30892 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30893 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30894 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30895 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30896 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30897 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30898 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30899 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30900 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30901 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30902 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30903 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30904 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30905 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30906 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30907 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30908 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30909 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30910 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30911 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30912 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30913 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30914 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30915 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30916 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30917 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30918 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30920 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30921 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30922 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30923 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30924 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30925 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30926 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30927 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30928 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30929 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30930 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30931 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30932 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30933 * sysdeps/powerpc/sysdep.h: Likewise.
30934 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30935 * sysdeps/s390/s390-64/sub_n.S: Likewise.
30936 * sysdeps/sh/dl-trampoline.S: Likewise.
30937 * sysdeps/sh/memset.S: Likewise.
30938 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30939 * sysdeps/sh/strlen.S: Likewise.
30940 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30941 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30942 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30943 * sysdeps/sparc/sparc32/rem.S: Likewise.
30944 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30945 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30946 * sysdeps/sparc/sparc32/strchr.S: Likewise.
30947 * sysdeps/sparc/sparc32/udiv.S: Likewise.
30948 * sysdeps/sparc/sparc32/urem.S: Likewise.
30949 * sysdeps/sparc/sparc64/add_n.S: Likewise.
30950 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30951 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30952 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30953 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30954 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30955 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30956 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30957 * sysdeps/unix/bsd/times.c: Likewise.
30958 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30959 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30963 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30964 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30965 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30966 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30967 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30968 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30969 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30970 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30971 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30972 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30973 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30974 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30975 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30976 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30977 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30978 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30979 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30980 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30981 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30982 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30983 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30984 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30985 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30986 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30987 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30988 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30989 * sysdeps/x86_64/strcspn.S: Likewise.
30991 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30993 * locale/C-translit.h: Revert #include <stdint.h> because this is a
30994 generated file. Regenerate properly from gen-translit.pl.
30995 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
30996 locale/C-translit.h.
30998 2013-06-05 Andreas Schwab <schwab@suse.de>
31001 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31002 week as 6 instead of -1.
31003 * time/tst-strptime.c (day_tests): Add test case.
31005 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31007 * sysdeps/generic/math_private.h
31008 (libc_feholdexcept_setround_53bit): Replace with
31009 libc_feholdsetround_53bit.
31010 (libc_feupdateenv_53bit): Replace with
31011 libc_feresetround_53bit.
31012 (SET_RESTORE_ROUND_53BIT): Adjust.
31014 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31016 * string/test-strchrnul.c: Add copyright header.
31018 * posix/tst-getaddrinfo4.c: Increase test timeout.
31020 2013-06-03 Carlos O'Donell <carlos@redhat.com>
31023 * math/libm-test.inc (MAX_EXP): Remove
31025 (ulp): Use MIN_EXP - MANT_DIG.
31026 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31028 2013-05-31 Carlos O'Donell <carlos@redhat.com>
31030 * po/be.po: Revert last change.
31031 * po/zh_CN.po: Likewise.
31032 * po/header.pot: Likewise.
31034 2013-05-31 Joseph Myers <joseph@codesourcery.com>
31036 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31037 link-libc-deps to empty as target-specific variable.
31038 * Makerules (link-libc-args): New variable.
31039 (libc-for-link): Likewise.
31040 (link-libc-deps): Likewise.
31041 (lib%.so): Depend on $(link-libc-deps). Link with
31043 (build-module): Link with $(link-libc-args).
31044 (build-module-asneeded): Likewise.
31045 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31047 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31048 target-specific variable.
31049 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31050 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31051 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31053 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31055 ($(objpfx)libpcprofile.so): Likewise.
31056 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31058 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31059 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31060 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31062 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31063 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31064 * login/Makefile ($(objpfx)libutil.so): Likewise.
31065 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31066 * math/Makefile ($(objpfx)libm.so): Likewise.
31067 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31068 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31069 variable instead of depending directly on libc.
31070 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31071 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31073 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31075 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31076 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31077 ($(objpfx)libanl.so): Likewise.
31078 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31080 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31082 * sysdeps/i386/fpu/Makefile: Remove file.
31083 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31084 ($(objpfx)libm.so): Remove dependency on ld.so.
31086 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
31089 * nis/yp_xdr.c (XDRMAXNAME): Define.
31090 (XDRMAXRECORD): Define.
31091 (xdr_domainname): Use XDRMAXNAME.
31092 (xdr_mapname): Likewise.
31093 (xdr_peername): Likewise.
31094 (xdr_keydat): Use XDRMAXRECORD.
31095 (xdr_valdat): Likewise.
31097 2013-05-30 Jeff Law <law@redhat.com>
31100 * manual/errno.texi (ESTALE): Update to account for more than
31101 just NFS file systems.
31102 * sysdeps/gnu/errlist.c: Regenerated.
31104 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31107 * elf/Makefile (tests): Add tst-null-argv.
31108 (modules-names): Add tst-null-argv-lib.
31109 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31110 (tst-null-argv-ENV): Set environment for tst-null-argv.
31111 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31112 (RTLD_PROGNAME): New macro.
31113 * elf/tst-null-argv.c: New test case.
31114 * elf/tst-null-argv-lib.c: Library for test case.
31115 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31116 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31117 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31118 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31119 * elf/dl-init.c (call_init): Likewise.
31120 (_dl_init): Likewise.
31121 * elf/dl-load.c (print_search_path): Likewise.
31122 (_dl_map_object): Likewise.
31123 * elf/dl-lookup.c (do_lookup_x): Likewise.
31124 (add_dependency): Likewise.
31125 (_dl_lookup_symbol_x): Likewise.
31126 (_dl_debug_bindings): Likewise.
31127 * elf/dl-open.c (_dl_show_scope): Likewise.
31128 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31129 * elf/dl-version.c (match_symbol): Likewise.
31130 (_dl_check_map_versions): Likewise.
31131 * elf/rtld.c (dl_main): Likewise.
31132 (print_unresolved): Use RTLD_PROGNAME.
31133 (print_missing_version): Likewise.
31134 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31135 (elf_machine_rela): Likewise.
31136 * sysdeps/powerpc/powerpc32/dl-machine.c
31137 (__process_machine_rela): Likewise.
31138 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31140 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31142 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31144 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31145 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31147 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31149 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31151 2013-05-28 Carlos O'Donell <carlos@redhat.com>
31153 * po/be.po: Add descriptive title.
31154 * po/zh_CN.po: Likewise.
31155 * po/header.pot: Likewise.
31157 2013-05-28 Mike Frysinger <vapier@gentoo.org>
31159 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31161 (enlarge_archive): Likewise.
31163 2013-05-28 Ben North <ben@redfrontdoor.org>
31165 * manual/arith.texi (frexp): It is the magnitude of the return
31166 value which lies in [0.5, 1), not the return value itself.
31168 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31172 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31174 * stdio-common/bug26.c (main): Correct fscanf template.
31176 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31177 declare _dl_skip_args.
31179 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31182 * manual/platform.texi: Add missing @end deftypefun.
31184 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31187 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31188 bit of mantissa of 2^16382.
31189 * math/libm-test.inc (hypot_test_data): Add more tests.
31191 * math/libm-test.inc: Add drem and pow10 to list of tested
31193 (pow10_test): New function.
31194 (drem_test): Likewise.
31195 (drem_test_tonearest): Likewise.
31196 (drem_test_towardzero): Likewise.
31197 (drem_test_downward): Likewise.
31198 (drem_test_upward): Likewise.
31199 (main): Call the new functions.
31201 * math/libm-test.inc (finite_test_data): Remove.
31202 (finite_test): Run tests from isfinite_test_data.
31203 (gamma_test_data): Remove.
31204 (gamma_test): Run tests from lgamma_test_data.
31205 * sysdeps/i386/fpu/libm-test-ulps: Update.
31206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31208 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31210 * manual/platform.texi: Add PowerPC PPR function set documentation.
31211 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31214 2013-05-24 Carlos O'Donell <carlos@redhat.com>
31216 * math/libm-test.inc (MAX_EXP): Define.
31218 (ulp): New function.
31219 (check_float_internal): Use ULPDIFF.
31220 (cpow_test): Disable failing test.
31221 (check_ulp): Test ulp() implemetnation.
31222 (main): Call check_ulp before starting tests.
31224 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31226 * math/gen-libm-test.pl (generate_testfile): Do not handle
31227 START_DATA and END_DATA.
31228 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31230 (acos_tonearest_test_data): Likewise.
31231 (acos_towardzero_test_data): Likewise.
31232 (acos_downward_test_data): Likewise.
31233 (acos_upward_test_data): Likewise.
31234 (acosh_test_data): Likewise.
31235 (asin_test_data): Likewise.
31236 (asin_tonearest_test_data): Likewise.
31237 (asin_towardzero_test_data): Likewise.
31238 (asin_downward_test_data): Likewise.
31239 (asin_upward_test_data): Likewise.
31240 (asinh_test_data): Likewise.
31241 (atan_test_data): Likewise.
31242 (atanh_test_data): Likewise.
31243 (atan2_test_data): Likewise.
31244 (cabs_test_data): Likewise.
31245 (cacos_test_data): Likewise.
31246 (cacosh_test_data): Likewise.
31247 (carg_test_data): Likewise.
31248 (casin_test_data): Likewise.
31249 (casinh_test_data): Likewise.
31250 (catan_test_data): Likewise.
31251 (catanh_test_data): Likewise.
31252 (cbrt_test_data): Likewise.
31253 (ccos_test_data): Likewise.
31254 (ccosh_test_data): Likewise.
31255 (ceil_test_data): Likewise.
31256 (cexp_test_data): Likewise.
31257 (cimag_test_data): Likewise.
31258 (clog_test_data): Likewise.
31259 (clog10_test_data): Likewise.
31260 (conj_test_data): Likewise.
31261 (copysign_test_data): Likewise.
31262 (cos_test_data): Likewise.
31263 (cos_tonearest_test_data): Likewise.
31264 (cos_towardzero_test_data): Likewise.
31265 (cos_downward_test_data): Likewise.
31266 (cos_upward_test_data): Likewise.
31267 (cosh_test_data): Likewise.
31268 (cosh_tonearest_test_data): Likewise.
31269 (cosh_towardzero_test_data): Likewise.
31270 (cosh_downward_test_data): Likewise.
31271 (cosh_upward_test_data): Likewise.
31272 (cpow_test_data): Likewise.
31273 (cproj_test_data): Likewise.
31274 (creal_test_data): Likewise.
31275 (csin_test_data): Likewise.
31276 (csinh_test_data): Likewise.
31277 (csqrt_test_data): Likewise.
31278 (ctan_test_data): Likewise.
31279 (ctan_tonearest_test_data): Likewise.
31280 (ctan_towardzero_test_data): Likewise.
31281 (ctan_downward_test_data): Likewise.
31282 (ctan_upward_test_data): Likewise.
31283 (ctanh_test_data): Likewise.
31284 (ctanh_tonearest_test_data): Likewise.
31285 (ctanh_towardzero_test_data): Likewise.
31286 (ctanh_downward_test_data): Likewise.
31287 (ctanh_upward_test_data): Likewise.
31288 (erf_test_data): Likewise.
31289 (erfc_test_data): Likewise.
31290 (exp_test_data): Likewise.
31291 (exp_tonearest_test_data): Likewise.
31292 (exp_towardzero_test_data): Likewise.
31293 (exp_downward_test_data): Likewise.
31294 (exp_upward_test_data): Likewise.
31295 (exp10_test_data): Likewise.
31296 (exp2_test_data): Likewise.
31297 (expm1_test_data): Likewise.
31298 (fabs_test_data): Likewise.
31299 (fdim_test_data): Likewise.
31300 (finite_test_data): Likewise.
31301 (floor_test_data): Likewise.
31302 (fma_test_data): Likewise.
31303 (fma_towardzero_test_data): Likewise.
31304 (fma_downward_test_data): Likewise.
31305 (fma_upward_test_data): Likewise.
31306 (fmax_test_data): Likewise.
31307 (fmin_test_data): Likewise.
31308 (fmod_test_data): Likewise.
31309 (fpclassify_test_data): Likewise.
31310 (frexp_test_data): Likewise.
31311 (gamma_test_data): Likewise.
31312 (hypot_test_data): Likewise.
31313 (ilogb_test_data): Likewise.
31314 (isfinite_test_data): Likewise.
31315 (isgreater_test_data): Likewise.
31316 (isgreaterequal_test_data): Likewise.
31317 (isinf_test_data): Likewise.
31318 (isless_test_data): Likewise.
31319 (islessequal_test_data): Likewise.
31320 (islessgreater_test_data): Likewise.
31321 (isnan_test_data): Likewise.
31322 (isnormal_test_data): Likewise.
31323 (issignaling_test_data): Likewise.
31324 (isunordered_test_data): Likewise.
31325 (j0_test_data): Likewise.
31326 (j1_test_data): Likewise.
31327 (jn_test_data): Likewise.
31328 (ldexp_test_data): Likewise.
31329 (lgamma_test_data): Likewise.
31330 (lrint_test_data): Likewise.
31331 (lrint_tonearest_test_data): Likewise.
31332 (lrint_towardzero_test_data): Likewise.
31333 (lrint_downward_test_data): Likewise.
31334 (lrint_upward_test_data): Likewise.
31335 (llrint_test_data): Likewise.
31336 (llrint_tonearest_test_data): Likewise.
31337 (llrint_towardzero_test_data): Likewise.
31338 (llrint_downward_test_data): Likewise.
31339 (llrint_upward_test_data): Likewise.
31340 (log_test_data): Likewise.
31341 (log10_test_data): Likewise.
31342 (log1p_test_data): Likewise.
31343 (log2_test_data): Likewise.
31344 (logb_test_data): Likewise.
31345 (logb_downward_test_data): Likewise.
31346 (lround_test_data): Likewise.
31347 (llround_test_data): Likewise.
31348 (modf_test_data): Likewise.
31349 (nearbyint_test_data): Likewise.
31350 (nextafter_test_data): Likewise.
31351 (nexttoward_test_data): Likewise.
31352 (pow_test_data): Likewise.
31353 (pow_tonearest_test_data): Likewise.
31354 (pow_towardzero_test_data): Likewise.
31355 (pow_downward_test_data): Likewise.
31356 (pow_upward_test_data): Likewise.
31357 (remainder_test_data): Likewise.
31358 (remainder_tonearest_test_data): Likewise.
31359 (remainder_towardzero_test_data): Likewise.
31360 (remainder_downward_test_data): Likewise.
31361 (remainder_upward_test_data): Likewise.
31362 (remquo_test_data): Likewise.
31363 (rint_test_data): Likewise.
31364 (rint_tonearest_test_data): Likewise.
31365 (rint_towardzero_test_data): Likewise.
31366 (rint_downward_test_data): Likewise.
31367 (rint_upward_test_data): Likewise.
31368 (round_test_data): Likewise.
31369 (scalb_test_data): Likewise.
31370 (scalbn_test_data): Likewise.
31371 (scalbln_test_data): Likewise.
31372 (signbit_test_data): Likewise.
31373 (sin_test_data): Likewise.
31374 (sin_tonearest_test_data): Likewise.
31375 (sin_towardzero_test_data): Likewise.
31376 (sin_downward_test_data): Likewise.
31377 (sin_upward_test_data): Likewise.
31378 (sincos_test_data): Likewise.
31379 (sinh_test_data): Likewise.
31380 (sinh_tonearest_test_data): Likewise.
31381 (sinh_towardzero_test_data): Likewise.
31382 (sinh_downward_test_data): Likewise.
31383 (sinh_upward_test_data): Likewise.
31384 (sqrt_test_data): Likewise.
31385 (tan_test_data): Likewise.
31386 (tan_tonearest_test_data): Likewise.
31387 (tan_towardzero_test_data): Likewise.
31388 (tan_downward_test_data): Likewise.
31389 (tan_upward_test_data): Likewise.
31390 (tanh_test_data): Likewise.
31391 (tgamma_test_data): Likewise.
31392 (trunc_test_data): Likewise.
31393 (y0_test_data): Likewise.
31394 (y1_test_data): Likewise.
31395 (yn_test_data): Likewise.
31396 (significand_test_data): Likewise.
31398 * math/gen-libm-test.pl (@functions): Remove variable.
31399 (generate_testfile): Don't handle START and END lines.
31400 * math/libm-test.inc (START): New macro.
31402 (END_COMPLEX): Likewise.
31403 (acos_test): Use END macro without arguments.
31404 (acos_test_tonearest): Likewise.
31405 (acos_test_towardzero): Likewise.
31406 (acos_test_downward): Likewise.
31407 (acos_test_upward): Likewise.
31408 (acosh_test): Likewise.
31409 (asin_test): Likewise.
31410 (asin_test_tonearest): Likewise.
31411 (asin_test_towardzero): Likewise.
31412 (asin_test_downward): Likewise.
31413 (asin_test_upward): Likewise.
31414 (asinh_test): Likewise.
31415 (atan_test): Likewise.
31416 (atanh_test): Likewise.
31417 (atan2_test): Likewise.
31418 (cabs_test): Likewise.
31419 (cacos_test): Use END_COMPLEX macro without arguments.
31420 (cacosh_test): Likewise.
31421 (carg_test): Use END macro without arguments.
31422 (casin_test): Use END_COMPLEX macro without arguments.
31423 (casinh_test): Likewise.
31424 (catan_test): Likewise.
31425 (catanh_test): Likewise.
31426 (cbrt_test): Use END macro without arguments.
31427 (ccos_test): Use END_COMPLEX macro without arguments.
31428 (ccosh_test): Likewise.
31429 (ceil_test): Use END macro without arguments.
31430 (cexp_test): Use END_COMPLEX macro without arguments.
31431 (cimag_test): Use END macro without arguments.
31432 (clog_test): Use END_COMPLEX macro without arguments.
31433 (clog10_test): Likewise.
31434 (conj_test): Likewise.
31435 (copysign_test): Use END macro without arguments.
31436 (cos_test): Likewise.
31437 (cos_test_tonearest): Likewise.
31438 (cos_test_towardzero): Likewise.
31439 (cos_test_downward): Likewise.
31440 (cos_test_upward): Likewise.
31441 (cosh_test): Likewise.
31442 (cosh_test_tonearest): Likewise.
31443 (cosh_test_towardzero): Likewise.
31444 (cosh_test_downward): Likewise.
31445 (cosh_test_upward): Likewise.
31446 (cpow_test): Use END_COMPLEX macro without arguments.
31447 (cproj_test): Likewise.
31448 (creal_test): Use END macro without arguments.
31449 (csin_test): Use END_COMPLEX macro without arguments.
31450 (csinh_test): Likewise.
31451 (csqrt_test): Likewise.
31452 (ctan_test): Likewise.
31453 (ctan_test_tonearest): Likewise.
31454 (ctan_test_towardzero): Likewise.
31455 (ctan_test_downward): Likewise.
31456 (ctan_test_upward): Likewise.
31457 (ctanh_test): Likewise.
31458 (ctanh_test_tonearest): Likewise.
31459 (ctanh_test_towardzero): Likewise.
31460 (ctanh_test_downward): Likewise.
31461 (ctanh_test_upward): Likewise.
31462 (erf_test): Use END macro without arguments.
31463 (erfc_test): Likewise.
31464 (exp_test): Likewise.
31465 (exp_test_tonearest): Likewise.
31466 (exp_test_towardzero): Likewise.
31467 (exp_test_downward): Likewise.
31468 (exp_test_upward): Likewise.
31469 (exp10_test): Likewise.
31470 (exp2_test): Likewise.
31471 (expm1_test): Likewise.
31472 (fabs_test): Likewise.
31473 (fdim_test): Likewise.
31474 (finite_test): Likewise.
31475 (floor_test): Likewise.
31476 (fma_test): Likewise.
31477 (fma_test_towardzero): Likewise.
31478 (fma_test_downward): Likewise.
31479 (fma_test_upward): Likewise.
31480 (fmax_test): Likewise.
31481 (fmin_test): Likewise.
31482 (fmod_test): Likewise.
31483 (fpclassify_test): Likewise.
31484 (frexp_test): Likewise.
31485 (gamma_test): Likewise.
31486 (hypot_test): Likewise.
31487 (ilogb_test): Likewise.
31488 (isfinite_test): Likewise.
31489 (isgreater_test): Likewise.
31490 (isgreaterequal_test): Likewise.
31491 (isinf_test): Likewise.
31492 (isless_test): Likewise.
31493 (islessequal_test): Likewise.
31494 (islessgreater_test): Likewise.
31495 (isnan_test): Likewise.
31496 (isnormal_test): Likewise.
31497 (issignaling_test): Likewise.
31498 (isunordered_test): Likewise.
31499 (j0_test): Likewise.
31500 (j1_test): Likewise.
31501 (jn_test): Likewise.
31502 (ldexp_test): Likewise.
31503 (lgamma_test): Likewise.
31504 (lrint_test): Likewise.
31505 (lrint_test_tonearest): Likewise.
31506 (lrint_test_towardzero): Likewise.
31507 (lrint_test_downward): Likewise.
31508 (lrint_test_upward): Likewise.
31509 (llrint_test): Likewise.
31510 (llrint_test_tonearest): Likewise.
31511 (llrint_test_towardzero): Likewise.
31512 (llrint_test_downward): Likewise.
31513 (llrint_test_upward): Likewise.
31514 (log_test): Likewise.
31515 (log10_test): Likewise.
31516 (log1p_test): Likewise.
31517 (log2_test): Likewise.
31518 (logb_test): Likewise.
31519 (logb_test_downward): Likewise.
31520 (lround_test): Likewise.
31521 (llround_test): Likewise.
31522 (modf_test): Likewise.
31523 (nearbyint_test): Likewise.
31524 (nextafter_test): Likewise.
31525 (nexttoward_test): Likewise.
31526 (pow_test): Likewise.
31527 (pow_test_tonearest): Likewise.
31528 (pow_test_towardzero): Likewise.
31529 (pow_test_downward): Likewise.
31530 (pow_test_upward): Likewise.
31531 (remainder_test): Likewise.
31532 (remainder_test_tonearest): Likewise.
31533 (remainder_test_towardzero): Likewise.
31534 (remainder_test_downward): Likewise.
31535 (remainder_test_upward): Likewise.
31536 (remquo_test): Likewise.
31537 (rint_test): Likewise.
31538 (rint_test_tonearest): Likewise.
31539 (rint_test_towardzero): Likewise.
31540 (rint_test_downward): Likewise.
31541 (rint_test_upward): Likewise.
31542 (round_test): Likewise.
31543 (scalb_test): Likewise.
31544 (scalbn_test): Likewise.
31545 (scalbln_test): Likewise.
31546 (signbit_test): Likewise.
31547 (sin_test): Likewise.
31548 (sin_test_tonearest): Likewise.
31549 (sin_test_towardzero): Likewise.
31550 (sin_test_downward): Likewise.
31551 (sin_test_upward): Likewise.
31552 (sincos_test): Likewise.
31553 (sinh_test): Likewise.
31554 (sinh_test_tonearest): Likewise.
31555 (sinh_test_towardzero): Likewise.
31556 (sinh_test_downward): Likewise.
31557 (sinh_test_upward): Likewise.
31558 (sqrt_test): Likewise.
31559 (tan_test): Likewise.
31560 (tan_test_tonearest): Likewise.
31561 (tan_test_towardzero): Likewise.
31562 (tan_test_downward): Likewise.
31563 (tan_test_upward): Likewise.
31564 (tanh_test): Likewise.
31565 (tgamma_test): Likewise.
31566 (trunc_test): Likewise.
31567 (y0_test): Likewise.
31568 (y1_test): Likewise.
31569 (yn_test): Likewise.
31570 (significand_test): Likewise.
31572 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
31575 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31577 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31580 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31581 __ppc_mdoio and __ppc_mdoom.
31582 * manual/platform.texi: Document new functions __ppc_yield,
31583 __ppc_mdoio and __ppc_mdoom.
31585 2013-05-22 Carlos O'Donell <carlos@redhat.com>
31587 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31588 (main): Mention "tls" pseudo-hwcap is legacy.
31589 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31591 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31593 * math/gen-libm-test.pl (parse_args): Output only string of
31594 arguments as text for test name, not full call or descriptions of
31595 tests for extra outputs.
31596 (generate_testfile): Do not pass function name to parse_args.
31597 Generate this_func variable from START.
31598 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31600 (struct test_ff_f_data): Likewise.
31601 (test_ff_f_data_nexttoward): Likewise.
31602 (struct test_fi_f_data): Likewise.
31603 (struct test_fl_f_data): Likewise.
31604 (struct test_if_f_data): Likewise.
31605 (struct test_fff_f_data): Likewise.
31606 (struct test_c_f_data): Likewise.
31607 (struct test_f_f1_data): Likewise. Remove field extra_name.
31608 (struct test_fF_f1_data): Likewise.
31609 (struct test_ffI_f1_data): Likewise.
31610 (struct test_c_c_data): Rename test_name field to arg_str.
31611 (struct test_cc_c_data): Likewise.
31612 (struct test_f_i_data): Likewise.
31613 (struct test_ff_i_data): Likewise.
31614 (struct test_f_l_data): Likewise.
31615 (struct test_f_L_data): Likewise.
31616 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31618 (COMMON_TEST_SETUP): New macro.
31619 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31620 (COMMON_TEST_CLEANUP): Likewise.
31621 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31622 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31624 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31625 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31627 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31628 (RUN_TEST_fff_f): Take argument string. Call new setup and
31630 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31631 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31633 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31634 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31636 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31637 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31639 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31640 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31642 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31643 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31645 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31646 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31648 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31649 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31651 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31652 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31654 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31655 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31657 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31658 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31660 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31661 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31663 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31664 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31666 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31667 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31669 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31670 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31672 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31673 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31675 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31677 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31679 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31680 to _sifields.sigfault.
31681 (si_addr_lsb): Define new macro.
31682 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31683 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31684 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31686 2013-05-03 Carlos O'Donell <carlos at redhat.com>
31689 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31691 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31693 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31694 loading the domain.
31696 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31698 * math/gen-libm-test.pl (parse_args): Do not include expected
31699 result in test name.
31700 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31701 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31702 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31703 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31704 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31707 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31709 * benchtests/Makefile: Sort function entries.
31711 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31712 tanh, asinh, acosh, atanh.
31713 * benchtests/acos-inputs: New file.
31714 * benchtests/acosh-inputs: New file.
31715 * benchtests/asin-inputs: New file.
31716 * benchtests/asinh-inputs: New file.
31717 * benchtests/atanh-inputs: New file.
31718 * benchtests/cosh-inputs: New file.
31719 * benchtests/log-inputs: New file.
31720 * benchtests/sinh-inputs: New file.
31721 * benchtests/tanh-inputs: New file.
31723 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31726 * posix/tst-getaddrinfo4.c: New test.
31727 * posix/Makefile (tests): Add it.
31729 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31732 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31733 when no services were used.
31734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31735 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31737 2013-05-21 Andreas Schwab <schwab@suse.de>
31740 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31741 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31743 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31744 redundant variable declarations and reallocation of buffer when
31745 parsing as IPv6 address. Always set NSS status when called from
31746 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31747 buffer too small. Correct computation of needed size.
31748 * nss/Makefile (tests): Add test-digits-dots.
31749 * nss/test-digits-dots.c: New test.
31751 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31753 * benchtests/Makefile: Remove instructions for adding
31755 * benchtests/README: New file to explain how to execute and
31756 enhance the benchmark tests.
31758 2013-05-21 Andreas Schwab <schwab@suse.de>
31761 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31762 * setjmp/tst-sigsetjmp.c: New test.
31764 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31766 * sysdeps/x86_64/memset.S (memset): New implementation.
31767 (__bzero): Likewise.
31768 (__memset_tail): New function.
31770 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31772 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31773 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31774 __memcpy_sse2_unaligned ifunc selection.
31775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31776 Add memcpy-sse2-unaligned.S.
31777 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31778 Add: __memcpy_sse2_unaligned.
31780 2013-05-19 Joseph Myers <joseph@codesourcery.com>
31783 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31784 math_force_eval before restoring floating-point envrionment.
31785 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31786 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31788 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31790 (__nearbyintl): Use math_force_eval before restoring
31791 floating-point environment.
31792 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31794 * math/gen-libm-test.pl (special_functions): Remove.
31795 (parse_args): Don't handle TEST_extra. Handle functions with no
31797 * math/libm-test.inc (struct test_sincos_data): Replace with
31798 struct test_fFF_11_data.
31799 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31800 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31801 (sincos_test_data): Change element type to struct
31802 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
31803 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31804 RUN_TEST_LOOP_sincos.
31805 * math/README.libm-test: Don't mention special handling of
31806 individual functions.
31807 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31808 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31809 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31810 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31811 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31814 * math/gen-libm-test.pl (get_variable): Remove function.
31815 (parse_args): Don't show pointer parameters to call in test
31816 names. Use "extra output N" in test names for extra outputs
31817 rather than naming variables.
31819 2013-05-18 Joseph Myers <joseph@codesourcery.com>
31822 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31823 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31824 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31826 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31828 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31831 * math/gen-libm-test.pl (@tests): Remove variable.
31832 ($count): Likewise.
31833 (new_test): Remove function.
31834 (show_exceptions): New function.
31835 (special_functions): Use show_exceptions instead of new_test.
31836 (parse_args): Likewise.
31837 (generate_testfile): Pass only function name in generated call to
31838 print_max_error or print_complex_max_error.
31839 (get_ulps): Do not handle complex tests specially.
31840 (output_test): Rename to ...
31841 (get_all_ulps_for_test): ... this. Return a string rather than
31842 printing to a file. Require ulps to be present.
31843 (output_ulps): Generate arrays rather than #defines.
31844 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31845 (struct ulp_data): New type.
31846 (BUILD_COMPLEX_ULP): Remove macro.
31847 (compare_ulp_data): New function.
31848 (find_ulps): Likewise.
31849 (find_test_ulps): Likewise.
31850 (find_function_ulps): Likewise.
31851 (find_complex_function_ulps): Likewise.
31852 (print_max_error): Determine allowed ulps using
31853 find_function_ulps.
31854 (print_complex_max_error): Determine allowed ulps using
31855 find_complex_function_ulps.
31856 (check_float_internal): Determine max ulps using find_test_ulps.
31857 (check_float): Do not take max_ulp parameter. Update call to
31858 check_float_internal.
31859 (check_complex): Likewise.
31860 (check_int): Do not take max_ulp parameter.
31861 (check_long): Likewise.
31862 (check_bool): Likewise.
31863 (check_longlong): Likewise.
31864 (struct test_f_f_data): Remove max_ulp field.
31865 (struct test_ff_f_data): Likewise.
31866 (struct test_ff_f_data_nexttoward): Likewise.
31867 (struct test_fi_f_data): Likewise.
31868 (struct test_fl_f_data): Likewise.
31869 (struct test_if_f_data): Likewise.
31870 (struct test_fff_f_data): Likewise.
31871 (struct test_c_f_data): Likewise.
31872 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31873 (struct test_fF_f1_data): Likewise.
31874 (struct test_ffI_f1_data): Likewise.
31875 (struct test_c_c_data): Remove max_ulp field.
31876 (struct test_cc_c_data): Likewise.
31877 (struct test_f_i_data): Likewise.
31878 (struct test_ff_i_data): Likewise.
31879 (struct test_f_l_data): Likewise.
31880 (struct test_f_L_data): Likewise.
31881 (struct test_sincos_data): Likewise.
31882 (RUN_TEST_f_f): Do not handle ulps.
31883 (RUN_TEST_LOOP_f_f): Likewise.
31884 (RUN_TEST_2_f): Likewise.
31885 (RUN_TEST_LOOP_2_f): Likewise.
31886 (RUN_TEST_fff_f): Likewise.
31887 (RUN_TEST_LOOP_fff_f): Likewise.
31888 (RUN_TEST_c_f): Likewise.
31889 (RUN_TEST_LOOP_c_f): Likewise.
31890 (RUN_TEST_f_f1): Likewise.
31891 (RUN_TEST_LOOP_f_f1): Likewise.
31892 (RUN_TEST_fF_f1): Likewise.
31893 (RUN_TEST_LOOP_fF_f1): Likewise.
31894 (RUN_TEST_fI_f1): Likewise.
31895 (RUN_TEST_LOOP_fI_f1): Likewise.
31896 (RUN_TEST_ffI_f1): Likewise.
31897 (RUN_TEST_LOOP_ffI_f1): Likewise.
31898 (RUN_TEST_c_c): Likewise.
31899 (RUN_TEST_LOOP_c_c): Likewise.
31900 (RUN_TEST_cc_c): Likewise.
31901 (RUN_TEST_LOOP_cc_c): Likewise.
31902 (RUN_TEST_f_i): Likewise.
31903 (RUN_TEST_LOOP_f_i): Likewise.
31904 (RUN_TEST_f_i_tg): Likewise.
31905 (RUN_TEST_LOOP_f_i_tg): Likewise.
31906 (RUN_TEST_ff_i_tg): Likewise.
31907 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31908 (RUN_TEST_f_b): Likewise.
31909 (RUN_TEST_LOOP_f_b): Likewise.
31910 (RUN_TEST_f_b_tg): Likewise.
31911 (RUN_TEST_LOOP_f_b_tg): Likewise.
31912 (RUN_TEST_f_l): Likewise.
31913 (RUN_TEST_LOOP_f_l): Likewise.
31914 (RUN_TEST_f_L): Likewise.
31915 (RUN_TEST_LOOP_f_L): Likewise.
31916 (RUN_TEST_sincos): Likewise.
31917 (RUN_TEST_LOOP_sincos): Likewise.
31919 2013-05-17 Joseph Myers <joseph@codesourcery.com>
31923 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31924 main case of finite arguments, set rounding mode to FE_TONEAREST
31925 and discard exceptions.
31926 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31928 (remainder_tonearest_test_data): New variable.
31929 (remainder_test_tonearest): New function.
31930 (remainder_towardzero_test_data): New variable.
31931 (remainder_test_towardzero): New function.
31932 (remainder_downward_test_data): New variable.
31933 (remainder_test_downward): New function.
31934 (remainder_upward_test_data): New variable.
31935 (remainder_test_upward): New function.
31936 (main): Call the new test functions.
31938 * math/libm-test.inc (struct test_f_f1_data): Remove field
31940 (struct test_fF_f1_data): Likewise.
31941 (struct test_ffI_f1_data): Likewise.
31942 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
31943 based on value of EXTRA_EXPECTED.
31944 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31945 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
31946 EXTRA_VAR based on value of EXTRA_EXPECTED.
31947 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31948 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
31949 EXTRA_VAR based on value of EXTRA_EXPECTED.
31950 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31951 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
31952 EXTRA_VAR based on value of EXTRA_EXPECTED.
31953 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31954 * math/gen-libm-test.pl (parse_args): Don't output initializers
31955 for extra output values.
31957 * math/libm-test.inc (check_int): Expect result to be exactly
31958 equal to expected value and do not handle ulps.
31959 (check_long): Likewise.
31960 (check_longlong): Likewise.
31962 * math/libm-test.inc (ceil_test_data): Test for "inexact"
31964 (cimag_test_data): Likewise.
31965 (conj_test_data): Likewise.
31966 (copysign_test_data): Likewise.
31967 (cproj_test_data): Likewise.
31968 (creal_test_data): Likewise.
31969 (fabs_test_data): Likewise.
31970 (fdim_test_data): Likewise.
31971 (finite_test_data): Likewise.
31972 (floor_test_data): Likewise.
31973 (fmax_test_data): Likewise.
31974 (fmin_test_data): Likewise.
31975 (fmod_test_data): Likewise.
31976 (fpclassify_test_data): Likewise.
31977 (frexp_test_data): Likewise.
31978 (ilogb_test_data): Likewise.
31979 (isfinite_test_data): Likewise.
31980 (isgreater_test_data): Likewise.
31981 (isgreaterequal_test_data): Likewise.
31982 (isinf_test_data): Likewise.
31983 (isless_test_data): Likewise.
31984 (islessequal_test_data): Likewise.
31985 (islessgreater_test_data): Likewise.
31986 (isnan_test_data): Likewise.
31987 (isnormal_test_data): Likewise.
31988 (issignaling_test_data): Likewise.
31989 (isunordered_test_data): Likewise.
31990 (ldexp_test_data): Likewise.
31991 (lrint_test_data): Likewise.
31992 (lrint_test_data) [TEST_FLOAT]: Disable one test.
31993 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31994 (lrint_tonearest_test_data): Test for "inexact" exceptions.
31995 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31996 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31997 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31999 (lrint_towardzero_test_data): Test for "inexact" exceptions.
32000 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32001 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32002 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32004 (lrint_downward_test_data): Test for "inexact" exceptions.
32005 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32006 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32007 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32009 (lrint_upward_test_data): Test for "inexact" exceptions.
32010 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32012 (llrint_test_data): Test for "inexact" exceptions.
32013 (llrint_test_data) [TEST_FLOAT]: Disable one test.
32014 (llrint_tonearest_test_data): Test for "inexact" exceptions.
32015 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32016 (llrint_towardzero_test_data): Test for "inexact" exceptions.
32017 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32018 (llrint_downward_test_data): Test for "inexact" exceptions.
32019 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32020 (llrint_upward_test_data): Test for "inexact" exceptions.
32021 (logb_test_data): Likewise.
32022 (logb_downward_test_data): Likewise.
32023 (nextafter_test_data): Likewise.
32024 (nexttoward_test_data): Likewise.
32025 (remainder_test_data): Likewise.
32026 (remquo_test_data): Likewise.
32027 (scalbn_test_data): Likewise.
32028 (scalbln_test_data): Likewise.
32029 (signbit_test_data): Likewise.
32030 (sqrt_test_data): Likewise.
32031 (significand_test_data): Likewise.
32033 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32036 * benchtests/bench-modf.c (struct args): Mark arg0 as
32038 * scripts/bench.pl: Mark members of struct args as volatile.
32040 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32043 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32044 negative infinity on POWER6 or lower.
32045 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32047 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32050 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32051 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32052 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32053 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32054 (_FP_SETQNAN): New macro.
32055 (_FP_SETQNAN_SEMIRAW): Likewise.
32056 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32057 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32058 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32059 (FP_EXTEND): Use _FP_FRAC_SNANP.
32060 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32061 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32063 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32065 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32068 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32070 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32071 with DIVIDE_BY_ZERO_EXCEPTION.
32072 (gamma_test_data): Likewise.
32073 (lgamma_test_data): Likewise.
32074 (log_test_data): Likewise.
32075 (log10_test_data): Likewise.
32076 (log2_test_data): Likewise.
32077 (tgamma_test_data): Likewise.
32079 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32080 (acos_test_tonearest): Likewise.
32081 (acos_test_towardzero): Likewise.
32082 (acos_test_downward): Likewise.
32083 (acos_test_upward): Likewise.
32084 (acosh_test): Likewise.
32085 (asin_test): Likewise.
32086 (asin_test_tonearest): Likewise.
32087 (asin_test_towardzero): Likewise.
32088 (asin_test_downward): Likewise.
32089 (asin_test_upward): Likewise.
32090 (asinh_test): Likewise.
32091 (atan_test): Likewise.
32092 (atanh_test): Likewise.
32093 (atan2_test): Likewise.
32094 (cabs_test): Likewise.
32095 (cacos_test): Likewise.
32096 (cacosh_test): Likewise.
32097 (casin_test): Likewise.
32098 (casinh_test): Likewise.
32099 (catan_test): Likewise.
32100 (catanh_test): Likewise.
32101 (cbrt_test): Likewise.
32102 (ccos_test): Likewise.
32103 (ccosh_test): Likewise.
32104 (cexp_test): Likewise.
32105 (clog_test): Likewise.
32106 (clog10_test): Likewise.
32107 (cos_test): Likewise.
32108 (cos_test_tonearest): Likewise.
32109 (cos_test_towardzero): Likewise.
32110 (cos_test_downward): Likewise.
32111 (cos_test_upward): Likewise.
32112 (cosh_test): Likewise.
32113 (cosh_test_tonearest): Likewise.
32114 (cosh_test_towardzero): Likewise.
32115 (cosh_test_downward): Likewise.
32116 (cosh_test_upward): Likewise.
32117 (cpow_test): Likewise.
32118 (csin_test): Likewise.
32119 (csinh_test): Likewise.
32120 (csqrt_test): Likewise.
32121 (ctan_test): Likewise.
32122 (ctan_test_tonearest): Likewise.
32123 (ctan_test_towardzero): Likewise.
32124 (ctan_test_downward): Likewise.
32125 (ctan_test_upward): Likewise.
32126 (ctanh_test): Likewise.
32127 (ctanh_test_tonearest): Likewise.
32128 (ctanh_test_towardzero): Likewise.
32129 (ctanh_test_downward): Likewise.
32130 (ctanh_test_upward): Likewise.
32131 (erf_test): Likewise.
32132 (erfc_test): Likewise.
32133 (exp_test): Likewise.
32134 (exp_test_tonearest): Likewise.
32135 (exp_test_towardzero): Likewise.
32136 (exp_test_downward): Likewise.
32137 (exp_test_upward): Likewise.
32138 (exp10_test): Likewise.
32139 (exp2_test): Likewise.
32140 (expm1_test): Likewise.
32141 (fmod_test): Likewise.
32142 (gamma_test): Likewise.
32143 (hypot_test): Likewise.
32144 (j0_test): Likewise.
32145 (j1_test): Likewise.
32146 (jn_test): Likewise.
32147 (lgamma_test): Likewise.
32148 (log_test): Likewise.
32149 (log10_test): Likewise.
32150 (log1p_test): Likewise.
32151 (log2_test): Likewise.
32152 (logb_test_downward): Likewise.
32153 (pow_test): Likewise.
32154 (pow_test_tonearest): Likewise.
32155 (pow_test_towardzero): Likewise.
32156 (pow_test_downward): Likewise.
32157 (pow_test_upward): Likewise.
32158 (remainder_test): Likewise.
32159 (remquo_test): Likewise.
32160 (sin_test): Likewise.
32161 (sin_test_tonearest): Likewise.
32162 (sin_test_towardzero): Likewise.
32163 (sin_test_downward): Likewise.
32164 (sin_test_upward): Likewise.
32165 (sincos_test): Likewise.
32166 (sinh_test): Likewise.
32167 (sinh_test_tonearest): Likewise.
32168 (sinh_test_towardzero): Likewise.
32169 (sinh_test_downward): Likewise.
32170 (sinh_test_upward): Likewise.
32171 (sqrt_test): Likewise.
32172 (tan_test): Likewise.
32173 (tan_test_tonearest): Likewise.
32174 (tan_test_towardzero): Likewise.
32175 (tan_test_downward): Likewise.
32176 (tan_test_upward): Likewise.
32177 (tanh_test): Likewise.
32178 (tgamma_test): Likewise.
32179 (y0_test): Likewise.
32180 (y1_test): Likewise.
32181 (yn_test): Likewise.
32183 * math/gen-libm-test.pl (adjust_arg): Remove function.
32184 (special_function): Remove argument $in_func. Only handle
32185 generating output for tables of tests, not inside functions.
32186 (parse_args): Likewise.
32187 (generate_testfile): Remove variable $in_func. Update call to
32189 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32190 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32191 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32192 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32193 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32194 (MAX_VALUE_INIT): Rename macro to max_value.
32195 (MIN_VALUE_INIT): Rename macro to min_value.
32196 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32197 (plus_zero): Remove variable.
32198 (minus_zero): Likewise.
32199 (plus_infty): Likewise.
32200 (minus_infty): Likewise.
32201 (qnan_value): Likewise.
32202 (max_value): Likewise.
32203 (min_value): Likewise.
32204 (min_subnorm_value): Likewise.
32206 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32208 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32209 uint64_t or uint32_t usage.
32210 * crypt/sha256-block.c: Likewise.
32211 * crypt/sha256-crypt.c: Likewise.
32212 * crypt/sha256.c: Likewise.
32213 * crypt/sha512-block.c: Likewise.
32214 * crypt/sha512-crypt.c: Likewise.
32215 * crypt/sha512.c: Likewise.
32216 * debug/backtrace-tst.c: Likewise.
32217 * debug/pcprofiledump.c: Likewise.
32218 * elf/cache.c: Likewise.
32219 * elf/dl-cache.c: Likewise.
32220 * elf/dl-misc.c: Likewise.
32221 * elf/dl-profile.c: Likewise.
32222 * elf/dl-support.c: Likewise.
32223 * elf/ldconfig.c: Likewise.
32224 * elf/sprof.c: Likewise.
32225 * iconv/dummy-repertoire.c: Likewise.
32226 * iconv/iconv_charmap.c: Likewise.
32227 * iconv/skeleton.c: Likewise.
32228 * iconvdata/8bit-generic.c: Likewise.
32229 * iconvdata/cp737.h: Likewise.
32230 * iconvdata/cp775.h: Likewise.
32231 * iconvdata/ibm1008.h: Likewise.
32232 * iconvdata/ibm1025.h: Likewise.
32233 * iconvdata/ibm1046.h: Likewise.
32234 * iconvdata/ibm1097.h: Likewise.
32235 * iconvdata/ibm1112.h: Likewise.
32236 * iconvdata/ibm1122.h: Likewise.
32237 * iconvdata/ibm1123.h: Likewise.
32238 * iconvdata/ibm1124.h: Likewise.
32239 * iconvdata/ibm1129.h: Likewise.
32240 * iconvdata/ibm1130.h: Likewise.
32241 * iconvdata/ibm1132.h: Likewise.
32242 * iconvdata/ibm1133.h: Likewise.
32243 * iconvdata/ibm1137.h: Likewise.
32244 * iconvdata/ibm1140.h: Likewise.
32245 * iconvdata/ibm1141.h: Likewise.
32246 * iconvdata/ibm1142.h: Likewise.
32247 * iconvdata/ibm1143.h: Likewise.
32248 * iconvdata/ibm1144.h: Likewise.
32249 * iconvdata/ibm1145.h: Likewise.
32250 * iconvdata/ibm1146.h: Likewise.
32251 * iconvdata/ibm1147.h: Likewise.
32252 * iconvdata/ibm1148.h: Likewise.
32253 * iconvdata/ibm1149.h: Likewise.
32254 * iconvdata/ibm1153.h: Likewise.
32255 * iconvdata/ibm1154.h: Likewise.
32256 * iconvdata/ibm1155.h: Likewise.
32257 * iconvdata/ibm1156.h: Likewise.
32258 * iconvdata/ibm1157.h: Likewise.
32259 * iconvdata/ibm1158.h: Likewise.
32260 * iconvdata/ibm1160.h: Likewise.
32261 * iconvdata/ibm1161.h: Likewise.
32262 * iconvdata/ibm1162.h: Likewise.
32263 * iconvdata/ibm1163.h: Likewise.
32264 * iconvdata/ibm1164.h: Likewise.
32265 * iconvdata/ibm1166.h: Likewise.
32266 * iconvdata/ibm1167.h: Likewise.
32267 * iconvdata/ibm12712.h: Likewise.
32268 * iconvdata/ibm1390.h: Likewise.
32269 * iconvdata/ibm1399.h: Likewise.
32270 * iconvdata/ibm16804.h: Likewise.
32271 * iconvdata/ibm4517.h: Likewise.
32272 * iconvdata/ibm4899.h: Likewise.
32273 * iconvdata/ibm4909.h: Likewise.
32274 * iconvdata/ibm4971.h: Likewise.
32275 * iconvdata/ibm5347.h: Likewise.
32276 * iconvdata/ibm803.h: Likewise.
32277 * iconvdata/ibm856.h: Likewise.
32278 * iconvdata/ibm901.h: Likewise.
32279 * iconvdata/ibm902.h: Likewise.
32280 * iconvdata/ibm9030.h: Likewise.
32281 * iconvdata/ibm9066.h: Likewise.
32282 * iconvdata/ibm921.h: Likewise.
32283 * iconvdata/ibm922.h: Likewise.
32284 * iconvdata/ibm9448.h: Likewise.
32285 * iconvdata/isiri-3342.h: Likewise.
32286 * iconvdata/jis0201.h: Likewise.
32287 * include/link.h: Likewise.
32288 * include/netdb.h: Likewise.
32289 * inet/check_native.c: Likewise.
32290 * inet/check_pf.c: Likewise.
32291 * inet/getipv4sourcefilter.c: Likewise.
32292 * inet/getnameinfo.c: Likewise.
32293 * inet/getsourcefilter.c: Likewise.
32294 * inet/htonl.c: Likewise.
32295 * inet/setipv4sourcefilter.c: Likewise.
32296 * inet/setsourcefilter.c: Likewise.
32297 * inet/test-inet6_opt.c: Likewise.
32298 * inet/tst-network.c: Likewise.
32299 * locale/C-collate.c: Likewise.
32300 * locale/C-ctype.c: Likewise.
32301 * locale/C-time.c: Likewise.
32302 * locale/C-translit.h: Likewise.
32303 * locale/loadarchive.c: Likewise.
32304 * locale/programs/3level.h: Likewise.
32305 * locale/programs/charmap.c: Likewise.
32306 * locale/programs/charmap.h: Likewise.
32307 * locale/programs/ld-address.c: Likewise.
32308 * locale/programs/ld-collate.c: Likewise.
32309 * locale/programs/ld-ctype.c: Likewise.
32310 * locale/programs/ld-identification.c: Likewise.
32311 * locale/programs/ld-measurement.c: Likewise.
32312 * locale/programs/ld-messages.c: Likewise.
32313 * locale/programs/ld-monetary.c: Likewise.
32314 * locale/programs/ld-name.c: Likewise.
32315 * locale/programs/ld-numeric.c: Likewise.
32316 * locale/programs/ld-paper.c: Likewise.
32317 * locale/programs/ld-telephone.c: Likewise.
32318 * locale/programs/ld-time.c: Likewise.
32319 * locale/programs/linereader.c: Likewise.
32320 * locale/programs/locale.c: Likewise.
32321 * locale/programs/locarchive.c: Likewise.
32322 * locale/programs/locfile.h: Likewise.
32323 * locale/programs/repertoire.c: Likewise.
32324 * locale/programs/simple-hash.c: Likewise.
32325 * locale/programs/simple-hash.h: Likewise.
32326 * malloc/memusage.c: Likewise.
32327 * malloc/memusagestat.c: Likewise.
32328 * nis/nis_defaults.c: Likewise.
32329 * nis/nis_hash.c: Likewise.
32330 * nis/nis_print.c: Likewise.
32331 * nis/nis_xdr.c: Likewise.
32332 * nscd/connections.c: Likewise.
32333 * nscd/hstcache.c: Likewise.
32334 * nscd/nscd_gethst_r.c: Likewise.
32335 * nscd/nscd_getserv_r.c: Likewise.
32336 * nscd/nscd_helper.c: Likewise.
32337 * nscd/servicescache.c: Likewise.
32338 * nss/makedb.c: Likewise.
32339 * nss/nss_db/db-XXX.c: Likewise.
32340 * nss/nss_db/db-initgroups.c: Likewise.
32341 * nss/nss_db/db-netgrp.c: Likewise.
32342 * nss/nss_files/files-network.c: Likewise.
32343 * nss/nss_files/files-parse.c: Likewise.
32344 * posix/bug-regex5.c: Likewise.
32345 * posix/fnmatch_loop.c: Likewise.
32346 * posix/regcomp.c: Likewise.
32347 * posix/regexec.c: Likewise.
32348 * posix/tst-rfc3484-2.c: Likewise.
32349 * posix/tst-rfc3484-3.c: Likewise.
32350 * posix/tst-rfc3484.c: Likewise.
32351 * resolv/nss_dns/dns-canon.c: Likewise.
32352 * resolv/nss_dns/dns-network.c: Likewise.
32353 * resolv/res_init.c: Likewise.
32354 * resolv/res_mkquery.c: Likewise.
32355 * resolv/tst-aton.c: Likewise.
32356 * stdlib/cxa_atexit.c: Likewise.
32357 * stdlib/cxa_finalize.c: Likewise.
32358 * stdlib/gen-fpioconst.c: Likewise.
32359 * stdlib/strtol_l.c: Likewise.
32360 * string/tst-endian.c: Likewise.
32361 * sunrpc/auth_des.c: Likewise.
32362 * sunrpc/clnt_udp.c: Likewise.
32363 * sunrpc/rtime.c: Likewise.
32364 * sunrpc/svcauth_des.c: Likewise.
32365 * sunrpc/xdr.c: Likewise.
32366 * sunrpc/xdr_intXX_t.c: Likewise.
32367 * sunrpc/xdr_rec.c: Likewise.
32368 * sysdeps/generic/ldconfig.h: Likewise.
32369 * sysdeps/generic/ldsodefs.h: Likewise.
32370 * sysdeps/generic/memusage.h: Likewise.
32371 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32372 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32373 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32374 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32375 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32376 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32377 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32378 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32379 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32380 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32381 * sysdeps/posix/getaddrinfo.c: Likewise.
32382 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32383 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32384 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32385 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32386 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32387 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32388 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32389 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32390 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32391 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32392 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32393 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32394 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32395 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32396 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32397 * sysdeps/x86_64/dl-tls.h: Likewise.
32398 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32399 * time/alt_digit.c: Likewise.
32400 * time/era.c: Likewise.
32401 * wcsmbs/tst-c16c32-1.c: Likewise.
32403 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32405 * math/libm-test.inc (struct test_sincos_data): New type.
32406 (RUN_TEST_LOOP_sincos): New macro.
32407 (sincos_test_data): New variable.
32408 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32410 2013-05-16 Richard Henderson <rth@redhat.com>
32412 * math/atest-exp2.c (LIMB64): New macro.
32413 (CONSTSZ): New macro.
32414 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32416 (print_mpn_fp): ... to function scope.
32417 (read_mpn_hex): Remove.
32418 (get_log2): Remove.
32419 (exp2_mpn): Use mp_log2.
32420 (main): Use mp_exp1.
32422 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32424 * math/libm-test.inc: Remove comment about not testing "inexact"
32426 (INEXACT_EXCEPTION): New macro.
32427 (NO_INEXACT_EXCEPTION): Likewise.
32428 (INVALID_EXCEPTION_OK): Update value.
32429 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32430 (OVERFLOW_EXCEPTION_OK): Likewise.
32431 (UNDERFLOW_EXCEPTION_OK): Likewise.
32432 (IGNORE_ZERO_INF_SIGN): Likewise.
32433 (ERRNO_UNCHANGED): Likewise.
32434 (ERRNO_EDOM): Likewise.
32435 (ERRNO_ERANGE): Likewise.
32436 (test_exceptions): Handle testing "inexact" exceptions.
32437 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32438 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32439 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32440 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32442 (rint_towardzero_test_data): Likewise.
32443 (rint_downward_test_data): Likewise.
32444 (rint_upward_test_data): Likewise.
32446 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32447 with OVERFLOW_EXCEPTION.
32448 (exp10_test_data): Likewise.
32449 (exp2_test_data): Likewise.
32450 (expm1_test_data): Likewise.
32451 (lgamma_test_data): Likewise.
32452 (pow_test_data): Likewise.
32453 (tgamma_test_data): Likewise.
32454 (yn_test_data): Remove duplicate test of overflow.
32456 * math/libm-test.inc (struct test_cc_c_data): New type.
32457 (RUN_TEST_LOOP_cc_c): New macro.
32458 (cpow_test_data): New variable.
32459 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32461 * math/libm-test.inc (struct test_f_L_data): New type.
32462 (RUN_TEST_LOOP_f_L): New macro.
32463 (llrint_test_data): New variable.
32464 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32465 (llrint_tonearest_test_data): New variable.
32466 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32467 (llrint_towardzero_test_data): New variable.
32468 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32469 (llrint_downward_test_data): New variable.
32470 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32471 (llrint_upward_test_data): New variable.
32472 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32473 (llround_test_data): New variable.
32474 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32476 2013-05-13 Peter Collingbourne <pcc@google.com>
32478 * math/atest-exp2.c (get_log2): Remove const attribute.
32480 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32482 * math/libm-test.inc (struct test_f_l_data): New type.
32483 (RUN_TEST_LOOP_f_l): New macro.
32484 (lrint_test_data): New variable.
32485 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32486 (lrint_tonearest_test_data): New variable.
32487 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32488 (lrint_towardzero_test_data): New variable.
32489 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32490 (lrint_downward_test_data): New variable.
32491 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32492 (lrint_upward_test_data): New variable.
32493 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32494 (lround_test_data): New variable.
32495 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32497 2013-05-15 Peter Collingbourne <pcc@google.com>
32499 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32500 (EXTRACT_WORDS64) Use where appropriate.
32501 (INSERT_WORDS64) Likewise.
32503 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32504 constraints with x constraints.
32505 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32507 * malloc/obstack.c (_obstack_compat): Add initializer.
32509 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32511 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32512 si_trapno and add si_addr_lsb to _sifields.sigfault.
32513 (si_trapno): Remove macro.
32514 (si_addr_lsb): Define new macro.
32515 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32517 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32519 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32520 instead of TEST_f_l.
32521 (llrint_test_tonearest): Likewise.
32522 (llrint_test_towardzero): Likewise.
32523 (llrint_test_downward): Likewise.
32524 (llrint_test_upward): Likewise.
32525 (llround_test): Likewise.
32527 * math/libm-test.inc (struct test_f_i_data): Add comment.
32528 (RUN_TEST_LOOP_f_b): New macro.
32529 (RUN_TEST_LOOP_f_b_tg): Likewise.
32530 (finite_test_data): New variable.
32531 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32532 (isfinite_test_data): New variable.
32533 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32534 (isinf_test_data): New variable.
32535 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32536 (isnan_test_data): New variable.
32537 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32538 (isnormal_test_data): New variable.
32539 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32540 (issignaling_test_data): New variable.
32541 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32542 (signbit_test_data): New variable.
32543 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32545 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32546 with INVALID_EXCEPTION.
32547 (acosh_test_data): Likewise.
32548 (asin_test_data): Likewise.
32549 (atanh_test_data): Likewise.
32550 (fmod_test_data): Likewise.
32551 (log_test_data): Likewise.
32552 (log10_test_data): Likewise.
32553 (log2_test_data): Likewise.
32554 (pow_test_data): Likewise.
32555 (sqrt_test_data): Likewise.
32556 (y0_test_data): Likewise.
32557 (y1_test_data): Likewise.
32558 (yn_test_data): Likewise.
32560 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32563 * math/libm-test.inc (struct test_ff_i_data): New type.
32564 (RUN_TEST_LOOP_ff_i_tg): New macro.
32565 (isgreater_test_data): New variable.
32566 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32567 (isgreaterequal_test_data): New variable.
32568 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32569 (isless_test_data): New variable.
32570 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32571 (islessequal_test_data): New variable.
32572 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32573 (islessgreater_test_data): New variable.
32574 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32575 (isunordered_test_data): New variable.
32576 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32578 2013-05-14 David S. Miller <davem@davemloft.net>
32580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32582 2013-05-14 Joseph Myers <joseph@codesourcery.com>
32584 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32586 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32588 (struct test_f_i_data): Change type of max_ulp to int.
32590 * math/libm-test.inc (test_ffI_f1_data): New type.
32591 (RUN_TEST_LOOP_ffI_f1): New macro.
32592 (remquo_test_data): New variable.
32593 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32595 * setjmp/tst-setjmp-fp.c: New file.
32596 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32597 (link-libm): New variable.
32598 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32600 * math/libm-test.inc (struct test_f_i_data): New type.
32601 (RUN_TEST_LOOP_f_i): New macro.
32602 (RUN_TEST_LOOP_f_i_tg): Likewise.
32603 (fpclassify_test_data): New variable.
32604 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32605 (ilogb_test_data): New variable.
32606 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32608 * math/libm-test.inc (scalbln_test): Correct function name in END
32611 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32612 (RUN_TEST_LOOP_fI_f1): New macro.
32613 (frexp_test_data): New variable.
32614 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32616 * math/libm-test.inc (struct test_fF_f1_data): New type.
32617 (RUN_TEST_LOOP_fF_f1): New macro.
32618 (modf_test_data): New variable.
32619 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32621 * math/libm-test.inc (struct test_f_f1_data): New type.
32622 (RUN_TEST_LOOP_f_f1): New macro.
32623 (gamma_test_data): New variable.
32624 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32625 (lgamma_test_data): New variable.
32626 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32628 2013-05-13 Carlos O'Donell <carlos@redhat.com>
32630 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32631 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32632 (main): Comment "tls" pseudo-hwcap.
32634 2013-05-13 Joseph Myers <joseph@codesourcery.com>
32636 * math/libm-test.inc (struct test_fl_f_data): New type.
32637 (RUN_TEST_LOOP_fl_f): New variable.
32638 (scalbln_test_data): New variable.
32639 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32641 * math/libm-test.inc (struct test_fi_f_data): New type.
32642 (RUN_TEST_LOOP_fi_f): New macro.
32643 (ldexp_test_data): New variable.
32644 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32645 (scalbn_test_data): New variable.
32646 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32648 * math/libm-test.inc (struct test_c_f_data): New type.
32649 (RUN_TEST_LOOP_c_f): New macro.
32650 (cabs_test_data): New variable.
32651 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32652 (carg_test_data): New variable.
32653 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32654 (cimag_test_data): New variable.
32655 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32656 (creal_test_data): New variable.
32657 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32659 * math/libm-test.inc (struct test_if_f_data): New type.
32660 (RUN_TEST_LOOP_if_f): New macro.
32661 (jn_test_data): New variable.
32662 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32663 (yn_test_data): New variable.
32664 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32666 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32668 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32670 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32671 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32673 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32675 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32676 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32677 (bench-deps): Add bench-timing.h.
32678 * benchtests-bench-skeleton.c: Include bench-timing.h.
32679 (main): Use TIMING_* macros instead of clock_gettime.
32680 * benchtests/bench-timing.h: New file.
32683 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32684 Renamed from _LIB_VERSION.
32685 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32687 2013-05-12 Joseph Myers <joseph@codesourcery.com>
32689 * math/libm-test.inc (struct test_fff_f_data): New type.
32690 (RUN_TEST_LOOP_fff_f): New macro.
32691 (fma_test_data): New variable.
32692 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32693 (fma_towardzero_test_data): New variable.
32694 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32695 (fma_downward_test_data): New variable.
32696 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32697 (fma_upward_test_data): New variable.
32698 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32700 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32701 (struct test_c_c_data): New type.
32702 (RUN_TEST_LOOP_c_c): New macro.
32703 (cacos_test_data): New variable.
32704 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32705 (cacosh_test_data): New variable.
32706 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32707 (casin_test_data): New variable.
32708 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32709 (casinh_test_data): New variable.
32710 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32711 (catan_test_data): New variable.
32712 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32713 (catanh_test_data): New variable.
32714 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32715 (ccos_test_data): New variable.
32716 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32717 (ccosh_test_data): New variable.
32718 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32719 (cexp_test_data): New variable.
32720 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32721 (clog_test_data): New variable.
32722 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32723 (clog10_test_data): New variable.
32724 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32725 (conj_test_data): New variable.
32726 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32727 (cproj_test_data): New variable.
32728 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32729 (csin_test_data): New variable.
32730 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32731 (csinh_test_data): New variable.
32732 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32733 (csqrt_test_data): New variable.
32734 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32735 (ctan_test_data): New variable.
32736 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32737 (ctan_tonearest_test_data): New variable.
32738 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32739 (ctan_towardzero_test_data): New variable.
32740 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32741 (ctan_downward_test_data): New variable.
32742 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32743 (ctan_upward_test_data): New variable.
32744 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32745 (ctanh_test_data): New variable.
32746 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32747 (ctanh_tonearest_test_data): New variable.
32748 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32749 (ctanh_towardzero_test_data): New variable.
32750 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32751 (ctanh_downward_test_data): New variable.
32752 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32753 (ctanh_upward_test_data): New variable.
32754 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32755 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32758 * math/libm-test.inc (struct test_ff_f_data): New type.
32759 (struct test_ff_f_data_nexttoward): Likewise.
32760 (RUN_TEST_LOOP_2_f): New macro.
32761 (RUN_TEST_LOOP_ff_f): Likewise.
32762 (atan2_test_data): New variable.
32763 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32764 (copysign_test_data): New variable.
32765 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32766 (fdim_test_data): New variable.
32767 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32768 (fmax_test_data): New variable.
32769 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32770 (fmin_test_data): New variable.
32771 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32772 (fmod_test_data): New variable.
32773 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32774 (hypot_test_data): New variable.
32775 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32776 (nextafter_test_data): New variable.
32777 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32778 (nexttoward_test_data): New variable.
32779 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32780 (pow_test_data): New variable.
32781 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32782 (pow_tonearest_test_data): New variable.
32783 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32784 (pow_towardzero_test_data): New variable.
32785 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32786 (pow_downward_test_data): New variable.
32787 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32788 (pow_upward_test_data): New variable.
32789 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32790 (remainder_test_data): New variable.
32791 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32792 (scalb_test_data): New variable.
32793 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32794 * sysdeps/i386/fpu/libm-test-ulps: Update.
32796 2013-05-11 Joseph Myers <joseph@codesourcery.com>
32798 * math/libm-test.inc (fma_test): Use max_value instead of local
32800 (nextafter_test): Likewise.
32802 * math/libm-test.inc (acos_towardzero_test_data): New variable.
32803 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32804 (acos_downward_test_data): New variable.
32805 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32806 (acos_upward_test_data): New variable.
32807 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32808 (acosh_test_data): New variable.
32809 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32810 (asin_test_data): New variable.
32811 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32812 (asin_tonearest_test_data): New variable.
32813 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32814 (asin_towardzero_test_data): New variable.
32815 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32816 (asin_downward_test_data): New variable.
32817 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32818 (asin_upward_test_data): New variable.
32819 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32820 (asinh_test_data): New variable.
32821 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32822 (atan_test_data): New variable.
32823 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32824 (atanh_test_data): New variable.
32825 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32826 (cbrt_test_data): New variable.
32827 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32828 (ceil_test_data): New variable.
32829 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32830 (cos_test_data): New variable.
32831 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32832 (cos_tonearest_test_data): New variable.
32833 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32834 (cos_towardzero_test_data): New variable.
32835 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32836 (cos_downward_test_data): New variable.
32837 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32838 (cos_upward_test_data): New variable.
32839 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32840 (cosh_test_data): New variable.
32841 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32842 (cosh_tonearest_test_data): New variable.
32843 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32844 (cosh_towardzero_test_data): New variable.
32845 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32846 (cosh_downward_test_data): New variable.
32847 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32848 (cosh_upward_test_data): New variable.
32849 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32850 (erf_test_data): New variable.
32851 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32852 (erfc_test_data): New variable.
32853 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32854 (exp_test_data): New variable.
32855 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32856 (exp_tonearest_test_data): New variable.
32857 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32858 (exp_towardzero_test_data): New variable.
32859 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32860 (exp_downward_test_data): New variable.
32861 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32862 (exp_upward_test_data): New variable.
32863 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32864 (exp10_test_data): New variable.
32865 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32866 (exp2_test_data): New variable.
32867 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32868 (expm1_test_data): New variable.
32869 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32870 (fabs_test_data): New variable.
32871 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32872 (floor_test_data): New variable.
32873 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32874 (j0_test_data): New variable.
32875 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32876 (j1_test_data): New variable.
32877 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32878 (log_test_data): New variable.
32879 (log_test): Run tests with RUN_TEST_LOOP_f_f.
32880 (log10_test_data): New variable.
32881 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32882 (log1p_test_data): New variable.
32883 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32884 (log2_test_data): New variable.
32885 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32886 (logb_test_data): New variable.
32887 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32888 (logb_downward_test_data): New variable.
32889 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32890 (nearbyint_test_data): New variable.
32891 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32892 (rint_test_data): New variable.
32893 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32894 (rint_tonearest_test_data): New variable.
32895 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32896 (rint_towardzero_test_data): New variable.
32897 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32898 (rint_downward_test_data): New variable.
32899 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32900 (rint_upward_test_data): New variable.
32901 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32902 (round_test_data): New variable.
32903 (round_test): Run tests with RUN_TEST_LOOP_f_f.
32904 (sin_test_data): New variable.
32905 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32906 (sin_tonearest_test_data): New variable.
32907 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32908 (sin_towardzero_test_data): New variable.
32909 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32910 (sin_downward_test_data): New variable.
32911 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32912 (sin_upward_test_data): New variable.
32913 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32914 (sinh_test_data): New variable.
32915 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32916 (sinh_tonearest_test_data): New variable.
32917 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32918 (sinh_towardzero_test_data): New variable.
32919 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32920 (sinh_downward_test_data): New variable.
32921 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32922 (sinh_upward_test_data): New variable.
32923 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32924 (sqrt_test_data): New variable.
32925 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32926 (tan_test_data): New variable.
32927 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32928 (tan_tonearest_test_data): New variable.
32929 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32930 (tan_towardzero_test_data): New variable.
32931 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32932 (tan_downward_test_data): New variable.
32933 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32934 (tan_upward_test_data): New variable.
32935 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32936 (tanh_test_data): New variable.
32937 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32938 (tgamma_test_data): New variable.
32939 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32940 (trunc_test_data): New variable.
32941 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32942 (y0_test_data): New variable.
32943 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32944 (y1_test_data): New variable.
32945 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32946 (significand_test_data): New variable.
32947 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32949 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
32952 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32954 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
32956 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32958 2013-05-10 Andreas Jaeger <aj@suse.de>
32961 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32962 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32964 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32966 * math/gen-libm-test.pl (adjust_arg): New function.
32967 (special_functions): Handle generating output in both functions
32969 (parse_args): Likewise.
32970 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
32971 $in_func argument to parse_args.
32972 * math/libm-test.inc (struct test_f_f_data): New type.
32973 (IF_ROUND_INIT_): New macro.
32974 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32975 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32976 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32977 (IF_ROUND_INIT_FE_UPWARD): Likewise.
32978 (ROUND_RESTORE_): Likewise.
32979 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32980 (ROUND_RESTORE_FE_TONEAREST): Likewise.
32981 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32982 (ROUND_RESTORE_FE_UPWARD): Likewise.
32983 (RUN_TEST_LOOP_f_f): New macro.
32984 (acos_test_data): New variable.
32985 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32986 (acos_tonearest_test_data): New variable.
32987 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32989 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32991 * benchtests/bench-skeleton.c (startup): Fix coding style.
32993 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32996 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32997 negative infinity argument.
32998 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32999 negative infinity argument.
33000 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33001 negative infinity argument.
33002 * math/libm-test.inc (tgamma_test): Expect errno to be set for
33005 2013-05-10 Florian Weimer <fweimer@redhat.com>
33007 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33008 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33009 * iconv/iconv_prog.c (main): Likewise.
33010 * locale/programs/charmap-dir.c (charmap_readdir)
33011 (fopen_uncompressed): Likewise.
33012 * locale/programs/locfile.c (siblings_uncached)
33013 (write_locale_data): Use lstat64 instead of lstat.
33014 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33017 2013-05-10 Andreas Jaeger <aj@suse.de>
33020 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33022 Include <locale.h>.
33024 2013-05-09 Carlos O'Donell <carlos@redhat.com>
33026 * elf/dl-close.c (_dl_close_worker): Add comments.
33028 2013-05-09 Joseph Myers <joseph@codesourcery.com>
33031 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33033 (__ieee754_rem_pio2l): Update comments.
33036 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33038 (__ieee754_rem_pio2l): Update comments.
33040 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33041 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33043 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33046 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33047 (M_PI_34_LOG10El): Likewise.
33048 (M_PI2_LOG10El): Likewise.
33049 (M_PI4_LOG10El): Likewise.
33050 (M_PI_LOG10El): Likewise.
33052 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33056 2013-05-08 Joseph Myers <joseph@codesourcery.com>
33058 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33059 (MINUS_ZERO_INIT): Likewise.
33060 (PLUS_INFTY_INIT): Likewise.
33061 (MINUS_INFTY_INIT): Likewise.
33062 (QNAN_VALUE_INIT): Likewise.
33063 (MAX_VALUE_INIT): Likewise.
33064 (MIN_VALUE_INIT): Likewise.
33065 (MIN_SUBNORM_VALUE_INIT): Likewise.
33066 (plus_zero): Initialize with PLUS_ZERO_INIT.
33067 (minus_zero): Initialize with MINUS_ZERO_INIT.
33068 (plus_infty): Initialize with PLUS_INFTY_INIT.
33069 (minus_infty): Initialize with MINUS_INFTY_INIT.
33070 (qnan_value): Initialize with QNAN_VALUE_INIT.
33071 (max_value): Initialize with MAX_VALUE_INIT.
33072 (min_value): Initialize with MIN_VALUE_INIT.
33073 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33075 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33076 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33077 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33078 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33080 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33081 (RUN_TEST_2_f): Likewise.
33082 (RUN_TEST_ff_f): Likewise.
33083 (RUN_TEST_fi_f): Likewise.
33084 (RUN_TEST_fl_f): Likewise.
33085 (RUN_TEST_fff_f): Likewise.
33086 (RUN_TEST_c_f): Likewise.
33087 (RUN_TEST_f_f1): Likewise.
33088 (RUN_TEST_fF_f1): Likewise.
33089 (RUN_TEST_fI_f1): Likewise.
33090 (RUN_TEST_ffI_f1): Likewise.
33091 (RUN_TEST_c_c): Likewise.
33092 (RUN_TEST_cc_c): Likewise.
33093 (RUN_TEST_f_i): Likewise.
33094 (RUN_TEST_f_i_tg): Likewise.
33095 (RUN_TEST_ff_i_tg): Likewise.
33096 (RUN_TEST_f_b): Likewise.
33097 (RUN_TEST_f_b_tg): Likewise.
33098 (RUN_TEST_f_l): Likewise.
33099 (RUN_TEST_f_L): Likewise.
33100 (RUN_TEST_sincos): Likewise.
33101 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33102 whether to show exceptions. Do not include ");\n" in return
33104 (special_functions): Output call to RUN_TEST_sincos instead of
33105 check_float calls. Update calls to new_test.
33106 (parse_args): Output call to single RUN_TEST_* macro instead of
33107 check_* calls and other assignments. Update calls to new_test.
33113 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33114 input to result for tgamma overflow.
33115 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33116 (gamma_coeff): New variable.
33117 (NCOEFF): New macro.
33118 (gamma_positive): New function.
33119 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33120 underflow here. Use gamma_positive instead of exp (lgamma) for
33122 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33123 (gamma_coeff): New variable.
33124 (NCOEFF): New macro.
33125 (gammaf_positive): New function.
33126 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33127 underflow here. Use gamma_positive instead of exp (lgamma) for
33129 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33130 (gamma_coeff): New variable.
33131 (NCOEFF): New macro.
33132 (gammal_positive): New function.
33133 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33134 underflow here. Use gamma_positive instead of exp (lgamma) for
33136 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33137 (gamma_coeff): New variable.
33138 (NCOEFF): New macro.
33139 (gammal_positive): New function.
33140 (__ieee754_gammal_r): Handle positive infinity, overflow and
33141 underflow here. Handle NaN the same as positive infinity. Remove
33142 check x < 0xffffffff for negative integers. Use gamma_positive
33143 instead of exp (lgamma) for other arguments.
33144 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33145 (gamma_coeff): New variable.
33146 (NCOEFF): New macro.
33147 (gammal_positive): New function.
33148 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33149 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33150 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33152 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33153 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33154 * sysdeps/generic/math_private.h (__gamma_productf): New
33156 (__gamma_product): Likewise.
33157 (__gamma_productl): Likewise.
33158 * math/Makefile (libm-calls): Add gamma_product.
33159 * math/libm-test.inc (tgamma_test): Add more tests.
33160 * sysdeps/i386/fpu/libm-test-ulps: Update.
33161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33163 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
33165 * benchtests/bench-skeleton.c (main): Preheat CPU.
33167 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33169 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33171 2013-05-07 Roland McGrath <roland@hack.frob.com>
33173 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33174 and _dl_skip_args_internal.
33176 2013-05-07 Carlos O'Donell <carlos@redhat.com>
33178 * manual/message.texi (Message Translation): Talk about users.
33179 Message to key mapping impacts design.
33181 2013-05-06 Roland McGrath <roland@hack.frob.com>
33183 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33185 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33187 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33188 * sysdeps/wordsize-64/glob64.c: ... here.
33190 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33191 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33194 * debug/getlogin_r_chk.c: Moved to ...
33195 * login/getlogin_r_chk.c: ... here.
33196 * debug/Makefile (routines): Move getlogin_r_chk to ...
33197 * login/Makefile (routines): ... here.
33198 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33199 * login/Versions (libc: GLIBC_2.4): ... here.
33201 * io/poll.c (__poll): Renamed from poll.
33202 Add libc_hidden_def.
33203 (poll): Define as weak alias.
33205 * debug/ptsname_r_chk.c: Moved to ...
33206 * login/ptsname_r_chk.c: ... here.
33207 * debug/Makefile (routines): Move ptsname_r_chk to ...
33208 * login/Makefile (routines): ... here.
33209 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33210 * login/Versions (libc: GLIBC_2.4): ... here.
33212 * posix/getlogin.c: Moved to ...
33213 * login/getlogin.c: ... here.
33214 * posix/getlogin_r.c: Moved to ...
33215 * login/getlogin_r.c: ... here.
33216 * posix/getlogin_r.c: Moved to ...
33217 * login/getlogin_r.c: ... here.
33218 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33219 * login/Makefile (routines): ... here.
33220 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33221 * login/Versions (libc: GLIBC_2.0): ... here.
33223 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33224 (setrlimit): Define as weak alias.
33226 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33227 Call __ names for open, ftruncate, and close.
33228 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33229 (truncate): Define as weak alias.
33231 2013-05-06 Joseph Myers <joseph@codesourcery.com>
33233 * math/gen-libm-test.pl (parse_args): Initialize x before each
33234 test of frexp, modf and remquo.
33236 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33237 test signgam value.
33239 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33243 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33245 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33247 2013-05-06 Roland McGrath <roland@hack.frob.com>
33249 * elf/dl-writev.h: New file.
33250 * elf/dl-misc.c: Include it.
33251 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33252 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33254 2013-05-04 Joseph Myers <joseph@codesourcery.com>
33256 * math/libm-test.inc (noXFails): Remove variable.
33257 (noXPasses): Likewise.
33258 (BUILD_COMPLEX_INT): Remove macro.
33259 (print_screen): Remove xfail argument.
33260 (print_screen_max_error): Likewise.
33261 (update_stats): Likewise.
33262 (print_max_error): Likewise. Update calls to other affected
33264 (print_complex_max_error): Likewise.
33265 (test_single_exception): Update calls to print_screen.
33266 (test_single_errno): Likewise.
33267 (check_float_internal): Remove xfail argument. Update calls to
33268 other affected functions.
33269 (check_float): Likewise.
33270 (check_complex): Likewise.
33271 (check_int): Likewise.
33272 (check_long): Likewise.
33273 (check_bool): Likewise.
33274 (check_longlong): Likewise.
33275 (main): Don't print noXFails and noXPasses.
33276 * math/gen-libm-test.pl (top level): Don't mention expected
33277 failure handling in comment.
33278 (new_test): Don't handle expected failures.
33279 (parse_args): Don't mention expected failure handling in comment.
33280 (generate_testfile): Don't handle expected failures.
33281 (parse_ulps): Likewise.
33282 (print_ulps_file): Likewise.
33283 (get_failure): Remove function.
33284 (output_test): Don't handle expected failures.
33285 * make/README.libm-test: Don't mention expected failure handling.
33287 * math/libm-test.inc (plus_zero): Make const. Add initializer.
33288 (minus_zero): Likewise.
33289 (plus_infty): Likewise.
33290 (minus_infty): Likewise.
33291 (qnan_value): Likewise.
33292 (max_value): Likewise.
33293 (min_value): Likewise.
33294 (min_subnorm_value): Likewise.
33295 (initialize): Do not initialize those variables dynamically.
33297 2013-05-03 Roland McGrath <roland@hack.frob.com>
33299 * io/open.c (__open_2): Moved to ...
33300 * io/open_2.c: ... this new file.
33301 * io/open64.c (__open64_2): Moved to ...
33302 * io/open64_2.c: ... this new file.
33303 * io/openat.c (__openat_2): Moved to ...
33304 * io/openat_2.c: ... this new file.
33305 * io/openat64.c (__openat64_2): Moved to ...
33306 * io/openat64_2.c: ... this new file.
33307 * io/Makefile (routines): Add them.
33308 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33309 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33310 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33311 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33312 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33313 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33314 (__openat64): Add hidden_ver.
33315 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33316 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33318 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33319 Separately conditionalize setting of GLRO(dl_sysinfo) so
33320 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33321 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33323 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33325 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33326 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33328 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33329 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33330 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33331 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33332 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33334 2013-05-03 Joseph Myers <joseph@codesourcery.com>
33336 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33337 test signgam value.
33339 * math/libm-test.inc (hypot_test): Do not use
33340 IGNORE_ZERO_INF_SIGN.
33342 2013-05-03 Andreas Jaeger <aj@suse.de>
33344 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33346 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33347 (PF_MAX): Adjust for VSOCK change.
33349 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33353 2013-05-02 Carlos O'Donell <carlos@redhat.com>
33356 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33357 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33358 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33360 2013-05-02 David S. Miller <davem@davemloft.net>
33362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33364 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
33366 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33368 2013-05-01 Roland McGrath <roland@hack.frob.com>
33370 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33372 2013-05-01 Richard Smith <richard@metafoo.co.uk>
33375 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33376 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33377 Use __attribute__ ((__gnu_inline__)).
33378 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33379 Don't use __attribute__ ((__gnu_inline__)).
33381 2013-05-01 Joseph Myers <joseph@codesourcery.com>
33384 * math/s_catan.c (__catan): Handle small real or imaginary part of
33385 input specially to avoid spurious underflow.
33386 * math/s_catanf.c (__catanf): Likewise.
33387 * math/s_catanh.c (__catanh): Likewise.
33388 * math/s_catanhf.c (__catanhf): Likewise.
33389 * math/s_catanhl.c (__catanhl): Likewise.
33390 * math/s_catanl.c (__catanl): Likewise.
33391 * math/libm-test.inc (catan_test): Add more tests.
33392 (catanh_test): Likewise.
33393 * sysdeps/i386/fpu/libm-test-ulps: Update.
33394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33396 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33400 2013-04-30 Joseph Myers <joseph@codesourcery.com>
33403 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33404 accurately for denominator in atan2.
33405 * math/s_catanf.c (__catanf): Likewise.
33406 * math/s_catanh.c (__catanh): Likewise.
33407 * math/s_catanhf.c (__catanhf): Likewise.
33408 * math/s_catanhl.c (__catanhl): Likewise.
33409 * math/s_catanl.c (__catanl): Likewise.
33410 * math/libm-test.inc (catan_test): Add more tests.
33411 (catanh_test): Likewise.
33412 * sysdeps/i386/fpu/libm-test-ulps: Update.
33413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33415 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33417 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33419 * benchtests/Makefile (bench): Remove slow benchmarks.
33420 * benchtests/atan-inputs: Add slow benchmark inputs.
33421 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33422 (BENCH_FUNC): Accept variant offset.
33424 * benchtests/bench-skeleton.c (main): Run benchmark for each
33426 * benchtests/cos-inputs: Add slow benchmark inputs.
33427 * benchtests/exp-inputs: Likewise.
33428 * benchtests/pow-inputs: Likewise.
33429 * benchtests/sin-inputs: Likewise.
33430 * benchtests/slowatan-inputs: Remove.
33431 * benchtests/slowatan.c: Remove.
33432 * benchtests/slowcos-inputs: Remove.
33433 * benchtests/slowcos.c: Remove.
33434 * benchtests/slowexp-inputs: Remove.
33435 * benchtests/slowexp.c: Remove.
33436 * benchtests/slowpow-inputs: Remove.
33437 * benchtests/slowpow.c: Remove.
33438 * benchtests/slowsin-inputs: Remove.
33439 * benchtests/slowsin.c: Remove.
33440 * benchtests/slowtan-inputs: Remove.
33441 * benchtests/slowtan.c: Remove.
33442 * benchtests/tan-inputs: Add slow benchmark inputs.
33443 * scripts/bench.pl: Parse comments and directives.
33445 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33447 ($(objpfx)bench-%.c): Remove *-ITER.
33448 * benchtests/bench-modf.c: Remove definition of ITER.
33449 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33450 (main): Loop for DURATION seconds instead of fixed number of
33452 * scripts/bench.pl: Don't expect iterations in parameters.
33454 2013-04-29 Roland McGrath <roland@hack.frob.com>
33456 * io/fchdir.c (__fchdir): Renamed from fchdir.
33457 (fchdir): Define as weak alias.
33459 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33461 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33462 (ERRNO_EDOM): Likewise.
33463 (ERRNO_ERANGE): Likewise.
33464 (noErrnoTests): New variable.
33465 (init_max_error): Set errno to 0.
33466 (test_single_errno): New function.
33467 (test_errno): Likewise.
33468 (check_float_internal): Call test_errno. Set errno to 0.
33469 (check_complex): Refer to errno tests in comment.
33470 (check_int): Call test_errno. Set errno to 0.
33471 (check_long): Likewise.
33472 (check_bool): Likewise.
33473 (check_longlong): Likewise.
33474 (cos_test): Use ERRNO_* flags for errno tests instead of
33476 (expm1_test): Likewise.
33477 (fmod_test): Likewise.
33478 (ilogb_test): Likewise.
33479 (lgamma_test): Likewise.
33480 (pow_test): Likewise.
33481 (remainder_test): Likewise.
33482 (sin_test): Likewise.
33483 (tan_test): Likewise.
33484 (yn_test): Likewise.
33485 (initialize): Set errno to 0.
33486 (main): Print number of errno tests.
33487 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33489 2013-04-29 Andreas Jaeger <aj@suse.de>
33492 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33496 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33497 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33501 * stdlib/random.c (__initstate): Return NULL if
33505 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33506 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33509 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33513 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33515 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33516 of individual tests.
33517 (casin_test): Likewise.
33518 (casinh_test): Likewise.
33520 2013-04-27 Joseph Myers <joseph@codesourcery.com>
33523 * math/s_catan.c (__catan): Handle arguments with large real or
33524 imaginary part separately without squaring.
33525 * math/s_catanf.c (__catanf): Likewise.
33526 * math/s_catanh.c (__catanh): Likewise.
33527 * math/s_catanhf.c (__catanhf): Likewise.
33528 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33530 (__catanhl): Handle arguments with large real or imaginary part
33531 separately without squaring.
33532 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33534 (__catanl): Handle arguments with large real or imaginary part
33535 separately without squaring.
33536 * math/libm-test.inc (catan_test): Add more tests.
33537 (catanh_test): Likewise.
33538 * sysdeps/i386/fpu/libm-test-ulps: Update.
33539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33541 2013-04-27 Andreas Jaeger <aj@suse.de>
33544 * stdlib/stdlib.h: Update guards for qecvt.
33545 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33548 2013-04-27 Allan McRae <allan@archlinux.org>
33550 * sysdeps/i386/fpu/libm-test-ulps: Update.
33552 2013-04-26 Joseph Myers <joseph@codesourcery.com>
33555 * math/s_catan.c: Include <float.h>.
33556 (__catan): Ensure underflow exception occurs for underflowed
33558 * math/s_catanf.c: Include <float.h>.
33559 (__catanf): Ensure underflow exception occurs for underflowed
33561 * math/s_catanh.c: Include <float.h>.
33562 (__catanh): Ensure underflow exception occurs for underflowed
33564 * math/s_catanhf.c: Include <float.h>.
33565 (__catanhf): Ensure underflow exception occurs for underflowed
33567 * math/s_catanhl.c: Include <float.h>.
33568 (__catanhl): Ensure underflow exception occurs for underflowed
33570 * math/s_catanl.c: Include <float.h>.
33571 (__catanl): Ensure underflow exception occurs for underflowed
33573 * math/libm-test.inc (catan_test): Add more tests.
33574 (catanh_test): Likewise.
33577 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33578 underflowed result.
33579 * math/s_ccoshf.c (__ccoshf): Likewise.
33580 * math/s_ccoshl.c (__ccoshl): Likewise.
33581 * math/s_csin.c (__csin): Likewise.
33582 * math/s_csinf.c (__csinf): Likewise.
33583 * math/s_csinh.c (__csinh): Likewise.
33584 * math/s_csinhf.c (__csinhf): Likewise.
33585 * math/s_csinhl.c (__csinhl): Likewise.
33586 * math/s_csinl.c (__csinl): Likewise.
33587 * math/libm-test.inc (ccos_test): Add more tests.
33588 (ccosh_test): Likewise.
33589 (csin_test): Likewise.
33590 (csinh_test): Likewise.
33592 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33594 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33595 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33596 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33597 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33598 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33599 powerpc/power5+/fpu folders.
33600 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33603 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33607 2013-04-25 Joseph Myers <joseph@codesourcery.com>
33609 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33610 additions to variable.
33611 [$(config-machine) = x86_64] (modules-names): Likewise.
33612 ($(objpfx)tst-audit3): Remove dependency.
33613 ($(objpfx)tst-audit3.out): Likewise.
33614 ($(objpfx)tst-audit4): Likewise.
33615 ($(objpfx)tst-audit4.out): Likewise.
33616 ($(objpfx)tst-audit5): Likewise.
33617 ($(objpfx)tst-audit5.out): Likewise.
33618 ($(objpfx)tst-audit6): Likewise.
33619 ($(objpfx)tst-audit6.out): Likewise.
33620 ($(objpfx)tst-audit7): Likewise.
33621 ($(objpfx)tst-audit7.out): Likewise.
33622 (tst-audit3-ENV): Remove variable.
33623 (tst-audit4-ENV): Likewise.
33624 (tst-audit5-ENV): Likewise.
33625 (tst-audit6-ENV): Likewise.
33626 (tst-audit7-ENV): Likewise.
33627 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33628 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33629 addition to variable.
33630 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33631 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33632 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33633 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33634 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33635 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33636 tst-audit3, tst-audit4 and tst-audit5.
33637 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33638 tst-audit6 and tst-audit7.
33639 [$(subdir) = elf] (modules-names): Add audit modules for those
33641 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33642 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33643 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33644 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33645 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33646 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33647 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33648 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33649 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33650 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33651 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33652 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33653 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33654 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33655 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33656 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33658 [$(subdir) = elf && $(config-cflags-avx) = yes]
33659 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33660 [$(subdir) = elf && $(config-cflags-avx) = yes]
33661 (CFLAGS-tst-auditmod4a.c): Likewise.
33662 [$(subdir) = elf && $(config-cflags-avx) = yes]
33663 (CFLAGS-tst-auditmod4b.c): Likewise.
33664 [$(subdir) = elf && $(config-cflags-avx) = yes]
33665 (CFLAGS-tst-auditmod6b.c): Likewise.
33666 [$(subdir) = elf && $(config-cflags-avx) = yes]
33667 (CFLAGS-tst-auditmod6c.c): Likewise.
33668 [$(subdir) = elf && $(config-cflags-avx) = yes]
33669 (CFLAGS-tst-auditmod7b.c): Likewise.
33670 * elf/tst-audit3.c: Move to ...
33671 * sysdeps/x86_64/tst-audit3.c: ... here.
33672 * elf/tst-audit4.c: Move to ...
33673 * sysdeps/x86_64/tst-audit4.c: ... here.
33674 * elf/tst-audit5.c: Move to ...
33675 * sysdeps/x86_64/tst-audit5.c: ... here.
33676 * elf/tst-audit6.c: Move to ...
33677 * sysdeps/x86_64/tst-audit6.c: ... here.
33678 * elf/tst-audit7.c: Move to ...
33679 * sysdeps/x86_64/tst-audit7.c: ... here.
33680 * elf/tst-auditmod3a.c: Move to ...
33681 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33682 * elf/tst-auditmod3b.c: Move to ...
33683 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33684 * elf/tst-auditmod4a.c: Move to ...
33685 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33686 * elf/tst-auditmod4b.c: Move to ...
33687 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33688 * elf/tst-auditmod5a.c: Move to ...
33689 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33690 * elf/tst-auditmod5b.c: Move to ...
33691 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33692 * elf/tst-auditmod6a.c: Move to ...
33693 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33694 * elf/tst-auditmod6b.c: Move to ...
33695 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33696 * elf/tst-auditmod6c.c: Move to ...
33697 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33698 * elf/tst-auditmod7a.c: Move to ...
33699 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33700 * elf/tst-auditmod7b.c: Move to ...
33701 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33703 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33706 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33707 define unconditionally.
33708 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33709 define unconditionally.
33710 (INT8_C, INT16_C, etc.): Likewise.
33712 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33714 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33715 __ehdr_start with hidden visibility.
33717 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33719 2013-04-24 Carlos O'Donell <carlos@redhat.com>
33721 * math/libm-test.inc (cos_test): Use accurate hex constants.
33722 (sincost_test): Likewise.
33724 2013-04-24 Joseph Myers <joseph@codesourcery.com>
33726 * math/libm-test.inc (catan_test): Add more tests.
33727 (catanh_test): Likewise.
33729 * math/s_catanf.c (__catanf): Use suffixed floating-point
33731 * math/s_catanhf.c (__catanhf): Likewise.
33732 * math/s_catanhl.c (__catanhl): Likewise.
33733 * math/s_catanl.c (__catanl): Likewise.
33736 * math/s_catan.c (__catan): Calculate imaginary part of result
33737 with log1p not log unless computing log of number close to 0.
33738 * math/s_catanf.c (__catanf): Likewise.
33739 * math/s_catanl.c (__catanl): Likewise.
33740 * math/s_catanh.c (__catanh): Calculate real part of result with
33741 log1p not log unless computing log of number close to 0.
33742 * math/s_catanhf.c (__catanhf): Likewise.
33743 * math/s_catanhl.c (__catanhl): Likewise.
33744 * math/libm-test.inc (catan_test): Add more tests.
33745 (catanh_test): Likewise.
33746 * sysdeps/i386/fpu/libm-test-ulps: Update.
33747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33749 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33751 * benchtests/Makefile: Mention files in which fast and slow
33752 paths of math functions are implemented.
33754 2013-04-23 Roland McGrath <roland@hack.frob.com>
33756 * sysdeps/posix/timespec_get.c: New file.
33758 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33760 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33762 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33764 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33765 powerpc/power5/fpu folders.
33766 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33767 * benchtests/Makefile: Add modf testcase.
33768 * benchtests/bench-modf.c: New file: Benchmark test for mo
33770 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33773 * time/Makefile (tests): Add tst-strptime-whitespace.
33774 * time/strptime_l.c (get_number): Use ISSPACE.
33775 (__strptime_internal): Likewise.
33776 * time/tst-strptime-whitespace.c: New test case.
33778 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33780 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33782 (_nss_files_init): Set it here.
33784 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33786 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33787 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33790 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33792 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33794 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33796 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33799 2013-04-21 David S. Miller <davem@davemloft.net>
33801 * po/ru.po: Update Russion translation from translation project.
33803 2013-04-17 Adam Conrad <adconrad@0c3.net>
33805 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33808 2013-04-17 Carlos O'Donell <carlos@redhat.com>
33810 * configure.in: Remove i386 configure warning. Remove i386 case.
33811 * configure: Regenerate.
33812 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33813 Add example to error message.
33814 * sysdeps/i386/configure: Regenerate.
33816 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33818 * benchtests/Makefile (bench): Add cos, tan, slowcos and
33820 * benchtests/cos-inputs: New file.
33821 * benchtests/slowcos-inputs: New file.
33822 * benchtests/slowcos.c: New file.
33823 * benchtests/slowtan-inputs: New file.
33824 * benchtests/slowtan.c: New file.
33825 * benchtests/tan-inputs: New file.
33827 2013-04-16 Roland McGrath <roland@hack.frob.com>
33829 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33832 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33834 * benchtests/Makefile: Include cppflags-iterator.mk to add
33835 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33837 * Makefile.in (bench-clean): New target.
33838 * benchtests/Makefile (bench-clean): Likewise.
33840 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
33842 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33844 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
33846 * stdio-common/tstdiomisc.c: Fix coding-style violation.
33848 2013-04-15 Andreas Schwab <schwab@suse.de>
33850 * nscd/grpcache.c (cache_addgr): Properly check for short write.
33851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33852 * nscd/pwdcache.c (cache_addpw): Likewise.
33853 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
33856 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33858 * benchtests/Makefile (bench): Write all output to
33859 bench-out.tmp together.
33861 2013-04-15 Andreas Schwab <schwab@suse.de>
33863 * nscd/nscd.c (main): Don't fork again after closing files.
33865 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33867 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33869 * benchtests/Rules (bench-deps): Collect dependencies into a
33870 single variable. Add Makefile to dependencies.
33871 ($(objpfx)bench-%.c): Depend on bench-deps.
33873 2013-04-12 Roland McGrath <roland@hack.frob.com>
33874 Xavier Roche <roche+kml2@exalead.com>
33877 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33878 just that it's a file descriptor.
33879 * manual/llio.texi (Synchronizing AIO Operations): Update description
33880 for EBADF error from aio_fsync.
33882 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33884 * Rules (bench): Move target definition...
33885 * benchtests/Makefile: ... here.
33887 2013-04-11 Carlos O'Donell <carlos@redhat.com>
33889 * math/libm-test.inc (cos_test): Fix PI/2 test.
33890 (sincos_test): Likewise.
33891 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33892 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33894 2013-04-11 Andreas Schwab <schwab@suse.de>
33897 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33898 accept exponent character only when digits were seen.
33899 * stdio-common/Makefile (tests): Add bug26.
33900 * stdio-common/bug26.c: New file.
33903 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33906 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33908 * Makeconfig (rtld-prefix): Define built linker prefix.
33909 * Rules (run-bench): Use it.
33910 * math/Makefile (run-regen-ulps): Likewise.
33912 * Rules (bench): Remove eval.
33914 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33915 Roland McGrath <roland@hack.frob.com>
33916 Ondrej Bilka <neleai@seznam.cz>
33919 * time/getdate.c: Include ctype.h and alloca.h.
33920 (__getdate_r): Trim leading and trailing spaces of input.
33921 * time/tst-getdate.c (tests): Add tests with leading and
33924 2013-04-08 Roland McGrath <roland@hack.frob.com>
33927 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33928 when computing value.
33930 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33932 * math/README.libm-test (How can I generate "libm-test-ulps"?):
33933 Use testrun.sh to run libm tests.
33936 * elf/dl-open.c (dl_open_worker): memset all of seen array.
33938 2013-04-06 Marko Myllynen <myllynen@redhat.com>
33941 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33943 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33945 * Makefile.in (regen-ulps): New target.
33946 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33947 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33948 [ifneq (no,$(PERL)] (regen-ulps): New target.
33949 [ifeq (no,$(PERL)] (regen-ulps): New target.
33950 * math/libm-test.inc (ulps_file_name): Define.
33951 (output_dir): New variable.
33952 (options): Add "output-dir" option.
33953 (parse_opt): Handle 'o' case.
33954 (main): If output_dir is non-NULL use it as a prefix
33956 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33958 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33960 [BZ #10060, #10062]
33961 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33962 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33963 fail configure if __sync_val_compare_and_swap is not inlined.
33964 * sysdeps/i386/configure: Regenerate.
33965 * configure.in: Build for i686 when configured for i386.
33966 * configure: Regenerate.
33967 * README: Remove i386 reference.
33969 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33971 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33972 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33974 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
33976 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33977 (lmsnanval): New variables.
33978 (F): Add conversion tests.
33979 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33980 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33982 * stdio-common/tstdiomisc.c (F): Properly collect individual
33985 [BZ #14686, #15336]
33986 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33987 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33988 Instead, use input NaN values or generate a qNaN by arithmetic
33989 operation. Also fix bugs to comply with the standard.
33990 * math/libm-test.inc (remainder_test): Add more tests.
33992 [BZ #15335, #15342]
33993 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33995 input NaN values or generate a qNaN by arithmetic operation.
33997 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34000 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34003 2013-04-03 Joseph Myers <joseph@codesourcery.com>
34006 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34007 underflowed result.
34008 * math/s_cexpf.c (__cexpf): Likewise.
34009 * math/s_cexpl.c (__cexpl): Likewise.
34010 * math/libm-test.inc (cexp_test): Add more tests.
34012 2013-04-03 Andreas Schwab <schwab@suse.de>
34015 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34016 order arrays from heap if bigger than alloca cutoff.
34018 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
34020 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34021 (SNAN_TESTS_double): Refer to GCC PR56831.
34022 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34025 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34027 * Rules (bench): Move bench.out after the run is complete.
34029 * Rules (bench): Echo currently running benchmark.
34031 * benchtests/Makefile (bench): Add atan and slowatan.
34032 * benchtests/atan-inputs: New file.
34033 * benchtests/slowatan-inputs: New file.
34034 * benchtests/slowatan.c: New file.
34036 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34037 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34041 * sysdeps/unix/sysv/linux/kernel-features.h
34042 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34043 __ASSUME_XFS_RESTRICTED_CHOWN.
34044 * sysdeps/unix/sysv/linux/pathconf.c
34045 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34046 Save and restore errno.
34048 2013-04-02 Joseph Myers <joseph@codesourcery.com>
34051 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34052 arguments using __kernel_casinh.
34053 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34054 arguments using __kernel_casinhf.
34055 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34056 arguments using __kernel_casinhl.
34057 * math/libm-test.inc (cacosh_test): Add more tests.
34058 * sysdeps/i386/fpu/libm-test-ulps: Update.
34059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34061 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34063 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34066 * bench/Makefile (bench): Add sin and slowsin.
34067 * benchtests/sin-inputs: New file.
34068 * benchtests/slowsin-inputs: New file.
34069 * benchtests/slowsin.c: New file.
34071 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34072 (bench): Add slowexp and slowpow.
34073 (exp-ITER): Increase iterations.
34074 (pow-ITER): Likewise.
34075 * benchtests/exp-inputs: Change input.
34076 * benchtests/pow-inputs: Likewise.
34077 * benchtests/slowexp-inputs: New file.
34078 * benchtests/slowexp.c: New file.
34079 * benchtests/slowpow-inputs: New file.
34080 * benchtests/slowpow.c: New file.
34082 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34084 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34086 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34087 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34088 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34089 * benchtests/Makefile: Add rint benchtest.
34090 * benchtests/rint-inputs: Input for rint benchtest.
34092 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34094 * Versions.def (libm): Add GLIBC_2.18.
34095 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34096 hidden libm prototypes.
34097 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34098 * math/Makefile (libm-calls): Add s_issignaling.
34099 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34100 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34101 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34103 * math/math.h [__USE_GNU] (issignaling): New macro.
34104 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34105 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34106 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34107 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34108 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34109 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34110 * manual/arith.texi (issignaling): New section.
34111 * manual/libm-err-tab.pl (@all_functions): Update comment.
34112 * math/gen-libm-test.pl (parse_args): Apply special handling for
34114 * math/libm-test.inc (print_float, issignaling_test): New
34116 (check_float_internal): Add issignaling checks.
34117 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34118 default definition.
34119 * sysdeps/powerpc/math-tests.h: New file.
34120 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34122 * math/test-snan.c (TEST_FUNC): Likewise.
34124 2013-03-30 David S. Miller <davem@davemloft.net>
34126 * po/de.po: Update from translation team.
34128 2013-03-30 Joseph Myers <joseph@codesourcery.com>
34131 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34132 imaginary part less than 1.0 and real part less than 0.5
34134 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34135 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34136 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34137 (cacos_test): Add more tests.
34138 (casin_test): Likewise.
34139 (casinh_test): Likewise.
34140 * sysdeps/i386/fpu/libm-test-ulps: Update.
34141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34143 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34145 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34146 ONE with its value.
34148 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34149 (__pow_mp): Replace ONE and MONE with their values.
34150 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34151 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34152 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34153 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34154 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34155 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34157 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34159 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34160 (__pow_mp): Replace ZERO and MZERO with their values.
34161 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34162 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34163 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34164 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34165 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34166 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34169 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34171 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34173 2013-03-28 Roland McGrath <roland@hack.frob.com>
34175 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34176 Declare with __attribute__ ((weak)).
34177 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34178 Call __call_tls_dtors only if it's not NULL.
34180 2013-03-28 Roland McGrath <roland@hack.frob.com>
34182 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34183 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34184 magic __ehdr_start linker symbol if it's defined.
34185 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34186 them up here if it was already done.
34188 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34189 (_dl_aux_init): Use const in cast when setting it.
34190 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34191 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34192 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34194 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34196 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34197 * csu/libc-tls.c: Nor here.
34198 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34200 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34201 (__libc_message): Never call vsyslog.
34203 2013-03-28 Alan Modra <amodra@gmail.com>
34205 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34207 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34210 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34213 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34217 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34220 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34221 Don't add gid passed as argument.
34223 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34225 2013-03-27 Joseph Myers <joseph@codesourcery.com>
34228 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34229 imaginary part between 1.0 and 1.5 and real part less than 0.5
34231 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34232 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34233 * math/libm-test.inc (cacos_test): Add more tests.
34234 (casin_test): Likewise.
34235 (casinh_test): Likewise.
34236 * sysdeps/i386/fpu/libm-test-ulps: Update.
34237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34239 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34241 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34244 (denorm): Likewise.
34245 (__dbl_mp): Likewise.
34246 (add_magnitudes): Likewise.
34247 (sub_magnitudes): Likewise.
34255 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34257 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34258 (__dubcos): Likewise.
34259 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34260 (__ieee754_acos): Likewise.
34261 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34262 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34263 (__exp1): Likewise.
34264 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34265 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34267 (my_log2): Likewise.
34268 (checkint): Likewise.
34269 * sysdeps/ieee754/dbl-64/e_remainder.c
34270 (__ieee754_remainder): Likewise.
34271 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34272 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34273 (bsloww): Likewise.
34274 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34276 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34277 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34278 MANTISSA_STORE_T to store computations on mantissa. Use
34279 macros for rounding and division.
34280 (denorm): Likewise.
34281 (__dbl_mp): Likewise.
34282 (add_magnitudes): Likewise.
34283 (sub_magnitudes): Likewise.
34286 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34287 powers of two in terms of TWOPOW macro.
34288 (mp_no): Make type of mantissa as MANTISSA_T.
34289 [!RADIXI]: Define RADIXI.
34290 [!TWO52]: Define TWO52.
34291 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34293 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34295 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34296 llroundl symbol when building for PPC32.
34298 2013-03-24 Mark H Weaver <mhw@netris.org>
34300 * manual/arith.texi (Normalization Functions): Fix prototypes for
34301 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34303 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34306 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34307 high value to check if expl overflow.
34308 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34309 to check for underflow and overflow.
34310 * math/libm-test.inc: Add exp test.
34312 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34315 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34318 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34320 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34323 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34325 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34326 wrap blocks consisting of several statements.
34328 * sysdeps/generic/math-tests.h: New file.
34329 * sysdeps/i386/fpu/math-tests.h: Likewise.
34330 * math/test-snan.c: Include it.
34331 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34333 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34336 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34337 (__ieee754_j0l): Do not improve calculations using cos of twice
34338 input for inputs above LDBL_MAX / 2.0L.
34339 (__ieee754_y0l): Likewise.
34340 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34341 (__ieee754_j1l): Do not improve calculations using cos of twice
34342 input for inputs above LDBL_MAX / 2.0L.
34343 (__ieee754_y1l): Likewise.
34344 * math/libm-test.inc (j0_test): Add another test.
34345 (j1_test): Likewise.
34346 (y0_test): Likewise.
34347 (y1_test): Likewise.
34348 * sysdeps/i386/fpu/libm-test-ulps: Update.
34350 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34352 * Rules ($(objpfx)bench-%.c): Include code from a C source
34355 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34358 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34359 imaginary part 1.0 and real part less than 0.5 specially.
34360 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34361 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34362 * math/libm-test.inc (cacos_test): Add more tests.
34363 (casin_test): Likewise.
34364 (casinh_test): Likewise.
34365 * sysdeps/i386/fpu/libm-test-ulps: Update.
34366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34368 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34370 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34371 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34373 2013-03-20 Joseph Myers <joseph@codesourcery.com>
34375 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34376 * config.make.in (config-cflags-sse4): Remove variable.
34377 (config-cflags-avx): Likewise.
34378 (config-cflags-sse2avx): Likewise.
34379 (config-cflags-novzeroupper): Likewise.
34380 (config-asflags-i686): Likewise.
34381 (have-mfma4): Likewise.
34382 (have-as-vis3): Likewise.
34384 * configure.in (MIG): Do not AC_SUBST.
34385 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34386 (libc_cv_cc_sse4): Do not AC_SUBST.
34387 (libc_cv_cc_avx): Likewise.
34388 (libc_cv_cc_sse2avx): Likewise.
34389 (libc_cv_cc_novzeroupper): Likewise.
34390 (libc_cv_cc_fma4): Likewise.
34391 (libc_cv_as_i686): Likewise.
34392 (libc_cv_sparc_as_vis3): Likewise.
34393 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34395 (config-asflags-i686): Likewise.
34396 (config-cflags-avx): Likewise.
34397 (config-cflags-sse2avx): Likewise.
34398 (have-mfma4): Likewise.
34399 (config-cflags-novzeroupper): Likewise.
34400 * sysdeps/mach/configure.in (MIG): Likewise.
34401 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34402 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34404 (config-cflags-avx): Likewise.
34405 (config-cflags-sse2avx): Likewise.
34406 (have-mfma4): Likewise.
34407 (config-cflags-novzeroupper): Likewise.
34408 * configure: Regenerated.
34409 * sysdeps/i386/configure: Likewise.
34410 * sysdeps/mach/configure: Likewise.
34411 * sysdeps/sparc/configure: Likewise.
34412 * sysdeps/x86_64/configure: Likewise.
34414 2013-03-20 Roland McGrath <roland@hack.frob.com>
34417 * locale/programs/localedef.c (options): Put N_ translation marker
34418 on argument names, not just descriptions.
34420 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34422 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34424 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
34427 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34429 2013-03-19 Roland McGrath <roland@hack.frob.com>
34431 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34432 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34433 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34434 [!BEFORE_ABORT] (before_abort): New function.
34435 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34436 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34437 (writev_for_fatal): New function.
34438 (WRITEV_FOR_FATAL): New macro; call that.
34439 (backtrace_and_maps): New function.
34440 (BEFORE_ABORT): New macro; call that.
34441 (struct str_list): Type removed.
34442 (__libc_message, __libc_fatal): Functions removed.
34443 Include <sysdeps/posix/libc_fatal.c> instead.
34445 2013-03-19 Joseph Myers <joseph@codesourcery.com>
34447 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34449 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34452 2013-03-19 Andreas Schwab <schwab@suse.de>
34454 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34455 * sysdeps/gnu/configure: Regenerate.
34457 * configure.in: Substitute libc_cv_rtlddir.
34458 * configure: Regenerate.
34459 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34460 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34461 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34462 * elf/Makefile (install-others, CFLAGS-interp.c)
34463 (ldso_install, common-ldd-rewrite): Likewise.
34464 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34465 $(inst_slibdir)/$(rtld-installed-name).
34466 * scripts/rellns-sh: Add -p option.
34467 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34470 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34472 * manual/nptl.texi: Renamed to ...
34473 * manual/threads.texi: ... this.
34474 * manual/Makefile (chapters): Update.
34476 2013-03-18 Roland McGrath <roland@hack.frob.com>
34479 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34480 on argument names, not just descriptions.
34481 * malloc/memusagestat.c (options): Likewise.
34482 * nss/getent.c (options): Likewise.
34484 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
34487 * iconv/iconv_prog.c (options): Put N_ translation marker
34488 on argument names, not just descriptions.
34489 * iconv/iconvconfig.c (options): Likewise.
34491 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
34493 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34494 implementation which is faster on all x86_64 architectures.
34495 Tested on AMD, Intel Nehalem, SNB, IVB.
34496 * sysdeps/x86_64/strnlen.S: Likewise.
34498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34499 Remove all multiarch strlen and strnlen versions.
34500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34501 Remove strlen and strnlen related parts.
34503 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34504 Inline strlen part.
34505 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34507 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34508 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34509 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34510 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34511 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34512 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34514 2013-03-17 Carlos O'Donell <carlos@redhat.com>
34516 * manual/memory.texi (Malloc Tunable Parameters):
34517 Sort parameters alphabetically. Add comments for missing entries.
34519 2013-03-17 David S. Miller <davem@davemloft.net>
34521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34523 2013-03-16 Joseph Myers <joseph@codesourcery.com>
34526 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34527 for arguments at most half maximum finite value.
34528 * math/libm-test.inc (j0_test): Add more tests.
34529 (j1_test): Likewise.
34530 (y0_test): Likewise.
34531 (y1_test): Likewise.
34532 * sysdeps/i386/fpu/libm-test-ulps: Update.
34533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34536 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34537 1 / x and functions P and Q for arguments above 0x1p256L.
34538 (__ieee754_y0l): Likewise.
34539 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34540 (__ieee754_y1l): Likewise.
34541 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34542 (j1_test): Likewise.
34543 (y0_test): Likewise.
34544 (y1_test): Likewise.
34546 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34548 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34551 2013-03-15 Roland McGrath <roland@hack.frob.com>
34553 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34554 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34555 zero since it's initialized to EXEC_PAGESIZE.
34557 * sysdeps/unix/sysv/linux/ldsodefs.h
34558 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34559 * sysdeps/generic/ldsodefs.h: ... here.
34561 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34563 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34565 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34567 * math/test-snan.c: Renamed from
34568 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34569 * math/Makefile (tests): Add test-snan.
34570 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34573 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34574 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34576 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34577 __builtin_nan family of functions.
34578 * math/libm-test.inc (initialize): Initialize qnan_value with
34579 __builtin_nan family of functions.
34580 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34582 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34584 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34585 storage class. Initialize qNaN_var and sNaN_var with
34586 __builtin_nan and __builtin_nans families of functions,
34589 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34590 (sqrt_test): Remove duplicate test with qNaN input.
34591 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34592 (round_test, signbit_test, significand_test): Note missing +/-Inf
34593 as well as qNaN tests.
34595 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34596 qNaN_var. Fix a few strings, too.
34597 * math/libm-test.inc (nan_value): Rename to qnan_value.
34598 * math/gen-libm-test.pl (%beautify): Adjust to that.
34599 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34600 * math/test-misc.c (main): Likewise.
34601 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34602 to __qnan_bytes, and __qnan_union, respectively.
34603 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34605 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34606 and lqnanval, respectively.
34607 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34608 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34609 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34610 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34612 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34613 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34616 * math/test-misc.c (main): Fix copy'n'pastos.
34617 * misc/tst-efgcvt.c (special): Likewise.
34619 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34620 Remove declarations.
34622 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34624 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34625 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34626 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34627 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34629 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34631 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34632 macro to return vdso values correctly in IFUNC implementations.
34633 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34634 Optimization by using IFUNC.
34636 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34637 Richard Henderson <rth@redhat.com>
34638 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34640 * Makefile.in (bench): New target.
34641 * NEWS: Mention the benchmark framework.
34642 * Rules (bench): Likewise.
34643 (binaries-bench): Generate binaries for functions to
34645 * benchtests/Makefile: New makefile for benchmark tests.
34646 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34648 * benchtests/exp-inputs: New input file for EXP function.
34649 * benchtests/pow-inputs: New input file for POW function.
34650 * scripts/bench.pl: New script to generate source files for
34651 benchmark programs.
34653 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34655 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34656 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34657 computations on mantissa. Use macros for rounding and
34659 (denorm): Likewise.
34660 (__dbl_mp): Likewise.
34661 (add_magnitudes): Likewise.
34662 (sub_magnitudes): Likewise.
34665 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34666 powers of two in terms of TWOPOW macro.
34667 (mp_no): Make type of mantissa as MANTISSA_T.
34668 [!RADIXI]: Define RADIXI.
34669 [!TWO52]: Define TWO52.
34670 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34672 * manual/nptl.texi (cindex): Modify threads to pthreads.
34674 2013-03-15 Joseph Myers <joseph@codesourcery.com>
34676 * sysdeps/x86_64/preconfigure: Regenerated.
34678 2013-03-14 Joseph Myers <joseph@codesourcery.com>
34681 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34683 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34684 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34686 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34687 * math/libm-test.inc (j0_test): Do not allow one spurious
34688 underflow exception.
34689 (y1_test): Likewise.
34691 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34693 * manual/Makefile (chapters): Add nptl.
34694 * manual/debug.texi (Debugging Support): Add link to Threads
34696 * manual/nptl.texi: New file.
34698 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34700 2013-03-14 Petr Baudis <pasky@ucw.cz>
34702 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34703 for non-NULL pointer before the memory validity test. Pointed
34704 out by Holger Brunck <holger.brunck@keymile.com>.
34706 2013-03-13 Andreas Schwab <schwab@suse.de>
34708 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34711 2013-03-13 Joseph Myers <joseph@codesourcery.com>
34713 * timezone/zic.c: Update from tzcode 2013b.
34715 2013-03-12 Carlos O'Donell <carlos@redhat.com>
34717 * manual/install.texi (Configuring and compiling):
34718 Mention i686 and i586.
34719 * INSTALL: Regenerate.
34721 2013-03-12 Roland McGrath <roland@hack.frob.com>
34723 * sysdeps/init_array/elf-init.c: New file.
34725 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34726 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34728 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34729 __gmon_start__ as global, but as static with a .preinit_array pointer.
34730 * sysdeps/init_array/gmon-start.c: New file. Use that.
34731 * sysdeps/init_array/crti.S: New file, empty except for comments.
34732 * sysdeps/init_array/crtn.S: Likewise.
34734 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
34736 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34739 Remove Prefer_SSE_for_memop.
34740 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34741 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34742 HAS_PREFER_SSE_FOR_MEMOP.
34743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34746 Remove bzero, memset ifunc support.
34747 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34748 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34749 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34750 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34752 2013-03-11 Andreas Schwab <schwab@suse.de>
34755 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34758 (GLIBC_2.16): Remove pthread_atfork.
34760 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34762 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34763 (ptestcases.h): Likewise.
34765 2013-03-08 Roland McGrath <roland@hack.frob.com>
34767 * Makeconfig ($(common-objpfx)config.status): Depend on
34768 sysdeps/*/preconfigure{,.in} too.
34770 2013-03-08 Joseph Myers <joseph@codesourcery.com>
34772 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34773 (__free_hook): Use void * instead of __malloc_ptr_t.
34774 (__malloc_hook): Likewise.
34775 (__realloc_hook): Likewise.
34776 (__memalign_hook): Likewise.
34777 (__after_morecore_hook): Likewise.
34778 * malloc/arena.c (save_malloc_hook): Likewise.
34779 (save_free_hook): Likewise.
34780 * malloc/hooks.c (malloc_hook_ini): Likewise.
34781 (realloc_hook_ini): Likewise.
34782 (memalign_hook_ini): Likewise.
34783 * malloc/malloc.c (malloc_hook_ini): Likewise.
34784 (realloc_hook_ini): Likewise.
34785 (memalign_hook_ini): Likewise.
34786 (__free_hook): Likewise.
34787 (__malloc_hook): Likewise.
34788 (__realloc_hook): Likewise.
34789 (__memalign_hook): Likewise.
34790 (__libc_malloc): Likewise.
34791 (__libc_free): Likewise.
34792 (__libc_realloc): Likewise.
34793 (__libc_memalign): Likewise.
34794 (__libc_valloc): Likewise.
34795 (__libc_pvalloc): Likewise.
34796 (__libc_calloc): Likewise.
34797 (__posix_memalign): Likewise.
34798 * malloc/morecore.c (__sbrk): Likewise.
34799 (__default_morecore): Likewise.
34801 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34803 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34804 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34805 __malloc_ptrdiff_t.
34807 * malloc/malloc.h (__malloc_size_t): Remove macro.
34808 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34810 (old_memalign_hook): Likewise.
34811 (old_realloc_hook): Likewise.
34812 (struct hdr): Likewise.
34814 (mallochook): Likewise.
34815 (memalignhook): Likewise.
34816 (reallochook): Likewise.
34817 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34818 (tr_old_realloc_hook): Likewise.
34819 (tr_old_memalign_hook): Likewise.
34820 (tr_mallochook): Likewise.
34821 (tr_reallochook): Likewise.
34822 (tr_memalignhook): Likewise.
34824 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34826 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34827 default_ldbl_pack and using as default implementation.
34828 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34830 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34831 redundant definition.
34832 (ldbl_insert_mantissa): Likewise.
34833 (ldbl_canonicalize): Likewise.
34834 (ldbl_nearbyint): Likewise.
34835 (ldbl_pack): Rename to ldbl_pack_ppc.
34836 (ldbl_unpack): Rename to ldbl_unpack_ppc.
34837 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34838 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34840 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34843 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34844 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34845 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34847 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34848 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34849 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34851 2013-03-07 Andreas Jaeger <aj@suse.de>
34853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34856 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34858 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34859 Include mpa.h and declare __MPEXP.
34860 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34861 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34862 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34863 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34864 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34865 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34866 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34868 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34869 (__slowpow): Use long double EXPL and LOGL functions to
34871 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34872 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34873 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34874 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34875 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34876 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34879 intermediate variable to calculate exponent.
34881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34885 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34886 [!NO__SQR]: Define __sqr.
34887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34888 and NO__SQR. Remove all code except __mul and __sqr. Include
34889 sysdeps/ieee754/dbl-64/mpa.c.
34890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34893 * posix/Makefile (tests): Add tst-pathconf.
34894 * posix/tst-pathconf.c: New test case.
34895 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34897 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34899 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
34901 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34903 2013-03-06 Andreas Jaeger <aj@suse.de>
34905 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34906 definition via __MAP_ANONYMOUS.
34908 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34909 it's not part of Linux headers.
34911 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34912 (MAP_HUGE_MASK): Define.
34914 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34916 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34917 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34919 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34920 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34922 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34923 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34925 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34927 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34928 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34929 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34930 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34931 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34932 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34934 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34937 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34938 Handle f2fs and efivarfs.
34940 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34943 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34944 (EFIVARFS_MAGIC): Add.
34945 (F2FS_LINK_MAX): Add.
34947 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34949 * stdio-common/vfprintf.c: Replace __builtin_expect with
34952 2013-03-06 Joseph Myers <joseph@codesourcery.com>
34955 * sysdeps/generic/bp-sym.h: Remove file.
34956 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34957 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34958 <bp-sym.h> and <bp-asm.h>.
34959 (__longjmp): Don't use BP_SYM.
34960 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34962 (memcpy): Don't use BP_SYM.
34963 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34964 <bp-sym.h> and <bp-asm.h>.
34965 (memcpy): Don't use BP_SYM.
34966 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34968 (memcpy): Don't use BP_SYM.
34969 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34971 (memset): Don't use BP_SYM.
34972 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34973 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34974 (__bzero): Don't use BP_SYM.
34975 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34976 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34977 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34978 <bp-sym.h> and <bp-asm.h>.
34979 (memcmp): Don't use BP_SYM. Remove comment about bounded
34981 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34982 <bp-sym.h> and <bp-asm.h>.
34983 (memcpy): Don't use BP_SYM.
34984 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34985 <bp-sym.h> and <bp-asm.h>.
34986 (memset): Don't use BP_SYM.
34987 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34988 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34989 (__bzero): Don't use BP_SYM.
34990 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34991 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34992 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34993 <bp-sym.h> and <bp-asm.h>.
34994 (strncmp): Don't use BP_SYM. Remove comment about bounded
34996 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34997 <bp-sym.h> and <bp-asm.h>.
34998 (memcpy): Don't use BP_SYM.
34999 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35000 <bp-sym.h> and <bp-asm.h>.
35001 (memset): Don't use BP_SYM.
35002 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35003 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35004 (__bzero): Don't use BP_SYM.
35005 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35006 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35007 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35008 <bp-sym.h> and <bp-asm.h>.
35009 (__memchr): Don't use BP_SYM.
35010 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35011 <bp-sym.h> and <bp-asm.h>.
35012 (memcmp): Don't use BP_SYM. Remove comment about bounded
35014 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35015 <bp-sym.h> and <bp-asm.h>.
35016 (memcpy): Don't use BP_SYM.
35017 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35018 <bp-sym.h> and <bp-asm.h>.
35019 (__mempcpy): Don't use BP_SYM.
35020 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35021 <bp-sym.h> and <bp-asm.h>.
35022 (__memrchr): Don't use BP_SYM.
35023 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35024 <bp-sym.h> and <bp-asm.h>.
35025 (memset): Don't use BP_SYM.
35026 (__bzero): Likewise.
35027 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35028 <bp-sym.h> and <bp-asm.h>.
35029 (__rawmemchr): Don't use BP_SYM.
35030 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35031 <bp-sym.h> and <bp-asm.h>.
35032 (__STRCMP): Don't use BP_SYM.
35033 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35034 <bp-sym.h> and <bp-asm.h>.
35035 (strchr): Don't use BP_SYM.
35036 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35037 <bp-sym.h> and <bp-asm.h>.
35038 (__strchrnul): Don't use BP_SYM.
35039 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35040 <bp-sym.h> and <bp-asm.h>.
35041 (strlen): Don't use BP_SYM.
35042 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35043 <bp-sym.h> and <bp-asm.h>.
35044 (strncmp): Don't use BP_SYM. Remove comment about bounded
35046 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35047 <bp-sym.h> and <bp-asm.h>.
35048 (__strnlen): Don't use BP_SYM.
35049 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35050 <bp-sym.h> and <bp-asm.h>.
35051 (__GI__setjmp): Don't use BP_SYM.
35052 (_setjmp): Likewise.
35053 (__sigsetjmp): Likewise.
35054 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35055 (L(start_addresses)): Don't use BP_SYM.
35056 (_start): Likewise.
35057 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35059 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35060 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35061 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35062 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35063 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35065 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35066 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35067 about bounded pointers.
35068 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35069 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35070 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35072 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35073 about bounded pointers. Remove GKM FIXME comments.
35074 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35075 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35077 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35078 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35079 Remove GKM FIXME comments.
35080 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35081 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35082 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35084 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35085 about bounded pointers. Remove GKM FIXME comment.
35086 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35088 (strncmp): Don't use BP_SYM. Remove comment about bounded
35090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35091 <bp-sym.h> and <bp-asm.h>.
35092 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35094 <bp-sym.h> and <bp-asm.h>.
35095 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35098 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35100 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35103 2013-03-05 David S. Miller <davem@davemloft.net>
35105 * po/es.po: Update from translation team.
35107 2013-03-05 Andreas Jaeger <aj@suse.de>
35109 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35110 <bits/mman-linux.h>.
35111 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35113 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35114 <bits/mman-linux.h> to end of file.
35115 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35117 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35118 <bits/mman-linux.h> to end of file.
35119 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35121 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35122 <bits/mman-linux.h> to end of file.
35124 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35125 (MCL_CURRENT, MCL_FUTURE): Define here.
35127 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35130 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35132 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35134 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35136 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35137 fourth parameter needed for rt_sigprocmask syscall.
35138 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35139 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35140 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35141 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35142 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35143 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35145 2013-03-04 Joseph Myers <joseph@codesourcery.com>
35148 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35149 comment about bounded pointers.
35150 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35151 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35153 2013-03-04 Andreas Jaeger <aj@suse.de>
35155 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35156 common definitions.
35158 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35159 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35160 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35161 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35162 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35165 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35168 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35169 __ieee754_sqrl instead of __sqrl.
35171 2013-03-01 Joseph Myers <joseph@codesourcery.com>
35173 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35174 * sysdeps/powerpc/fpu_control.h: ... here.
35175 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35176 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35177 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35178 * sysdeps/powerpc/bits/mathinline.h: ... here.
35180 2013-03-01 Roland McGrath <roland@hack.frob.com>
35182 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35183 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35184 to just [NEED_DL_SYSINFO_DSO].
35185 * elf/dl-support.c: Likewise.
35186 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35187 * elf/rtld.c (dl_main): Likewise.
35188 * elf/setup-vdso.h (setup_vdso): Likewise.
35189 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35190 * sysdeps/unix/sysv/linux/dl-sysdep.c
35191 (_dl_discover_osversion): Likewise.
35193 2013-03-01 Carlos O'Donell <carlos@redhat.com>
35195 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35196 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35198 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35200 * NEWS: Mention libm performance improvements and non-x86 PI
35203 * csu/libc-start.c (__pthread_initialize_minimal): Change
35204 function arguments.
35205 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35207 2013-02-28 Joseph Myers <joseph@codesourcery.com>
35210 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35211 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35212 <bp-sym.h> and <bp-asm.h>.
35213 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35214 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35216 (memcpy): Don't use BP_SYM.
35217 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35219 (__mpn_add_n): Don't use BP_SYM.
35220 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35221 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35223 (__mpn_addmul_1): Don't use BP_SYM.
35224 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35225 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35227 (_setjmp): Don't use BP_SYM.
35228 (__novmx_setjmp): Likewise.
35229 (__GI__setjmp): Likewise.
35230 (__vmx_setjmp): Likewise.
35231 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35233 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35234 (__bzero): Don't use BP_SYM.
35235 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35236 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35237 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35238 <bp-sym.h> and <bp-asm.h>.
35239 (memcpy): Don't use BP_SYM.
35240 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35241 <bp-sym.h> and <bp-asm.h>.
35242 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35243 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35244 <bp-sym.h> and <bp-asm.h>.
35245 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35246 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35248 (__mpn_lshift): Don't use BP_SYM.
35249 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35250 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35252 (memset): Don't use BP_SYM.
35253 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35254 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35255 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35257 (__mpn_mul_1): Don't use BP_SYM.
35258 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35259 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35260 <bp-sym.h> and <bp-asm.h>.
35261 (memcmp): Don't use BP_SYM.
35262 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35263 <bp-sym.h> and <bp-asm.h>.
35264 (memcpy): Don't use BP_SYM.
35265 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35266 <bp-sym.h> and <bp-asm.h>.
35267 (memset): Don't use BP_SYM.
35268 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35269 <bp-sym.h> and <bp-asm.h>.
35270 (strncmp): Don't use BP_SYM.
35271 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35272 <bp-sym.h> and <bp-asm.h>.
35273 (memcpy): Don't use BP_SYM.
35274 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35275 <bp-sym.h> and <bp-asm.h>.
35276 (memset): Don't use BP_SYM.
35277 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35278 <bp-sym.h> and <bp-asm.h>.
35279 (__memchr): Don't use BP_SYM.
35280 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35281 <bp-sym.h> and <bp-asm.h>.
35282 (memcmp): Don't use BP_SYM.
35283 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35284 <bp-sym.h> and <bp-asm.h>.
35285 (memcpy): Don't use BP_SYM.
35286 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35287 <bp-sym.h> and <bp-asm.h>.
35288 (__mempcpy): Don't use BP_SYM.
35289 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35290 <bp-sym.h> and <bp-asm.h>.
35291 (__memrchr): Don't use BP_SYM.
35292 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35293 <bp-sym.h> and <bp-asm.h>.
35294 (memset): Don't use BP_SYM.
35295 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35296 <bp-sym.h> and <bp-asm.h>.
35297 (__rawmemchr): Don't use BP_SYM.
35298 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35299 <bp-sym.h> and <bp-asm.h>.
35300 (__STRCMP): Don't use BP_SYM.
35301 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35302 <bp-sym.h> and <bp-asm.h>.
35303 (strchr): Don't use BP_SYM.
35304 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35305 <bp-sym.h> and <bp-asm.h>.
35306 (__strchrnul): Don't use BP_SYM.
35307 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35308 <bp-sym.h> and <bp-asm.h>.
35309 (strlen): Don't use BP_SYM.
35310 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35311 <bp-sym.h> and <bp-asm.h>.
35312 (strncmp): Don't use BP_SYM.
35313 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35314 <bp-sym.h> and <bp-asm.h>.
35315 (__strnlen): Don't use BP_SYM.
35316 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35318 (__mpn_rshift): Don't use BP_SYM.
35319 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35320 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35321 <bp-sym.h> and <bp-asm.h>.
35322 (__sigsetjmp): Don't use BP_SYM.
35323 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35324 (L(start_addresses)): Don't use BP_SYM.
35325 (_start): Likewise.
35326 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35328 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35329 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35330 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35331 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35333 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35334 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35335 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35336 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35338 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35340 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35341 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35343 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35345 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35346 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35347 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35349 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35351 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35353 (strncmp): Don't use BP_SYM,
35354 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35356 (__mpn_sub_n): Don't use BP_SYM.
35357 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35358 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35360 (__mpn_submul_1): Don't use BP_SYM.
35361 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35363 <bp-sym.h> and <bp-asm.h>.
35364 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35366 <bp-sym.h> and <bp-asm.h>.
35367 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35370 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35373 Use ZK to minimize writes to Z.
35374 (sub_magnitudes): Simplify code a bit.
35375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35376 Use ZK to minimize writes to Z.
35377 (sub_magnitudes): Simplify code a bit.
35379 2013-02-27 Roland McGrath <roland@hack.frob.com>
35381 * csu/gmon-start.c: Add special exception to license text.
35383 2013-02-27 Richard Henderson <rth@redhat.com>
35385 * scripts/config.guess: Update from config.git.
35386 * scripts/config.sub: Likewise.
35388 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35390 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35392 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35394 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35396 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35398 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35400 2013-02-26 Roland McGrath <roland@hack.frob.com>
35402 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35403 [$(build-shared = yes].
35405 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35407 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35408 (__mul): Reduce iterations for calculating mantissa.
35410 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35412 (__mpranred): Likewise.
35415 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35416 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35418 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35420 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35421 Define __attribute__.
35423 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35425 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35427 * posix/regex_internal.h (__attribute): Remove.
35428 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35429 (re_string_context_at): Likewise.
35430 (bitset_not): Use __attribute__ and mark function as possibly
35432 (bitset_merge): Likewise.
35433 (bitset_mask): Likewise.
35434 (re_string_char_size_at): Likewise.
35435 (re_string_wchar_at): Likewise.
35436 (re_string_elem_size_at): Likewise.
35438 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35440 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35444 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35448 (denorm): Likewise.
35449 (__dbl_mp): Likewise.
35450 (add_magnitudes): Likewise.
35451 (sub_magnitudes): Likewise.
35455 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35458 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35461 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35465 up changes with default code.
35466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35469 2013-02-24 Allan McRae <allan@archlinux.org>
35471 * manual/socket.texi (The Internet Namespace): Order menu items
35472 to match that in the file.
35474 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35475 node listing of the info page menu.
35477 2013-02-21 Joseph Myers <joseph@codesourcery.com>
35480 * sysdeps/i386/bp-asm.h: Remove file.
35481 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35482 (PARMS): Do not use macros from bp-asm.h.
35486 (__mpn_add_n): Do not use BP_SYM
35487 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35489 (PARMS): Do not use macros from bp-asm.h.
35492 (__mpn_addmul_1): Do not use BP_SYM
35493 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35495 (PARMS): Do not use macros from bp-asm.h.
35496 (SIGMSK): Likewise.
35497 (_setjmp): Likewise. Do not use BP_SYM.
35498 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35500 (PARMS): Do not use macros from bp-asm.h.
35501 (SIGMSK): Likewise.
35502 (setjmp): Likewise. Do not use BP_SYM.
35503 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35505 (PARMS): Do not use macros from bp-asm.h.
35506 (__frexp): Do not use BP_SYM.
35508 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35510 (PARMS): Do not use macros from bp-asm.h.
35511 (__frexpf): Do not use BP_SYM.
35512 (frexpf): Likewise.
35513 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35515 (PARMS): Do not use macros from bp-asm.h.
35516 (__frexpl): Do not use BP_SYM.
35517 (frexpl): Likewise.
35518 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35520 (PARMS): Do not use macros from bp-asm.h.
35521 (__remquo): Do not use BP_SYM.
35522 (remquo): Likewise.
35523 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35525 (PARMS): Do not use macros from bp-asm.h.
35526 (__remquof): Do not use BP_SYM.
35527 (remquof): Likewise.
35528 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35530 (PARMS): Do not use macros from bp-asm.h.
35531 (__remquol): Do not use BP_SYM.
35532 (remquol): Likewise.
35533 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35535 (PARMS): Do not use macros from bp-asm.h.
35538 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35539 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35541 (PARMS): Do not use macros from bp-asm.h.
35542 (strlen): Do not use BP_SYM.
35543 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35545 (PARMS): Do not use macros from bp-asm.h.
35549 (__mpn_add_n): Do not use BP_SYM.
35550 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35552 (PARMS): Do not use macros from bp-asm.h.
35555 (__mpn_addmul_1): Do not use BP_SYM.
35556 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35559 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35561 (PARMS): Do not use macros from bp-asm.h.
35564 (__mpn_lshift): Do not use BP_SYM.
35565 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35567 (PARMS): Do not use macros from bp-asm.h.
35571 (memcpy): Likewise. Do not use BP_SYM.
35572 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35573 libc_hidden_def and weak_alias.
35574 (mempcpy): Do not use BP_SYM in weak_alias.
35575 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35577 (PARMS): Do not use macros from bp-asm.h.
35580 [!BZERO_P] (CHR): Likewise.
35581 (memset): Likewise. Do not use BP_SYM.
35582 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35584 (PARMS): Do not use macros from bp-asm.h.
35587 (__mpn_mul_1): Do not use BP_SYM.
35588 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35590 (PARMS): Do not use macros from bp-asm.h.
35593 (__mpn_rshift): Do not use BP_SYM.
35594 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35596 (PARMS): Do not use macros from bp-asm.h.
35599 (strchr): Likewise. Do not use BP_SYM.
35600 (index): Do not use BP_SYM in weak_alias.
35601 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35603 (PARMS): Do not use macros from bp-asm.h.
35606 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35607 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35609 (PARMS): Do not use macros from bp-asm.h.
35610 (strlen): Do not use BP_SYM.
35611 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35613 (PARMS): Do not use macros from bp-asm.h.
35617 (__mpn_sub_n): Do not use BP_SYM.
35618 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35620 (PARMS): Do not use macros from bp-asm.h.
35623 (__mpn_submul_1): Do not use BP_SYM.
35624 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35626 (PARMS): Do not use macros from bp-asm.h.
35630 (__mpn_add_n): Do not use BP_SYM.
35631 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35634 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35636 (PARMS): Do not use macros from bp-asm.h.
35639 (memcmp): Do not use BP_SYM.
35640 (bcmp): Do not use BP_SYM in weak_alias.
35641 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35643 (PARMS): Do not use macros from bp-asm.h.
35647 (memcpy): Likewise. Do not use BP_SYM.
35648 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35650 (PARMS): Do not use macros from bp-asm.h.
35654 (memmove): Likewise. Do not use BP_SYM.
35655 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35657 (PARMS): Do not use macros from bp-asm.h.
35661 (__mempcpy): Likewise. Do not use BP_SYM.
35662 (mempcpy): Do not use BP_SYM in weak_alias.
35663 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35665 (PARMS): Do not use macros from bp-asm.h.
35668 [!BZERO_P] (CHR): Likewise.
35669 (memset): Likewise. Do not use BP_SYM.
35670 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35672 (PARMS): Do not use macros from bp-asm.h.
35674 (strcmp): Do not use BP_SYM.
35675 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35677 (PARMS): Do not use macros from bp-asm.h.
35680 [USE_AS_STRTOK_R] (SAVE): Likewise.
35681 (FUNCTION): Likewise. Do not use BP_SYM.
35682 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35684 (strtok_r): Likewise.
35685 (__GI___strtok_r): Likewise.
35686 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35687 (PARMS): Do not use macros from bp-asm.h.
35690 (__mpn_lshift): Do not use BP_SYM.
35691 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35692 (PARMS): Do not use macros from bp-asm.h.
35695 (__memchr): Do not use BP_SYM.
35696 (memchr): Do not use BP_SYM in weak_alias.
35697 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35698 (PARMS): Do not use macros from bp-asm.h.
35701 (memcmp): Do not use BP_SYM.
35702 (bcmp): Do not use BP_SYM in weak_alias.
35703 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35704 (PARMS): Do not use macros from bp-asm.h.
35707 (__mpn_mul_1): Do not use BP_SYM.
35708 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35710 (PARMS): Do not use macros from bp-asm.h.
35713 (__rawmemchr): Do not use BP_SYM.
35714 (rawmemchr): Do not use BP_SYM in weak_alias.
35715 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35716 (PARMS): Do not use macros from bp-asm.h.
35719 (__mpn_rshift): Do not use BP_SYM.
35720 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35721 (PARMS): Do not use macros from bp-asm.h.
35722 (SIGMSK): Likewise.
35723 (__sigsetjmp): Likewise. Do not use BP_SYM.
35724 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35725 (_start): Do not use BP_SYM.
35726 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35727 (PARMS): Do not use macros from bp-asm.h.
35730 (__stpcpy): Likewise. Do not use BP_SYM.
35731 (stpcpy): Do not use BP_SYM in weak_alias.
35732 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35734 (PARMS): Do not use macros from bp-asm.h.
35738 (__stpncpy): Likewise. Do not use BP_SYM.
35739 (stpncpy): Do not use BP_SYM in weak_alias.
35740 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35741 (PARMS): Do not use macros from bp-asm.h.
35744 (strchr): Likewise. Do not use BP_SYM.
35745 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35747 (PARMS): Do not use macros from bp-asm.h.
35750 (__strchrnul): Likewise. Do not use BP_SYM.
35751 (strchrnul): Do not use BP_SYM in weak_alias.
35752 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35754 (PARMS): Do not use macros from bp-asm.h.
35756 (strcspn): Do not use BP_SYM.
35757 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35759 (PARMS): Do not use macros from bp-asm.h.
35762 (strpbrk): Likewise. Do not use BP_SYM.
35763 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35765 (PARMS): Do not use macros from bp-asm.h.
35768 (strrchr): Likewise. Do not use BP_SYM.
35769 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35770 (PARMS): Do not use macros from bp-asm.h.
35772 (strspn): Do not use BP_SYM.
35773 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35774 (PARMS): Do not use macros from bp-asm.h.
35778 (FUNCTION): Likewise. Do not use BP_SYM.
35779 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35781 (strtok_r): Likewise.
35782 (__GI___strtok_r): Likewise.
35783 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35784 (PARMS): Do not use macros from bp-asm.h.
35788 (__mpn_sub_n): Do not use BP_SYM.
35789 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35791 (PARMS): Do not use macros from bp-asm.h.
35794 (__mpn_submul_1): Do not use BP_SYM.
35795 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35797 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35799 (PARMS): Do not use macros from bp-asm.h.
35804 (__clone): Do not use BP_SYM.
35805 (clone): Do not use BP_SYM in weak_alias.
35806 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35808 (PARMS): Do not use macros from bp-asm.h.
35810 (__mmap64): Do not use BP_SYM.
35811 (mmap64): Do not use BP_SYM in weak_alias.
35812 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35813 <bp-sym.h> and <bp-asm.h>.
35814 (PARMS): Do not use macros from bp-asm.h.
35815 (__posix_fadvise64_l64): Do not use BP_SYM.
35816 * sysdeps/unix/sysv/linux/i386/semtimedop.S
35817 (PARMS): Do not use macros from bp-asm.h.
35819 (semtimedop): Do not use BP_SYM.
35820 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35823 2013-02-21 Allan McRae <allan@archlinux.org>
35825 * manual/message.texi (Charset conversion in gettext):
35826 Move @end statement to beginning of line.
35828 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35835 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35836 (denorm): Likewise.
35837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35840 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35842 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35843 tail-call to the resolved function if pltexit isn't needed.
35845 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35848 or Y being zero as being unlikely.
35849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35852 2013-02-20 Carlos O'Donell <carlos@redhat.com>
35854 * manual/nss.texi (System Databases and Name Service Switch):
35855 Remove frobnicate @pxref.
35857 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35859 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35860 __attribute__ ((unused)) to __attribute__ ((__unused__)).
35862 2013-02-20 Petr Machata <pmachata@redhat.com>
35864 * elf/elf.h (R_ARM_TARGET1): New macro.
35865 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35866 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35867 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35868 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35869 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35870 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35871 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35872 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35873 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35874 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35875 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35876 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35877 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35878 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35879 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35880 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35881 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35882 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35883 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35884 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35885 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35886 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35887 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35888 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35889 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35890 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35891 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35892 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35893 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35894 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35895 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35896 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35897 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35898 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35899 (R_ARM_THM_GOT_BREL12): Likewise.
35900 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35901 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35902 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35903 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35904 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35905 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35906 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35907 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35908 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35910 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35912 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35913 __attribute_used__ to __attribute__ ((unused)).
35915 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35917 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35920 comment formatting.
35921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35923 2013-02-19 Joseph Myers <joseph@codesourcery.com>
35926 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35928 (ENTER): Remove both macro definitions.
35930 (CHECK_BOUNDS_LOW): Likewise.
35931 (CHECK_BOUNDS_HIGH): Likewise.
35932 (CHECK_BOUNDS_BOTH): Likewise.
35933 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35934 (RETURN_BOUNDED_POINTER): Likewise.
35935 (RETURN_NULL_BOUNDED_POINTER): Likewise.
35936 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35937 (POP_ERRNO_LOCATION_RETURN): Likewise.
35938 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35939 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35940 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35942 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35943 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35944 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35945 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35946 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35947 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35948 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35949 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35950 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35951 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35952 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35953 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35954 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35955 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35957 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35958 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35960 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35961 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35962 * sysdeps/i386/i586/memset.S (memset): Likewise.
35963 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35964 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35965 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35967 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35968 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35969 Change uses of L(2) to L(out).
35970 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35971 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35972 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35973 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35974 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35976 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35977 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35979 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35980 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35981 (RETURN): Do not use macro LEAVE.
35982 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35983 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35984 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35985 * sysdeps/i386/i686/memset.S (memset): Likewise.
35986 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35987 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35988 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35989 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35991 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35992 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
35993 L(1_2) and L(1_3) into L(1).
35994 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35995 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35996 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35997 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35998 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35999 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36000 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36001 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36002 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36004 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36005 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36006 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36007 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36008 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36009 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36010 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36011 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36012 * sysdeps/i386/strcspn.S (strcspn): Likewise.
36013 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36014 * sysdeps/i386/strrchr.S (strrchr): Likewise.
36015 * sysdeps/i386/strspn.S (strspn): Likewise.
36016 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36018 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36019 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36020 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36021 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
36022 L(1_3) into L(1_1).
36023 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36024 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36025 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36027 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36029 2013-02-19 Jakub Jelinek <jakub@redhat.com>
36031 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36034 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36036 * math/atest-exp.c (exp_mpn): Remove ROUND.
36037 * math/atest-exp2.c (exp_mpn): Likewise.
36038 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36040 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36041 * stdlib/tst-tls-atexit-lib.c: Likewise.
36042 * stdlib/tst-tls-atexit.c: Likewise.
36044 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36046 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36047 and __attribute_alloc_size__.
36049 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36051 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36052 __attribute_alloc_size__.
36053 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36054 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36056 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36058 * include/programs/xmalloc.h: New file.
36059 * catgets/gencat.c: Include it.
36060 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36061 * elf/pldd.c: Likewise.
36062 * iconv/iconv_charmap.c: Likewise.
36063 * iconv/iconvconfig.c: Likewise.
36064 * iconv/strtab.c: Likewise.
36065 * locale/programs/locale.c: Likewise.
36066 * locale/programs/localedef.h: Likewise.
36067 * locale/programs/simple-hash.c: Likewise.
36068 * nscd/nscd.h: Likewise.
36069 * nss/makedb.c: Likewise.
36070 * sysdeps/generic/ldconfig.h: Likewise.
36072 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36074 * Versions.def: Add GLIBC_2.18.
36075 * include/link.h (struct link_map): New member l_tls_dtor_count.
36076 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36077 (__call_tls_dtors): Likewise.
36078 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36079 __cxa_thread_atexit_impl.
36080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36088 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36096 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36097 (tests): Add test case tst-tls-atexit.
36098 (modules-names): Add shared library for tst-tls-atexit.
36099 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36100 (GLIBC_PRIVATE): Add __call_tls_dtors.
36101 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36103 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36104 * stdlib/tst-tls-atexit.c: New test case.
36105 * stdlib/tst-tls-atexit-lib.c: New test case.
36107 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36109 * elf/Versions (ld): Add _dl_find_dso_for_object.
36110 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36111 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36112 (dl_open_worker): Use _dl_find_dso_for_object.
36113 * elf/dl-sym.c (do_sym): Likewise.
36114 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36116 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36118 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36119 Syntactic changes only.
36120 (_dl_runtime_profile): Do a tail-call to the resolved function.
36122 2013-02-17 Joseph Myers <joseph@codesourcery.com>
36125 * sysdeps/x86_64/bp-asm.h: Remove file.
36126 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36127 <bp-sym.h> and <bp-asm.h>.
36128 (__clone): Do not use BP_SYM.
36129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36130 <bp-sym.h> and <bp-asm.h>.
36131 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36132 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36134 (_setjmp): Do not use BP_SYM.
36135 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36137 (setjmp): Do not use BP_SYM.
36138 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36140 (mempcpy): Do not use BP_SYM in weak_alias.
36141 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36143 (strchr): Do not use BP_SYM.
36144 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36146 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36147 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36148 (_start): Do not use BP_SYM.
36149 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36151 (strcat): Do not use BP_SYM.
36152 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36154 (STRCMP): Do not use BP_SYM.
36155 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36157 (STRCPY): Do not use BP_SYM.
36158 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36160 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36162 (FUNCTION): Do not use BP_SYM.
36163 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36165 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36167 2013-02-17 Andreas Jaeger <aj@suse.de>
36169 * time/Versions: Sort entries.
36170 * string/Versions: Likewise.
36171 * resolv/Versions: Likewise.
36172 * posix/Versions: Likewise.
36173 * iconv/Versions: Likewise.
36174 * elf/Versions: Likewise.
36175 * wcsmbs/Versions: Likewise.
36177 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36179 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36180 loop termination condition.
36182 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36183 variable to calculate EZ.
36186 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36187 the lower precision input.
36189 2013-02-15 Joseph Myers <joseph@codesourcery.com>
36192 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36193 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36194 (run-via-rtld-prefix): Do not handle %-bp tests.
36195 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36196 (all-object-suffixes): Remove .ob.
36197 (bppfx): Remove variable.
36198 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36199 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36200 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36201 [$(build-bounded) = yes] (libtype.ob): Likewise.
36202 * Makerules (elide-routines.ob): Remove variable.
36203 (do-tests-clean): Do not handle *-bp.out.
36204 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36205 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36206 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36207 (tests): Do not include $(tests-bp.out).
36208 (xtests): Do not include $(xtests-bp.out).
36209 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36210 [$(build-bounded) = yes] ($(addprefix
36211 $(objpfx),$(binaries-bounded))): Remove rule.
36212 ($(objpfx)%-bp.out): Remove rule.
36213 * config.make.in (build-bounded): Remove variable.
36214 * crypt/Makefile [$(build-bounded) = yes]
36215 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36216 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36217 append to variable.
36218 [$(build-bounded) = yes] (install-lib): Likewise.
36219 [$(build-bounded) = yes] (generated): Likewise.
36220 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36222 * intl/Makefile [$(build-bounded) = yes]
36223 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36224 * math/Makefile [$(build-bounded) = yes]
36225 ($(tests:%=$(objpfx)%-bp): Likewise.
36226 * misc/Makefile [$(build-bounded) = yes]
36227 ($(objpfx)tst-tsearch-bp): Likewise.
36228 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36229 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36231 * string/Makefile (o-objects.ob): Remove variable.
36232 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36233 (CFLAGS-.ob): Remove variable.
36234 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36235 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36236 both definitions of variable.
36237 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36238 (ASFLAGS-.ob): Remove variable.
36240 2013-02-14 Joseph Myers <joseph@codesourcery.com>
36243 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36244 Remove __BOUNDED_POINTERS__ from condition.
36245 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36246 * string/bits/string2.h [!__NO_STRING_INLINES &&
36247 !__BOUNDED_POINTERS__]: Likewise.
36248 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36250 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36251 Remove conditional code.
36252 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36253 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36254 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36258 * csu/libc-start.c: Do not include <bp-sym.h>.
36259 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36260 * elf/dl-open.c: Do not include <bp-sym.h>.
36261 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36262 * math/fegetenv.c: Do not include <bp-sym.h>.
36263 (fegetenv): Do not use BP_SYM in versioned symbols.
36264 * nptl/sysdeps/pthread/bits/libc-lockP.h
36265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36268 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36270 (__pthread_mutex_destroy): Likewise.
36271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36272 (__pthread_mutex_lock): Likewise.
36273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36274 (__pthread_mutex_trylock): Likewise.
36275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36276 (__pthread_mutex_unlock): Likewise.
36277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36278 (__pthread_mutexattr_init): Likewise.
36279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36280 (__pthread_mutexattr_destroy): Likewise.
36281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36282 (__pthread_mutexattr_settype): Likewise.
36283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36284 (__pthread_rwlock_init): Likewise.
36285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36286 (__pthread_rwlock_destroy): Likewise.
36287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36288 (__pthread_rwlock_rdlock): Likewise.
36289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36290 (__pthread_rwlock_tryrdlock): Likewise.
36291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36292 (__pthread_rwlock_wrlock): Likewise.
36293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36294 (__pthread_rwlock_trywrlock): Likewise.
36295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36296 (__pthread_rwlock_unlock): Likewise.
36297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36298 (__pthread_key_create): Likewise.
36299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36300 (__pthread_setspecific): Likewise.
36301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36302 (__pthread_getspecific): Likewise.
36303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36306 (_pthread_cleanup_push_defer): Likewise.
36307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36308 (_pthread_cleanup_pop_restore): Likewise.
36309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36310 (pthread_setcancelstate): Likewise.
36311 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36313 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36314 (memchr): Do not use BP_SYM in weak_alias.
36315 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36316 (fegetenv): Do not use BP_SYM in versioned symbols.
36317 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36318 (fesetenv): Do not use BP_SYM in versioned symbols.
36319 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36320 (feupdateenv): Do not use BP_SYM in versioned symbols.
36321 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36322 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36323 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36324 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36325 (open64): Do not use BP_SYM in weak_alias.
36326 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36327 (fegetenv): Do not use BP_SYM in versioned symbols.
36328 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36329 (fesetenv): Do not use BP_SYM in versioned symbols.
36330 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36331 (feupdateenv): Do not use BP_SYM in versioned symbols.
36332 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36333 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36334 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36335 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36336 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36337 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36338 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36340 (__libc_start_main): Do not use BP_SYM.
36342 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36345 redundant return line.
36347 (denorm): Likewise.
36348 (dbl_mp): Likewise.
36349 (sub_magnitudes): Likewise.
36355 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36357 (denorm): Likewise.
36358 (dbl_mp): Likewise.
36359 (sub_magnitudes): Likewise.
36366 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36368 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36369 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36372 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36373 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36374 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36375 of __mul for squares.
36376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36380 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36381 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36383 2013-02-13 Joseph Myers <joseph@codesourcery.com>
36386 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36388 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36389 prototype or function definition. Rename ubp_* variables and
36390 parameters. Remove argv definitions conditional on
36391 [__BOUNDED_POINTERS__].
36392 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36393 * elf/dl-runtime.c (_dl_fixup): Likewise.
36394 * include/set-hooks.h (RUN_HOOK): Likewise.
36395 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36397 * string/strcpy.c (strcpy): Do not use __unbounded.
36398 * sysdeps/generic/frame.h (struct layout): Likewise.
36399 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36400 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36401 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36402 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36403 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36404 (__backtrace): Likewise.
36405 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36407 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36408 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36409 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36411 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36412 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36413 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36414 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36415 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36416 Do not use __unbounded.
36417 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36418 Rename __unboundedrlimits parameter to rlimits in prototype.
36419 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36420 Do not use __unbounded.
36421 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36422 not use __ptrvalue.
36423 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36424 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36425 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36426 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36427 __ptrvalue or __unbounded.
36428 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36429 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36431 (__new_msgctl): Do not use __ptrvalue.
36432 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36434 (__libc_msgrcv): Do not use __ptrvalue.
36435 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36436 startup_info): Do not use __unbounded.
36437 (__libc_start_main): Likewise. Rename ubp_* variables and
36438 parameters. Remove argv definitions conditional on
36439 [__BOUNDED_POINTERS__].
36440 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36442 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36444 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36446 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36448 (__new_shmctl): Do not use __ptrvalue.
36449 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36450 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36452 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36453 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36454 (__libc_sigaction): Likewise.
36455 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36456 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36458 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36460 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
36462 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36464 * string/mempcpy.c: Implement by calling memcpy.
36466 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36468 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36473 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36474 values in the mantissa.
36476 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36477 minimize writes to Z.
36478 (sub_magnitudes): Simplify code a bit.
36480 2013-02-12 Roland McGrath <roland@hack.frob.com>
36482 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36483 from the message. The linker prefixes all warnings with that already.
36485 2013-02-12 Andreas Schwab <schwab@suse.de>
36488 * posix/regexec.c (extend_buffers): Add parameter min_len.
36489 (check_matching): Pass minimum needed length.
36490 (clean_state_log_if_needed): Likewise.
36491 (get_subexp): Likewise.
36492 * posix/Makefile (tests): Add bug-regex34.
36493 (bug-regex34-ENV): Define.
36494 * posix/bug-regex34.c: New file.
36497 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36498 elements compare against the byte sequence of it, not its name.
36499 * posix/Makefile (tests): Add bug-regex35.
36500 (bug-regex35-ENV): Define.
36501 * posix/bug-regex35.c: New file.
36503 2013-02-11 Tom de Vries <tom@codesourcery.com>
36505 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36507 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36508 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36509 (CHECK_EOL): Add undef.
36511 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
36513 * bits/stdlib-bsearch.h: New file.
36514 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36515 * stdlib/stdlib.h: Likewise.
36517 2013-02-11 Roland McGrath <roland@hack.frob.com>
36519 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36520 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36522 * manual/search.texi (Array Search Function): Add missing const in
36524 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36525 declaration to use rlim_t.
36526 (Basic Scheduling Functions): Remove erroneous const from
36527 sched_getparam prototype. Remove erroneous * from
36528 sched_get_priority_max and sched_get_priority_min prototypes.
36529 (Resource Usage): Fix summary @comment on vtimes to refer to
36530 sys/vtimes.h rather than vtimes.h.
36531 Add missing *s in vtimes prototype.
36532 (Limits on Resources): Fix ulimit prototype to return long int.
36533 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36534 prototypes to use long int rather than double.
36535 (BSD Random): Fix initstate and setstate to use char *, not void *.
36536 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36537 prototype to make second argument 'struct aiocb64 *const[]'.
36538 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36539 (Status of AIO Operations): Remove erroneous const in aio_return and
36540 aio_return64 prototypes.
36541 (Synchronizing I/O): Fix sync prototype to return void.
36542 * manual/startup.texi (Suboptions): Remove an erroneous const in
36543 getsubopt prototype.
36544 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36545 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36546 use size_t rather than int.
36547 (Scanning All Users): Likewise for getpwent_r.
36548 (Setting Groups): Add missing const to setgroups prototype.
36549 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36550 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36551 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36552 'const void *' rather than 'const char *'.
36553 (Host Address Functions): Likewise for inet_ntop.
36554 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36555 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36556 ssize_t for return value.
36557 (Sending Data): Likewise for send, sendto, sendmsg.
36558 (Socket Option Functions): Add a missing const in setsockopt prototype.
36559 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36560 use wchar_t for the argument.
36561 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36562 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36564 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36565 double/float/long double for second argument.
36566 Fix return types of significand, significandf, significandl.
36567 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36568 argument in fchmod prototype.
36569 (File Owner): Use uid_t and gid_t in fchown prototype.
36570 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36571 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36572 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36573 use 'const struct dirent **' as argument types to CMP function pointer
36575 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36576 (File Times): Fix summary magic @comment for struct utimbuf and utime
36577 to refer to utime.h, not time.h.
36578 * manual/string.texi (Argz Functions): Add missing const in
36579 argz_extract and argz_next prototypes.
36580 (Finding Tokens in a String): Likewise for basename.
36581 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36582 (Copying and Concatenation): Fix typo in wmemmove prototype.
36583 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36584 (Signal Stack): Remove erroneous const in sigstack prototype.
36585 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36587 (Simple Calendar Time): Likewise for stime.
36588 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36590 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36591 say sys/sysctl.h instead.
36592 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36593 and vsyslog prototypes.
36595 2013-02-11 Tom de Vries <tom@codesourcery.com>
36597 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36600 2013-02-11 Roland McGrath <roland@hack.frob.com>
36602 * misc/sys/mman.h: Fix typo in mremap comment.
36604 2013-02-08 Roland McGrath <roland@hack.frob.com>
36606 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36607 the '\0' terminator.
36609 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36612 * debug/segfault.c: Don't include <bp-checks.h>.
36613 * sysdeps/generic/bp-checks.h: Remove file.
36614 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36615 (__GETDENTS): Don't use CHECK_N.
36616 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36617 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36618 (__getgroups): Don't use CHECK_N.
36619 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36620 (setgroups): Don't use CHECK_N.
36621 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36622 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36623 (__libc_msgrcv): Don't use CHECK_N.
36624 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36625 (__libc_msgsnd): Don't use CHECK_N.
36626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36628 (__libc_pread): Don't use CHECK_N.
36629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36630 include <bp-checks.h>.
36631 (__libc_pread64): Don't use CHECK_N.
36632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36633 include <bp-checks.h>.
36634 (__libc_pwrite): Don't use CHECK_N.
36635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36636 include <bp-checks.h>.
36637 (__libc_pwrite64): Don't use CHECK_N.
36638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36640 (__libc_pread): Don't use CHECK_N.
36641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36642 include <bp-checks.h>.
36643 (__libc_pread64): Don't use CHECK_N.
36644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36645 include <bp-checks.h>.
36646 (__libc_pwrite): Don't use CHECK_N.
36647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36648 include <bp-checks.h>.
36649 (__libc_pwrite64): Don't use CHECK_N.
36650 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36651 (do_pread): Don't use CHECK_N.
36652 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36653 (do_pread64): Don't use CHECK_N.
36654 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36655 (do_pwrite): Don't use CHECK_N.
36656 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36657 (do_pwrite64): Don't use CHECK_N.
36658 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36659 (__libc_readv): Don't use CHECK_N.
36660 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36661 (semop): Don't use CHECK_N.
36662 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36664 (semtimedop): Don't use CHECK_N.
36665 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36666 (__libc_pread): Don't use CHECK_N.
36667 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36669 (__libc_pread64): Don't use CHECK_N.
36670 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36672 (__libc_pwrite): Don't use CHECK_N.
36673 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36675 (__libc_pwrite64): Don't use CHECK_N.
36676 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36678 (__libc_msgrcv): Don't use CHECK_N.
36679 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36680 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36681 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36682 (__libc_writev): Don't use CHECK_N.
36684 2013-02-08 Roland McGrath <roland@hack.frob.com>
36686 * string/strcpy.c: Removed unused variable.
36688 * Makeconfig (+sysdep-includes): Define with := rather than =.
36689 Use an existing include/ subdir of each sysdeps dir before it.
36691 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36693 * nscd/connection.c (register_traced_file): Comment function.
36694 [HAVE_INOTIFY] (union __inev): Define.
36695 [HAVE_INOTIFY] (inotify_check_files): New function.
36696 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36697 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36699 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36701 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36703 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36704 loaded if not already and that a failure is permanent.
36706 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36709 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36710 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36712 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36715 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36716 (CHECK_1_NULL_OK): Likewise.
36717 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36718 (__fxstat): Do not use CHECK_1.
36719 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36721 (___fxstat64): Do not use CHECK_1.
36722 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36724 (__fxstatat): Do not use CHECK_1.
36725 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36727 (__fxstatat64): Do not use CHECK_1.
36728 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36730 (__fxstat): Do not use CHECK_1.
36731 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36733 (__fxstatat): Do not use CHECK_1.
36734 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36736 (__getresgid): Do not use CHECK_1.
36737 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36739 (__getresuid): Do not use CHECK_1.
36740 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36742 (__lxstat): Do not use CHECK_1.
36743 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36745 (__old_msgctl): Do not use CHECK_1.
36746 (__new_msgctl): Likewise.
36747 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36749 (__new_setrlimit): Do not use CHECK_1.
36750 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36752 (__old_shmctl): Do not use CHECK_1.
36753 (__new_shmctl): Likewise.
36754 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36756 (__xstat): Do not use CHECK_1.
36757 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36758 (__lxstat): Do not use CHECK_1.
36759 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36761 (___lxstat64): Do not use CHECK_1.
36762 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36763 (__old_msgctl): Do not use CHECK_1.
36764 (__new_msgctl): Likewise.
36765 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36767 (__gettimeofday): Do not use CHECK_1.
36768 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36769 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36770 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36772 (__gettimeofday): Do not use CHECK_1.
36773 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36774 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36775 (__new_shmctl): Do not use CHECK_1.
36776 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36778 (do_sigtimedwait): Do not use CHECK_1.
36779 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36781 (do_sigwaitinfo): Do not use CHECK_1.
36782 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36784 (msgctl): Do not use CHECK_1.
36785 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36787 (shmctl): Do not use CHECK_1.
36788 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36789 (ustat): Do not use CHECK_1.
36790 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36792 (__fxstat): Do not use CHECK_1.
36793 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36795 (__fxstatat): Do not use CHECK_1.
36796 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36798 (__lxstat): Do not use CHECK_1.
36799 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36801 (__xstat): Do not use CHECK_1.
36802 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36803 (__xstat): Do not use CHECK_1.
36804 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36805 (___xstat64): Do not use CHECK_1.
36808 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36810 (CHECK_BOUNDS_HIGH): Likewise.
36811 * string/strcpy.c: Do not include <bp-checks.h>.
36812 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36814 2013-02-07 Roland McGrath <roland@hack.frob.com>
36816 * nscd/nscd-client.h (__nscd_drop_map_ref):
36817 Add __attribute__ ((unused)).
36818 * nis/nss-nisplus.h (niserr2nss): Likewise.
36820 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36821 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36823 * csu/libc-tls.c (init_static_tls, init_slotinfo):
36824 Remove inline keyword.
36825 * include/rounding-mode.h (round_away): Likewise.
36826 * libio/wfileops.c (adjust_wide_data): Likewise.
36827 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36828 (__m128i_strloadu_tolower): Likewise.
36829 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36830 (__m128i_strloadu_tolower): Likewise.
36831 * time/mktime.c (ydhms_diff): Likewise.
36832 * locale/elem-hash.h (elem_hash): Likewise.
36833 * locale/setlocale.c (setdata): Likewise.
36834 * posix/regex_internal.h (re_string_char_size_at): Likewise.
36835 (re_string_wchar_at): Likewise.
36836 (bitset_not, bitset_merge, bitset_mask): Likewise.
36837 [!(__GNUC__ > 3)] (inline): Remove macro.
36838 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36839 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36840 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36841 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36842 * string/memcmp.c (memcmp_bytes): Likewise.
36843 * locale/programs/locarchive.c (compute_hashval): Likewise.
36844 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36845 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36846 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36847 * nss/getent.c (print_rpc, print_protocols): Likewise.
36848 (print_passwd, print_group, print_aliases): Likewise.
36849 * nis/nss-nisplus.h (niserr2nss): Likewise.
36850 * nscd/connections.c (restart_p): Likewise.
36851 Change return type to bool.
36853 2013-02-05 Roland McGrath <roland@hack.frob.com>
36855 * Makeconfig (all-Depend-files): Add existing
36856 $(sorted-subdirs:=/Depend) files.
36857 (all-subdirs): Remove nss.
36858 * sysdeps/unix/inet/Subdirs: Add it here instead.
36859 * hesiod/Depend: New file.
36861 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36862 instead of calling alloca.
36864 * io/lseek.c (__lseek): Rename to __libc_lseek.
36865 Define __lseek as an alias.
36867 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36869 2013-02-04 Carlos O'Donell <carlos@redhat.com>
36871 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36872 else clause and remove check for non-standard endianness.
36874 2013-02-04 David S. Miller <davem@davemloft.net>
36876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36878 2013-02-04 Joseph Myers <joseph@codesourcery.com>
36881 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36882 (__ubp_memchr): Remove prototype.
36883 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36884 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36885 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36886 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36887 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36889 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36890 (__ubp_memchr): Likewise.
36891 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36892 (__ubp_memchr): Likewise.
36893 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36894 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36895 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36896 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36898 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36899 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36900 (__getcwd): Do not use CHECK_STRING.
36901 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36903 (__real_chown): Do not use CHECK_STRING.
36904 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36906 (fchownat): Do not use CHECK_STRING.
36907 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36909 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36911 (__lchown): Do not use CHECK_STRING.
36912 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36913 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36914 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36915 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36917 include <bp-checks.h>.
36918 (truncate64): Do not use CHECK_STRING.
36919 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36921 (__real_chown): Do not use CHECK_STRING.
36922 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36924 (__lchown): Do not use CHECK_STRING.
36925 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36927 (__chown): Do not use CHECK_STRING.
36928 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36930 (truncate64): Do not use CHECK_STRING.
36931 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36933 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36934 (__xmknod): Do not use CHECK_STRING.
36935 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36937 (__xmknodat): Do not use CHECK_STRING.
36938 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36939 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36941 2013-02-04 Andreas Schwab <schwab@suse.de>
36944 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36945 * include/netdb.h: Likewise for h_errno.
36946 * elf/tst-stackguard1.c: Include <tls.h>.
36948 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
36950 * elf/link.h (struct link_map): Extend the l_addr comment.
36951 * include/link.h (struct link_map): Likewise.
36953 2013-02-01 Joseph Myers <joseph@codesourcery.com>
36956 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36957 (BOUNDED_1): Remove macro.
36958 * debug/backtrace.c: Don't include <bp-checks.h>.
36959 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36960 (__backtrace): Likewise.
36961 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36963 (__backtrace): Don't use BOUNDED_1.
36964 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36966 (__backtrace): Don't use BOUNDED_1.
36967 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36968 (__backtrace): Don't use BOUNDED_1.
36969 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36970 (shmat): Don't use BOUNDED_N.
36972 2013-01-31 Joseph Myers <joseph@codesourcery.com>
36975 * sysdeps/generic/bp-start.h: Remove file.
36976 * csu/libc-start.c: Don't include <bp-start.h>.
36977 (LIBC_START_MAIN): Set up __environ directly instead of using
36978 INIT_ARGV_and_ENVIRON.
36979 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36983 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36985 (CHECK_FCNTL): Likewise.
36986 (CHECK_N_PAGES): Likewise.
36989 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36991 (CHECK_SIGSET_NULL_OK): Likewise.
36992 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36994 (sigpending): Don't use CHECK_SIGSET.
36995 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36997 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36998 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37000 (do_sigsuspend): Don't use CHECK_SIGSET.
37001 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37003 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37004 (do_sigwait): Don't use CHECK_SIGSET.
37005 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37007 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37008 include <bp-checks.h>.
37009 (sigpending): Don't use CHECK_SIGSET.
37010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37011 include <bp-checks.h>.
37012 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37013 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37015 (sigpending): Don't use CHECK_SIGSET.
37016 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37018 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37021 * sysdeps/generic/bp-semctl.h: Remove file.
37022 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37023 <bp-checks.h> and <bp-semctl.h>.
37024 (__old_semctl): Don't use CHECK_SEMCTL.
37025 (__new_semctl): Likewise.
37026 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37028 (__old_semctl): Don't use CHECK_SEMCTL.
37029 (__new_semctl): Likewise.
37030 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37031 <bp-checks.h> and <bp-semctl.h>.
37032 (__old_semctl): Don't use CHECK_SEMCTL.
37033 (__new_semctl): Likewise.
37034 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37035 <bp-checks.h> and <bp-semctl.h>.
37036 (semctl): Don't use CHECK_SEMCTL.
37039 * Makerules (elide-bp-thunks): Remove variable.
37040 (elide-routines.oS): Don't use $(elide-bp-thunks).
37041 (elide-routines.os): Likewise.
37042 (elide-routines.o): Likewise.
37043 (elide-routines.op): Likewise.
37044 (elide-routines.og): Likewise.
37045 (objects): Don't use $(bp-thunks).
37046 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37048 (common-generated): Do not add s-proto-bp.d.
37049 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37052 Do not generate makefile rules for bounded-pointer thunks.
37053 * sysdeps/generic/bp-thunks.h: Remove file.
37054 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37055 * sysdeps/unix/s-proto-bp.S: Likewise.
37058 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37059 parts of result separately when argument is not close to line from
37060 -i to i and one part of argument is small.
37061 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37062 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37063 * math/libm-test.inc (cacos_test): Add more tests.
37064 (casin_test): Likewise.
37065 (casinh_test): Likewise.
37066 * sysdeps/i386/fpu/libm-test-ulps: Update.
37067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37069 2013-01-31 David S. Miller <davem@davemloft.net>
37071 * po/de.po: Update from translation team.
37073 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37075 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37077 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37079 * configure.in (_AC_PROG_CC_C89): New definition.
37080 * configure: Regenerate.
37082 * configure.in (AC_PROG_CPP): New definition.
37083 * configure: Regenerate.
37085 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37087 * debug/tst-backtrace.h: New file.
37088 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37089 (ret): Remove variable.
37091 (FAIL): Remove macro.
37092 (NO_INLINE): Likewise.
37093 (fn1): Use match function instead of strstr.
37094 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37095 (ret): Remove variable.
37097 (FAIL): Remove macro.
37098 (NO_INLINE): Likewise.
37099 (fn): Use match function instead of strstr.
37100 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37101 (ret): Remove variable.
37103 (FAIL): Remove macro.
37104 (NO_INLINE): Likewise.
37105 (handle_signal): Use match function instead of strstr.
37106 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37107 (ret): Remove variable.
37109 (FAIL): Remove macro.
37110 (NO_INLINE): Likewise.
37111 (handle_signal): Use match function instead of strstr.
37113 2013-01-23 Roland McGrath <roland@hack.frob.com>
37115 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37117 2013-01-23 David S. Miller <davem@davemloft.net>
37119 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37120 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37121 argument of CAS if possible.
37122 * sysdeps/sparc/sparc64/bits/atomic.h
37123 (__arch_compare_and_exchange_val_32_acq): Likewise.
37124 (__arch_compare_and_exchange_val_64_acq): Likewise.
37126 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37128 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37129 * sysdeps/posix/ulimit.c: ... this.
37130 Include <limits.h>.
37131 * sysdeps/unix/bsd/ulimit.c: Remove file.
37133 2013-01-23 Adam Conrad <adconrad@0c3.net>
37135 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37136 (LDFLAGS-tst-array5): Likewise.
37138 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37141 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37142 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37143 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37144 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37146 2013-01-21 David S. Miller <davem@davemloft.net>
37148 * sysdeps/sparc/backtrace.c: New file.
37149 * sysdeps/sparc/sparc32/backtrace.h: New file.
37150 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37151 * sysdeps/sparc/sparc64/backtrace.h: New file.
37152 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37153 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37156 2013-01-21 Andreas Schwab <schwab@suse.de>
37159 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37162 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37164 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37168 2013-01-18 Joseph Myers <joseph@codesourcery.com>
37169 Mark Mitchell <mark@codesourcery.com>
37170 Tom de Vries <tom@codesourcery.com>
37171 Paul Pluzhnikov <ppluzhnikov@google.com>
37173 * debug/tst-backtrace2.c: New file.
37174 * debug/tst-backtrace3.c: Likewise.
37175 * debug/tst-backtrace4.c: Likewise.
37176 * debug/tst-backtrace5.c: Likewise.
37177 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37178 (CFLAGS-tst-backtrace3.c): Likewise.
37179 (CFLAGS-tst-backtrace4.c): Likewise.
37180 (CFLAGS-tst-backtrace5.c): Likewise.
37181 (LDFLAGS-tst-backtrace2): Likewise.
37182 (LDFLAGS-tst-backtrace3): Likewise.
37183 (LDFLAGS-tst-backtrace4): Likewise.
37184 (LDFLAGS-tst-backtrace5): Likewise.
37185 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37186 tst-backtrace4 and tst-backtrace5.
37188 2013-01-18 Anton Blanchard <anton@samba.org>
37189 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37191 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37192 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37193 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37194 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37196 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37197 "+r" and remove output regs list as redundant. Add explicit inline
37198 asm to specify register of return val to work around compiler codegen
37199 bug. Remove (int) cast on return value. Add return type parameter to
37200 use in macro so that this macro does not truncate return value for
37202 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37203 pass to INTERNAL_VSYSCALL_NCS.
37204 (INLINE_VSYSCALL): Add 'long int' as return type to
37205 INTERNAL_VSYSCALL_NCS macro invocation.
37206 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37207 INTERNAL_VSYSCALL_NCS macro invocation.
37208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37210 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37213 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37214 Fix application of SIMD FP exception mask.
37216 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37217 mp_no from a power of two.
37218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37219 __mpexp_twomm1. Use __pow_mp.
37221 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37224 2013-01-17 David S. Miller <davem@davemloft.net>
37226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37228 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37231 * include/complex.h: Condition contents on [!_COMPLEX_H].
37232 (__kernel_casinhf): New prototype.
37233 (__kernel_casinh): Likewise.
37234 (__kernel_casinhl): Likewise.
37235 * math/Makefile (libm_calls): Add k_casinh.
37236 * math/k_casinh.c: New file.
37237 * math/k_casinhf.c: Likewise.
37238 * math/k_casinhl.c: Likewise.
37239 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37240 finite nonzero arguments.
37241 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37242 finite nonzero arguments.
37243 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37244 finite nonzero arguments.
37245 * math/s_casinh.c: Do not include <float.h>.
37246 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37247 * math/s_casinhf.c: Do not include <float.h>.
37248 (__casinhf): Move code for finite nonzero arguments to
37250 * math/s_casinhl.c: Do not include <float.h>.
37251 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37253 (__casinhl): Move code for finite nonzero arguments to
37255 * math/libm-test.inc (cacos_test): Add more tests.
37256 * sysdeps/i386/fpu/libm-test-ulps: Update.
37257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37259 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37261 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37262 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37263 [!HAVE_MREMAP]: Remove [defined linux] case.
37264 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37266 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37268 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37270 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
37272 * elf/elf.h (R_386_SIZE32): New relocation.
37273 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37275 (elf_machine_rela): Likewise.
37276 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37277 R_X86_64_SIZE64 and R_X86_64_SIZE32.
37279 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37281 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37282 (FP_FAST_FMA): Do not define.
37283 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37284 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37285 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37286 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37287 !_SOFT_FLOAT]: Likewise.
37288 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37289 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37291 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37292 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37293 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37294 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37295 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37296 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37299 2013-01-16 Andreas Schwab <schwab@suse.de>
37302 * include/stdlib.h (__mktemp): Add declaration.
37303 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37304 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37306 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37308 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37310 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37311 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37312 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37314 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37315 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37317 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37319 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37320 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37321 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37323 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37324 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37326 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37328 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37330 2013-01-15 David S. Miller <davem@davemloft.net>
37332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37333 trunc{,f} to libm-sysdep_routes.
37334 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37344 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37345 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37346 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37347 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37348 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37349 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37352 nearbyint{,f} to libm-sysdep_routes.
37353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37364 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37366 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37367 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37369 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37370 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37371 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37373 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37374 libc_feholdexcept and libc_fesetenv.
37376 2013-01-15 Mike Frysinger <vapier@gentoo.org>
37378 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37380 2013-01-14 David S. Miller <davem@davemloft.net>
37382 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37383 (SPARC_ASM_VIS2_IFUNC): Likewise.
37384 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37386 use of 'siam' instruction.
37387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37420 routines to libm-sysdep_routines.
37421 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37424 fdim/fdimf to libm-sysdep_routines.
37425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37433 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37434 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37435 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37436 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37438 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37440 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37441 to optimize copies.
37443 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37448 local variable MPTWO.
37449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37452 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37454 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37457 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37459 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37461 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37463 * manual/pattern.texi (glob_t): Document gl_flags.
37464 (glob64_t): Likewise.
37466 2013-01-11 David S. Miller <davem@davemloft.net>
37468 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37469 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37470 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37471 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37472 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37473 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37474 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37475 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37476 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37477 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37478 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37479 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37480 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37482 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37483 sparc V9 rather than using V8 code.
37484 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37485 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37487 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37489 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37492 2013-01-11 Roland McGrath <roland@hack.frob.com>
37494 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37495 not in the main loop.
37496 * configure: Regenerated.
37498 2013-01-11 Joseph Myers <joseph@codesourcery.com>
37500 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37501 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37503 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37504 [!__GLIBC_HAVE_LONG_LONG] case.
37505 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37506 condition to just #else.
37507 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37508 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37509 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37510 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37512 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37513 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37514 #elif condition to just #else.
37515 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37516 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37517 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37518 #elif condition to just #else.
37520 2013-01-11 Steve Ellcey <sellcey@mips.com>
37522 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37523 (EF_MIPS_ARCH_64): Fix value.
37524 (EF_MIPS_ARCH_32R2): New.
37525 (EF_MIPS_ARCH_64R2): New.
37527 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37529 * Makeconfig (+link-pie-before-libc): New.
37530 (+link-pie-after-libc): Likewise.
37531 (+link-pie-tests): Likewise.
37532 (+link-pie): Rewritten.
37533 (link-before-libc): Remove $(config-LDFLAGS).
37534 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37535 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37536 (config-LDFLAGS): Renamed to ...
37537 (rtld-LDFLAGS): This.
37538 (rtld-tests-LDFLAGS): New macro.
37539 (link-libc-rpath-link): Likewise.
37540 (link-libc-tests-rpath-link): Likewise.
37541 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37542 (link-libc): Prepand $(link-libc-rpath-link).
37543 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37544 (test-program-prefix): New macro.
37545 (test-via-rtld-prefix): Likewise.
37546 (test-program-cmd): Likewise.
37547 (host-test-program-cmd): Likewise.
37548 * Makefile ($(common-objpfx)testrun.sh): Replace
37549 $(run-program-prefix) with $(test-program-prefix).
37550 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37552 ($(common-objpfx)shlib.lds): Likewise.
37553 (build-module-helper): Likewise.
37554 ($(common-objpfx)format.lds): Likewise.
37555 * Rules (binaries-pie-tests): New.
37556 (binaries-pie-notests): Likewise.
37557 (binaries-pie): Rewritten.
37558 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37559 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37560 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37561 (make-test-out): Replace $(host-built-program-cmd) with
37562 $(host-test-program-cmd).
37563 * config.make.in (build-hardcoded-path-in-tests): New variable.
37564 * configure.in (--enable-hardcoded-path-in-tests): New configure
37566 (hardcoded_path_in_tests): New AC_SUBST.
37567 * configure: Regenerated.
37568 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37569 $(built-program-cmd) with $(test-program-cmd).
37570 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37571 (test_program_cmd): This.
37572 * elf/Makefile ($(objpfx)order.out): Run test with
37573 $(test-program-prefix).
37574 ($(objpfx)order2.out): Likewise.
37575 ($(objpfx)tst-initorder.out): Likewise.
37576 ($(objpfx)tst-initorder2.out): Likewise.
37577 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37578 $(test-program-cmd).
37579 ($(objpfx)tst-array1-static.out): Likewise.
37580 ($(objpfx)tst-array2.out): Likewise.
37581 ($(objpfx)tst-array3.out): Likewise.
37582 ($(objpfx)tst-array4.out): Likewise.
37583 ($(objpfx)tst-array5.out): Likewise.
37584 ($(objpfx)tst-array5-static.out): Likewise.
37585 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37586 $(test-program-cmd).
37587 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37588 $(run-program-prefix) with $(test-program-prefix).
37589 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37590 (test_program_prefix): This.
37591 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37592 $(run-program-prefix) with $(test-program-prefix).
37593 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37594 (test_program_prefix): This.
37595 * iconvdata/tst-tables.sh: Likewise.
37596 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37597 $(run-program-prefix) with $(test-program-prefix).
37598 ($(objpfx)tst-translit.out): Likewise.
37599 ($(objpfx)tst-gettext2.out): Likewise.
37600 ($(objpfx)tst-gettext4.out): Likewise.
37601 ($(objpfx)tst-gettext6.out): Likewise.
37602 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37603 (test_program_prefix): This.
37604 * intl/tst-gettext2.sh: Likewise.
37605 * intl/tst-gettext4.sh Likewise.
37606 * intl/tst-gettext6.sh: Likewise.
37607 * intl/tst-translit.sh: Likewise.
37608 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37609 with $(test-program-cmd).
37610 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37611 $(run-program-prefix) with $(test-program-prefix).
37612 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37613 (test_program_prefix): This.
37614 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37615 $(run-program-prefix) with $(test-program-prefix).
37616 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37617 (test_program_prefix): This.
37618 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37619 * posix/Makefile ($(objpfx)globtest.out): Replace
37620 $(run-via-rtld-prefix) and $(test-wrapper) with
37621 $(test-program-prefix) and $(test-via-rtld-prefix).
37622 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37623 $(test-program-prefix).
37624 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37625 $(host-test-program-cmd).
37626 (tst-spawn-ARGS): Likewise.
37627 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37628 $(test-program-prefix).
37629 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37630 (test_via_rtld_prefix): This.
37631 (test_wrapper): Renamed to ...
37632 (test_program_prefix): This.
37633 (run_program_prefix): Replaced by test_program_prefix.
37634 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37635 (test_program_prefix): This.
37636 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37637 with $(host-test-program-cmd).
37638 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37639 $(run-program-prefix) with $(test-program-prefix).
37640 ($(objpfx)tst-printf.out): Likewise.
37641 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37642 $(test-program-cmd).
37643 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37644 (test_program_prefix): This.
37645 * stdio-common/tst-unbputc.sh: Likewise.
37646 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37647 $(run-program-prefix) with $(test-program-prefix).
37648 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37649 (test_program_prefix): This.
37650 * string/Makefile ($(objpfx)tst-svc.out): Replace
37651 $(built-program-cmd) with $(test-program-cmd).
37653 2013-01-11 Andreas Jaeger <aj@suse.de>
37656 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37657 value. Sync with Linux 3.7.
37659 2013-01-10 David S. Miller <davem@davemloft.net>
37661 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37662 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37663 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37665 2013-01-10 Roland McGrath <roland@hack.frob.com>
37667 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37669 * configure: Regenerated.
37671 2013-01-10 David S. Miller <davem@davemloft.net>
37673 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37674 sparc V9 rather than using V8 code.
37675 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37676 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37678 2013-01-10 Roland McGrath <roland@hack.frob.com>
37680 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37681 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37682 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37683 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37684 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37685 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37686 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37687 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37688 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37689 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37690 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37691 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37692 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37693 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37694 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37695 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37696 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37697 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37698 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37699 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37700 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37701 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37702 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37703 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37704 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37705 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37706 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37708 2013-01-10 David S. Miller <davem@davemloft.net>
37710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37712 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37714 * posix/Makefile (tests-static): New variable.
37715 (tests): Add $(tests-static).
37716 (tst-exec-static-ARGS): New variable.
37717 (tst-spawn-static-ARGS): Likewise.
37718 * posix/tst-exec-static.c: New file.
37719 * posix/tst-spawn-static.c: Likewise.
37720 * posix/tst-exec.c: Support run directly.
37721 * posix/tst-spawn.c: Likewise.
37723 2013-01-10 Joseph Myers <joseph@codesourcery.com>
37725 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37727 * math/bits/mathcalls.h (llrint): Likewise.
37728 (llround): Likewise.
37729 * stdlib/stdlib.h (struct drand48_data): Likewise.
37730 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37731 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37732 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37734 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37736 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37737 (elf_greg_t): Likewise.
37738 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37739 (__jmp_buf): Likewise.
37740 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37742 (llrint): Likewise, for all definitions.
37743 (llrintl): Likewise.
37745 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37746 Remove [__GNUC__] condition.
37747 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37748 condition to just [__USE_ISOC99].
37749 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37751 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37754 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37755 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37757 (_POSIX_V6_ILP32_OFF32): Likewise.
37758 (_XBS5_ILP32_OFF32): Likewise.
37759 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37760 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37762 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37764 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37766 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37767 doubles __mpexp_twomm1. Adjust usage.
37768 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37771 2013-01-10 Andreas Schwab <schwab@suse.de>
37774 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37775 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37777 2013-01-09 David S. Miller <davem@davemloft.net>
37780 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37781 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37782 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37783 (TCP_FASTOPEN): Define.
37784 (tcp_repair_opt): New structure.
37785 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37787 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37788 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37789 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37790 (tcp_cookie_transactions): New structure.
37792 2013-01-09 Anton Blanchard <anton@samba.org>
37794 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37795 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37796 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37797 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37799 2013-01-09 Joseph Myers <joseph@codesourcery.com>
37801 * include/features.h (__USE_ANSI): Remove.
37803 2013-01-09 Roland McGrath <roland@hack.frob.com>
37805 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37807 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37809 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37811 * sysdeps/s390/fpu/libm-test-ulps: Update.
37813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37815 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37819 (denorm): Likewise.
37820 (__mp_dbl): Likewise.
37821 (__dbl_mp): Likewise.
37822 (add_magnitudes): Likewise.
37823 (sub_magnitudes): Likewise.
37829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37833 (denorm): Likewise.
37834 (__mp_dbl): Likewise.
37835 (__dbl_mp): Likewise.
37836 (add_magnitudes): Likewise.
37837 (sub_magnitudes): Likewise.
37843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37847 (denorm): Likewise.
37848 (__mp_dbl): Likewise.
37849 (__dbl_mp): Likewise.
37850 (add_magnitudes): Likewise.
37851 (sub_magnitudes): Likewise.
37858 2013-01-08 Joseph Myers <joseph@codesourcery.com>
37860 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37861 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37862 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37863 2 && __USE_EXTERN_INLINES]: Likewise.
37865 2013-01-08 Andreas Jaeger <aj@suse.de>
37868 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37870 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37871 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37873 2013-01-07 Anton Blanchard <anton@samba.org>
37875 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37876 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37877 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37878 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37879 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37880 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37881 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37882 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37884 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37885 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37886 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37887 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37888 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37889 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37890 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37891 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37892 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37893 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37894 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37895 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37896 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37897 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37898 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37899 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37900 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37901 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37902 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37903 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37904 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37905 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37907 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37908 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37909 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37910 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37911 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37912 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37913 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37914 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37915 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37916 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37917 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37919 2013-01-07 Joseph Myers <joseph@codesourcery.com>
37921 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37922 (__MALLOC_PMT): Likewise.
37923 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37924 [__GNUC__], only on [_LIBC].
37925 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37926 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37927 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37928 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37929 forward declaration.
37930 (realloc_hook_ini): Likewise.
37931 (memalign_hook_ini): Likewise.
37932 (__libc_memalign): Do not use __MALLOC_PMT in variable
37934 (__libc_valloc): Likewise.
37935 (__libc_pvalloc): Likewise.
37936 (__libc_calloc): Likewise.
37937 (__posix_memalign): Likewise.
37940 * math/s_casinh.c: Include <float.h>.
37941 (__casinh): Do not do computation with squaring and square root
37942 for large arguments.
37943 * math/s_casinhf.c: Include <float.h>.
37944 (__casinhf): Do not do computation with squaring and square root
37945 for large arguments.
37946 * math/s_casinhl.c: Include <float.h>.
37947 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37948 (__casinhl): Do not do computation with squaring and square root
37949 for large arguments.
37950 * math/libm-test.inc (casin_test): Add more tests.
37951 (casinh_test): Likewise.
37952 * sysdeps/i386/fpu/libm-test-ulps: Update.
37953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37955 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
37957 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37958 (__x86_64_raw_data_cache_size): Likewise.
37959 (__x86_64_data_cache_size_half): Likewise.
37960 (__x86_64_raw_data_cache_size_half): Likewise.
37961 (__x86_64_shared_cache_size): Likewise.
37962 (__x86_64_raw_shared_cache_size): Likewise.
37963 (__x86_64_shared_cache_size_half): Likewise.
37964 (__x86_64_raw_shared_cache_size_half): Likewise.
37965 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37967 (__x86_data_cache_size): This.
37968 (__x86_64_raw_data_cache_size): Renamed to ...
37969 (__x86_raw_data_cache_size): This.
37970 (__x86_64_data_cache_size_half): Renamed to ...
37971 (__x86_data_cache_size_half): This.
37972 (__x86_64_raw_data_cache_size_half): Renamed to ...
37973 (__x86_raw_data_cache_size_half): This.
37974 (__x86_64_shared_cache_size): Renamed to ...
37975 (__x86_shared_cache_size): This.
37976 (__x86_64_raw_shared_cache_size): Renamed to ...
37977 (__x86_raw_shared_cache_size): This.
37978 (__x86_64_shared_cache_size_half): Renamed to ...
37979 (__x86_shared_cache_size_half): This.
37980 (__x86_64_raw_shared_cache_size_half): Renamed to ...
37981 (__x86_raw_shared_cache_size_half): This.
37982 * sysdeps/x86_64/memcpy.S: Updated.
37983 * sysdeps/x86_64/memset.S: Likewise.
37984 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37985 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37986 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37988 2013-01-04 David S. Miller <davem@davemloft.net>
37990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37992 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
37994 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37995 1 to avoid redefinition warning.
37996 (__USE_GNU): Don't define.
37997 (init_signaling_nan): Protoize.
37999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38001 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38003 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38005 (__cpymn): Likewise.
38006 (norm): Remove commented code.
38007 (denorm): Likewise.
38008 (__mp_dbl): Likewise.
38010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38011 (__cpymn): Likewise.
38012 (norm): Remove commented code.
38013 (denorm): Likewise.
38014 (__mp_dbl): Likewise.
38017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38018 mp_no value for 1.0 and 2.0.
38019 (norm): Use RADIXI instead of radixi.d.
38020 (denorm): Likewise.
38021 (__mul): Use 0.0 instead of zero.d.
38022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38023 mp_no value for 1.0 and 2.0.
38024 (norm): Use RADIXI instead of radixi.d.
38025 (denorm): Likewise.
38026 (__mul): Use 0.0 instead of zero.d.
38028 2013-01-04 Joseph Myers <joseph@codesourcery.com>
38031 * math/s_casinh.c (__casinh): Reduce finite argument to first
38032 quadrant then set signs of results at the end.
38033 * math/s_casinhf.c (__casinhf): Likewise.
38034 * math/s_casinhl.c (__casinhl): Likewise.
38035 * math/libm-test.inc (casin_test): Add more tests.
38036 (casinh_test): Likewise.
38037 * sysdeps/i386/fpu/libm-test-ulps: Update.
38038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38040 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38042 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38044 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38046 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38048 (denorm): Likewise.
38049 (__mp_dbl): Likewise.
38052 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38053 and adjust the header comment.
38055 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38056 variable name from declaration.
38058 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38061 Initialize COMMON_CPUID_INDEX_7 element.
38062 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38063 (CPUID_RTM): Likewise.
38064 (HAS_RTM): Likewise.
38065 (COMMON_CPUID_INDEX_7): New enum.
38067 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38070 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38071 size is zero, record memory as freed.
38073 2013-01-03 Andreas Jaeger <aj@suse.de>
38075 * po/ia.po: Add new Interlingua translation.
38077 2012-01-03 Allan McRae <allan@archlinux.org>
38079 * locale/programs/localedef.c: Fix description of '--posix' flag.
38081 2013-01-02 Joseph Myers <joseph@codesourcery.com>
38083 * NEWS: Update dates in second copyright notice.
38084 * README: Update copyright dates in example.
38085 * manual/libc.texinfo: Update copyright dates.
38086 * scripts/test-installation.pl: Update copyright date in --version
38089 * hurd/ctty-input.c: Fix copyright notice formatting.
38090 * hurd/ctty-output.c: Likewise.
38091 * hurd/dtable.c: Likewise.
38092 * hurd/hurd-raise.c: Likewise.
38093 * hurd/hurdprio.c: Likewise.
38094 * hurd/msgportdemux.c: Likewise.
38095 * misc/sys/file.h: Likewise.
38096 * misc/sys/ioctl.h: Likewise.
38097 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38098 * sysdeps/mach/hurd/chdir.c: Likewise.
38099 * sysdeps/mach/hurd/fchdir.c: Likewise.
38100 * sysdeps/mach/hurd/rename.c: Likewise.
38101 * sysdeps/mach/hurd/rmdir.c: Likewise.
38102 * sysdeps/mach/hurd/seekdir.c: Likewise.
38103 * sysdeps/mach/hurd/setsid.c: Likewise.
38104 * sysdeps/posix/wait3.c: Likewise.
38106 * All files with FSF copyright notices: Update copyright dates
38107 using scripts/update-copyrights.
38108 * intl/plural.c: Regenerated.
38109 * locale/programs/charmap-kw.h: Likewise.
38110 * locale/programs/locfile-kw.h: Likewise.
38112 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38114 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38117 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38118 calculation loop and add branch prediction.
38120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38121 check access beyond bounds of m1np.
38123 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38125 (__inv): Remove local variable MPTWO to use the global
38127 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38128 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38130 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38131 MP3HALFS static const.
38133 2013-01-01 David S. Miller <davem@davemloft.net>
38135 * po/ca.po: Update from translation team.
38137 2013-01-01 Joseph Myers <joseph@codesourcery.com>
38139 * scripts/update-copyrights: New file.
38140 * Makeconfig: Reformat copyright notice.
38141 * ctype/ctype.h: Likewise.
38142 * debug/swprintf_chk.c: Likewise.
38143 * elf/dl-cache.c: Likewise.
38144 * elf/dl-debug.c: Likewise.
38145 * elf/dl-object.c: Likewise.
38146 * grp/initgroups.c: Likewise.
38147 * hurd/Makefile: Likewise.
38148 * hurd/hurd/signal.h: Likewise.
38149 * hurd/hurdfault.c: Likewise.
38150 * hurd/hurdioctl.c: Likewise.
38151 * hurd/hurdlookup.c: Likewise.
38152 * hurd/intr-msg.c: Likewise.
38153 * iconv/gconv_open.c: Likewise.
38154 * libio/swprintf.c: Likewise.
38155 * locale/lc-ctype.c: Likewise.
38156 * locale/nl_langinfo.c: Likewise.
38157 * mach/Machrules: Likewise.
38158 * mach/Makefile: Likewise.
38159 * malloc/obstack.h: Likewise.
38160 * manual/Makefile: Likewise.
38161 * manual/tsort.awk: Likewise.
38162 * misc/bits/stab.def: Likewise.
38163 * nis/nis_print_group_entry.c: Likewise.
38164 * nis/nis_table.c: Likewise.
38165 * nis/nss_compat/compat-pwd.c: Likewise.
38166 * nis/nss_compat/compat-spwd.c: Likewise.
38167 * po/Makefile: Likewise.
38168 * posix/fnmatch.c: Likewise.
38169 * posix/regex.h: Likewise.
38170 * resolv/Makefile: Likewise.
38171 * resolv/nss_dns/dns-network.c: Likewise.
38172 * resolv/res_hconf.c: Likewise.
38173 * scripts/gen-sorted.awk: Likewise.
38174 * soft-fp/soft-fp.h: Likewise.
38175 * stdio-common/printf.h: Likewise.
38176 * stdlib/monetary.h: Likewise.
38177 * stdlib/random.c: Likewise.
38178 * stdlib/random_r.c: Likewise.
38179 * sysdeps/generic/Makefile: Likewise.
38180 * sysdeps/gnu/Makefile: Likewise.
38181 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38182 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38183 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38185 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38186 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38187 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38188 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38189 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38191 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38192 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38193 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38194 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38195 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38196 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38197 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38198 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38199 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38200 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38201 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38202 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38203 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38204 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38205 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38206 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38207 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38208 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38209 * sysdeps/mach/hurd/errnos.awk: Likewise.
38210 * sysdeps/mach/hurd/fork.c: Likewise.
38211 * sysdeps/mach/hurd/getcwd.c: Likewise.
38212 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38213 * sysdeps/mach/hurd/mmap.c: Likewise.
38214 * sysdeps/mach/hurd/utimes.c: Likewise.
38215 * sysdeps/mach/hurd/xmknod.c: Likewise.
38216 * sysdeps/posix/profil.c: Likewise.
38217 * sysdeps/posix/readdir_r.c: Likewise.
38218 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38219 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38220 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38221 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38223 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38224 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38225 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38227 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38228 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38229 * sysdeps/pthread/lio_listio.c: Likewise.
38230 * sysdeps/sparc/dl-procinfo.h: Likewise.
38231 * sysdeps/unix/i386/sysdep.S: Likewise.
38232 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38233 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38234 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38235 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38237 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38238 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38239 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38240 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38241 * sysdeps/wordsize-32/divdi3.c: Likewise.
38242 * time/sys/time.h: Likewise.
38243 * wcsmbs/Makefile: Likewise.
38245 2013-01-01 David S. Miller <davem@davemloft.net>
38247 * po/fr.po: Update from translation team.
38249 * catgets/gencat.c: Update copyright year.
38250 * csu/version.c: Likewise.
38251 * debug/catchsegv.sh: Likewise.
38252 * debug/pcprofiledump.c: Likewise.
38253 * debug/xtrace.sh: Likewise.
38254 * elf/ldconfig.c: Likewise.
38255 * elf/ldd.bash.in: Likewise.
38256 * elf/pldd.c: Likewise.
38257 * elf/sotruss.ksh: Likewise.
38258 * elf/sprof.c: Likewise.
38259 * iconv/iconv_prog.c: Likewise.
38260 * iconv/iconvconfig.c: Likewise.
38261 * locale/programs/locale.c: Likewise.
38262 * locale/programs/localedef.c: Likewise.
38263 * login/programs/pt_chown.c: Likewise.
38264 * malloc/memusage.sh: Likewise.
38265 * malloc/memusagestat.c: Likewise.
38266 * malloc/mtrace.pl: Likewise.
38267 * nscd/nscd.c: Likewise.
38268 * nss/getent.c: Likewise.
38269 * nss/makedb.c: Likewise.
38270 * posix/getconf.c: Likewise.
38272 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38274 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38277 2012-12-30 Mike Frysinger <vapier@gentoo.org>
38279 * math/bits/mathcalls.h (modf): Use __nonnull.
38281 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38283 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38284 (split): Use macro CN instead of the bare value.
38285 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38287 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38288 instead of the bare value.
38289 (power1): Likewise.
38291 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38293 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38295 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38297 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38299 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38300 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38301 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38302 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38304 2012-12-28 Andreas Jaeger <aj@suse.de>
38306 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38307 values are from Linux 3.7.
38309 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38310 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38312 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38314 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38317 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38319 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38320 variables with preprocessor constants.
38321 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38322 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38323 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38325 2012-12-27 Bruno Haible <bruno@clisp.org>
38328 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38331 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38334 and use variable directly.
38335 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38337 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38339 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38340 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38342 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38344 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38345 include directive. Remove local variable MPONE.
38346 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38347 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38348 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38350 2012-12-25 David S. Miller <davem@davemloft.net>
38352 * version.h (RELEASE): Set to "development".
38353 (VERSION): Set to "2.17.90".
38354 * NEWS: Add 2.18 section.
38356 2012-12-21 David S. Miller <davem@davemloft.net>
38358 * po/hr.po: Update from translation team.
38360 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38362 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38364 2012-12-19 Steve Ellcey <sellcey@mips.com>
38366 * NEWS: Mention new memcpy for MIPS.
38368 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38370 * manual/contrib.texi (Contributors): Spelling correction.
38372 2012-12-15 David S. Miller <davem@davemloft.net>
38374 * po/ru.po: Update from translation team.
38376 2012-12-13 David S. Miller <davem@davemloft.net>
38378 * NEWS: Mention IFUNC testsuite enhancements.
38380 * po/pl.po: Update from translation team.
38381 * po/bg.po: Likewise.
38383 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38384 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38386 2012-12-11 David S. Miller <davem@davemloft.net>
38388 * po/sv.po: Update from translation team.
38390 * po/vi.po: Update from translation team.
38392 * po/cs.po: Update from translation team.
38394 * po/de.po: Update from translation team.
38395 * po/eo.po: Likewise.
38396 * po/nl.po: Likewise.
38398 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38401 * manual/argp.texi (Argp Helper Functions): Move node to follow
38402 Argp Parsing State.
38405 * manual/conf.texi (Limits on File System Capacity): Mention if
38406 terminating null is included in the max size.
38408 2012-12-10 Andreas Jaeger <aj@suse.de>
38410 * po/cs.po: Update from translation team.
38412 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38414 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38415 void pointer and cast to uintptr_t.
38416 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38418 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38419 * sysdeps/s390/s390-64/memset.S: Likewise.
38421 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
38424 * menual/message.texi (Message Translation): Fix typos.
38425 (Helper programs for gettext): Likewise.
38427 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38430 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38433 2012-12-07 David S. Miller <davem@davemloft.net>
38435 * po/libc.pot: Update.
38437 2012-12-07 Richard Henderson <rth@redhat.com>
38440 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38441 normal/normal case to before the switch.
38442 (_FP_DIV): Likewise.
38444 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38445 Mike Frysinger <vapier@gentoo.org>
38447 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38448 check for __NR_fadvise64_64.
38450 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38452 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38453 0, not just to plain "0" as a statement.
38454 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38457 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38459 * NEWS: Use sourceware.org in Bugzilla URL.
38461 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38464 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38466 * stdio-common/tst-put-error.c (do_test): Add newline to the
38467 padded test to ensure flush.
38469 2012-12-05 Jeff Law <law@redhat.com>
38471 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38473 2012-12-05 Joseph Myers <joseph@codesourcery.com>
38475 * README: Don't refer to ports add-on as distributed separately.
38476 Mention AArch64 in list of systems supported in the ports add-on.
38478 * LICENSES: Add more non-FSF copyright and license notices.
38480 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38483 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38485 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38486 10000 as width of padded output.
38488 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38490 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38492 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38493 variable LX with __attribute__ ((unused)).
38494 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38496 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38497 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38498 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38499 with __attribute__ ((unused)).
38501 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
38503 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38505 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38507 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38508 (CFLAGS-nldbl-acos.c): New variable.
38509 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38510 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38511 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38512 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38513 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38514 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38515 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38516 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38517 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38518 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38519 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38520 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38521 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38522 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38523 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38524 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38525 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38526 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38527 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38528 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38529 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38530 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38531 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38532 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38533 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38534 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38535 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38536 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38537 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38538 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38539 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38540 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38541 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38542 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38543 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38544 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38545 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38546 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38547 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38548 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38549 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38550 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38551 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38552 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38553 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38554 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38555 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38556 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38557 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38558 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38559 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38560 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38561 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38562 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38563 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38564 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38565 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38566 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38567 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38568 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38569 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38570 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38571 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38572 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38573 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38574 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38575 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38576 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38577 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38578 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38579 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38580 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38581 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38582 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38583 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38584 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38585 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38586 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38587 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38588 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38589 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38590 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38591 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38592 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38593 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38594 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38595 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38596 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38597 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38598 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38599 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38600 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38601 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38602 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38603 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38604 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38605 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38608 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38611 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38612 whole low double instead of just low 47 bits when splitting values
38615 2012-12-03 Allan McRae <allan@archlinux.org>
38617 * manual/stdio.texi (Predefined Printf Handlers): Remove
38618 @hsep and @vsep usage.
38620 2012-12-03 Mike Frysinger <vapier@gentoo.org>
38622 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38623 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38625 2012-12-03 Jeff Law <law@redhat.com>
38627 * time/sys/time.h (settimeofday): Do not mark TV argument
38630 2012-12-01 Mike Frysinger <vapier@gentoo.org>
38632 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38633 when currently writing and seek to current position when not.
38634 * libio/Makefile (tests): Remove bug-fclose1.
38635 * libio/bug-fclose1.c: Delete.
38637 2012-12-01 Joseph Myers <joseph@codesourcery.com>
38639 * manual/arith.texi (feenableexcept): Fix typo.
38640 (fedisableexcept): Likewise.
38642 2012-11-30 Roland McGrath <roland@hack.frob.com>
38644 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38645 second, differently-typed declaration, rather than a cast.
38647 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38649 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38650 * include/rpc/svc.h: ... here.
38652 2012-11-30 Aurelien Jarno <aurel32@debian.org>
38655 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38656 depending n and resplen2 to catch cases where answer
38659 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38661 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38662 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38664 2012-11-29 Mike Frysinger <vapier@gentoo.org>
38666 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38668 2012-11-29 Roland McGrath <roland@hack.frob.com>
38670 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38672 2012-11-28 Jeff Law <law@redhat.com>
38675 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38676 dataset_temporary. Track alloca usage into alloca_used.
38677 If dataset is large allocate and release it via malloc/free.
38679 2012-06-04 Florian Weimer <fweimer@redhat.com>
38682 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38684 2012-11-28 David S. Miller <davem@davemloft.net>
38686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38688 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38691 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38692 of pi/2 rounded to nearest to 64 bits.
38693 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38694 nearest to 64 bits.
38695 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38698 2012-11-28 Jeff Law <law@redhat.com>
38699 Martin Osvald <mosvald@redhat.com>
38702 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38703 * sunrpc/svc.c: Include time.h.
38704 (__svc_accept_failed): New function.
38705 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38706 any reason other than EINTR, call __svc_accept_failed.
38707 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38708 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38710 2012-11-28 Andreas Schwab <schwab@suse.de>
38712 * scripts/abilist.awk: Also handle indirect functions in .opd
38715 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38718 * sysdeps/x86/fpu/powl_helper.c: New file.
38719 * sysdeps/x86/fpu/Makefile: Likewise.
38720 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38722 (__ieee754_powl): Use __powl_helper for finite arguments except
38723 integer exponents below 8.
38724 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38726 (__ieee754_powl): Use __powl_helper for finite arguments except
38727 integer exponents below 8.
38728 * math/libm-test.inc (pow_test): Add more tests and enable some
38729 previously disabled tests.
38730 * sysdeps/i386/fpu/libm-test-ulps: Update.
38731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38733 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38734 Carlos O'Donell <carlos_odonell@mentor.com>
38736 * nss/makedb.c (is_prime): Assert that input is odd and greater
38737 than 4. Note that fact in a comment too.
38738 (next_prime): Add 4 to input.
38740 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38743 * libio/Makefile (tests): Add test case tst-fwrite-error.
38744 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38745 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38746 * libio/tst-fwrite-error.c: New test case.
38748 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38750 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38751 before casting to void *.
38752 * include/libc-internal.h (__pointer_type): New macro.
38753 (__integer_if_pointer_type_sub): Likewise.
38754 (__integer_if_pointer_type): Likewise.
38755 (cast_to_integer): Likewise.
38756 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38757 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38758 before casting to atomic64_t.
38759 (atomic_exchange_acq): Likewise.
38760 (__arch_exchange_and_add_body): Likewise.
38761 (__arch_add_body): Likewise.
38762 (atomic_add_negative): Likewise.
38763 (atomic_add_zero): Likewise.
38765 2012-11-26 Joseph Myers <joseph@codesourcery.com>
38767 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38768 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38769 (add_fdes): Likewise.
38770 (linear_search_fdes): Likewise.
38771 (binary_search_unencoded_fdes): Likewise.
38773 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38775 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38777 2012-11-24 Adam Conrad <adconrad@0c3.net>
38779 * configure.in: Autodetect C++ header directories.
38780 * configure: Regenerated.
38782 2012-11-23 Mike Frysinger <vapier@gentoo.org>
38784 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38786 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38790 2012-11-22 Joseph Myers <joseph@codesourcery.com>
38792 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38793 LDBL_MANT_DIG == 106]: Disable some tests.
38794 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38796 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38800 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38801 input for small inputs. Return +/- pi/2 for large inputs.
38802 * math/libm-test.inc (atan_test): Add more tests.
38804 * sysdeps/generic/unwind-dw2-fde-glibc.c
38805 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38806 __attribute__ ((unused)).
38809 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38810 x * y if x and y are nonzero and z is zero.
38813 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38814 nonzero exponents with absolute value below 0x1p-117 to +/-
38818 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38819 up arguments below 2**-450, not just those below 2**-500.
38820 * math/libm-test.inc (hypot_test): Add another test.
38823 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38824 Return a+b for ratio over 2**120, not 2**60.
38825 * math/libm-test.inc (hypot_test): Add another test.
38827 * math/libm-test.inc (clog_test): Use
38828 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38829 (clog10_test): Likewise.
38832 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38834 2012-11-22 Andreas Schwab <schwab@suse.de>
38836 * sysdeps/i386/fpu/libm-test-ulps: Update.
38838 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
38840 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38841 printf output with newline.
38843 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
38846 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38847 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38848 -z nodlopen, -z initfirst and -z execstack support.
38849 * configure: Regenerated.
38851 * elf/elf.h (DF_1_NODIRECT): New macro.
38852 (DF_1_IGNMULDEF): Likewise.
38853 (DF_1_NOKSYMS): Likewise.
38854 (DF_1_NOHDR): Likewise.
38855 (DF_1_EDITED): Likewise.
38856 (DF_1_NORELOC): Likewise.
38857 (DF_1_SYMINTPOSE): Likewise.
38858 (DF_1_GLOBAUDIT): Likewise.
38859 (DF_1_SINGLETON): Likewise.
38860 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38861 DT_1_SUPPORTED_MASK bits.
38862 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38864 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
38866 * sysdeps/unix/make-syscalls.sh: Document prefixes.
38868 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
38870 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38873 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38874 (sendmmsg): Move declarations...
38875 * socket/sys/socket.h: ... here.
38876 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38877 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38879 * socket/recvmmsg.c: ... this new file.
38880 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38881 (sendmmsg): Rename to __sendmmsg, create weak alias and make
38882 definition of __sendmmsg hidden.
38883 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38884 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38885 Move ENOSYS stub into and include it from...
38886 * socket/sendmmsg.c: ... this new file.
38887 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38888 (sysdep_routines): Move recvmmsg and sendmmsg...
38889 * socket/Makefile (routines): ... here.
38890 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38891 (GLIBC_PRIVATE): Add __sendmmsg.
38892 * include/sys/socket.h (__sendmmsg): Add declarations.
38893 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38896 2012-11-20 Joseph Myers <joseph@codesourcery.com>
38898 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38899 variable I1 with __attribute__ ((unused)).
38900 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38902 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38904 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38905 DUMMY variables with __attribute__ ((unused)).
38907 * bits/byteswap.h: Include <bits/types.h>.
38908 (__bswap_64): Use __uint64_t instead of unsigned long long int.
38910 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38912 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38913 string_t. Do not manually set errno.
38914 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38915 length with __strnlen. Make sure to both set errno and return it on
38918 2012-11-19 David S. Miller <davem@davemloft.net>
38920 With help from Joseph Myers.
38921 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38922 very large arguments properly.
38923 * math/libm-test.inc (atan_test): New tests.
38924 (atan2_test): New tests.
38925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38928 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38931 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38934 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38935 [POSIX] (EADDRNOTAVAIL): Likewise.
38936 [POSIX] (EAFNOSUPPORT): Likewise.
38937 [POSIX] (EALREADY): Likewise.
38938 [POSIX] (ECONNABORTED): Likewise.
38939 [POSIX] (ECONNREFUSED): Likewise.
38940 [POSIX] (ECONNRESET): Likewise.
38941 [POSIX] (EDESTADDRREQ): Likewise.
38942 [POSIX] (EDQUOT): Likewise.
38943 [POSIX] (EHOSTUNREACH): Likewise.
38944 [POSIX] (EIDRM): Likewise.
38945 [POSIX] (EISCONN): Likewise.
38946 [POSIX] (ELOOP): Likewise.
38947 [POSIX] (EMULTIHOP): Likewise.
38948 [POSIX] (ENETDOWN): Likewise.
38949 [POSIX] (ENETUNREACH): Likewise.
38950 [POSIX] (ENOBUFS): Likewise.
38951 [POSIX] (ENODATA): Likewise.
38952 [POSIX] (ENOLINK): Likewise.
38953 [POSIX] (ENOMSG): Likewise.
38954 [POSIX] (ENOPROTOOPT): Likewise.
38955 [POSIX] (ENOSR): Likewise.
38956 [POSIX] (ENOSTR): Likewise.
38957 [POSIX] (ENOTCONN): Likewise.
38958 [POSIX] (ENOTSOCK): Likewise.
38959 [POSIX] (EOPNOTSUPP): Likewise.
38960 [POSIX] (EOVERFLOW): Likewise.
38961 [POSIX] (EPROTO): Likewise.
38962 [POSIX] (EPROTONOSUPPORT): Likewise.
38963 [POSIX] (EPROTOTYPE): Likewise.
38964 [POSIX] (ESTALE): Likewise.
38965 [POSIX] (ETIME): Likewise.
38966 [POSIX] (ETXTBSY): Likewise.
38967 [POSIX] (EWOULDBLOCK): Likewise.
38968 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38969 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38970 [POSIX] (SEEK_CUR): Likewise.
38971 [POSIX] (SEEK_END): Likewise.
38972 [POSIX || UNIX98] (mode_t): Do not require.
38973 [POSIX] (off_t): Likewise.
38974 [POSIX] (pid_t): Likewise.
38975 [POSIX] (sys/stat.h): Do not allow header.
38976 [POSIX] (unistd.h): Likewise.
38977 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38978 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38979 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38980 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38982 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38983 sigevent): Specify elements.
38984 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38986 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38987 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38989 * conform/data/cpio.h-data [POSIX]: Disable whole file.
38990 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38991 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38992 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38993 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38994 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38995 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38996 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38997 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38998 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38999 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39000 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39001 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39002 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39004 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39006 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39008 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39010 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39011 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39012 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39013 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39014 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39015 Specify lower bound on value.
39016 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39017 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39018 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39019 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39020 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39021 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39022 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39023 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39025 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39027 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39028 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39029 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39030 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39031 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39032 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39033 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39034 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39035 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39036 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39037 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39038 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39039 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39040 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39041 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39042 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39044 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39046 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39047 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39048 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39049 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39050 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39051 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39053 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39054 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39055 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39056 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39057 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39058 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39059 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39061 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39062 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39063 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39064 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39065 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39066 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39067 specify as optional.
39068 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39069 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39070 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39071 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39072 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39073 [XPG3] (NL_LANGMAX): Likewise.
39074 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39075 [POSIX || XPG3] (NL_NMAX): Likewise.
39076 [POSIX || XPG3] (NL_SETMAX): Likewise.
39077 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39078 [XPG3] (NZERO): Likewise.
39079 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39080 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39081 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39082 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39083 (REG_ERANGE): Expect.
39084 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39086 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39087 Use (void) in prototype.
39088 [POSIX] (*_t): Allow.
39089 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39090 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39091 (WRDE_BADVAL): Expect.
39093 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39095 [XPG3 || XPG4] (O_RSYNC): Likewise.
39096 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39098 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39099 [XPG3 || XPG4] (sigqueue): Likewise.
39100 [XPG3 || XPG4] (sigtimedwait): Likewise.
39101 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39102 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39103 [XPG3 || XPG4] (vsnprintf): Likewise.
39104 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39106 [XPG3 || XPG4] (blksize_t): Likewise.
39107 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39109 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39110 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39111 [XPG3 || XPG4] (struct itimerspec): Likewise.
39112 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39113 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39114 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39115 [XPG3 || XPG4] (clockid_t): Likewise.
39116 [XPG3 || XPG4] (timer_t): Likewise.
39117 [XPG3 || XPG4] (clock_getres): Likewise.
39118 [XPG3 || XPG4] (clock_gettime): Likewise.
39119 [XPG3 || XPG4] (clock_settime): Likewise.
39120 [XPG3 || XPG4] (nanosleep): Likewise.
39121 [XPG3 || XPG4] (timer_create): Likewise.
39122 [XPG3 || XPG4] (timer_delete): Likewise.
39123 [XPG3 || XPG4] (timer_gettime): Likewise.
39124 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39125 [XPG3 || XPG4] (timer_settime): Likewise.
39126 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39127 [XPG3 || XPG4] (getlogin_r): Likewise.
39128 [XPG3 || XPG4] (pread): Likewise.
39129 [XPG3 || XPG4] (pthread_atfork): Likewise.
39130 [XPG3 || XPG4] (pwrite): Likewise.
39133 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39136 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39138 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39139 finalizing MALLSTREAM.
39141 * sysdeps/mach/hurd/syncfs.c: New file.
39143 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39146 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39147 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39148 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39149 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39150 (_nss_dns_gethostbyname4_r): Likewise.
39151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39152 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39154 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39157 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39159 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39161 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39162 * elf/cache.c (print_entry): Print ",AArch64" for
39165 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39166 * elf/cache.c (print_entry): Print ",hard-float" for
39169 2012-11-18 David S. Miller <davem@davemloft.net>
39171 With help from Joseph Myers.
39172 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39174 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39176 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39177 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39179 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39180 * math/libm-test.inc (y0_test): New tests.
39181 (y1_test): New tests.
39182 * sysdeps/i386/fpu/libm-test-ulps: Update.
39183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39186 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39188 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39190 * configure: Regenerated.
39192 2012-11-17 David S. Miller <davem@davemloft.net>
39195 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39196 nonzero exponents with absolute value below 0x1p-128 to +/-
39199 2012-11-17 Joseph Myers <joseph@codesourcery.com>
39201 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39203 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39205 * posix/getconf-speclist.c: New file.
39206 * posix/posix-envs.def: Likewise.
39207 * posix/confstr.c (START_ENV_GROUP): New macro.
39208 (END_ENV_GROUP): Likewise.
39209 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39210 (KNOWN_PRESENT_ENV_STRING): Likewise.
39211 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39212 (UNKNOWN_ENVIRONMENT): Likewise.
39213 (confstr): Include posix-envs.def instead of handling
39214 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39215 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39216 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39217 (END_ENV_GROUP): Likewise.
39218 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39219 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39220 (UNKNOWN_ENVIRONMENT): Likewise.
39221 (__sysconf): Include posix-envs.def instead of handling associated
39222 cases directly here.
39223 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39224 preprocessing getconf-speclist.c rather than running getconf or
39225 generating empty file.
39227 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39229 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39231 2012-11-16 Andrej Lajovic <natrij@gmail.com>
39234 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39236 2012-11-16 David S. Miller <davem@davemloft.net>
39238 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39239 smaller than LDBL_EPSILON/2.0L, just return xm1.
39241 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39243 * elf/tst-array1.c (init): Set constructor priority to 1000.
39244 (fini): Set destructor priority to 1000.
39245 * elf/tst-array2dep.c: Likewise.
39247 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39250 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39251 (_IO_new_file_xsputn): Also return EOF if none of the input
39252 data was written when overflow failed.
39253 * libio/iopadn.c (_IO_padn): Likewise.
39254 * libio/iowpadn.c (_IO_wpadn): Likewise.
39255 * stdio-common/tst-put-error.c: Add copyright notice.
39256 (do_test): Add case for printing padded string.
39257 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39258 _IO_padn returned error.
39259 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39260 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39263 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39265 * libio/libioP.h: Add comment note that the references to C++
39266 bits are now obsolete.
39268 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39270 * math/libm-test.inc (check_complex): Use asprintf.
39272 2012-11-14 Joseph Myers <joseph@codesourcery.com>
39274 * debug/pcprofiledump.c (print_version): Update copyright year.
39275 * malloc/memusagestat.c (print_version): Likewise.
39277 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
39280 * elf/Makefile (tests): Add tst-audit8.
39281 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39282 ($(objpfx)tst-audit8.out): New target.
39283 (tst-audit8-ENV): New variable.
39284 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39285 audit if l_reloc_result is NULL.
39286 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39287 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39288 * elf/tst-audit8.c: New file.
39290 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39292 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39293 * misc/Makefile (CFLAGS-select.c): Define.
39294 * posix/Makefile (CFLAGS-pause.c): Define.
39296 2012-11-13 David S. Miller <davem@davemloft.net>
39298 * crypt/Makefile: Move test targets after toplevel Rules
39299 inclusion. Grab any necessary sysdep routines when linking.
39300 * crypt/md5.c (md5_process_block): Remove define, we will always
39301 name it __md5_process_block.
39302 (md5_finish_ctx): Update md5_process_block call.
39303 (md5_stream): Likewise.
39304 (md5_process_bytes): Likewise.
39305 (md5_process_block): Rename to __md5_process_block and move to ...
39306 * crypt/md5-block.c: ... here.
39307 * crypt/sha256.c (sha256_process_block): Move to ...
39308 * crypt/sha256-block.c: ... here.
39309 * crypt/sha512.c (sha512_process_block): Move to ...
39310 * crypt/sha512-block.c: ... here.
39311 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39313 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39314 * sysdeps/sparc/sparc64/multiarch/Makefile
39315 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39317 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39318 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39320 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39321 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39322 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39323 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39324 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39325 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39326 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39327 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39328 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39330 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39331 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39333 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39335 2012-11-13 Joseph Myers <joseph@codesourcery.com>
39337 * timezone/tzselect.ksh: Update from tzcode git revision
39338 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39339 * timezone/zdump.c: Likewise.
39340 * timezone/zic.c: Likewise.
39341 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39342 in TZVERSION setting, not $(PKGVERSION).
39343 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39344 REPORT_BUGS_TO settings.
39347 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39350 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39352 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39353 detection to immediately after _FP_ROUND().
39354 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39357 2012-11-11 David S. Miller <davem@davemloft.net>
39359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39361 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39362 __close rather than their public counterparts.
39364 2012-11-10 Joseph Myers <joseph@codesourcery.com>
39366 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39368 [UNIX98] (sem_timedwait): Do not expect.
39369 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39370 [XPG4 || UNIX98] (sockatmark): Do not expect.
39371 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39372 (clock_getcpuclockid): Do not expect.
39373 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39374 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39376 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39377 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39378 [UNIX98] (vwscanf): Likewise.
39379 [UNIX98] (vswscanf): Likewise.
39381 2012-11-09 Joseph Myers <joseph@codesourcery.com>
39383 * timezone/version.h: Remove file.
39384 * timezone/README: Do not refer to version.h.
39385 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39386 $(objpfx)version.h.
39387 ($(objpfx)zdump.o): Likewise.
39388 ($(objpfx)version.h): New target.
39390 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39392 * timezone/README: Don't mention modification to tzselect.ksh.
39393 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39394 work on unmodified tzselect.ksh. Substitute version numbers in
39397 * Makefile (format-me): Remove.
39398 (INSTALL): Adjust indentation. Use commands directly instead of
39399 using $(format-me).
39401 * aclocal.m4 (ACX_PKGVERSION): New macro.
39402 (ACX_BUGURL): Likewise.
39403 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39404 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39405 (REPORT_BUGS_TO): Likewise.
39406 * configure: Regenerated.
39407 * config.h.in (PKGVERSION): New macro.
39408 (REPORT_BUGS_TO): Likewise.
39409 * config.make.in (PKGVERSION): New variable.
39410 (PKGVERSION_TEXI): Likewise.
39411 (REPORT_BUGS_TO): Likewise.
39412 (REPORT_BUGS_TEXI): Likewise.
39413 * Makefile (format-me): Use -I$(common-objpfx)manual.
39414 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39415 ($(common-objpfx)manual/%): New target.
39416 (manual/%): Remove target.
39417 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39418 (print_version): Use PKGVERSION.
39419 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39420 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39421 and REPORT_BUGS_TO.
39422 ($(objpfx)xtrace): Likewise.
39423 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39424 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39425 (print_version): Use PKGVERSION.
39426 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39427 (do_version): Use PKGVERSION.
39428 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39430 (common-ldd-rewrite): Likewise.
39431 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39432 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39433 (print_version): Use PKGVERSION.
39434 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39435 * elf/pldd.c (argp_program_bug_address): Remove variable.
39436 (more_help): New function.
39437 (argp): Use more_help.
39438 (print_version): Use PKGVERSION.
39439 * elf/sln.c (main): Use PKGVERSION.
39440 (usage): Use REPORT_BUGS_TO.
39441 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39442 (top level): Use PKGVERSION.
39443 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39444 (print_version): Use PKGVERSION.
39445 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39446 (print_version): Use PKGVERSION.
39447 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39448 (print_version): Use PKGVERSION.
39449 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39450 (print_version): Use PKGVERSION.
39451 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39452 (print_version): Use PKGVERSION.
39453 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39454 (print_version): Use PKGVERSION.
39455 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39457 ($(objpfx)memusage): Likewise.
39458 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39459 (do_version): Use PKGVERSION.
39460 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39461 (print_version): Use PKGVERSION.
39462 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39463 ($PKGVERSION): New variable.
39464 ($REPORT_BUGS_TO): Likewise.
39465 (usage): Use $REPORT_BUGS_TO.
39466 (top level): Use $PKGVERSION.
39467 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39468 ($(objpfx)pkgvers.texi): New rule.
39469 ($(objpfx)stamp-pkgvers): Likewise.
39470 * manual/install.texi: Include pkgvers.texi.
39471 (--with-pkgversion): Document new configure option.
39472 (--with-bugurl): Likewise.
39473 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39474 than necessarily for this particular distribution. Use
39475 REPORT_BUGS_TO for where to report bugs.
39476 * INSTALL: Regenerated.
39477 * manual/libc.texinfo: Include pkgvers.texi.
39478 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39479 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39480 (print_version): Use PKGVERSION.
39481 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39482 (print_version): Use PKGVERSION.
39483 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39484 (print_version): Use PKGVERSION.
39485 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39486 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39488 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39489 (print_version): Use PKGVERSION.
39490 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39491 (print_version): Use PKGVERSION.
39492 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39495 * timezone/checktab.awk: Update from tzcode 2012i.
39496 * timezone/ialloc.c: Likewise.
39497 * timezone/private.h: Likewise.
39498 * timezone/scheck.c: Likewise.
39499 * timezone/tzfile.h: Likewise.
39500 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39501 (TZVERSION): Hardcode tzcode version number.
39502 * timezone/zdump.c: Update from tzcode 2012i.
39503 * timezone/zic.c: Likewise.
39504 * timezone/version.h: New file.
39505 * timezone/README: Describe version.h. Update upstream location.
39508 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39509 (mktemp): Enable declaration.
39510 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39517 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39519 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39521 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39527 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39528 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39529 for copies of such integer values.
39530 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39531 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39533 2012-11-09 Andreas Jaeger <aj@suse.de>
39535 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39536 definitions and declarations that are provided by
39537 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39539 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39541 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39542 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39543 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39546 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39548 * elf/elf.h: Update comment before AArch64 relocations.
39550 2012-11-07 David S. Miller <davem@davemloft.net>
39552 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39553 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39554 (__start_context): Declare.
39555 (__makecontext_ret): Delete.
39556 (__makecontext): Hook up __start_context instead of
39558 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39559 (sysdep_routines): Add __start_context when in stdlib.
39561 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39563 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39564 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39565 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39567 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39568 (READELF): New variable. Use it instead of hardcoded "readelf".
39570 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39572 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39573 * sysdeps/x86/Makefile: Here.
39574 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39575 * sysdeps/x86/tst-xmmymm.sh: This.
39577 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39579 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39581 [UNIX98] (pthread_barrier_t): Do not expect.
39582 [UNIX98] (pthread_barrierattr_t): Likewise.
39583 [UNIX98] (pthread_spinlock_t): Likewise.
39584 [UNIX98] (pthread_barrier_destroy): Likewise.
39585 [UNIX98] (pthread_barrier_init): Likewise.
39586 [UNIX98] (pthread_barrier_wait): Likewise.
39587 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39588 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39589 [UNIX98] (pthread_barrierattr_init): Likewise.
39590 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39591 [UNIX98] (pthread_getcpuclockid): Likewise.
39592 [UNIX98] (pthread_mutex_timedlock): Likewise.
39593 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39594 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39595 [UNIX98] (pthread_sigmask): Likewise.
39596 [UNIX98] (pthread_spin_destroy): Likewise.
39597 [UNIX98] (pthread_spin_init): Likewise.
39598 [UNIX98] (pthread_spin_lock): Likewise.
39599 [UNIX98] (pthread_spin_trylock): Likewise.
39600 [UNIX98] (pthread_spin_unlock): Likewise.
39601 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39603 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39604 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39605 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39606 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39607 [XPG3 || XPG4] (pthread_key_t): Likewise.
39608 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39609 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39610 [XPG3 || XPG4] (pthread_once_t): Likewise.
39611 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39612 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39613 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39614 [XPG3 || XPG4] (pthread_t): Likewise.
39616 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39618 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39620 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39621 Change function return type to int.
39623 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39624 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39625 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39626 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39627 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39628 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39629 [!POSIX] (posix_madvise): Likewise.
39630 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39632 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39633 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39634 (mode_t): Likewise.
39635 (posix_mem_offset): Likewise.
39636 (posix_typed_mem_get_info): Likewise.
39637 (posix_typed_mem_open): Likewise.
39639 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39640 Change condition to [XOPEN2K8].
39642 * conform/conformtest.pl: Preprocess allow-header data with -x c
39643 instead of from stdin.
39644 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39645 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39646 [C99-based standards] (cerfc): Likewise.
39647 [C99-based standards] (cexp2): Likewise.
39648 [C99-based standards] (cexpm1): Likewise.
39649 [C99-based standards] (clog10): Likewise.
39650 [C99-based standards] (clog1p): Likewise.
39651 [C99-based standards] (clog2): Likewise.
39652 [C99-based standards] (clgamma): Likewise.
39653 [C99-based standards] (ctgamma): Likewise.
39654 [C99-based standards] (cerff): Likewise.
39655 [C99-based standards] (cerfcf): Likewise.
39656 [C99-based standards] (cexp2f): Likewise.
39657 [C99-based standards] (cexpm1f): Likewise.
39658 [C99-based standards] (clog10f): Likewise.
39659 [C99-based standards] (clog1pf): Likewise.
39660 [C99-based standards] (clog2f): Likewise.
39661 [C99-based standards] (clgammaf): Likewise.
39662 [C99-based standards] (ctgammaf): Likewise.
39663 [C99-based standards] (cerfl): Likewise.
39664 [C99-based standards] (cerfcl): Likewise.
39665 [C99-based standards] (cexp2l): Likewise.
39666 [C99-based standards] (cexpm1l): Likewise.
39667 [C99-based standards] (clog10l): Likewise.
39668 [C99-based standards] (clog1pl): Likewise.
39669 [C99-based standards] (clog2l): Likewise.
39670 [C99-based standards] (clgammal): Likewise.
39671 [C99-based standards] (ctgammal): Likewise.
39672 * conform/data/inttypes.h-data [C99-based standards]: Include
39673 stdint.h-data. Remove all expectations for stdint.h contents.
39674 [C99-based standards] (PRI*): Do not allow.
39675 [C99-based standards] (SCN*): Likewise.
39676 [C99-based standards] (*_t): Likewise.
39677 [C99-based-standards] (PRId8): Expect macro.
39678 [C99-based-standards] (PRIi8): Likewise.
39679 [C99-based-standards] (PRIo8): Likewise.
39680 [C99-based-standards] (PRIu8): Likewise.
39681 [C99-based-standards] (PRIx8): Likewise.
39682 [C99-based-standards] (PRIX8): Likewise.
39683 [C99-based-standards] (SCNd8): Likewise.
39684 [C99-based-standards] (SCNi8): Likewise.
39685 [C99-based-standards] (SCNo8): Likewise.
39686 [C99-based-standards] (SCNu8): Likewise.
39687 [C99-based-standards] (SCNx8): Likewise.
39688 [C99-based-standards] (PRIdLEAST8): Likewise.
39689 [C99-based-standards] (PRIiLEAST8): Likewise.
39690 [C99-based-standards] (PRIoLEAST8): Likewise.
39691 [C99-based-standards] (PRIuLEAST8): Likewise.
39692 [C99-based-standards] (PRIxLEAST8): Likewise.
39693 [C99-based-standards] (PRIXLEAST8): Likewise.
39694 [C99-based-standards] (SCNdLEAST8): Likewise.
39695 [C99-based-standards] (SCNiLEAST8): Likewise.
39696 [C99-based-standards] (SCNoLEAST8): Likewise.
39697 [C99-based-standards] (SCNuLEAST8): Likewise.
39698 [C99-based-standards] (SCNxLEAST8): Likewise.
39699 [C99-based-standards] (PRIdFAST8): Likewise.
39700 [C99-based-standards] (PRIiFAST8): Likewise.
39701 [C99-based-standards] (PRIoFAST8): Likewise.
39702 [C99-based-standards] (PRIuFAST8): Likewise.
39703 [C99-based-standards] (PRIxFAST8): Likewise.
39704 [C99-based-standards] (PRIXFAST8): Likewise.
39705 [C99-based-standards] (SCNdFAST8): Likewise.
39706 [C99-based-standards] (SCNiFAST8): Likewise.
39707 [C99-based-standards] (SCNoFAST8): Likewise.
39708 [C99-based-standards] (SCNuFAST8): Likewise.
39709 [C99-based-standards] (SCNxFAST8): Likewise.
39710 [C99-based-standards] (PRId16): Likewise.
39711 [C99-based-standards] (PRIi16): Likewise.
39712 [C99-based-standards] (PRIo16): Likewise.
39713 [C99-based-standards] (PRIu16): Likewise.
39714 [C99-based-standards] (PRIx16): Likewise.
39715 [C99-based-standards] (PRIX16): Likewise.
39716 [C99-based-standards] (SCNd16): Likewise.
39717 [C99-based-standards] (SCNi16): Likewise.
39718 [C99-based-standards] (SCNo16): Likewise.
39719 [C99-based-standards] (SCNu16): Likewise.
39720 [C99-based-standards] (SCNx16): Likewise.
39721 [C99-based-standards] (PRIdLEAST16): Likewise.
39722 [C99-based-standards] (PRIiLEAST16): Likewise.
39723 [C99-based-standards] (PRIoLEAST16): Likewise.
39724 [C99-based-standards] (PRIuLEAST16): Likewise.
39725 [C99-based-standards] (PRIxLEAST16): Likewise.
39726 [C99-based-standards] (PRIXLEAST16): Likewise.
39727 [C99-based-standards] (SCNdLEAST16): Likewise.
39728 [C99-based-standards] (SCNiLEAST16): Likewise.
39729 [C99-based-standards] (SCNoLEAST16): Likewise.
39730 [C99-based-standards] (SCNuLEAST16): Likewise.
39731 [C99-based-standards] (SCNxLEAST16): Likewise.
39732 [C99-based-standards] (PRIdFAST16): Likewise.
39733 [C99-based-standards] (PRIiFAST16): Likewise.
39734 [C99-based-standards] (PRIoFAST16): Likewise.
39735 [C99-based-standards] (PRIuFAST16): Likewise.
39736 [C99-based-standards] (PRIxFAST16): Likewise.
39737 [C99-based-standards] (PRIXFAST16): Likewise.
39738 [C99-based-standards] (SCNdFAST16): Likewise.
39739 [C99-based-standards] (SCNiFAST16): Likewise.
39740 [C99-based-standards] (SCNoFAST16): Likewise.
39741 [C99-based-standards] (SCNuFAST16): Likewise.
39742 [C99-based-standards] (SCNxFAST16): Likewise.
39743 [C99-based-standards] (PRId32): Likewise.
39744 [C99-based-standards] (PRIi32): Likewise.
39745 [C99-based-standards] (PRIo32): Likewise.
39746 [C99-based-standards] (PRIu32): Likewise.
39747 [C99-based-standards] (PRIx32): Likewise.
39748 [C99-based-standards] (PRIX32): Likewise.
39749 [C99-based-standards] (SCNd32): Likewise.
39750 [C99-based-standards] (SCNi32): Likewise.
39751 [C99-based-standards] (SCNo32): Likewise.
39752 [C99-based-standards] (SCNu32): Likewise.
39753 [C99-based-standards] (SCNx32): Likewise.
39754 [C99-based-standards] (PRIdLEAST32): Likewise.
39755 [C99-based-standards] (PRIiLEAST32): Likewise.
39756 [C99-based-standards] (PRIoLEAST32): Likewise.
39757 [C99-based-standards] (PRIuLEAST32): Likewise.
39758 [C99-based-standards] (PRIxLEAST32): Likewise.
39759 [C99-based-standards] (PRIXLEAST32): Likewise.
39760 [C99-based-standards] (SCNdLEAST32): Likewise.
39761 [C99-based-standards] (SCNiLEAST32): Likewise.
39762 [C99-based-standards] (SCNoLEAST32): Likewise.
39763 [C99-based-standards] (SCNuLEAST32): Likewise.
39764 [C99-based-standards] (SCNxLEAST32): Likewise.
39765 [C99-based-standards] (PRIdFAST32): Likewise.
39766 [C99-based-standards] (PRIiFAST32): Likewise.
39767 [C99-based-standards] (PRIoFAST32): Likewise.
39768 [C99-based-standards] (PRIuFAST32): Likewise.
39769 [C99-based-standards] (PRIxFAST32): Likewise.
39770 [C99-based-standards] (PRIXFAST32): Likewise.
39771 [C99-based-standards] (SCNdFAST32): Likewise.
39772 [C99-based-standards] (SCNiFAST32): Likewise.
39773 [C99-based-standards] (SCNoFAST32): Likewise.
39774 [C99-based-standards] (SCNuFAST32): Likewise.
39775 [C99-based-standards] (SCNxFAST32): Likewise.
39776 [C99-based-standards] (PRId64): Likewise.
39777 [C99-based-standards] (PRIi64): Likewise.
39778 [C99-based-standards] (PRIo64): Likewise.
39779 [C99-based-standards] (PRIu64): Likewise.
39780 [C99-based-standards] (PRIx64): Likewise.
39781 [C99-based-standards] (PRIX64): Likewise.
39782 [C99-based-standards] (SCNd64): Likewise.
39783 [C99-based-standards] (SCNi64): Likewise.
39784 [C99-based-standards] (SCNo64): Likewise.
39785 [C99-based-standards] (SCNu64): Likewise.
39786 [C99-based-standards] (SCNx64): Likewise.
39787 [C99-based-standards] (PRIdLEAST64): Likewise.
39788 [C99-based-standards] (PRIiLEAST64): Likewise.
39789 [C99-based-standards] (PRIoLEAST64): Likewise.
39790 [C99-based-standards] (PRIuLEAST64): Likewise.
39791 [C99-based-standards] (PRIxLEAST64): Likewise.
39792 [C99-based-standards] (PRIXLEAST64): Likewise.
39793 [C99-based-standards] (SCNdLEAST64): Likewise.
39794 [C99-based-standards] (SCNiLEAST64): Likewise.
39795 [C99-based-standards] (SCNoLEAST64): Likewise.
39796 [C99-based-standards] (SCNuLEAST64): Likewise.
39797 [C99-based-standards] (SCNxLEAST64): Likewise.
39798 [C99-based-standards] (PRIdFAST64): Likewise.
39799 [C99-based-standards] (PRIiFAST64): Likewise.
39800 [C99-based-standards] (PRIoFAST64): Likewise.
39801 [C99-based-standards] (PRIuFAST64): Likewise.
39802 [C99-based-standards] (PRIxFAST64): Likewise.
39803 [C99-based-standards] (PRIXFAST64): Likewise.
39804 [C99-based-standards] (SCNdFAST64): Likewise.
39805 [C99-based-standards] (SCNiFAST64): Likewise.
39806 [C99-based-standards] (SCNoFAST64): Likewise.
39807 [C99-based-standards] (SCNuFAST64): Likewise.
39808 [C99-based-standards] (SCNxFAST64): Likewise.
39809 [C99-based-standards] (PRIdMAX): Likewise.
39810 [C99-based-standards] (PRIiMAX): Likewise.
39811 [C99-based-standards] (PRIoMAX): Likewise.
39812 [C99-based-standards] (PRIuMAX): Likewise.
39813 [C99-based-standards] (PRIxMAX): Likewise.
39814 [C99-based-standards] (PRIXMAX): Likewise.
39815 [C99-based-standards] (SCNdMAX): Likewise.
39816 [C99-based-standards] (SCNiMAX): Likewise.
39817 [C99-based-standards] (SCNoMAX): Likewise.
39818 [C99-based-standards] (SCNuMAX): Likewise.
39819 [C99-based-standards] (SCNxMAX): Likewise.
39820 [C99-based-standards] (PRIdPTR): Likewise.
39821 [C99-based-standards] (PRIiPTR): Likewise.
39822 [C99-based-standards] (PRIoPTR): Likewise.
39823 [C99-based-standards] (PRIuPTR): Likewise.
39824 [C99-based-standards] (PRIxPTR): Likewise.
39825 [C99-based-standards] (PRIXPTR): Likewise.
39826 [C99-based-standards] (SCNdPTR): Likewise.
39827 [C99-based-standards] (SCNiPTR): Likewise.
39828 [C99-based-standards] (SCNoPTR): Likewise.
39829 [C99-based-standards] (SCNuPTR): Likewise.
39830 [C99-based-standards] (SCNxPTR): Likewise.
39831 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39833 * conform/data/stdint.h-data: Update comments to clarify
39835 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
39837 [C99-based standards] (INT8_MAX): Likewise.
39838 [C99-based standards] (INT16_MIN): Likewise.
39839 [C99-based standards] (INT16_MAX): Likewise.
39840 [C99-based standards] (INT32_MIN): Likewise.
39841 [C99-based standards] (INT32_MAX): Likewise.
39842 [C99-based standards] (INT64_MIN): Likewise.
39843 [C99-based standards] (INT64_MAX): Likewise.
39844 [C99-based standards] (UINT8_MAX): Likewise.
39845 [C99-based standards] (UINT16_MAX): Likewise.
39846 [C99-based standards] (UINT32_MAX): Likewise.
39847 [C99-based standards] (UINT64_MAX): Likewise.
39848 [C99-based standards] (INT_LEAST8_MIN): Likewise.
39849 [C99-based standards] (INT_LEAST8_MAX): Likewise.
39850 [C99-based standards] (INT_LEAST16_MIN): Likewise.
39851 [C99-based standards] (INT_LEAST16_MAX): Likewise.
39852 [C99-based standards] (INT_LEAST32_MIN): Likewise.
39853 [C99-based standards] (INT_LEAST32_MAX): Likewise.
39854 [C99-based standards] (INT_LEAST64_MIN): Likewise.
39855 [C99-based standards] (INT_LEAST64_MAX): Likewise.
39856 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39857 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39858 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39859 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39860 [C99-based standards] (INT_FAST8_MIN): Likewise.
39861 [C99-based standards] (INT_FAST8_MAX): Likewise.
39862 [C99-based standards] (INT_FAST16_MIN): Likewise.
39863 [C99-based standards] (INT_FAST16_MAX): Likewise.
39864 [C99-based standards] (INT_FAST32_MIN): Likewise.
39865 [C99-based standards] (INT_FAST32_MAX): Likewise.
39866 [C99-based standards] (INT_FAST64_MIN): Likewise.
39867 [C99-based standards] (INT_FAST64_MAX): Likewise.
39868 [C99-based standards] (UINT_FAST8_MAX): Likewise.
39869 [C99-based standards] (UINT_FAST16_MAX): Likewise.
39870 [C99-based standards] (UINT_FAST32_MAX): Likewise.
39871 [C99-based standards] (UINT_FAST64_MAX): Likewise.
39872 [C99-based standards] (INTPTR_MIN): Likewise.
39873 [C99-based standards] (INTPTR_MAX): Likewise.
39874 [C99-based standards] (UINTPTR_MAX): Likewise.
39875 [C99-based standards] (INTMAX_MIN): Likewise.
39876 [C99-based standards] (INTMAX_MAX): Likewise.
39877 [C99-based standards] (UINTMAX_MAX): Likewise.
39878 [C99-based standards] (PTRDIFF_MIN): Likewise.
39879 [C99-based standards] (PTRDIFF_MAX): Likewise.
39880 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39881 [C99-based standards] (SIZE_MAX): Likewise.
39882 [C99-based standards] (WCHAR_MAX): Likewise.
39883 [C99-based standards] (WINT_MAX): Likewise.
39884 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
39885 constraint on value.
39886 [C99-based standards] (WCHAR_MIN): Likewise.
39887 [C99-based standards] (WINT_MIN): Likewise.
39888 [C99-based standards] (*_t): Allow.
39889 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39890 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39891 Include math.h-data and complex.h-data. Remove all expectations
39892 of math.h and complex.h contents.
39893 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39895 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39896 (struct tm): Expect tag.
39897 [C99-based-standards] (wcstof): Expect function.
39898 [C99-based-standards] (wcstold): Likewise.
39899 [C99-based-standards] (wcstoll): Likewise.
39900 [C99-based-standards] (wcstoull): Likewise.
39901 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39902 macro-int-constant. Specify type.
39903 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
39904 constraint on value.
39905 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39907 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39909 [ISO C standards]: Do not allow headers.
39910 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39911 wcs[abcdefghijklmnopqrstuvwxyz]*.
39912 [ISO C standards] (*_t): Do not allow.
39913 * conform/data/wctype.h-data [C99-based standards] (iswblank):
39915 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39916 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39918 [ISO C standards]: Do not allow headers.
39919 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39920 is[abcdefghijklmnopqrstuvwxyz]*.
39921 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39922 to[abcdefghijklmnopqrstuvwxyz]*.
39923 [ISO C standards] (*_t): Do not allow.
39924 * conform/data/stdalign.h-data: New file.
39925 * conform/data/stdbool.h-data: Likewise.
39926 * conform/data/stdnoreturn.h-data: Likewise.
39928 2012-11-07 Roland McGrath <roland@hack.frob.com>
39931 * manual/filesys.texi (Directory Entries): Typo fix.
39932 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39934 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39936 * elf/elf.h (EM_AARCH64): New macro.
39937 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39938 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39939 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39940 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39941 (R_AARCH64_TLSDESC): Likewise.
39942 (NT_ARM_TLS): Likewise.
39943 (NT_ARM_HW_BREAK): Likewise.
39944 (NT_ARM_HW_WATCH): Likewise.
39946 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39949 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39950 (__ieee754_powl): Saturate nonzero exponents with absolute value
39951 below 0x1p-79 to +/- 0x1p-79.
39952 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39953 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39954 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39955 nonzero exponents with absolute value below 0x1p-32 to +/-
39957 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39958 (__ieee754_powl): Saturate nonzero exponents with absolute value
39959 below 0x1p-79 to +/- 0x1p-79.
39960 * math/libm-test.inc (pow_test): Add more tests.
39962 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39964 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39965 _dl_s390_cap_flags with kernel. Increase string length.
39966 (_dl_s390_platforms): Add z196 and zEC12.
39968 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39970 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39971 Change XOPEN21K to XOPEN2K.
39973 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
39975 * string/memmove.c: Use memcpy when possible.
39977 2012-11-06 Andreas Jaeger <aj@suse.de>
39979 * po/eo.po: Update from translation team.
39981 2012-11-06 Joseph Myers <joseph@codesourcery.com>
39984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39985 exponent and small x and y exponents, scale x or y up. Increase
39986 by 2 the exponent used in scaling up.
39987 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39988 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39989 * math/libm-test.inc (fma_test): Add more tests.
39990 (fma_test_towardzero): Likewise.
39991 (fma_test_downward): Likewise.
39992 (fma_test_upward): Likewise.
39994 2012-11-05 Joseph Myers <joseph@codesourcery.com>
39997 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40001 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40002 namespace for names of struct fields.
40003 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40005 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40006 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40008 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40011 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40013 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40015 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40019 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40022 2012-11-04 Joseph Myers <joseph@codesourcery.com>
40025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40026 definitely overflow as x * y not x * y + z.
40027 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40028 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40029 * math/libm-test.inc (fma_test): Add more tests.
40030 (fma_test_towardzero): Likewise.
40031 (fma_test_downward): Likewise.
40032 (fma_test_upward): Likewise.
40034 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40038 * include/stub-tag.h: Remove file.
40039 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40041 * manual/maint.texi (Porting): Don't reference it.
40042 * Makerules ($(objpfx)stubs): Likewise.
40043 * dirent/closedir.c: Don't include <stub-tag.h>.
40044 * dirent/dirfd.c: Likewise.
40045 * dirent/fdopendir.c: Likewise.
40046 * dirent/getdents.c: Likewise.
40047 * dirent/getdents64.c: Likewise.
40048 * dirent/opendir.c: Likewise.
40049 * dirent/readdir.c: Likewise.
40050 * dirent/readdir64.c: Likewise.
40051 * dirent/readdir64_r.c: Likewise.
40052 * dirent/readdir_r.c: Likewise.
40053 * dirent/rewinddir.c: Likewise.
40054 * dirent/seekdir.c: Likewise.
40055 * dirent/telldir.c: Likewise.
40056 * gmon/profil.c: Likewise.
40057 * grp/setgroups.c: Likewise.
40058 * inet/if_index.c: Likewise.
40059 * io/access.c: Likewise.
40060 * io/chdir.c: Likewise.
40061 * io/chmod.c: Likewise.
40062 * io/chown.c: Likewise.
40063 * io/close.c: Likewise.
40064 * io/dup.c: Likewise.
40065 * io/dup2.c: Likewise.
40066 * io/dup3.c: Likewise.
40067 * io/euidaccess.c: Likewise.
40068 * io/faccessat.c: Likewise.
40069 * io/fchdir.c: Likewise.
40070 * io/fchmod.c: Likewise.
40071 * io/fchmodat.c: Likewise.
40072 * io/fchown.c: Likewise.
40073 * io/fchownat.c: Likewise.
40074 * io/fcntl.c: Likewise.
40075 * io/flock.c: Likewise.
40076 * io/fstatfs.c: Likewise.
40077 * io/fstatfs64.c: Likewise.
40078 * io/fstatvfs.c: Likewise.
40079 * io/fstatvfs64.c: Likewise.
40080 * io/futimens.c: Likewise.
40081 * io/fxstat.c: Likewise.
40082 * io/fxstat64.c: Likewise.
40083 * io/fxstatat.c: Likewise.
40084 * io/fxstatat64.c: Likewise.
40085 * io/getcwd.c: Likewise.
40086 * io/isatty.c: Likewise.
40087 * io/lchmod.c: Likewise.
40088 * io/lchown.c: Likewise.
40089 * io/link.c: Likewise.
40090 * io/linkat.c: Likewise.
40091 * io/lseek.c: Likewise.
40092 * io/lseek64.c: Likewise.
40093 * io/lxstat64.c: Likewise.
40094 * io/mkdir.c: Likewise.
40095 * io/mkdirat.c: Likewise.
40096 * io/mkfifo.c: Likewise.
40097 * io/mkfifoat.c: Likewise.
40098 * io/open.c: Likewise.
40099 * io/open64.c: Likewise.
40100 * io/openat.c: Likewise.
40101 * io/openat64.c: Likewise.
40102 * io/pipe.c: Likewise.
40103 * io/pipe2.c: Likewise.
40104 * io/poll.c: Likewise.
40105 * io/posix_fadvise.c: Likewise.
40106 * io/posix_fadvise64.c: Likewise.
40107 * io/posix_fallocate.c: Likewise.
40108 * io/posix_fallocate64.c: Likewise.
40109 * io/read.c: Likewise.
40110 * io/readlink.c: Likewise.
40111 * io/readlinkat.c: Likewise.
40112 * io/rmdir.c: Likewise.
40113 * io/sendfile.c: Likewise.
40114 * io/sendfile64.c: Likewise.
40115 * io/statfs.c: Likewise.
40116 * io/statfs64.c: Likewise.
40117 * io/statvfs.c: Likewise.
40118 * io/statvfs64.c: Likewise.
40119 * io/symlink.c: Likewise.
40120 * io/symlinkat.c: Likewise.
40121 * io/ttyname.c: Likewise.
40122 * io/ttyname_r.c: Likewise.
40123 * io/umask.c: Likewise.
40124 * io/unlink.c: Likewise.
40125 * io/unlinkat.c: Likewise.
40126 * io/utime.c: Likewise.
40127 * io/utimensat.c: Likewise.
40128 * io/write.c: Likewise.
40129 * io/xmknod.c: Likewise.
40130 * io/xmknodat.c: Likewise.
40131 * io/xstat.c: Likewise.
40132 * io/xstat64.c: Likewise.
40133 * login/getpt.c: Likewise.
40134 * login/grantpt.c: Likewise.
40135 * login/unlockpt.c: Likewise.
40136 * math/e_acoshl.c: Likewise.
40137 * math/e_acosl.c: Likewise.
40138 * math/e_asinl.c: Likewise.
40139 * math/e_atan2l.c: Likewise.
40140 * math/e_atanhl.c: Likewise.
40141 * math/e_coshl.c: Likewise.
40142 * math/e_expl.c: Likewise.
40143 * math/e_fmodl.c: Likewise.
40144 * math/e_gammal_r.c: Likewise.
40145 * math/e_hypotl.c: Likewise.
40146 * math/e_j0l.c: Likewise.
40147 * math/e_j1l.c: Likewise.
40148 * math/e_jnl.c: Likewise.
40149 * math/e_lgammal_r.c: Likewise.
40150 * math/e_log10l.c: Likewise.
40151 * math/e_log2l.c: Likewise.
40152 * math/e_logl.c: Likewise.
40153 * math/e_powl.c: Likewise.
40154 * math/e_rem_pio2l.c: Likewise.
40155 * math/e_sinhl.c: Likewise.
40156 * math/e_sqrtl.c: Likewise.
40157 * math/fclrexcpt.c: Likewise.
40158 * math/fedisblxcpt.c: Likewise.
40159 * math/feenablxcpt.c: Likewise.
40160 * math/fegetenv.c: Likewise.
40161 * math/fegetexcept.c: Likewise.
40162 * math/fegetround.c: Likewise.
40163 * math/feholdexcpt.c: Likewise.
40164 * math/fesetenv.c: Likewise.
40165 * math/fesetround.c: Likewise.
40166 * math/feupdateenv.c: Likewise.
40167 * math/fgetexcptflg.c: Likewise.
40168 * math/fraiseexcpt.c: Likewise.
40169 * math/fsetexcptflg.c: Likewise.
40170 * math/ftestexcept.c: Likewise.
40171 * math/k_cosl.c: Likewise.
40172 * math/k_rem_pio2l.c: Likewise.
40173 * math/k_sinl.c: Likewise.
40174 * math/k_tanl.c: Likewise.
40175 * math/s_asinhl.c: Likewise.
40176 * math/s_atanl.c: Likewise.
40177 * math/s_cbrtl.c: Likewise.
40178 * math/s_erfl.c: Likewise.
40179 * math/s_expm1l.c: Likewise.
40180 * math/s_log1pl.c: Likewise.
40181 * math/s_tanhl.c: Likewise.
40182 * misc/acct.c: Likewise.
40183 * misc/brk.c: Likewise.
40184 * misc/chflags.c: Likewise.
40185 * misc/chroot.c: Likewise.
40186 * misc/fchflags.c: Likewise.
40187 * misc/fgetxattr.c: Likewise.
40188 * misc/flistxattr.c: Likewise.
40189 * misc/fremovexattr.c: Likewise.
40190 * misc/fsetxattr.c: Likewise.
40191 * misc/fsync.c: Likewise.
40192 * misc/ftruncate.c: Likewise.
40193 * misc/futimes.c: Likewise.
40194 * misc/futimesat.c: Likewise.
40195 * misc/getdomain.c: Likewise.
40196 * misc/getdtsz.c: Likewise.
40197 * misc/gethostid.c: Likewise.
40198 * misc/gethostname.c: Likewise.
40199 * misc/getloadavg.c: Likewise.
40200 * misc/getpagesize.c: Likewise.
40201 * misc/getsysstats.c: Likewise.
40202 * misc/getxattr.c: Likewise.
40203 * misc/gtty.c: Likewise.
40204 * misc/ioctl.c: Likewise.
40205 * misc/lgetxattr.c: Likewise.
40206 * misc/listxattr.c: Likewise.
40207 * misc/llistxattr.c: Likewise.
40208 * misc/lremovexattr.c: Likewise.
40209 * misc/lsetxattr.c: Likewise.
40210 * misc/lutimes.c: Likewise.
40211 * misc/madvise.c: Likewise.
40212 * misc/mincore.c: Likewise.
40213 * misc/mlock.c: Likewise.
40214 * misc/mlockall.c: Likewise.
40215 * misc/mmap.c: Likewise.
40216 * misc/mprotect.c: Likewise.
40217 * misc/msync.c: Likewise.
40218 * misc/munlock.c: Likewise.
40219 * misc/munlockall.c: Likewise.
40220 * misc/munmap.c: Likewise.
40221 * misc/preadv.c: Likewise.
40222 * misc/preadv64.c: Likewise.
40223 * misc/ptrace.c: Likewise.
40224 * misc/pwritev.c: Likewise.
40225 * misc/pwritev64.c: Likewise.
40226 * misc/readv.c: Likewise.
40227 * misc/reboot.c: Likewise.
40228 * misc/remap_file_pages.c: Likewise.
40229 * misc/removexattr.c: Likewise.
40230 * misc/revoke.c: Likewise.
40231 * misc/select.c: Likewise.
40232 * misc/setdomain.c: Likewise.
40233 * misc/setegid.c: Likewise.
40234 * misc/seteuid.c: Likewise.
40235 * misc/sethostid.c: Likewise.
40236 * misc/sethostname.c: Likewise.
40237 * misc/setregid.c: Likewise.
40238 * misc/setreuid.c: Likewise.
40239 * misc/setxattr.c: Likewise.
40240 * misc/sstk.c: Likewise.
40241 * misc/stty.c: Likewise.
40242 * misc/swapoff.c: Likewise.
40243 * misc/swapon.c: Likewise.
40244 * misc/sync.c: Likewise.
40245 * misc/syncfs.c: Likewise.
40246 * misc/syscall.c: Likewise.
40247 * misc/truncate.c: Likewise.
40248 * misc/ualarm.c: Likewise.
40249 * misc/usleep.c: Likewise.
40250 * misc/ustat.c: Likewise.
40251 * misc/utimes.c: Likewise.
40252 * misc/vhangup.c: Likewise.
40253 * misc/writev.c: Likewise.
40254 * posix/_exit.c: Likewise.
40255 * posix/alarm.c: Likewise.
40256 * posix/execve.c: Likewise.
40257 * posix/fexecve.c: Likewise.
40258 * posix/fork.c: Likewise.
40259 * posix/fpathconf.c: Likewise.
40260 * posix/getaddrinfo.c: Likewise.
40261 * posix/getegid.c: Likewise.
40262 * posix/geteuid.c: Likewise.
40263 * posix/getgid.c: Likewise.
40264 * posix/getgroups.c: Likewise.
40265 * posix/getlogin.c: Likewise.
40266 * posix/getlogin_r.c: Likewise.
40267 * posix/getpgid.c: Likewise.
40268 * posix/getpid.c: Likewise.
40269 * posix/getppid.c: Likewise.
40270 * posix/getresgid.c: Likewise.
40271 * posix/getresuid.c: Likewise.
40272 * posix/getsid.c: Likewise.
40273 * posix/getuid.c: Likewise.
40274 * posix/glob64.c: Likewise.
40275 * posix/nanosleep.c: Likewise.
40276 * posix/pathconf.c: Likewise.
40277 * posix/pause.c: Likewise.
40278 * posix/posix_madvise.c: Likewise.
40279 * posix/pread.c: Likewise.
40280 * posix/pread64.c: Likewise.
40281 * posix/pwrite.c: Likewise.
40282 * posix/pwrite64.c: Likewise.
40283 * posix/sched_getaffinity.c: Likewise.
40284 * posix/sched_getp.c: Likewise.
40285 * posix/sched_gets.c: Likewise.
40286 * posix/sched_primax.c: Likewise.
40287 * posix/sched_primin.c: Likewise.
40288 * posix/sched_rr_gi.c: Likewise.
40289 * posix/sched_setaffinity.c: Likewise.
40290 * posix/sched_setp.c: Likewise.
40291 * posix/sched_sets.c: Likewise.
40292 * posix/sched_yield.c: Likewise.
40293 * posix/setgid.c: Likewise.
40294 * posix/setlogin.c: Likewise.
40295 * posix/setpgid.c: Likewise.
40296 * posix/setresgid.c: Likewise.
40297 * posix/setresuid.c: Likewise.
40298 * posix/setsid.c: Likewise.
40299 * posix/setuid.c: Likewise.
40300 * posix/sleep.c: Likewise.
40301 * posix/spawni.c: Likewise.
40302 * posix/sysconf.c: Likewise.
40303 * posix/times.c: Likewise.
40304 * posix/wait.c: Likewise.
40305 * posix/wait3.c: Likewise.
40306 * posix/wait4.c: Likewise.
40307 * posix/waitpid.c: Likewise.
40308 * resolv/gai_sigqueue.c: Likewise.
40309 * resource/getpriority.c: Likewise.
40310 * resource/getrlimit.c: Likewise.
40311 * resource/getrusage.c: Likewise.
40312 * resource/nice.c: Likewise.
40313 * resource/setpriority.c: Likewise.
40314 * resource/setrlimit.c: Likewise.
40315 * resource/ulimit.c: Likewise.
40316 * rt/aio_cancel.c: Likewise.
40317 * rt/aio_fsync.c: Likewise.
40318 * rt/aio_read.c: Likewise.
40319 * rt/aio_sigqueue.c: Likewise.
40320 * rt/aio_suspend.c: Likewise.
40321 * rt/aio_write.c: Likewise.
40322 * rt/clock_getres.c: Likewise.
40323 * rt/clock_gettime.c: Likewise.
40324 * rt/clock_nanosleep.c: Likewise.
40325 * rt/clock_settime.c: Likewise.
40326 * rt/lio_listio.c: Likewise.
40327 * rt/mq_close.c: Likewise.
40328 * rt/mq_getattr.c: Likewise.
40329 * rt/mq_notify.c: Likewise.
40330 * rt/mq_open.c: Likewise.
40331 * rt/mq_receive.c: Likewise.
40332 * rt/mq_send.c: Likewise.
40333 * rt/mq_setattr.c: Likewise.
40334 * rt/mq_timedreceive.c: Likewise.
40335 * rt/mq_timedsend.c: Likewise.
40336 * rt/mq_unlink.c: Likewise.
40337 * rt/shm_open.c: Likewise.
40338 * rt/shm_unlink.c: Likewise.
40339 * rt/timer_create.c: Likewise.
40340 * rt/timer_delete.c: Likewise.
40341 * rt/timer_getoverr.c: Likewise.
40342 * rt/timer_gettime.c: Likewise.
40343 * rt/timer_settime.c: Likewise.
40344 * setjmp/__longjmp.c: Likewise.
40345 * setjmp/setjmp.c: Likewise.
40346 * signal/kill.c: Likewise.
40347 * signal/killpg.c: Likewise.
40348 * signal/raise.c: Likewise.
40349 * signal/sigaction.c: Likewise.
40350 * signal/sigaltstack.c: Likewise.
40351 * signal/sigblock.c: Likewise.
40352 * signal/sigignore.c: Likewise.
40353 * signal/sigintr.c: Likewise.
40354 * signal/signal.c: Likewise.
40355 * signal/sigpause.c: Likewise.
40356 * signal/sigpending.c: Likewise.
40357 * signal/sigqueue.c: Likewise.
40358 * signal/sigreturn.c: Likewise.
40359 * signal/sigset.c: Likewise.
40360 * signal/sigsetmask.c: Likewise.
40361 * signal/sigstack.c: Likewise.
40362 * signal/sigsuspend.c: Likewise.
40363 * signal/sigtimedwait.c: Likewise.
40364 * signal/sigvec.c: Likewise.
40365 * signal/sigwait.c: Likewise.
40366 * signal/sigwaitinfo.c: Likewise.
40367 * signal/sysv_signal.c: Likewise.
40368 * socket/accept.c: Likewise.
40369 * socket/accept4.c: Likewise.
40370 * socket/bind.c: Likewise.
40371 * socket/connect.c: Likewise.
40372 * socket/getpeername.c: Likewise.
40373 * socket/getsockname.c: Likewise.
40374 * socket/getsockopt.c: Likewise.
40375 * socket/isfdtype.c: Likewise.
40376 * socket/listen.c: Likewise.
40377 * socket/recv.c: Likewise.
40378 * socket/recvfrom.c: Likewise.
40379 * socket/recvmsg.c: Likewise.
40380 * socket/send.c: Likewise.
40381 * socket/sendmsg.c: Likewise.
40382 * socket/sendto.c: Likewise.
40383 * socket/setsockopt.c: Likewise.
40384 * socket/shutdown.c: Likewise.
40385 * socket/sockatmark.c: Likewise.
40386 * socket/socket.c: Likewise.
40387 * socket/socketpair.c: Likewise.
40388 * stdio-common/ctermid.c: Likewise.
40389 * stdio-common/cuserid.c: Likewise.
40390 * stdio-common/remove.c: Likewise.
40391 * stdio-common/rename.c: Likewise.
40392 * stdio-common/renameat.c: Likewise.
40393 * stdio-common/tempname.c: Likewise.
40394 * stdlib/getcontext.c: Likewise.
40395 * stdlib/makecontext.c: Likewise.
40396 * stdlib/setcontext.c: Likewise.
40397 * stdlib/swapcontext.c: Likewise.
40398 * stdlib/system.c: Likewise.
40399 * streams/fattach.c: Likewise.
40400 * streams/fdetach.c: Likewise.
40401 * streams/getmsg.c: Likewise.
40402 * streams/getpmsg.c: Likewise.
40403 * streams/putmsg.c: Likewise.
40404 * streams/putpmsg.c: Likewise.
40405 * sysdeps/unix/bsd/getpt.c: Likewise.
40406 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40407 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40408 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40411 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40412 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40413 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40414 * sysvipc/msgctl.c: Likewise.
40415 * sysvipc/msgget.c: Likewise.
40416 * sysvipc/msgrcv.c: Likewise.
40417 * sysvipc/msgsnd.c: Likewise.
40418 * sysvipc/semctl.c: Likewise.
40419 * sysvipc/semget.c: Likewise.
40420 * sysvipc/semop.c: Likewise.
40421 * sysvipc/semtimedop.c: Likewise.
40422 * sysvipc/shmat.c: Likewise.
40423 * sysvipc/shmctl.c: Likewise.
40424 * sysvipc/shmdt.c: Likewise.
40425 * sysvipc/shmget.c: Likewise.
40426 * termios/tcdrain.c: Likewise.
40427 * termios/tcflow.c: Likewise.
40428 * termios/tcflush.c: Likewise.
40429 * termios/tcgetattr.c: Likewise.
40430 * termios/tcgetpgrp.c: Likewise.
40431 * termios/tcsendbrk.c: Likewise.
40432 * termios/tcsetattr.c: Likewise.
40433 * termios/tcsetpgrp.c: Likewise.
40434 * time/adjtime.c: Likewise.
40435 * time/clock.c: Likewise.
40436 * time/getitimer.c: Likewise.
40437 * time/gettimeofday.c: Likewise.
40438 * time/setitimer.c: Likewise.
40439 * time/settimeofday.c: Likewise.
40440 * time/stime.c: Likewise.
40441 * time/time.c: Likewise.
40443 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
40445 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40448 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40450 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40452 2012-11-03 Joseph Myers <joseph@codesourcery.com>
40455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40456 FE_TONEAREST before applying Dekker multiplication and Knuth
40457 addition. Clear inexact exceptions and check for exact zero
40458 results afterwards.
40459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40460 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40461 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40462 * math/libm-test.inc (fma_test): Add more tests.
40463 (fma_test_towardzero): Likewise.
40464 (fma_test_downward): Likewise.
40465 (fma_test_upward): Likewise.
40466 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40468 (libc_fesetround): New macro.
40469 (libc_fesetroundf): Likewise.
40470 (libc_fesetroundl): Likewise.
40471 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40473 (libc_fesetround_387): Likewise.
40474 (libc_fesetroundf): New macro.
40475 (libc_fesetround): Likewise.
40476 (libc_fesetroundl): Likewise.
40477 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40479 (libc_fesetroundf): New macro.
40480 (libc_fesetround): Likewise.
40481 (libc_fesetroundl): Likewise.
40482 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40483 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40484 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40486 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40487 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40489 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40490 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40492 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40496 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40497 integer constant usable in #if and use that to give value to enum
40499 (FE_DIVBYZERO): Likewise.
40500 (FE_UNDERFLOW): Likewise.
40501 (FE_OVERFLOW): Likewise.
40502 (FE_INVALID): Likewise.
40503 (FE_INVALID_SNAN): Likewise.
40504 (FE_INVALID_ISI): Likewise.
40505 (FE_INVALID_IDI): Likewise.
40506 (FE_INVALID_ZDZ): Likewise.
40507 (FE_INVALID_IMZ): Likewise.
40508 (FE_INVALID_COMPARE): Likewise.
40509 (FE_INVALID_SOFTWARE): Likewise.
40510 (FE_INVALID_SQRT): Likewise.
40511 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40512 (FE_TONEAREST): Likewise.
40513 (FE_TOWARDZERO): Likewise.
40514 (FE_UPWARD): Likewise.
40515 (FE_DOWNWARD): Likewise.
40516 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40517 (FE_DIVBYZERO): Likewise.
40518 (FE_OVERFLOW): Likewise.
40519 (FE_UNDERFLOW): Likewise.
40520 (FE_INEXACT): Likewise.
40521 (FE_TONEAREST): Likewise.
40522 (FE_DOWNWARD): Likewise.
40523 (FE_UPWARD): Likewise.
40524 (FE_TOWARDZERO): Likewise.
40525 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40526 (FE_UNDERFLOW): Likewise.
40527 (FE_OVERFLOW): Likewise.
40528 (FE_DIVBYZERO): Likewise.
40529 (FE_INVALID): Likewise.
40530 (FE_TONEAREST): Likewise.
40531 (FE_TOWARDZERO): Likewise.
40532 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40533 (FE_OVERFLOW): Likewise.
40534 (FE_UNDERFLOW): Likewise.
40535 (FE_DIVBYZERO): Likewise.
40536 (FE_INEXACT): Likewise.
40537 (FE_TONEAREST): Likewise.
40538 (FE_TOWARDZERO): Likewise.
40539 (FE_UPWARD): Likewise.
40540 (FE_DOWNWARD): Likewise.
40541 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40542 (FE_DIVBYZERO): Likewise.
40543 (FE_OVERFLOW): Likewise.
40544 (FE_UNDERFLOW): Likewise.
40545 (FE_INEXACT): Likewise.
40546 (FE_TONEAREST): Likewise.
40547 (FE_DOWNWARD): Likewise.
40548 (FE_UPWARD): Likewise.
40549 (FE_TOWARDZERO): Likewise.
40551 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40553 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40555 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40557 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40558 commands. Quote $PWD.
40559 (blacklist_exports): Don't use remove_newlines. Replace "declare
40561 (remove_newlines): Remove.
40563 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40565 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40566 * stdlib/stdlib.h (atof): Moved to ...
40567 * include/bits/stdlib-float.h: Here. New file.
40568 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40569 * stdlib/bits/stdlib-float.h: New file.
40570 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40572 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40575 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40577 * conform/conformtest.pl (@headers): Add fenv.h.
40578 * conform/data/fenv.h-data: New file.
40579 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40580 include of <math/fenv.h>.
40582 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40583 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40584 && !UNIX98]. Enables tests for XOPEN2K8.
40585 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40586 POSIX2008]: Likewise.
40588 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40589 (struct rusage): Do not expect type or its members.
40592 * math/math.h (FP_NAN): Define macro to integer constant usable in
40593 #if and use that to give value to enum constant.
40594 (FP_INFINITE): Likewise.
40595 (FP_ZERO): Likewise.
40596 (FP_SUBNORMAL): Likewise.
40597 (FP_NORMAL): Likewise.
40599 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40601 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40602 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40605 2012-11-02 Roland McGrath <roland@hack.frob.com>
40607 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40608 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40609 autoconf-time if not.
40610 * configure.in: Remove AC_PREREQ.
40612 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40614 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40615 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40616 of the internal implementation.
40618 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40620 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40621 except include of <misc/sys/syslog.h>.
40623 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40626 function returns with a NULL context exit with zero.
40628 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40630 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40632 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40634 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40635 (run_program_cmd): This.
40636 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40637 (tst_langinfo): New variable. Use it.
40639 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40641 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40642 floating point opcodes.
40644 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40646 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40649 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40651 * sysdeps/mach/hurd/powerpc: Remove directory.
40652 * sysdeps/mach/powerpc: Likewise.
40654 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40656 * scripts/check-local-headers.sh: Ignore c++ headers.
40658 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40660 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40661 __libc_cleanup_region_start argument.
40663 2012-11-01 Joseph Myers <joseph@codesourcery.com>
40667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40668 x * y using scaling, not as x * y + z.
40669 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40670 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40671 * math/libm-test.inc (fma_test): Add more tests.
40672 (fma_test_towardzero): Likewise.
40673 (fma_test_downward): Likewise.
40674 (fma_test_upward): Likewise.
40676 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40678 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40680 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40682 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40685 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40687 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40689 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40696 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40699 Fix the order of the list for glibc 2.17.
40700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40703 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40707 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40710 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40711 for low part of x being zero before using __atanl (y).
40712 * math/libm-test.inc (atan2_test): Add another test.
40714 * manual/install.texi (Configuring and compiling): Document
40715 general use of test-wrapper and test-wrapper-env.
40716 * INSTALL: Regenerated.
40718 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40719 (__fma): Do not extract and scale down low bits on after-rounding
40720 systems when result rounded to normal precision would have normal
40722 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40723 (__fmal): Do not extract and scale down low bits on after-rounding
40724 systems when result rounded to normal precision would have normal
40726 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40727 (__fmal): Do not extract and scale down low bits on after-rounding
40728 systems when result rounded to normal precision would have normal
40730 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40732 (fma_test): Add more tests.
40733 (fma_test_towardzero): Likewise.
40734 (fma_test_downward): Likewise.
40735 (fma_test_upward): Likewise.
40737 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40739 * sysdeps/i386/tininess.h: Renamed to ...
40740 * sysdeps/x86/tininess.h: This.
40741 * sysdeps/x86_64/tininess.h: Removed.
40743 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40745 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40746 input. Use $(build-program-cmd).
40747 ($(objpfx)tst-array1-static.out): Likewise.
40748 ($(objpfx)tst-array2.out): Likewise.
40749 ($(objpfx)tst-array3.out): Likewise.
40750 ($(objpfx)tst-array4.out): Likewise.
40751 ($(objpfx)tst-array5.out): Likewise.
40752 ($(objpfx)tst-array5-static.out): Likewise.
40754 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40756 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40759 * nss/nsswitch.h (nss_interface_function): Provide new
40760 macro for use with NSS functions.
40761 * grp/initgroups.c: Use new macro.
40762 * nss/getXXbyYY.c: Likewise.
40763 * nss/getXXbyYY_r.c: Likewise.
40764 * nss/getXXent.c: Likewise.
40765 * nss/getXXent_r.c: Likewise.
40766 * sysdeps/posix/getaddrinfo.c: Likewise.
40768 2012-10-30 Andreas Jaeger <aj@suse.de>
40770 * po/ru.po: Update Russion translation from translation project.
40772 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40777 result and shift together with sticky bit instead of replicating
40778 round-to-nearest rounding.
40779 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40780 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40781 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40782 missing underflow exceptions.
40783 (fma_test_towardzero): Add more tests.
40784 (fma_test_downward): Likewise.
40785 (fma_test_upward): Likewise.
40788 * sysdeps/generic/tininess.h: New file.
40789 * sysdeps/i386/tininess.h: Likewise.
40790 * sysdeps/sh/tininess.h: Likewise.
40791 * sysdeps/x86_64/tininess.h: Likewise.
40792 * stdlib/tst-strtod-underflow.c: Likewise.
40793 * stdlib/tst-tininess.c: Likewise.
40794 * stdlib/strtod_l.c: Include <tininess.h>.
40795 (round_and_return): Do not set errno for exact underflow cases.
40796 Force an underflow exception when setting errno for underflow.
40797 Determine underflow based on rounding to normal precision if
40798 TININESS_AFTER_ROUNDING.
40799 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40800 ERANGE for exact underflow cases.
40801 * stdlib/Makefile (tests): Add tst-tininess and
40802 tst-strtod-underflow.
40803 ($(objpfx)tst-tininess): Use $(link-libm).
40804 ($(objpfx)tst-strtod-underflow): Likewise.
40806 2012-10-30 Andreas Jaeger <aj@suse.de>
40809 * elf/Makefile (tests): Remove conditional for have-initfini-array
40810 since this is now always required and the variable does not exist
40812 (tests-static): Likewise.
40813 (modules-names): Likewise.
40815 * po/eo.po: Add Esperanto translation from translation project.
40817 * elf/tst-array1.c (fini_array): Make writeable so that it can be
40818 merged with constructor/destructor.
40819 (init_array): Likewise.
40820 * elf/tst-array2dep.c (fini_array): Likewise.
40821 (init_array): Likewise.
40823 2012-10-29 Mike Frysinger <vapier@gentoo.org>
40825 * manual/message.texi: Delete @cartouche tags.
40827 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
40829 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40831 * sysdeps/mach/hurd/fsync.c: Likewise.
40833 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40834 [_POSIX_REALTIME_SIGNALS]: Change condition to
40835 [_POSIX_REALTIME_SIGNALS > 0].
40837 2012-10-27 Andreas Jaeger <aj@suse.de>
40839 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40840 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40841 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40842 [__WORDSIZE != 64]: Likewise.
40844 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
40846 * iconvdata/tst-table.sh: Remove ${SHELL}.
40847 * iconvdata/tst-tables.sh: Likewise.
40849 2012-10-25 David S. Miller <davem@davemloft.net>
40851 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40852 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40858 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40859 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40862 2012-10-25 Roland McGrath <roland@hack.frob.com>
40864 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40865 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40868 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40869 Jim Blandy <jimb@codesourcery.com>
40871 * scripts/cross-test-ssh.sh: New file.
40872 * manual/install.texi (Configuring and compiling): Document use of
40874 * INSTALL: Regenerated.
40876 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
40878 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40881 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40883 * Makeconfig (run-program-prefix): Fix comment.
40885 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40886 Jim Blandy <jimb@codesourcery.com>
40888 * Makeconfig (test-wrapper): New variable,
40889 (test-wrapper-env): Likewise.
40890 [$(cross-compiling) = yes && $(test-wrapper) != ""]
40891 (run-built-tests): Define to yes.
40892 (run-program-prefix): Use $(test-wrapper).
40893 (built-program-cmd): Likewise.
40894 * Rules (make-test-out): Use $(test-wrapper-env) and
40895 $(host-built-program-cmd).
40896 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40897 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40899 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40900 $(test-wrapper-env) to tst-rtld-load-self.sh.
40901 ($(objpfx)order2.out): Use $(test-wrapper).
40902 ($(objpfx)tst-initorder.out): Likewise.
40903 ($(objpfx)tst-initorder2.out): Likewise.
40904 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40905 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40906 (test_wrapper_env): New variable. Use it to run ld.so.
40907 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40908 Use it to run ld.so.
40909 (test_wrapper_env): Likewise.
40910 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40911 $(test-wrapper) to run-iconv-test.sh.
40912 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40913 (ICONV): Use $test_wrapper.
40914 * posix/Makefile ($(objpfx)globtest.out): Pass
40915 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40916 globtest.sh, not $(run-program-prefix).
40917 * posix/globtest.sh (run_via_rtld_prefix): New variable.
40918 (test_wrapper): Likewise.
40919 (test_wrapper_env): Likewise. Use it to run globtest with HOME
40920 set together with run_via_rtld_prefix.
40921 (run_program_prefix): Define in terms of test_wrapper and
40922 run_via_rtld_prefix.
40924 2012-10-24 Roland McGrath <roland@hack.frob.com>
40926 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40927 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40931 * include/time.h: Remove librt_hidden_proto (clock_gettime).
40932 Declare __clock_getres, __clock_gettime, __clock_settime,
40933 __clock_nanosleep, and __clock_getcpuclockid.
40934 * rt/clock_gettime.c: Define __clock_gettime as an alias.
40935 Remove librt_hidden_def (clock_gettime).
40936 * sysdeps/unix/clock_gettime.c: Likewise.
40937 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40938 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40939 * rt/clock_getres.c: Define __clock_getres as an alias.
40940 * sysdeps/posix/clock_getres.c: Likewise.
40941 * rt/clock_settime.c: Define __clock_settime as an alias.
40942 * sysdeps/unix/clock_settime.c: Likewise.
40943 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40944 * sysdeps/unix/clock_nanosleep.c: Likewise.
40945 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40946 * rt/clock-compat.c: New file.
40947 * rt/Makefile (librt-routines): Add clock-compat and move
40948 $(clock-routines) to ...
40949 (routines): ... here, new variable.
40950 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40951 Don't add get_clockfreq here.
40952 * rt/Versions (libc: GLIBC_2.17): New version set.
40953 Add clock_* symbols here.
40954 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
40955 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40956 (GLIBC_2.17): Add clock_* symbols.
40957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40959 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40968 * NEWS: Mention the move.
40970 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40971 Use __open, __read, __close rather than their public counterparts.
40972 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40973 (__get_clockfreq_via_cpuinfo): Likewise.
40974 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40975 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40977 * config.h.in (HAVE_IFUNC): New #undef.
40978 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40980 * configure: Regenerated.
40982 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40984 * configure.in: Move READELF check to start of file.
40985 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40986 libc_cv_asm_gnu_indirect_function in the process.
40987 * configure: Regenerated.
40989 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40991 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40992 send the output to /dev/null.
40993 (libc_cv_cc_with_libunwind): Likewise.
40994 (libc_cv_as_noexecstack): Likewise.
40995 * configure: Regenerate.
40997 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40999 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41001 * posix/globtest.sh (TMPDIR): Do not set.
41002 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41003 (testout): Likewise.
41005 2012-10-24 Andreas Jaeger <aj@suse.de>
41007 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41008 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41009 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41010 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41011 posix_fadvise64, posix_fallocate64.
41013 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41014 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41015 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41017 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41019 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41021 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41022 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41023 <bits/fcntl-linux.h>.
41024 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41026 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41027 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41028 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41029 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41030 [__WORDSIZE != 64]: Likewise.
41032 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41034 * Makeconfig (run-built-tests): New variable.
41035 * Rules [$(cross-compiling) = yes]: Change condition to
41036 [$(run-built-tests) = no].
41037 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41038 to [$(run-built-tests) = yes].
41039 * elf/Makefile [$(cross-compiling) = no]: Likewise
41040 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41041 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41042 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41043 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41044 * io/Makefile [$(cross-compiling) = no]: Likewise.
41045 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41046 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41047 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41048 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41049 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41050 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41051 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41052 * string/Makefile [$(cross-compiling) = no]: Likewise.
41054 * posix/Makefile ($(objpfx)globtest.out): Pass
41055 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41056 $(rtld-installed-name).
41057 * posix/globtest.sh (elf_objpfx): Remove variable.
41058 (rtld_installed_name): Likewise.
41059 (library_path): Likewise.
41060 (run_program_prefix): New variable. Use for running globtest
41063 2012-10-23 Jim Blandy <jimb@codesourcery.com>
41064 Joseph Myers <joseph@codesourcery.com>
41066 * Makeconfig (host-built-program-cmd): New variable.
41067 * elf/Makefile (tst-stackguard1-ARGS): Use
41068 $(host-built-program-cmd).
41069 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41070 (tst-spawn-ARGS): Likewise.
41071 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41073 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41074 Jim Blandy <jimb@codesourcery.com>
41076 * Makeconfig (run-via-rtld-prefix): New variable.
41077 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41078 (built-program-cmd): Likewise.
41080 2012-10-22 Andreas Jaeger <aj@suse.de>
41082 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41083 __O_RSYNC if it exists, otherwise to O_SYNC.
41085 2012-10-22 Jim Blandy <jimb@codesourcery.com>
41086 Joseph Myers <joseph@codesourcery.com>
41088 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41090 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41092 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41095 2012-10-22 Andreas Jaeger <aj@suse.de>
41097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41099 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41102 bits/fcntl-linux.h.
41104 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41105 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41112 2012-10-21 Jim Blandy <jimb@codesourcery.com>
41113 Joseph Myers <joseph@codesourcery.com>
41115 * config.make.in (NM): New variable.
41117 2012-10-21 Andreas Jaeger <aj@suse.de>
41119 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41120 definitions and declarations that are provided by
41121 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41123 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41126 * elf/Makefile (tests-static): Add tst-leaks1-static.
41127 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41128 ($(objpfx)tst-leaks1-static): New rule.
41129 ($(objpfx)tst-leaks1-static-mem): Likewise.
41130 (tst-leaks1-static-ENV): New macro.
41131 * elf/dl-open.c (dl_open_worker): Check the main application
41132 only if SHARED is defined.
41133 * elf/tst-leaks1-static.c: New file.
41135 2012-10-20 Andreas Jaeger <aj@suse.de>
41137 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41138 generic values for Linux.
41139 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41140 and declarations that are provided by <bits/fcntl-linux.h> and
41141 include <bits/fcntl-linux.h>.
41142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41143 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41145 2012-10-20 Roland McGrath <roland@hack.frob.com>
41147 * io/fcntl.h: Move include of <bits/types.h> to the top and
41148 include it unconditionally.
41150 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41152 * wcsmbs/Makefile (tests-ifunc): New variable.
41153 (tests): Add $(tests-ifunc).
41154 * wcsmbs/test-wcschr-ifunc.c: New file.
41155 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41156 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41157 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41158 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41159 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41161 * string/Makefile (tests-ifunc): New variable.
41162 (tests): Add $(tests-ifunc).
41163 * string/test-memccpy.c (TEST_NAME): New macro.
41164 * string/test-memchr.c (TEST_NAME): Likewise.
41165 * string/test-memcmp.c (TEST_NAME): Likewise.
41166 * string/test-memcpy.c (TEST_NAME): Likewise.
41167 * string/test-memmem.c (TEST_NAME): Likewise.
41168 * string/test-memmove.c (TEST_NAME): Likewise.
41169 * string/test-memset.c (TEST_NAME): Likewise.
41170 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41171 * string/test-stpcpy.c (TEST_NAME): Likewise.
41172 * string/test-stpncpy.c (TEST_NAME): Likewise.
41173 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41174 * string/test-strcasestr.c (TEST_NAME): Likewise.
41175 * string/test-strcat.c (TEST_NAME): Likewise.
41176 * string/test-strchr.c (TEST_NAME): Likewise.
41177 * string/test-strcmp.c(TEST_NAME): Likewise.
41178 * string/test-strcpy.c (TEST_NAME): Likewise.
41179 * string/test-strcspn.c (TEST_NAME): Likewise.
41180 * string/test-strlen.c (TEST_NAME): Likewise.
41181 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41182 * string/test-strncmp.c (TEST_NAME): Likewise.
41183 * string/test-strncpy.c (TEST_NAME): Likewise.
41184 * string/test-strnlen.c (TEST_NAME): Likewise.
41185 * string/test-strpbrk.c (TEST_NAME): Likewise.
41186 * string/test-strrchr.c (TEST_NAME): Likewise.
41187 * string/test-strspn.c (TEST_NAME): Likewise.
41188 * string/test-strstr.c (TEST_NAME): Likewise.
41189 * string/test-bcopy-ifunc.c: New file.
41190 * string/test-bzero-ifunc.c: Likewise.
41191 * string/test-memccpy-ifunc.c: Likewise.
41192 * string/test-memchr-ifunc.c: Likewise.
41193 * string/test-memcmp-ifunc.c: Likewise.
41194 * string/test-memcpy-ifunc.c: Likewise.
41195 * string/test-memmem-ifunc.c: Likewise.
41196 * string/test-memmove-ifunc.c: Likewise.
41197 * string/test-mempcpy-ifunc.c: Likewise.
41198 * string/test-memset-ifunc.c: Likewise.
41199 * string/test-rawmemchr-ifunc.c: Likewise.
41200 * string/test-stpcpy-ifunc.c: Likewise.
41201 * string/test-stpncpy-ifunc.c: Likewise.
41202 * string/test-strcasecmp-ifunc.c: Likewise.
41203 * string/test-strcasestr-ifunc.c: Likewise.
41204 * string/test-strcat-ifunc.c: Likewise.
41205 * string/test-strchr-ifunc.c: Likewise.
41206 * string/test-strchrnul-ifunc.c: Likewise.
41207 * string/test-strcmp-ifunc.c: Likewise.
41208 * string/test-strcpy-ifunc.c: Likewise.
41209 * string/test-strcspn-ifunc.c: Likewise.
41210 * string/test-strlen-ifunc.c: Likewise.
41211 * string/test-strncasecmp-ifunc.c: Likewise.
41212 * string/test-strncat-ifunc.c: Likewise.
41213 * string/test-strncmp-ifunc.c: Likewise.
41214 * string/test-strncpy-ifunc.c: Likewise.
41215 * string/test-strnlen-ifunc.c: Likewise.
41216 * string/test-strpbrk-ifunc.c: Likewise.
41217 * string/test-strrchr-ifunc.c: Likewise.
41218 * string/test-strspn-ifunc.c: Likewise.
41219 * string/test-strstr-ifunc.c: Likewise.
41221 * debug/Makefile (tests-ifunc): New variable.
41222 (tests): Add $(tests-ifunc).
41223 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41224 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41225 * debug/test-stpcpy_chk-ifunc.c: New file.
41226 * debug/test-strcpy_chk-ifunc.c: Likewise.
41228 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41231 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41232 header is not read in.
41234 2012-10-19 Joseph Myers <joseph@codesourcery.com>
41236 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41237 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41238 directly. Pass built executable to script as
41239 $(built-program-cmd).
41240 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41241 $testprogram without using LD_LIBRARY_PATH and $ldso.
41243 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41244 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41245 $(rtld-installed-name).
41246 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41247 (rtld_installed_name): Likewise.
41248 (library_path): Likewise.
41249 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41250 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41251 $(run-program-prefix) to tst-tables.sh.
41252 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41253 it to run tst-table-from and tst-table-to.
41254 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41255 Pass it to tst-table.sh.
41256 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41257 $(run-program-prefix) to tst-gettext.sh.
41258 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41260 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41262 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41263 to run tst-gettext.
41264 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41265 to run tst-gettext2.
41266 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41267 to run tst-translit.
41268 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41269 $(run-program-prefix) to tst-mtrace.sh.
41270 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41272 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41273 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41274 $(rtld-installed-name).
41275 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41276 (rtld_installed_name): Likewise.
41277 (run_program_prefix): New variable. Use it to run wordexp-test.
41279 * Makeconfig (ARCH): Remove all definitions.
41280 (machine): Likewise.
41281 [ARCH]: Remove conditional code.
41282 [!objdir]: Give error.
41283 [!objdir] (objpfx): Remove.
41284 [!objdir] (common-objpfx): Likewise.
41285 [!objdir] (common-objdir): Likewise.
41286 * configure.in (config_makefile): Remove. Hardcode Makefile in
41287 AC_CONFIG_FILES call.
41288 * configure: Regenerated.
41291 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41293 (testout): Likewise.
41295 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41296 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41297 $(rtld-installed-name).
41298 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41299 (rtld_installed_name): Likwise.
41300 (runit): Remove function.
41301 (run_getconf): New variable, Use it for running getconf binary.
41303 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41306 * string/test-memmem.c (check_result): New function.
41307 (do_one_test): Use it.
41308 (check1): New function.
41309 (test_main): Use it.
41311 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41313 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41315 2012-10-18 Joseph Myers <joseph@codesourcery.com>
41317 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41318 (_G_LSEEK64): Likewise.
41319 (_G_MMAP64): Likewise.
41320 (_G_FSTAT64): Likewise.
41321 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41322 (_G_LSEEK64): Likewise.
41323 (_G_MMAP64): Likewise.
41324 (_G_FSTAT64): Likewise.
41325 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41326 unconditional. Call __mmap64 directly.
41327 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41328 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41329 __lseek64 directly.
41330 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41331 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41333 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41334 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41335 __lseek64 directly.
41336 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41337 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41338 __lseek64 directly.
41339 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41340 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41341 __lseek64 directly.
41342 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41343 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41344 __fxstat64 directly.
41345 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41346 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41348 (freopen64) [!_G_OPEN64]: Remove conditional code.
41349 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41351 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41352 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41354 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41355 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41357 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41358 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41360 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41361 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41363 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41364 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41366 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41367 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41369 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41371 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41374 * manual/memory.texi (Malloc Tunable Parameters): Add note
41375 about free list pointers overwriting some perturb bytes.
41376 Wording suggested by Roland McGrath.
41378 2012-10-17 Joseph Myers <joseph@codesourcery.com>
41380 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41381 (lgamma_test): Likewise.
41382 (tgamma_test): Likewise.
41384 2012-10-16 Florian Weimer <fweimer@redhat.com>
41387 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41388 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41390 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41392 * NEWS: Mention BZ #14716.
41393 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41394 when removing AVAILABLE1_USES_J macro.
41396 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41398 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41399 (__bswap_64): __uint64_t for unsigned 64-bit int.
41401 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41403 * include/string.h (memmem): Declare libc hidden alias.
41404 * string/memmem.c (memmem): Define libc hidden alias.
41405 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41406 __read, __close instead of open, read, close.
41408 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41410 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41411 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41413 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41414 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41415 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41417 (__rawmemchr_sse2): Likewise.
41418 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41419 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41420 (__strchr_sse2): Likewise.
41421 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41422 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41423 (__strcasecmp_sse2): Likewise.
41424 (__strncasecmp_sse2): Likewise.
41425 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41426 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41427 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41428 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41429 (__strrchr_sse2): Likewise.
41430 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41432 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41433 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41434 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41435 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41436 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41437 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41438 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41439 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41440 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41441 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41442 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41443 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41444 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41445 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41446 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41447 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41448 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41449 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41450 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41451 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41452 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41453 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41454 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41455 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41456 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41457 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41458 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41459 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41460 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41461 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41463 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41465 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41466 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41467 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41468 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41470 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41472 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41473 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41474 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41475 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41477 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41478 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41479 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41480 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41481 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41482 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41483 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41484 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41485 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41486 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41487 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41488 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41489 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41490 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41491 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41492 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41493 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41494 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41495 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41496 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41497 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41498 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41499 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41500 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41501 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41502 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41503 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41504 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41505 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41506 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41507 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41508 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41509 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41510 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41511 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41512 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41513 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41514 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41515 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41516 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41517 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41519 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41520 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41521 * include/ifunc-impl-list.h: New file.
41522 * misc/ifunc-impl-list.c: Likewise.
41523 * misc/Makefile (routines): Add ifunc-impl-list.
41524 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41525 * string/test-string.h: Include <ifunc-impl-list.h>.
41526 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41527 TEST_NAME]: New variables.
41528 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41530 (test_init): Call __libc_ifunc_impl_list to initialize
41531 func_list if TEST_IFUNC and TEST_NAME are defined.
41533 * string/Makefile (strop-tests): Add bcopy and bzero.
41534 * string/test-bcopy.c: New file.
41535 * string/test-bzero.c: Likewise.
41536 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41538 * string/test-memset.c: Support bzero test if TEST_BZERO is
41540 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41542 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41544 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41547 2012-10-10 Joseph Myers <joseph@codesourcery.com>
41549 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41550 * configure: Regenerated.
41552 * Makeconfig (+link-static-before-libc): Don't include
41553 $(link-static-libc).
41555 * libio/libio.h (_IO_pos_t): Remove.
41557 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41559 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41562 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41564 * crypt/crypt-entry.c: Include fips-private.h.
41565 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41566 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41567 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41568 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41570 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41572 * crypt/crypt-private.h: Include stdbool.h.
41573 (_ufc_setup_salt_r): Return bool.
41574 * crypt/crypt-entry.c: Include errno.h.
41575 (__crypt_r): Return NULL with EINVAL for bad salt.
41576 * crypt/crypt_util.c (bad_for_salt): New.
41577 (_ufc_setup_salt_r): Check that salt is long enough and within
41578 the specified alphabet.
41579 * crypt/badsalttest.c: New file.
41580 * crypt/Makefile (tests): Add it.
41581 ($(objpfx)badsalttest): New.
41583 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41585 * NEWS: Add entry for BZ #14602.
41587 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41589 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41591 * math/libm-test.inc: Update comment listing what functions and
41593 (isgreater_test): New function.
41594 (isgreaterequal_test): Likewise.
41595 (isless_test): Likewise.
41596 (islessequal_test): Likewise.
41597 (islessgreater_test): Likewise.
41598 (isunordered_test): Likewise.
41599 (main): Call the new functions.
41601 2012-10-09 Roland McGrath <roland@hack.frob.com>
41603 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41604 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41605 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41606 * sysdeps/i386/configure: Regenerated.
41607 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41608 * sysdeps/mach/configure: Regenerated.
41609 * sysdeps/mach/hurd/configure: Regenerated.
41610 * sysdeps/powerpc/configure: Regenerated.
41611 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41612 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41613 * sysdeps/s390/s390-32/configure: Regenerated.
41614 * sysdeps/s390/s390-64/configure: Regenerated.
41615 * sysdeps/sh/configure: Regenerated.
41616 * sysdeps/sparc/configure: Regenerated.
41617 * sysdeps/unix/sysv/linux/configure: Regenerated.
41618 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41619 * sysdeps/x86_64/configure: Regenerated.
41621 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41622 defined. Don't check if MAP is NULL.
41624 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41626 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41627 (_G_stat64): Likewise.
41628 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41629 (_G_stat64): Likewise.
41630 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41631 instead of struct _G_stat64.
41632 * libio/fileops.c (mmap_remap_check): Likewise.
41633 (decide_maybe_mmap): Likewise.
41634 (_IO_new_file_seekoff): Likewise.
41635 (_IO_file_stat): Likewise.
41636 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41638 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41639 instead of struct _G_stat64.
41640 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41642 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41645 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41647 (CHECK_EOL): New macro.
41648 (two_way_short_needle): Check beginning of haystack for EOL. Use
41650 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41651 Replace with CHECK_EOL.
41652 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41653 Replace with CHECK_EOL.
41655 2012-10-08 Joseph Myers <joseph@codesourcery.com>
41657 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41659 * math/libm-test.inc: Update comment listing what functions and
41661 (finite_test): New function.
41662 (isinf_test): Likewise.
41663 (isnan_test): Likewise.
41664 (fpclassify_test): Test subnormal input.
41665 (isfinite_test): Likewise.
41666 (isnormal_test): Likewise.
41667 (main): Call the new functions.
41669 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41672 * Makerules (%.dynsym): Force C locale when running
41673 $(OBJDUMP) --dynamic-syms.
41675 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41677 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41680 2012-10-06 David S. Miller <davem@davemloft.net>
41682 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41683 upper 32-bits of the length value in %o2 since we use branch-on-register
41684 tests which consider the entire 64-bit register.
41686 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41688 * string/test-strstr.c (check2): Add a test for page boundary.
41690 2012-10-05 David S. Miller <davem@davemloft.net>
41692 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41693 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41695 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41697 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41698 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41699 and bzero when HWCAP_SPARC_CRYPTO is present.
41701 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41704 * string/test-strstr.c (check2): New function.
41705 (test_main): Call check2.
41707 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41709 * string/bug-strcasestr1.c (do_test): Moved to ...
41710 * string/test-strcasestr.c (check1): Here. New function.
41711 (do_one_test): Break out result checking code into ...
41712 (check_result): This. New function.
41713 (do_one_test): Call check_result.
41714 (test_main): Call check1.
41715 * string/bug-strchr1.c (do_test): Moved to ...
41716 * string/test-strchr.c (check1): Here. New function.
41717 (do_one_test): Break out result checking code into ...
41718 (check_result): This. New function.
41719 (do_one_test): Call check_result.
41720 (test_main): Call check1.
41721 * string/bug-strstr1.c (main): Moved to ...
41722 * string/test-strstr.c (check1): Here. New function.
41723 (do_one_test): Break out result checking code into ...
41724 (check_result): This. New function.
41725 (do_one_test): Call check_result.
41726 (test_main): Call check1.
41727 * string/bug-strcasestr1.c: Removed.
41728 * string/bug-strchr1.c: Likewise.
41729 * string/bug-strstr1.c: Likewise.
41731 * elf/Makefile (dl-routines): Add hwcaps.
41732 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41733 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41734 (_dl_important_hwcaps): Moved to ...
41735 * elf/dl-hwcaps.c: Here. New file.
41736 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41739 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41740 if IS_IN_rtld isn't defined.
41742 * elf/dl-support.c (_dl_sysinfo_map): New.
41743 Include "get-dynamic-info.h" and "setup-vdso.h".
41744 (_dl_non_dynamic_init): Call setup_vdso.
41745 * elf/dynamic-link.h: Don't include <assert.h>.
41746 (elf_get_dynamic_info): Moved to ...
41747 * elf/get-dynamic-info.h: Here. New file.
41748 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41749 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41750 * elf/setup-vdso.h: Here. New file.
41751 * elf/rtld.c: Include "setup-vdso.h".
41752 (dl_main): Call setup_vdso.
41754 2012-10-05 Joseph Myers <joseph@codesourcery.com>
41756 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41757 creal in comment listing functions tested. List finite, isinf,
41758 isnan, isless, islessequal, isgreater, isgreaterequal,
41759 islessgreater, isunordered, lgamma_r and pow10 as functions and
41760 macros not tested. Mention which functions not tested are aliases
41761 for other functions. Fix typo. Note that signs of NaNs are not
41764 * scripts/config.guess: Update from config.git.
41765 * scripts/config.sub: Likewise.
41767 2012-10-04 Roland McGrath <roland@hack.frob.com>
41769 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41770 * misc/madvise.c (madvise): Renamed to __madvise.
41771 Make madvise a weak alias.
41772 * include/sys/mman.h: Declare __madvise.
41773 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41774 * sysdeps/unix/syscalls.list
41775 (madvise): Make __madvise the strong name, and madvise a weak alias.
41776 * sysdeps/unix/sysv/linux/syscalls.list
41777 (madvise, mmap): Remove redundant entries.
41778 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41779 * malloc/malloc.c (mtrim): Likewise.
41780 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41782 2012-10-03 Roland McGrath <roland@hack.frob.com>
41784 * sysdeps/mach/hurd/dl-cache.c: File removed.
41785 * config.h.in (USE_LDCONFIG): New #undef.
41786 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41787 * configure: Regenerated.
41788 * elf/Makefile (dl-routines): Add dl-cache only under
41789 [$(use-ldconfig) = yes].
41790 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41791 cache on [USE_LDCONFIG].
41792 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41794 * elf/rtld.c (dl_main): Likewise.
41796 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
41798 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41799 _SC_LEVEL4_CACHE_LINESIZE.
41801 2012-10-03 Roland McGrath <roland@hack.frob.com>
41803 * sysdeps/unix/bsd/confstr.h: File removed.
41805 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
41807 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41810 2012-10-02 Roland McGrath <roland@hack.frob.com>
41812 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41813 Make 'mapoff' field ElfW(Off) rather than off_t.
41815 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
41817 * nscd/Makefile: Remove nscd-cflags and all its users.
41818 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41819 (CFLAGS-nonlib): Add compiler flags for nscd modules.
41822 * malloc.c (malloc_printerr): Clarify error message.
41824 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
41827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41828 Set bit_FMA_Usable if FMA is supported.
41829 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41831 (bit_FMA4_Usable): Updated.
41832 (index_FMA_Usable): New macro.
41833 (CPUID_FMA): Likewise
41834 (HAS_FMA): Defined with bit_FMA_Usable.
41836 2012-10-01 Roland McGrath <roland@hack.frob.com>
41838 * bits/types.h (__swblk_t): Type removed.
41839 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41840 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41841 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41842 (__SWBLK_T_TYPE): Likewise.
41843 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41844 (__SWBLK_T_TYPE): Likewise.
41845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41846 (__SWBLK_T_TYPE): Likewise.
41847 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41848 (__SWBLK_T_TYPE): Likewise.
41850 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
41851 Honza Horak <hhorak@redhat.com>
41853 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41854 (xdr_mapname): Use YPMAXMAP as maxsize.
41855 (xdr_peername): Use YPMAXPEER as maxsize.
41856 (xdr_keydat): Use YPAXRECORD as maxsize.
41857 (xdr_valdat): Use YPMAXRECORD as maxsize.
41859 2012-10-01 Roland McGrath <roland@hack.frob.com>
41861 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41863 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41864 * csu/init-first.c: ... here.
41865 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41866 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41867 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41868 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41869 * sysdeps/i386/init-first.c: File removed.
41870 * sysdeps/sh/init-first.c: File removed.
41872 2012-10-01 Joseph Myers <joseph@codesourcery.com>
41875 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41876 if x * y might underflow to zero and z is zero.
41877 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41878 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41879 * math/libm-test.inc (min_subnorm_value): New variable.
41880 (fma_test): Add more tests.
41881 (fma_test_towardzero): Likewise.
41882 (fma_test_downward): Likewise
41883 (fma_test_upward): Likewise.
41884 (initialize): Set min_subnorm_value.
41886 2012-09-29 Joseph Myers <joseph@codesourcery.com>
41889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41891 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41892 mode for addition resulting in exact zero.
41893 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41894 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41896 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41897 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41898 * math/libm-test.inc (fma_test): Add more tests.
41899 (fma_test_towardzero): New function.
41900 (fma_test_downward): Likewise.
41901 (fma_test_upward): Likewise.
41902 (main): Call the new functions.
41904 2012-09-28 David S. Miller <davem@davemloft.net>
41906 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41908 2012-09-28 Roland McGrath <roland@hack.frob.com>
41910 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41911 instead of SIGALRM.
41913 * sysdeps/gnu/_G_config.h: Moved to ...
41914 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41915 * sysdeps/mach/hurd/_G_config.h: Moved to ...
41916 * sysdeps/generic/_G_config.h: ... here.
41918 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
41920 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41922 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41923 Conditionalize target on [libnss_test1.so-version].
41925 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41927 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41928 (elfobjdir): Move out of conditionals.
41930 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41931 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41932 (__nss_lookup_function): Conditionalize label remove_from_tree on
41933 [!DO_STATIC_NSS || SHARED], matching its only use.
41935 2012-09-28 David S. Miller <davem@davemloft.net>
41937 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41938 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41940 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41942 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41943 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41944 when HWCAP_SPARC_CRYPTO is present.
41946 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41948 * io/tst-mknodat.c: Create a FIFO instead of a socket.
41950 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
41953 * stdio-common/vfprintf.c (process_string_arg): Revert
41956 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
41958 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41960 * stdio-common/tst-sprintf.c: Include <locale.h>
41961 (main): Test sprintf's handling of incomplete multibyte
41964 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
41966 * elf/dl-runtime.c (VERSYMIDX): Removed.
41967 * elf/dl-version.c (VERSYMIDX): Likewise.
41968 * elf/do-rel.h (VERSYMIDX): Likewise.
41969 (VALIDX): Likewise.
41970 * elf/dynamic-link.h (VERSYMIDX): Likewise.
41971 * elf/rtld.c (VALIDX): Likewise.
41972 (ADDRIDX): Likewise.
41973 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41974 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41975 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41976 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41977 (VALIDX): Likewise.
41978 (ADDRIDX): Likewise.
41980 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41982 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41984 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
41987 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41989 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41990 addresses are in the same scope as 192.0.2/24.
41991 * posix/gai.conf: Document new scope table defaults.
41993 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41996 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41997 for ftell. Compute offsets from write pointers instead.
41998 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42000 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42003 * libio/Makefile (tests): New test case tst-fseek.
42004 * libio/tst-fseek.c: New test case to verify that fseek/ftell
42005 combination works in wide mode.
42006 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42007 state when the external buffer state changes.
42009 2012-09-27 David S. Miller <davem@davemloft.net>
42012 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42013 pass reloc->r_addend in as the 'high' argument to
42014 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42018 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42020 * rt/tst-aio2.c: Include <pthread.h>.
42021 * rt/tst-aio3.c: Likewise.
42023 2012-09-27 Steve Ellcey <sellcey@mips.com>
42025 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42027 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42029 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42030 contents on [SHARED].
42032 2012-09-26 Marek Polacek <polacek@redhat.com>
42036 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42037 for C++ and GCC <4.3 as well as for non GCC compilers.
42039 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42043 2012-09-25 Roland McGrath <roland@hack.frob.com>
42045 * Makefile.in (all, install): Declare with .PHONY.
42046 Reported by Michael Hope <michael.hope@linaro.org>.
42048 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42050 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42051 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42053 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42055 (sydep_routines): Add the new and the internal functions.
42056 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42057 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42059 (GLIBC_2.17): Add the new function.
42060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42061 (GLIBC_2.17): Likewise.
42062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42063 (GLIBC_2.17): Likewise.
42064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42065 (GLIBC_2.17): Likewise.
42066 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42068 2012-09-25 Alan Modra <amodra@gmail.com>
42070 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42071 Add release barrier before setting once_control to say
42072 initialisation is done. Add hints on lwarx. Use macro in
42074 (clear_once_control): Add release barrier.
42076 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42079 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42081 * math/s_clog10.c (__clog10): Likewise.
42082 * math/s_clog10f.c (__clog10f): Likewise.
42083 * math/s_clog10l.c (__clog10l): Likewise.
42084 * math/s_clogf.c (__clogf): Likewise.
42085 * math/s_clogl.c (__clogl): Likewise.
42086 * math/Makefile (libm-calls): Add x2y2m1.
42087 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42088 (__x2y2m1): Likewise.
42089 (__x2y2m1l): Likewise.
42090 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42091 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42092 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42093 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42094 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42095 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42096 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42097 * sysdeps/i386/fpu/libm-test-ulps: Update.
42098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42101 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42102 int as type of variable DEPTH.
42103 (glob): Use size_t instead of int as type of variables NEWCOUNT
42106 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42108 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42109 Add s_sincosf-sse2.
42110 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42111 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42112 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42113 macros for using routine as __sincosf_ia32.
42114 Use macro for function declaration and weak_alias.
42115 * sysdeps/i386/fpu/libm-test-ulps: Update.
42117 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42120 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42121 subnormal argument.
42122 * math/s_cexpf.c (__cexpf): Likewise.
42123 * math/s_csinf.c (__csinf): Likewise.
42124 * math/s_csinhf.c (__csinhf): Likewise.
42125 * math/s_ctanf.c (__ctanf): Likewise.
42126 * math/s_ctanhf.c (__ctanhf): Likewise.
42127 * math/s_ccosh.c (__ccoshf): Likewise.
42128 * math/s_cexp.c (__cexpl): Likewise.
42129 * math/s_csin.c (__csin): Likewise.
42130 * math/s_csinh.c (__csinh): Likewise.
42131 * math/s_ctan.c (__ctan): Likewise.
42132 * math/s_ctanh.c (ctanh): Likewise.
42133 * math/s_ccoshl.c (__ccoshl): Likewise.
42134 * math/s_cexpl.c (__cexpl): Likewise.
42135 * math/s_csinl.c (__csinl): Likewise.
42136 * math/s_csinhl.c (__csinhl): Likewise.
42137 * math/s_ctanl.c (__ctanl): Likewise.
42138 * math/s_ctanhl.c (__ctanhl): Likewise.
42140 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42142 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42143 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42144 (_IO_off_t): Define to __off_t, not _G_off_t.
42145 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42146 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42147 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42148 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42149 type of __dummy and __dummy2 fields.
42150 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42151 (_G_ssize_t): Likewise.
42152 (_G_off_t): Likewise.
42153 (_G_pid_t): Likewise.
42154 (_G_uid_t): Likewise.
42155 (_G_wchar_t): Likewise.
42156 (_G_wint_t): Likewise.
42157 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42158 (_G_ssize_t): Likewise.
42159 (_G_off_t): Likewise.
42160 (_G_pid_t): Likewise.
42161 (_G_uid_t): Likewise.
42162 (_G_wchar_t): Likewise.
42163 (_G_wint_t): Likewise.
42164 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42165 (_G_ssize_t): Likewise.
42166 (_G_off_t): Likewise.
42167 (_G_pid_t): Likewise.
42168 (_G_uid_t): Likewise.
42169 (_G_wchar_t): Likewise.
42170 (_G_wint_t): Likewise.
42172 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42174 * malloc/arena.c: Include malloc-sysdep.h.
42175 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42176 is sufficient to shrink the heap or an unmap is needed.
42177 * sysdeps/generic/malloc-sysdep.h: New file. Define
42178 new function check_may_shrink_heap.
42179 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42180 new function check_may_shrink_heap.
42182 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42184 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42187 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42189 * catgets/test-gencat.sh: Add "set -e".
42190 * elf/tst-pathopt.sh: Likewise.
42191 * grp/tst_fgetgrent.sh: Likewise.
42192 * iconvdata/run-iconv-test.sh: Likewise.
42193 * intl/tst-gettext.sh: Likewise.
42194 * intl/tst-gettext2.sh: Likewise.
42195 * intl/tst-gettext4.sh: Likewise.
42196 * intl/tst-gettext6.sh: Likewise.
42197 * intl/tst-translit.sh: Likewise.
42198 * io/ftwtest-sh: Likewise.
42199 * libio/test-freopen.sh: Likewise.
42200 * malloc/tst-mtrace.sh: Likewise.
42201 * posix/globtest.sh: Likewise.
42202 * posix/tst-getconf.sh: Likewise.
42203 * posix/wordexp-tst.sh: Likewise.
42204 * stdio-common/tst-printf.sh: Likewise.
42205 * stdio-common/tst-unbputc.sh: Likewise.
42206 * stdlib/tst-fmtmsg.sh: Likewise.
42207 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42208 * catgets/Makefile: Do not specify -e option when running
42209 testsuite shell scripts.
42210 * elf/Makefile: Likewise.
42211 * grp/Makefile: Likewise.
42212 * iconvdata/Makefile: Likewise.
42213 * intl/Makefile: Likewise.
42214 * io/Makefile: Likewise.
42215 * libio/Makefile: Likewise.
42216 * malloc/Makefile: Likewise.
42217 * posix/Makefile: Likewise.
42218 * stdio-common/Makefile: Likewise.
42219 * stdlib/Makefile: Likewise.
42220 * sysdeps/x86_64/Makefile: Likewise.
42222 * io/ftwtest-sh: Add copyright header.
42223 * posix/globtest.sh: Likewise.
42224 * posix/tst-getconf.sh: Likewise.
42225 * posix/wordexp-tst.sh: Likewise.
42226 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42228 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42231 * Makeconfig (+link): Defined as $(+link-static) if
42232 $(build-shared) isn't yes.
42233 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42235 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42237 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42240 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42241 new chunk size with MALLOC_ALIGN_MASK.
42243 2012-09-24 Joseph Myers <joseph@codesourcery.com>
42246 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42248 (__printf_fphex): Determine rounding using get_rounding_mode and
42250 * stdio-common/tst-printf-round.c (struct hex_test): New
42252 (hex_tests): New variable.
42253 (test_hex_in_one_mode): New function.
42254 (do_test): Also run tests for hex float output.
42256 2012-09-21 Joseph Myers <joseph@codesourcery.com>
42258 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42259 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42260 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42261 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42262 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42263 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42264 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42265 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42267 2012-09-20 Joseph Myers <joseph@codesourcery.com>
42269 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42270 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42271 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42272 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42274 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42277 * elf/rtld.c (dl_main): Limit the check for self loading to normal
42279 * elf/tst-rtld-load-self.sh: New test.
42280 * elf/Makefile: Run it.
42282 2012-09-18 Joseph Myers <joseph@codesourcery.com>
42284 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42285 (tst-writev-ENV): Remove.
42286 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42288 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
42290 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42292 2012-09-17 Joseph Myers <joseph@codesourcery.com>
42294 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42296 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42298 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42299 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42300 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42303 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42306 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42307 * config.make.in (have-cpp-asm-debuginfo): Removed.
42308 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42309 * configure: Regenerated.
42311 2012-09-14 Joseph Myers <joseph@codesourcery.com>
42314 * stdio-common/printf_fp.c: Include <stdbool.h> and
42316 (___printf_fp): Determine rounding using get_rounding_mode and
42318 * stdio-common/tst-printf-round.c: New file.
42319 * stdio-common/Makefile (tests): Add tst-printf-round.
42320 (link-libm): New variable.
42321 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42323 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42326 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42327 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42329 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42332 2012-09-13 Joseph Myers <joseph@codesourcery.com>
42334 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42335 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42336 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42337 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42339 2012-09-12 Joseph Myers <joseph@codesourcery.com>
42342 * include/rounding-mode.h: New file.
42343 * sysdeps/generic/get-rounding-mode.h: Likewise.
42344 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42345 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42346 (MAX_VALUE): New macro.
42347 (MIN_VALUE): Likewise.
42348 (overflow_value): New function.
42349 (underflow_value): Likewise.
42350 (round_and_return): Use overflow_value and underflow_value to
42351 determine return values in overflow and underflow cases. Use
42352 round_away to determine rounding depending on rounding mode.
42353 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42354 determine return values in overflow and underflow cases.
42355 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42356 (struct test_results): New structure.
42357 (struct test): Use struct test_results to store expected results
42358 for all rounding modes.
42359 (TEST): Include expected results for all rounding modes.
42360 (test_in_one_mode): New function.
42361 (do_test): Use test_in_one_mode to compute and check results.
42362 Check results for all rounding modes.
42363 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42366 2012-12-09 Allan McRae <allan@archlinux.org>
42368 * sysdeps/i386/fpu/libm-test-ulps: Update
42370 2012-09-11 Joseph Myers <joseph@codesourcery.com>
42372 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42373 (_G_int32_t): Likewise.
42374 (_G_uint16_t): Likewise.
42375 (_G_uint32_t): Likewise.
42376 (_G_HAVE_BOOL): Likewise.
42377 (_G_HAVE_ATEXIT): Likewise.
42378 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42379 (_G_HAVE_IO_FILE_OPEN): Likewise.
42380 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42381 (_G_int32_t): Likewise.
42382 (_G_uint16_t): Likewise.
42383 (_G_uint32_t): Likewise.
42384 (_G_HAVE_BOOL): Likewise.
42385 (_G_HAVE_ATEXIT): Likewise.
42386 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42387 (_G_HAVE_IO_FILE_OPEN): Likewise.
42388 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42389 (_G_int32_t): Likewise.
42390 (_G_uint16_t): Likewise.
42391 (_G_uint32_t): Likewise.
42392 (_G_HAVE_BOOL): Likewise.
42393 (_G_HAVE_ATEXIT): Likewise.
42394 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42395 (_G_HAVE_IO_FILE_OPEN): Likewise.
42397 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42399 * csu/libc-tls.c: Update copyright years.
42401 2012-09-10 Joseph Myers <joseph@codesourcery.com>
42403 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42404 [!_G_USING_THUNKS]: Remove conditional code.
42405 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42406 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42408 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42409 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42410 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42411 (_G_VTABLE_LABEL_PREFIX): Likewise.
42412 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42413 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42414 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42415 (_G_VTABLE_LABEL_PREFIX): Likewise.
42416 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42417 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42418 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42419 (_G_VTABLE_LABEL_PREFIX): Likewise.
42420 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42422 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42424 * libio/Makefile: Include ../Makeconfig before tests.
42425 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42426 only if $(build-shared) is yes.
42428 * iconv/gconv_db.c: Update copyright years.
42430 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42432 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42433 unwind info if defined PIC. Fix special cases description.
42434 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42436 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42438 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42440 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42442 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42444 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42447 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42448 (LDLIBS-tst-chk4): This.
42449 (LDFLAGS-tst-chk5): Renamed to ...
42450 (LDLIBS-tst-chk5): This.
42451 (LDFLAGS-tst-chk6): Renamed to ...
42452 (LDLIBS-tst-chk6): This.
42453 (LDFLAGS-tst-lfschk4): Renamed to ...
42454 (LDLIBS-tst-lfschk4): This.
42455 (LDFLAGS-tst-lfschk5): Renamed to ...
42456 (LDLIBS-tst-lfschk5): This.
42457 (LDFLAGS-tst-lfschk6): Renamed to ...
42458 (LDLIBS-tst-lfschk6): This.
42460 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42461 on $(common-objpfx)soversions.mk.
42463 2012-09-07 Joseph Myers <joseph@codesourcery.com>
42466 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42469 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42471 * malloc/arena.c (arena_get_retry): New function that gets
42472 another arena for the caller to try its request on.
42473 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42474 current arena cannot fulfill the request.
42475 (__libc_memalign): Likewise.
42476 (__libc_memalign): Likewise.
42477 (__libc_pvalloc): Likewise.
42478 (__libc_calloc): Likewise.
42480 2012-09-05 John Tobey <john.tobey@gmail.com>
42483 * manual/arith.texi (Operations on Complex): Fix description
42484 of carg branch cut.
42486 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42489 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42493 * manual/memory.texi (Memory): Make order of menu items match
42496 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42498 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42499 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42500 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42502 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42504 * csu/libc-tls.c (static_dtv): Renamed to ...
42505 (_dl_static_dtv): This. Make it global.
42506 (_dl_initial_dtv): Removed.
42507 (__libc_setup_tls): Updated.
42508 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42509 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42512 2012-09-06 Petr Machata <pmachata@redhat.com>
42514 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42515 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42516 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42517 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42519 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42522 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42523 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42526 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42529 * Makeconfig (link-static-before-libc): Replace $(+prector)
42531 (link-static-after-libc): Replace $(+postctor) with
42533 (link-bounded): Replace $(+prector)/$(+postctor) with
42534 $(+prectorT)/$(+postctorT).
42535 (+prectorT): New macro.
42536 (+postctorT): Likewise.
42538 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42540 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42541 (round_str): Handle values above the maximum for IBM long double
42543 * stdlib/tst-strtod-round.c (tests): Regenerated.
42545 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42547 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42549 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42550 zarch_nohighgprs around the zarch optimized routines.
42551 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42552 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42553 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42556 2012-09-05 David S. Miller <davem@davemloft.net>
42558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42560 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42561 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42562 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42563 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42566 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42568 * malloc/arena.c: Fold copyright years.
42569 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42571 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42573 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42575 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42577 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42579 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42581 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42582 change internal state upon failure.
42584 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42586 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42587 * malloc/memusage.c (mmap): Likewise.
42588 (mmap64, mremap): Likewise. Adjust name in comment.
42590 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42592 * libio/fileops.c: Fix typos in comments.
42593 * libio/oldfileops.c: Likewise.
42594 * libio/wfileops.c: Likewise.
42596 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42599 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42600 (tst-malloc-usable-ENV): Set environment for test case.
42601 * malloc/hooks.c (malloc_check_get_size): New function to get
42603 * malloc/malloc.c (musable): Use malloc_check_get_size.
42604 * malloc/tst-malloc-usable.c: New test case.
42606 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42608 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42610 2012-09-05 Allan McRae <allan@archlinux.org>
42613 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42614 determine header location.
42615 * configure: Regenerated.
42617 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42619 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42621 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42622 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42624 (test): Regenerate.
42626 2012-09-04 David S. Miller <davem@davemloft.net>
42628 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42629 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42630 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42632 2012-09-04 Florian Weimer <fweimer@redhat.com>
42634 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42637 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42639 2012-09-04 Joseph Myers <joseph@codesourcery.com>
42642 * libio/iogetdelim.c: Include <limits.h>.
42643 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42644 + len + 1 would overflow.
42646 2012-09-03 Andreas Jaeger <aj@suse.de>
42648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42649 * sysdeps/i386/fpu/libm-test-ulps: Update.
42651 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42653 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42654 Add s_sinf-sse2, s_conf-sse2.
42656 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42657 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42658 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42659 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42661 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42662 for using routine as __sinf_ia32.
42663 Use macro for function declaration and weak_alias.
42664 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42665 for using routine as __cosf_ia32.
42666 Use macro for function declaration and weak_alias.
42668 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42669 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42671 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42672 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42675 * math/libm-test.inc (cos_test): Add more test cases.
42676 (sin_test): Likewise.
42677 (sincos_test): Likewise.
42679 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42682 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42684 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42686 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42689 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42690 first element of the GOT.
42691 (elf_machine_load_address): Return the difference between
42692 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42694 2012-09-01 Allan McRae <allan@archlinux.org>
42697 * configure.in (AWK): Require gawk version 3.0 or later.
42698 * configure: Regenerated.
42700 2012-09-01 Joseph Myers <joseph@codesourcery.com>
42702 * sysdeps/unix/sysv/linux/kernel-features.h
42703 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42704 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42705 [__NR_clock_getres]: Make code unconditional.
42706 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42707 (clock_getcpuclockid): Remove code left unreachable by removal of
42709 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42710 code unconditional.
42711 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42712 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42713 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42714 Make code unconditional.
42715 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42716 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42717 * sysdeps/unix/sysv/linux/clock_settime.c
42718 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42720 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42721 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42723 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42726 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42727 scripts/test-installation.pl.
42729 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42730 and $ld_so_version if it is set.
42732 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42735 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42736 failure if reading from procfs failed.
42737 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42739 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42741 * sysdeps/unix/sysv/linux/kernel-features.h
42742 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42743 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42744 Remove conditional code.
42745 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42746 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42747 Remove conditional code.
42748 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42749 * sysdeps/unix/sysv/linux/i386/fxstat.c
42750 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42751 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42752 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42753 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42754 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42755 * sysdeps/unix/sysv/linux/i386/lxstat.c
42756 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42757 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42758 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42759 Remove conditional code.
42760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42761 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42762 Remove conditional code.
42763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42764 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42765 <kernel-features.h>.
42766 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42768 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42769 Remove conditional code.
42770 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42771 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42772 Remove conditional.
42774 2012-08-27 Mike Frysinger <vapier@gentoo.org>
42777 * NEWS: Add fixed bug number.
42779 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42782 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42783 underflowing exponent in case of negative sign.
42784 * stdlib/tst-strtod-round-data: Add more tests.
42785 * stdlib/tst-strtod-round.c (tests): Regenerated.
42788 * stdlib/strtod_l.c (NDIG): Remove.
42789 (HEXNDIG): Likewise.
42790 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42791 smallest representable value.
42792 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42793 lie within an exact representation of 1/2 ulp of the result.
42794 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42796 (TENS_P9_IDX): Define unconditionally.
42797 (TENS_P9_SIZE): Likewise.
42798 (TENS_P10_IDX): Likewise.
42799 (TENS_P10_SIZE): Likewise.
42800 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42801 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42802 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42803 entries for 10^2^13 and 10^2^14.
42804 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42805 (TENS_P13_IDX): Define.
42806 (TENS_P13_SIZE): Likewise.
42807 (TENS_P14_IDX): Likewise.
42808 (TENS_P14_SIZE): Likewise.
42809 (_fpioconst_pow10): Change array size to
42810 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
42812 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42813 1024]: Add entries for 10^2^13 and 10^2^14.
42814 [LAST_POW10 > _LAST_POW10]: Remove #error.
42815 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42816 (_fpioconst_pow10): Change array size to
42817 FPIOCONST_POW10_ARRAY_SIZE.
42818 * stdlib/gen-fpioconst.c: New file.
42819 * stdlib/gen-tst-strtod-round.c: Likewise.
42820 * stdlib/tst-strtod-round-data: Likewise.
42821 * stdlib/tst-strtod-round.c: Likewise.
42822 * stdlib/Makefile (tests): Add tst-strtod-round.
42825 * stdlib/strtod_l.c: Include <stdint.h>.
42826 (NDEBUG): Do not define.
42827 (round_and_return): Change EXPONENT parameter to type intmax_t.
42828 Rearrange calculations to avoid internal overflow possibilities.
42829 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42830 Rearrange calculations to avoid internal overflow possibilities.
42831 Assert that number fits inside MPNSIZE limbs.
42832 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42833 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
42834 calculations and add assertions to avoid internal overflow
42835 possibilities. Add casts to avoid signed/unsigned operations.
42836 * stdlib/tst-strtod-overflow.c: New file.
42837 * stdlib/Makefile (tests): Add tst-strtod-overflow.
42839 2012-08-25 Marek Polacek <polacek@redhat.com>
42841 * time/time.h: Fix some typos in comments.
42843 2012-08-23 Roland McGrath <roland@hack.frob.com>
42845 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42846 * posix/tst-rfc3484-2.c: Likewise.
42847 * posix/tst-rfc3484-3.c: Likewise.
42849 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
42851 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42852 (EF_ARM_ABI_FLOAT_HARD): Likewise.
42854 2012-08-23 Joseph Myers <joseph@codesourcery.com>
42856 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42857 #include of fxstatat64.c.
42859 2012-08-22 Roland McGrath <roland@hack.frob.com>
42861 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42862 * shadow/getspent_r.c: Likewise.
42863 * shadow/getspnam.c: Likewise.
42864 * shadow/getspnam_r.c: Likewise.
42865 * gshadow/getsgent.c: Likewise.
42866 * gshadow/getsgent_r.c: Likewise.
42867 * gshadow/getsgnam.c: Likewise.
42868 * gshadow/getsgnam_r.c: Likewise.
42869 * inet/getnetbyad.c: Likewise.
42870 * inet/getnetbyad_r.c: Likewise.
42871 * inet/getnetbynm.c: Likewise.
42872 * inet/getnetbynm_r.c: Likewise.
42873 * inet/getnetent.c: Likewise.
42874 * inet/getnetent_r.c: Likewise.
42875 * inet/getproto.c: Likewise.
42876 * inet/getproto_r.c: Likewise.
42877 * inet/getprtent.c: Likewise.
42878 * inet/getprtent_r.c: Likewise.
42879 * inet/getprtname.c: Likewise.
42880 * inet/getprtname_r.c: Likewise.
42881 * inet/getrpcbyname.c: Likewise.
42882 * inet/getrpcbyname_r.c: Likewise.
42883 * inet/getrpcbynumber.c: Likewise.
42884 * inet/getrpcbynumber_r.c: Likewise.
42885 * inet/getrpcent.c: Likewise.
42886 * inet/getrpcent_r.c: Likewise.
42887 * inet/getaliasent.c: Likewise.
42888 * inet/getaliasent_r.c: Likewise.
42889 * inet/getaliasname.c: Likewise.
42890 * inet/getaliasname_r.c: Likewise.
42891 * nscd/getgrgid_r.c: Likewise.
42892 * nscd/getgrnam_r.c: Likewise.
42893 * nscd/gethstbyad_r.c: Likewise.
42894 * nscd/gethstbynm3_r.c: Likewise.
42895 * nscd/getpwnam_r.c: Likewise.
42896 * nscd/getpwuid_r.c: Likewise.
42897 * nscd/getsrvbynm_r.c: Likewise.
42898 * nscd/getsrvbypt_r.c: Likewise.
42899 * nscd/gai.c: Likewise.
42901 * configure.in (build_nscd): New substituted variable, set
42902 by --disable-build-nscd and defaults to $use_nscd.
42903 * configure: Regenerated.
42904 * config.make.in (build-nscd): New substituted variable.
42905 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42906 Change conditional to require [$(build-nscd) = yes] as well.
42907 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42910 * configure.in (use_nscd): New substituted variable, set by
42911 --disable-nscd. If enabled, define USE_NSCD.
42912 * configure: Regenerated.
42913 * config.h.in: Add USE_NSCD.
42914 * config.make.in (use-nscd): New substituted variable.
42915 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42916 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42917 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42918 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42919 (CFLAGS-getgrnam_r.c): Likewise.
42920 (CFLAGS-initgroups.c): Likewise.
42921 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42922 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42924 * inet/getnetgrent_r.c
42925 (nscd_setnetgrent): New function, broken out of ...
42926 (setnetgrent): ... here. Call it.
42927 (innetgr): Conditionalize nscd bits on [USE_NSCD].
42928 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42929 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42930 * nscd/Makefile (routines, aux): Move definitions after include of
42931 Makeconfig. Conditionalize on [$(use-nscd) != no].
42932 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42933 Conditionalize on [USE_NSCD].
42934 (is_nscd, nscd_init_cb): Likewise.
42935 (nss_load_library): Conditionalize init callback on [USE_NSCD].
42936 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42937 * nss/nss_db/db-init.c: Likewise.
42938 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42940 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42941 (make_request): Use it.
42942 (cache_valid_p): New function.
42943 (__check_pf): Use it.
42944 * NEWS: Add item for --disable-nscd.
42946 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
42948 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42949 to support sed >= 4.2.1-20-ga9bf076.
42950 * configure: Regenerated.
42952 2012-08-22 Roland McGrath <roland@hack.frob.com>
42954 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42955 Conditionalize whole body on [IREL].
42957 2012-08-22 Jeff Law <law@redhat.com>
42960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42961 if the family is PF_UNSPEC.
42963 2012-08-22 Mike Frysinger <vapier@gentoo.org>
42965 * Makerules (lib-version): Rename from V.
42966 (install-lib-nosubdir): Change V to lib-version.
42968 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
42971 * powerpc32/power6/wcschr.c: New file.
42972 * powerpc32/power6/wcscpy.c: New file.
42973 * powerpc32/power6/wcsrchr.c: New file.
42974 * powerpc64/power6/wcschr.c: New file.
42975 * powerpc64/power6/wcscpy.c: New file.
42976 * powerpc64/power6/wcsrchr.c: New file.
42978 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42980 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42981 (two_way_short_needle): Use it.
42982 * string/strstr.c (AVAILABLE1_USES_J): Define.
42983 * string/strcasestr.c: Likewise.
42985 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42987 * string/strcasestr.c (TOLOWER): Make side-effect safe.
42990 * NEWS: Add an entry.
42991 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42992 define their defaults.
42993 (two_way_short_needle): Detect end-of-string on-the-fly.
42994 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42995 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42996 * string/bug-strcasestr1.c: New test.
42997 * string/Makefile: Run it.
42999 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43002 * string/str-two-way.h (two_way_short_needle): Optimize matching of
43003 the first character.
43005 2012-08-21 Roland McGrath <roland@hack.frob.com>
43007 * csu/elf-init.c (__libc_csu_irel): Function removed.
43008 * csu/libc-start.c (apply_irel): New function.
43009 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43011 2012-08-21 Joseph Myers <joseph@codesourcery.com>
43013 * sysdeps/unix/sysv/linux/kernel-features.h
43014 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43015 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43016 <kernel-features.h>.
43017 [__NR_fadvise64_64]: Make code unconditional.
43018 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43019 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43020 !__NR_fadvise64_64)]: Likewise.
43021 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43022 !__NR_fadvise64_64))]: Likewise.
43023 [__NR_fadvise64]: Make code unconditional.
43024 [!__NR_fadvise64]: Remove conditional code.
43025 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43026 <kernel-features.h>.
43027 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43029 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43032 not include <kernel-features.h>.
43033 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43035 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43037 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43038 include <kernel-features.h>.
43039 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43041 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43044 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43046 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43047 slight instruction rearrangements per scrollpipe analysis.
43048 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43050 2012-08-20 Roland McGrath <roland@hack.frob.com>
43052 * manual/syslog.texi (syslog; vsyslog, closelog):
43053 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43054 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43056 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43057 DSOCAPS to match condition on defining it.
43059 2012-08-20 Joseph Myers <joseph@codesourcery.com>
43061 * sysdeps/unix/sysv/linux/kernel-features.h
43062 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43064 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43065 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43067 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43068 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43070 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43071 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43073 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43074 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43076 * sysdeps/unix/sysv/linux/kernel-features.h
43077 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43078 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43080 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43081 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43082 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43083 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43084 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43085 Make code unconditional.
43086 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43087 (__mmap64) [!__NR_mmap2]: Likewise.
43088 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43089 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43090 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43091 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43092 [__NR_mmap2]: Make code unconditional.
43093 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43094 (__mmap64) [!__NR_mmap2]: Likewise.
43096 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43098 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43100 2012-08-18 Andreas Jaeger <aj@suse.de>
43102 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43104 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43106 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43107 * include/unistd.h (__have_sock_cloexec): Likewise.
43108 (__have_pipe2): Likewise.
43109 (__have_dup3): Likewise.
43111 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43114 * include/unistd.h (__have_pipe2): Change define into an extern int.
43115 (__have_dup3): Likewise.
43116 * socket/have_sock_cloexec.c: Include fcntl.h.
43117 (__have_pipe2): New variable.
43118 (__have_dup3): Likewise.
43120 2012-08-17 Mike Frysinger <vapier@gentoo.org>
43122 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43124 2012-08-17 Marek Polacek <polacek@redhat.com>
43126 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43127 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43129 2012-08-17 Roland McGrath <roland@hack.frob.com>
43131 * configure.in: Add AC_SUBST for sysheaders.
43132 * configure: Regenerated.
43133 * config.make.in (sysheaders): New substituted variable.
43135 * sysdeps/unix/mkfifo.c: Moved ...
43136 * sysdeps/posix/mkfifo.c: ... here.
43137 * sysdeps/unix/mkfifoat.c: Moved ...
43138 * sysdeps/posix/mkfifoat.c: ... here.
43140 * sysdeps/unix/utime.c: Moved ...
43141 * sysdeps/posix/utime.c: ... here.
43143 * sysdeps/unix/time.c: Moved ...
43144 * sysdeps/posix/time.c: ... here.
43145 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43146 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43148 * sysdeps/unix/nice.c: Moved ...
43149 * sysdeps/posix/nice.c: ... here.
43151 * sysdeps/unix/alarm.c: Moved ...
43152 * sysdeps/posix/alarm.c: ... here.
43154 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43156 2012-08-17 Jeff Law <law@redhat.com>
43158 * intl/Makefile (codeset_mo): New variable.
43159 ($(codeset_mo)): New target.
43160 (tst-codeset.out): Depend on that. Remove explicit rule.
43161 (tst-gettext3.out, tst-gettext5.out): Likewise.
43162 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43163 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43164 * intl/tst-codeset.sh: Remove.
43165 * intl/tst-gettext3.sh: Likewise.
43166 * intl/tst-gettext5.sh: Likewise.
43168 2012-08-17 Roland McGrath <roland@hack.frob.com>
43170 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43171 * sysdeps/unix/syscalls.list: ... here.
43173 * sysdeps/posix/getaddrinfo.c
43174 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43175 (gaiconf_init, gaiconf_reload): Use them.
43176 [!_STATBUF_ST_NSEC]
43177 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43178 Define using time_t rather than struct timespec.
43180 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43181 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43183 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43185 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43186 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43189 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43190 __libc_cleanup_push argument.
43192 * bits/param.h: New file.
43193 * misc/sys/param.h: New file.
43194 * include/sys/param.h: New file.
43195 * misc/Makefile (headers): Add bits/param.h.
43196 * sysdeps/generic/sys/param.h: File removed.
43197 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43198 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43199 * sysdeps/mach/hurd/bits/param.h: New file.
43200 * sysdeps/mach/hurd/sys/param.h: File removed.
43202 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43205 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43207 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43208 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43211 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43212 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43213 rather than -D_IO_MTSAFE_IO conditionally.
43214 * stdio-common/Makefile (CPPFLAGS): Likewise.
43215 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43216 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43217 Use $(libio-mtsafe).
43218 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43219 of -D_IO_MTSAFE_IO.
43220 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43221 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43222 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43223 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43224 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43225 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43226 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43227 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43228 (CFLAGS-fread_u_chk.c): Likewise.
43229 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43230 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43231 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43232 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43233 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43234 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43235 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43236 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43237 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43239 * libio/Makefile: Test [$(libc-reentrant) = yes]
43240 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43243 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43244 * sysdeps/pthread/configure: File removed.
43245 * sysdeps/pthread/Makeconfig: New file.
43246 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43247 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43249 2012-08-16 Gary Benson <gbenson@redhat.com>
43251 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43252 unmapping the first object in a namespace.
43254 2012-08-16 Roland McGrath <roland@hack.frob.com>
43256 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43257 (__internal_setnetgrent): ... this. Add internal_function to
43258 definition. Add libc_hidden_def.
43259 (setnetgrent): Update caller.
43260 (internal_endnetgrent): Renamed to ...
43261 (__internal_endnetgrent): ... this. Add internal_function to
43262 definition. Add libc_hidden_def.
43263 (endnetgrent): Update caller.
43264 (internal_getnetgrent_r): Renamed to ...
43265 (__internal_getnetgrent_r): ... this. Add internal_function to
43266 definition. Add libc_hidden_def.
43267 (__getnetgrent_r): Update caller.
43268 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43270 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43272 * stdlib/longlong.h: Update from GCC.
43274 2012-08-16 Roland McGrath <roland@hack.frob.com>
43276 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43277 on _QL, which is set by umul_ppmm but never used.
43278 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43279 variables, which are set by GMP macros but never used.
43280 * stdio-common/_itowa.c (_itowa): Likewise.
43281 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43282 * stdlib/mod_1.c (mpn_mod_1): Likewise.
43284 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
43286 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43287 struct La_sh_regs is not constant.
43288 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43289 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43290 and struct La_sparc64_regs are not constant.
43292 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43294 * sysdeps/unix/sysv/linux/kernel-features.h
43295 (__ASSUME_POSIX_TIMERS): Remove.
43296 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43297 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43298 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43299 Make code unconditional.
43300 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43301 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43302 Make code unconditional.
43303 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43304 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43305 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43306 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43307 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43308 Make code unconditional.
43309 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43310 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43311 (__libc_missing_posix_timers): Remove.
43313 2012-08-15 Roland McGrath <roland@hack.frob.com>
43315 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43316 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43318 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43320 * elf/dl-sym.c: Include <stdlib.h>.
43322 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43323 constants, which avoids warnings in 32-bit builds.
43325 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43326 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43328 * misc/lseek.c: File moved to ...
43329 * io/lseek.c: ... here.
43331 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43333 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43334 shifting LEN more than 31 bits at once.
43336 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43339 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43340 segmentation fault for a case of two empty input strings.
43341 * string/test-strncasecmp.c (check1): Renamed to...
43342 (bz12205): ...this.
43343 (bz14195): Add new testcase for two empty input strings and N > 0.
43344 (test_main): Call new testcase, adapt for renamed function.
43346 2012-08-15 Andreas Jaeger <aj@suse.de>
43349 * crypt/md5test2.c: New test, based on test supplied by Serge
43350 Belyshev <belyshev@depni.sinp.msu.ru>.
43351 * crypt/Makefile (xtests): Add md5test-giant..
43352 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43354 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43357 * crypt/md5.c (md5_process_block): Don't assume the buffer
43358 length is less than 2**32.
43359 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43360 length is less than 2**64.
43362 2012-08-15 Roland McGrath <roland@hack.frob.com>
43364 * string/str-two-way.h: Include <sys/param.h>.
43365 (MAX): Macro removed.
43367 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43368 Move #define and #undef of memmove to just before and after
43369 including <string.h>.
43371 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43372 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43373 and after including <string.h>. Move declarations of
43374 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43375 to before #include "string/memmove.c".
43377 * include/dirent.h: Declare __getdirentries.
43379 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43380 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43382 2012-08-14 Mike Frysinger <vapier@gentoo.org>
43384 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43385 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43386 * sysdeps/i386/configure: Regenerated.
43387 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43388 STABS_CURRENT_FILE, and STABS_FUN.
43389 (END): Remove call to STABS_FUN_END.
43390 (STABS_CURRENT_FILE1): Delete.
43391 (STABS_CURRENT_FILE): Likewise.
43392 (STABS_FUN): Likewise.
43393 (STABS_FUN_END): Likewise.
43394 (STABS_FUN2): Likewise.
43395 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43396 * sysdeps/x86_64/configure: Regenerated.
43398 2012-08-14 Roland McGrath <roland@hack.frob.com>
43400 * elf/dl-open.c: Include <atomic.h>.
43401 * elf/dl-lookup.c: Likewise.
43403 2012-08-14 Joseph Myers <joseph@codesourcery.com>
43405 * sysdeps/unix/sysv/linux/kernel-features.h
43406 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43407 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43409 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43411 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43412 condition on __ASSUME_CLONE_THREAD_FLAGS.
43414 2012-08-14 Andreas Jaeger <aj@suse.de>
43416 * sysdeps/i386/fpu/libm-test-ulps: Update.
43418 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43420 * include/atomic.h (atomic_exchange_and_add): Split into ...
43421 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43424 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43428 2012-08-13 Jeff Law <law@redhat.com>
43430 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43431 null byte in the output string.
43433 2012-08-10 Joseph Myers <joseph@codesourcery.com>
43435 * sysdeps/unix/sysv/linux/kernel-features.h
43436 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43437 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43438 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43439 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43440 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43441 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43442 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43444 2012-08-09 Jeff Law <law@redhat.com>
43447 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43448 When avoid_arena is set, don't retry in the that arena. Pick the
43449 next one, whatever it might be.
43450 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43451 (arena_lock): Pass in new parameter to arena_get2.
43452 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43454 (__libc_malloc): Unify retrying after main arena failure with
43455 __libc_memalign version.
43456 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43458 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43461 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43462 to __redirect_strstr.
43463 (__strstr_sse42): Use typeof __redirect_strstr.
43464 (__strstr_ia32): Likewise.
43465 (__libc_strstr): New prototype.
43466 (strstr): Renamed to ...
43467 (__libc_strstr): This.
43468 (strstr): New strong alias of __libc_strstr.
43469 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43470 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43473 (__libc_time): New prototype.
43474 (time_ifunc): Replace time with __libc_time.
43475 (time): New strong alias and hidden definition of __libc_time.
43476 (__GI_time): Remove strong alias.
43477 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43478 Include <stddef.h>.
43479 (memmove): Redefined to __redirect_memmove.
43480 (__memmove_sse2): Use typeof __redirect_memmove.
43481 (__memmove_ssse3): Likewise.
43482 (__memmove_ssse3_back): Likewise.
43483 (__libc_memmove): New prototype.
43484 (memmove): Renamed to ...
43485 (__libc_memmove): This.
43486 (memmove): New strong alias of __libc_memmove.
43488 2012-08-08 Mark Salter <msalter@redhat.com>
43491 (R_MN10300_TLS_GD): Define.
43492 (R_MN10300_TLS_LD): Likewise.
43493 (R_MN10300_TLS_LDO): Likewise.
43494 (R_MN10300_TLS_GOTIE): Likewise.
43495 (R_MN10300_TLS_IE): Likewise.
43496 (R_MN10300_TLS_LE): Likewise.
43497 (R_MN10300_TLS_DTPMOD): Likewise.
43498 (R_MN10300_TLS_DTPOFF): Likewise.
43499 (R_MN10300_TLS_TPOFF): Likewise.
43500 (R_MN10300_SYM_DIFF): Likewise.
43501 (R_MN10300_ALIGN): Likewise.
43502 (R_MN10300_NUM): Update.
43504 2012-08-08 Joseph Myers <joseph@codesourcery.com>
43506 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43509 2012-08-08 Roland McGrath <roland@hack.frob.com>
43511 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43513 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43514 sysdeps/unix -> sysdeps/posix move.
43515 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43517 2012-08-07 Allan McRae <allan@archlinux.org>
43520 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43521 (SUNOS_CPP): Likewise.
43522 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43524 (open_input): Call CPP using execvp.
43526 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43528 * sysdeps/unix/sysv/linux/kernel-features.h
43529 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43530 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43531 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43532 (__ASSUME_WAITID_SYSCALL): Likewise.
43533 * sysdeps/unix/sysv/linux/dl-execstack.c
43534 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43535 code unconditional.
43536 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43538 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43539 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43540 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43542 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43544 [__ASSUME_WAITID_SYSCALL]: Likewise.
43545 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43547 2012-08-07 Roland McGrath <roland@hack.frob.com>
43549 * sysdeps/unix/closedir.c: Renamed to ...
43550 * sysdeps/posix/closedir.c: ... here.
43551 * sysdeps/unix/dirfd.c: Renamed to ...
43552 * sysdeps/posix/dirfd.c: ... here.
43553 * sysdeps/unix/dirstream.h: Renamed to ...
43554 * sysdeps/posix/dirstream.h: ... here.
43555 * sysdeps/unix/fdopendir.c: Renamed to ...
43556 * sysdeps/posix/fdopendir.c: ... here.
43557 * sysdeps/unix/opendir.c: Renamed to ...
43558 * sysdeps/posix/opendir.c: ... here.
43559 * sysdeps/unix/readdir.c: Renamed to ...
43560 * sysdeps/posix/readdir.c: ... here.
43561 * sysdeps/unix/readdir_r.c: Renamed to ...
43562 * sysdeps/posix/readdir_r.c: ... here.
43563 * sysdeps/unix/rewinddir.c: Renamed to ...
43564 * sysdeps/posix/rewinddir.c: ... here.
43565 * sysdeps/unix/seekdir.c: Renamed to ...
43566 * sysdeps/posix/seekdir.c: ... here.
43567 * sysdeps/unix/telldir.c: Renamed to ...
43568 * sysdeps/posix/telldir.c: ... here.
43569 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43570 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43571 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43572 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43574 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43575 * bits/fcntl.h: ... here.
43577 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43579 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43580 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43581 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43582 (struct flock): Move l_start, l_len to the beginning.
43583 Use __pid_t for l_pid.
43584 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43585 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43586 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43587 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43588 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43589 [__USE_LARGEFILE64] (struct flock64): New type.
43590 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43592 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43593 * bits/dirent.h: ... here.
43595 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43596 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43598 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43600 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43601 Change from 2.6.0 to 2.6.16.
43602 * sysdeps/unix/sysv/linux/configure: Regenerated.
43603 * sysdeps/unix/sysv/linux/kernel-features.h
43604 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43605 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43607 (__ASSUME_UTIMES): Likewise.
43608 (__ASSUME_CLONE_STOPPED): Remove.
43609 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43610 architectures, not kernel version.
43611 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43612 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43613 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43614 (__ASSUME_WAITID_SYSCALL): Likewise.
43615 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43616 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43617 * README: State 2.6.16 as minimum Linux kernel version. Do not
43618 refer to older versions.
43620 2012-08-06 Roland McGrath <roland@hack.frob.com>
43622 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43623 Define alphasort64 as an alias.
43624 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43625 Define versionsort64 as an alias.
43626 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43627 Define scandir64 as an alias.
43628 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43629 Define scandirat64 as an alias.
43630 * dirent/alphasort64.c (alphasort64):
43631 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43632 * dirent/versionsort64.c: Likewise.
43633 * dirent/scandir64.c: Likewise.
43634 * dirent/scandirat64.c: Likewise.
43635 * sysdeps/wordsize-64/alphasort.c: File removed.
43636 * sysdeps/wordsize-64/alphasort64.c: File removed.
43637 * sysdeps/wordsize-64/scandir.c: File removed.
43638 * sysdeps/wordsize-64/scandir64.c: File removed.
43639 * sysdeps/wordsize-64/scandirat.c: File removed.
43640 * sysdeps/wordsize-64/scandirat64.c: File removed.
43641 * sysdeps/wordsize-64/versionsort.c: File removed.
43642 * sysdeps/wordsize-64/versionsort64.c: File removed.
43643 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43644 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43645 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43646 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43647 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43648 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43649 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43650 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43652 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43653 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43654 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43655 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43656 [defined __arch64__ || defined __sparcv9]
43657 (__INO_T_MATCHES_INO64_T): New macro.
43658 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43659 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43660 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43661 * sysdeps/unix/sysv/linux/bits/dirent.h
43662 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43663 (_DIRENT_MATCHES_DIRENT64): New macro.
43665 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43666 Define lockf64 as an alias.
43667 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43668 Define fseeko64 as an alias.
43669 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43670 Define ftello64 as an alias.
43671 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43672 Define _IO_fgetpos64 and fgetpos64 as aliases.
43673 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43674 Define _IO_fsetpos64 and fsetpos64 as aliases.
43675 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43676 Conditionalize body on this.
43677 * libio/fseeko64.c: Likewise.
43678 * libio/ftello64.c: Likewise.
43679 * libio/iofgetpos64.c: Likewise.
43680 * libio/iofsetpos64.c: Likewise.
43681 * sysdeps/wordsize-64/lockf.c: File removed.
43682 * sysdeps/wordsize-64/lockf64.c: File removed.
43683 * sysdeps/wordsize-64/fseeko.c: File removed.
43684 * sysdeps/wordsize-64/fseeko64.c: File removed.
43685 * sysdeps/wordsize-64/ftello.c: File removed.
43686 * sysdeps/wordsize-64/ftello64.c: File removed.
43687 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43688 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43689 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43690 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43691 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43692 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43693 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43694 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43695 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43696 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43697 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43698 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43699 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43700 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43702 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43703 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43704 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43705 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43706 [defined __arch64__ || defined __sparcv9]
43707 (__OFF_T_MATCHES_OFF64_T): New macro.
43708 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43709 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43710 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43711 (__OFF_T_MATCHES_OFF64_T): New macro.
43713 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43715 * stdlib/secure-getenv.c (__secure_getenv): Replace
43716 GLIBC_2_16 with GLIBC_2_17.
43718 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43720 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43721 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43723 2012-08-03 David S. Miller <davem@davemloft.net>
43725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43727 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43729 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43731 (__ASSUME_CORRECT_SI_PID): Likewise.
43732 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43733 (__ASSUME_TMPFS_NAME): Likewise.
43734 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43735 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43736 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43737 (HAVE_AUX_SECURE): Make definition unconditional.
43738 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43739 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43741 2012-08-03 Roland McGrath <roland@hack.frob.com>
43743 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43744 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43745 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43746 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43747 __eloop_threshold instead of SYMLOOP_MAX.
43749 * sysdeps/generic/eloop-threshold.h: New file.
43750 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43752 * elf/chroot_canon.c (chroot_canon): Likewise.
43754 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43757 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43758 Change to 2.6.0 everywhere.
43759 * sysdeps/unix/sysv/linux/configure: Regenerated.
43760 * sysdeps/unix/sysv/linux/kernel-features.h
43761 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43762 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43764 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43765 (__ASSUME_FUTEX_REQUEUE): Remove.
43766 (__ASSUME_STATFS64): Define unconditionally.
43767 (__ASSUME_AT_SECURE): Likewise.
43768 (__ASSUME_CORRECT_SI_PID): Likewise.
43769 (__ASSUME_TGKILL): Define without depending on kernel version for
43771 (__ASSUME_UTIMES): Likewise.
43772 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43774 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43775 (__ASSUME_TMPFS_NAME): Likewise.
43776 * README: Update reference to Linux kernel versions.
43778 2012-08-02 Marek Polacek <polacek@redhat.com>
43781 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43782 libc_cv_asm_type_prefix with %.
43783 * configure: Regenerated.
43784 * include/libc-symbols.h: Remove comment about
43785 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43786 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43787 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43788 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43789 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43790 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43791 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43792 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43793 * elf/tst-unique2mod1.c: Likewise.
43794 * elf/tst-unique1mod2.c: Likewise.
43795 * elf/tst-unique1mod1.c: Likewise.
43796 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43797 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43798 Replace ASM_TYPE_DIRECTIVE with .type.
43799 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43800 * sysdeps/i386/sysdep.h: Likewise.
43801 * sysdeps/x86_64/sysdep.h: Likewise.
43802 * sysdeps/sh/sysdep.h: Likewise.
43803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43804 Do not define ASM_TYPE_DIRECTIVE.
43805 * sysdeps/powerpc/sysdep.h: Likewise.
43806 * sysdeps/powerpc/powerpc32/sysdep.h:
43807 Replace ASM_TYPE_DIRECTIVE with .type.
43808 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43809 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43810 * sysdeps/i386/fpu/e_powf.S: Likewise.
43811 * sysdeps/i386/fpu/e_expl.S: Likewise.
43812 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43813 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43814 * sysdeps/i386/fpu/e_pow.S: Likewise.
43815 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43816 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43817 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43818 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43819 * sysdeps/i386/fpu/e_log2.S: Likewise.
43820 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43821 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43822 * sysdeps/i386/fpu/e_powl.S: Likewise.
43823 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43824 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43825 * sysdeps/i386/fpu/e_logl.S: Likewise.
43826 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43827 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43828 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43829 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43830 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43831 * sysdeps/i386/fpu/e_log.S: Likewise.
43832 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43833 * sysdeps/i386/fpu/e_logf.S: Likewise.
43834 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43835 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43836 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43837 * sysdeps/i386/fpu/e_log10.S: Likewise.
43838 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43839 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43840 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43841 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43842 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43843 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43844 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43845 * sysdeps/i386/i686/strtok.S: Likewise.
43846 * sysdeps/i386/i386-mcount.S: Likewise.
43847 * sysdeps/i386/strtok.S: Likewise.
43848 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43849 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43851 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43852 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43853 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43854 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43855 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43856 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43857 * sysdeps/x86_64/_mcount.S: Likewise.
43858 * sysdeps/x86_64/strtok.S: Likewise.
43859 * sysdeps/sh/_mcount.S: Likewise.
43861 2012-08-01 Roland McGrath <roland@hack.frob.com>
43863 * libio/iofopen.c: Include <fcntl.h>.
43864 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43865 (_IO_fopen64, fopen64): Define as aliases.
43866 * libio/iofopen64.c: Include <fcntl.h>.
43867 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43868 Conditionalize body on this.
43869 * sysdeps/wordsize-64/iofopen.c: File removed.
43870 * sysdeps/wordsize-64/iofopen64.c: File removed.
43872 2012-08-01 Marek Polacek <polacek@redhat.com>
43874 * libc/Makeconfig: Use elf in place of binfmt-subdir.
43875 Use dlfcn directly instead of a variable.
43876 (binfmt-subdir): Do not define.
43879 2012-08-01 Joseph Myers <joseph@codesourcery.com>
43881 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43882 Remove all definitions.
43883 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43884 <kernel-features.h>.
43885 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43886 (miss_F_GETOWN_EX): Remove all definitions.
43887 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43889 [!__ASSUME_FCNTL64]: Remove conditional code.
43890 [__ASSUME_FCNTL64]: Make code unconditional.
43891 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43892 <kernel-features.h>.
43893 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43894 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43895 (lockf64) [__NR_fcntl64]: Make code unconditional.
43896 (lockf64) [__ASSUME_FCNTL64]: Likewise.
43898 * sysdeps/unix/sysv/linux/kernel-features.h
43899 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43900 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43901 Make code unconditional.
43902 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43903 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43905 [__NR_vfork]: Make code unconditional.
43906 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43907 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43909 [__NR_vfork]: Make code unconditional.
43910 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43911 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43913 2012-08-01 Roland McGrath <roland@hack.frob.com>
43915 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43916 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43918 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43919 Define mkstemp64 as an alias.
43920 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43921 Define mkstemps64 as an alias.
43922 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43923 Define mkostemp64 as an alias.
43924 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43925 Define mkostemps64 as an alias.
43926 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43927 Conditionalize body on this.
43928 * misc/mkostemp64.c: Likewise.
43929 * misc/mkostemps64.c: Likewise.
43930 * misc/mkstemps64.c: Likewise.
43931 * sysdeps/wordsize-64/mkstemp64.c: File removed.
43932 * sysdeps/wordsize-64/mkostemp64.c: File removed.
43933 * sysdeps/wordsize-64/mkostemp.c: File removed.
43934 * sysdeps/wordsize-64/mkstemp.c: File removed.
43935 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43936 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43937 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43938 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43941 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43942 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43943 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43944 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43946 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43947 compat_symbol macros from <shlib-compat.h> rather than the underlying
43948 default_symbol_version and symbol_version macros, so that DEFAULT
43949 lines in shlib-versions are respected.
43950 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43952 2012-08-01 Florian Weimer <fweimer@redhat.com>
43954 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43955 Declare with warn_unused_result.
43956 (setgid, setregid, setegid, setresgid): Likewise.
43957 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43959 * WUR-REPORT: Remove set*id functions.
43961 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
43963 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43965 2012-07-31 Roland McGrath <roland@hack.frob.com>
43968 * include/sys/socket.h (__libc_accept, __libc_accept4):
43969 Add attribute_hidden.
43970 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43972 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43974 * inet/getnetgrent_r.c (setup): Likewise.
43976 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43978 2012-07-31 David S. Miller <davem@davemloft.net>
43980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43982 2012-07-31 Joseph Myers <joseph@codesourcery.com>
43985 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43986 value between 1.0 and 2.0 and smaller part has absolute value less
43988 * math/s_clog10.c (__clog10): Likewise.
43989 * math/s_clog10f.c (__clog10f): Likewise.
43990 * math/s_clog10l.c (__clog10l): Likewise.
43991 * math/s_clogf.c (__clogf): Likewise.
43992 * math/s_clogl.c (__clogl): Likewise.
43993 * math/libm-test.inc (clog_test): Add more tests.
43994 (clog10_test): Likewise.
43995 * sysdeps/i386/fpu/libm-test-ulps: Update.
43996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43998 2012-07-31 Florian Weimer <fweimer@redhat.com>
44000 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44001 Exit with zero in case no suitable GID is found, and write a
44002 message to standard error.
44004 2012-07-30 Roland McGrath <roland@hack.frob.com>
44006 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44008 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44009 (MAXPATHLEN): Removed.
44010 (NOGROUP, NODEV): New macros.
44011 (setbit, clrbit, isset, isclr): New macros.
44012 (howmany, roundup, powerof2): New macros.
44013 (DEV_BSIZE): New macro.
44015 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44016 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44018 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44019 definition on [!__NO_LONG_DOUBLE_MATH].
44021 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44022 PTR_MANGLE and PTR_DEMANGLE.
44024 * socket/accept4.c (accept4): Rename to __libc_accept4.
44025 Define accept4 as a weak alias.
44027 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44028 on [_DIRENT_HAVE_D_TYPE].
44029 * io/ftw.c (ftw_dir): Likewise.
44031 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44033 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44035 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44036 Use the BSD numbers rather than the arbitrary ones we had.
44037 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44038 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44039 (SIGXCPU, SIGXFSZ): New macros.
44042 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44043 initializer on [_LIBC_REENTRANT].
44045 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44046 definitions inside [_POSIX_MAPPED_FILES].
44048 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44050 * dirent/opendir.c: Include <fcntl.h>.
44052 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44053 (__libc_getspecific): Likewise.
44054 (__libc_key_create): Likewise.
44056 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44057 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44058 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44059 (tmpfile64): Define as alias.
44060 * sysdeps/wordsize-64/tmpfile.c: File removed.
44061 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44062 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44063 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44065 * stdio-common/vfscanf.c: Include <stdbool.h>.
44066 * nss/makedb.c: Likewise.
44067 * stdio-common/_i18n_number.h: Likewise.
44068 * argp/argp-help.c: Likewise.
44069 * posix/wordexp.c: Likewise.
44070 * sysdeps/posix/spawni.c: Likewise.
44071 * nss/nss_files/files-initgroups.c: Likewise.
44072 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44073 * nss/nss_files/files-initgroups.c: Likewise.
44074 * nss/nss_db/db-netgrp.c: Likewise.
44075 * nss/nss_db/db-initgroups.c: Likewise.
44076 * io/fchmodat.c: Include <sys/stat.h>.
44078 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44079 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44081 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44084 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44085 Add multiple inclusion protection.
44087 2012-07-27 David S. Miller <davem@davemloft.net>
44089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44091 2012-07-27 Gary Benson <gbenson@redhat.com>
44094 * elf/rtld.c: Include <stap-probe.h>.
44095 (dl_main): Added static probes "init_start" and "init_complete".
44096 * elf/dl-load.c: Include <stap-probe.h>.
44097 (lose): Take new parameter "nsid".
44098 Added static probe "map_failed".
44099 (_dl_map_object_from_fd): Pass namespace id to lose.
44100 Added static probe "map_start".
44101 (open_verify): Pass namespace id to lose.
44102 * elf/dl-open.c: Include <stap-probe.h>.
44103 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44104 and "reloc_complete".
44105 * elf/dl-close.c: Include <stap-probe.h>.
44106 (_dl_close_worker): Added static probes "unmap_start" and
44108 * elf/rtld-debugger-interface.txt: New file documenting the above.
44110 2012-07-26 Roland McGrath <roland@hack.frob.com>
44112 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44113 rather than a string variable.
44114 * sunrpc/rpc_main.c (h_output): Likewise.
44115 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44117 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44119 * inet/check_native.c: New file.
44121 2012-07-26 Joseph Myers <joseph@codesourcery.com>
44124 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44125 if larger part has absolute value 1.0.
44126 * math/s_clog10.c (__clog10): Likewise.
44127 * math/s_clog10f.c (__clog10f): Likewise.
44128 * math/s_clog10l.c (__clog10l): Likewise.
44129 * math/s_clogf.c (__clogf): Likewise.
44130 * math/s_clogl.c (__clogl): Likewise.
44131 * math/libm-test.inc (clog_test): Add more tests.
44132 (clog10_test): Likewise.
44133 * sysdeps/i386/fpu/libm-test-ulps: Update.
44134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44136 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44137 (pltexit): Likewise.
44138 (La_regs): Likewise.
44139 (La_retval): Likewise.
44140 (int_retval): Likewise.
44141 Update #error for removed macros to refer only to definitions in
44143 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44145 (pltexit): Likewise.
44146 (La_regs): Likewise.
44147 (La_retval): Likewise.
44148 (int_retval): Likewise.
44149 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44151 (pltexit): Likewise.
44152 (La_regs): Likewise.
44153 (La_retval): Likewise.
44154 (int_retval): Likewise.
44155 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44157 (pltexit): Likewise.
44158 (La_regs): Likewise.
44159 (La_retval): Likewise.
44160 (int_retval): Likewise.
44161 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44163 (pltexit): Likewise.
44164 (La_regs): Likewise.
44165 (La_retval): Likewise.
44166 (int_retval): Likewise.
44167 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44169 (pltexit): Likewise.
44170 (La_regs): Likewise.
44171 (La_retval): Likewise.
44172 (int_retval): Likewise.
44173 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44175 (pltexit): Likewise.
44176 (La_regs): Likewise.
44177 (La_retval): Likewise.
44178 (int_retval): Likewise.
44179 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44180 macro definitions in tst-audit.h.
44181 * sysdeps/i386/tst-audit.h: New file.
44182 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44183 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44184 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44185 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44186 * sysdeps/sh/tst-audit.h: Likewise.
44187 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44188 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44189 * sysdeps/x86_64/tst-audit.h: Likewise.
44191 2012-07-26 Andreas Jaeger <aj@suse.de>
44193 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44196 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44197 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44198 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44200 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44201 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44202 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44204 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44207 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44209 (si_call_addr, si_syscall, si_arch): Define new macro.
44210 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44212 (si_call_addr, si_syscall, si_arch): Define new marcro.
44213 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44215 (si_call_addr, si_syscall, si_arch): Define new macro.
44216 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44218 (si_call_addr, si_syscall, si_arch): Define new macro.
44220 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44223 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44224 Change to 2.4.21 where previously 2.4.1.
44225 * sysdeps/unix/sysv/linux/configure: Regenerated.
44226 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44227 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44228 Linux kernel version.
44229 (__ASSUME_STD_AUXV): Remove.
44230 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44232 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44233 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44234 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44235 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44236 (__ASSUME_NETLINK_SUPPORT): Likewise.
44237 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44238 (__no_netlink_support): Remove conditional definition.
44239 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44241 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44242 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44243 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44244 (if_nameindex_ioctl): Remove.
44245 (if_nameindex_netlink): Do not handle __no_netlink_support.
44246 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44248 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44249 Remove conditional code.
44250 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44252 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44254 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44255 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44256 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44258 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44259 [!__ASSUME_STD_AUXV]: Remove conditional code.
44260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44261 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44262 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44264 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44265 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44267 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44269 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44270 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44272 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44274 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44277 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44280 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44281 code unconditional.
44282 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44284 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44286 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44289 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44291 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44294 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44295 code unconditional.
44296 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44298 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44300 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44303 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44304 code unconditional.
44305 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44307 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44309 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44312 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44314 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44315 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44316 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44317 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44318 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44319 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44320 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44321 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44322 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44323 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44324 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44325 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44326 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44327 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44328 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44329 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44330 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44331 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44332 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44333 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44334 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44335 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44336 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44338 2012-07-25 Florian Weimer <fweimer@redhat.com>
44340 * Versions.def: Add GLIBC_2.17.
44341 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44342 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44343 Introduce __libc_secure_getenv.
44344 * stdlib/Versions (2.17): Add secure_getenv
44345 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44346 * stdlib/secure-getenv.c: Rename __secure_getenv to
44347 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44348 symbol __secure_getenv for GLIBC_2.0.
44349 * stdlib/tst-secure-getenv.c: New.
44350 * stdlib/Makefile (tests): Add testcase.
44351 * manual/startup.texi (Environment Access): Document
44353 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44354 __libc_secure_getenv.
44355 * inet/ruserpass.c (ruserpass): Likewise.
44356 * malloc/mtrace.c (mtrace): Likewise.
44357 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44358 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44359 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44360 * sysdeps/posix/tempname.c: Likewise. Evaluate
44361 HAVE_SECURE_GETENV.
44362 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44363 __secure_getenv to __libc_secure_getenv.
44364 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44371 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44377 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44379 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44380 (struct La_i86_retval): Likewise.
44381 (struct La_x86_64_regs): Likewise.
44382 (struct La_x86_64_retval): Likewise.
44383 (struct La_x32_regs): Likewise.
44384 (struct La_x32_retval): Likewise.
44385 (struct La_ppc32_regs): Likewise.
44386 (struct La_ppc32_retval): Likewise.
44387 (struct La_ppc64_regs): Likewise.
44388 (struct La_ppc64_retval): Likewise.
44389 (struct La_sh_regs): Likewise.
44390 (struct La_sh_retval): Likewise.
44391 (struct La_s390_32_regs): Likewise.
44392 (struct La_s390_32_retval): Likewise.
44393 (struct La_s390_64_regs): Likewise.
44394 (struct La_s390_64_retval): Likewise.
44395 (struct La_sparc32_regs): Likewise.
44396 (struct La_sparc32_retval): Likewise.
44397 (struct La_sparc64_regs): Likewise.
44398 (struct La_sparc64_retval): Likewise.
44399 (struct audit_ifaces): Remove architecture-specific pltenter and
44401 * sysdeps/i386/ldsodefs.h: New file.
44402 * sysdeps/powerpc/ldsodefs.h: Likewise.
44403 * sysdeps/s390/ldsodefs.h: Likewise.
44404 * sysdeps/sh/ldsodefs.h: Likewise.
44405 * sysdeps/sparc/ldsodefs.h: Likewise.
44406 * sysdeps/x86_64/ldsodefs.h: Likewise.
44408 2012-07-25 Marek Polacek <polacek@redhat.com>
44411 * math/libm-test.inc (yn_test): Add another test.
44412 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44413 to ERANGE when the result is +-Inf.
44414 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44415 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44416 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44417 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44419 2012-07-24 Joseph Myers <joseph@codesourcery.com>
44421 * conform/data/time.h-data (NULL): Use macro-constant. Require
44423 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44425 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44427 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44429 * configure.in <sysdeps resolving>: Correct printing
44431 * configure: Regenerate.
44433 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44435 * math/w_ilogb.c: Include <limits.h>.
44436 * math/w_ilogbl.c: Likewise.
44438 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44440 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44441 va_copy. Document allowing for unavailable va_copy only as
44442 pre-C99 compatibility.
44443 * manual/string.texi (Copying and Concatenation): Use va_copy
44444 instead of __va_copy in concat example.
44446 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44448 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44449 (__sendto): Use create_address_port. Initialize APORT and deallocate
44452 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44453 with O_NOLINK passed to __file_name_lookup.
44455 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44456 with O_NOLINK passed to __file_name_lookup.
44458 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44459 negative N or less than NGIDS.
44461 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44462 type to string_t. Set ERANGE as errno and return it if NAME is not big
44463 enough. Use memcpy instead of strncpy.
44465 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44467 * elf/Makefile (check-data): Remove.
44468 (localplt.data): New vpath directive.
44469 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44470 instead of $(check-data).
44471 * scripts/data/localplt-generic.data: Move to ...
44472 * sysdeps/generic/localplt.data: ... here.
44473 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44474 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44475 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44478 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44481 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44484 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44487 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44490 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44494 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44496 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44497 PPC32 and PPC64 files.
44498 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44499 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44501 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44503 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44504 __makecontext_ret to ...
44505 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44506 ... here and call exit if uc_link is NULL. New file.
44507 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44508 __makecontext_ret.S.
44509 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44510 __makecontext_ret to ...
44511 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44512 ... here and call exit if uc_link is NULL. New file.
44513 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44514 __makecontext_ret.S.
44516 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44518 * elf/elf.h (R_390_IRELATIVE): New definition.
44519 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44520 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44521 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44522 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44523 (elf_machine_lazy_rel): Likewise.
44524 * sysdeps/s390/dl-irel.h: New file.
44525 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44526 * sysdeps/s390/s390-64/memset.S: New asm code.
44527 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44528 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44529 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44530 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44531 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44532 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44533 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44534 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44535 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44536 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44537 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44538 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44539 * sysdeps/s390/s390-32/memset.S: New asm code.
44540 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44542 2012-07-17 Marek Polacek <polacek@redhat.com>
44545 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44546 * sysdeps/s390/s390-64/configure.in: Likewise.
44547 * sysdeps/sparc/configure.in: Likewise.
44548 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44549 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44550 * sysdeps/i386/configure.in: Likewise.
44551 * sysdeps/x86_64/configure.in: Likewise.
44552 * sysdeps/sh/configure.in: Likewise.
44553 * sysdeps/s390/s390-32/configure: Regenerated.
44554 * sysdeps/s390/s390-64/configure: Likewise.
44555 * sysdeps/x86_64/configure: Likewise.
44556 * sysdeps/sh/configure: Likewise.
44557 * sysdeps/powerpc/powerpc64/configure: Likewise.
44558 * sysdeps/powerpc/powerpc32/configure: Likewise.
44559 * sysdeps/sparc/configure: Likwise.
44560 * sysdeps/i386/configure: Likewise.
44562 * elf/dl-open.c: Comment fixes.
44564 2012-07-17 Joseph Myers <joseph@codesourcery.com>
44566 * Makefile [CXX] (check-data): Remove.
44567 [CXX] (c++-types.data): New vpath directive.
44568 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44569 vpath. Do not allow for C++ type data being missing.
44570 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44571 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44572 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44573 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44574 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44575 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44576 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44579 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44582 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44585 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44588 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44591 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44594 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44597 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44600 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44601 definitions to architecture-specific files.
44602 (TLS_IE): Likewise.
44603 (TLS_LD): Likewise.
44604 (TLS_GD): Likewise.
44605 * sysdeps/i386/tls-macros.h: New file.
44606 * sysdeps/powerpc/tls-macros.h: Likewise.
44607 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44608 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44609 * sysdeps/sh/tls-macros.h: Likewise.
44610 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44611 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44612 * sysdeps/x86_64/tls-macros.h: Likewise.
44614 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44616 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44617 zero value for regular exit case.
44619 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44620 (__start_context): Preserve zero value for regular exit case.
44622 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44623 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44625 * manual/setjmp.texi (setcontext): Clarify normal process
44626 termination when uc_link is the null pointer.
44627 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44630 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44632 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44633 preprocessor. Test for each exception mask separately.
44635 2012-07-16 Andreas Jaeger <aj@suse.de>
44637 * po/ru.po: Update from translation team.
44639 2012-07-15 Joseph Myers <joseph@codesourcery.com>
44641 * conform/data/string.h-data (NULL): Use macro-constant. Require
44643 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44644 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44645 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44646 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44647 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44649 2012-07-13 Andreas Jaeger <aj@suse.de>
44651 * po/fr.po: Update from translation team.
44653 2012-07-12 Marek Polacek <polacek@redhat.com>
44656 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44657 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44660 2012-07-12 Joseph Myers <joseph@codesourcery.com>
44663 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44664 Change to 2.4.1 where previously 2.4.0.
44665 * sysdeps/unix/sysv/linux/configure: Regenerated.
44666 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44667 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44669 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44670 (__ASSUME_AT_CLKTCK): Remove.
44671 (__ASSUME_AT_PAGESIZE): Likewise.
44672 (__ASSUME_AT_XID): Likewise.
44673 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44674 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44675 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44677 (HAVE_AUX_PAGESIZE): Likewise.
44678 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44679 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44680 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44682 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44686 the temporary buffer used to invoke __gethostbyname2_r,
44687 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44688 host_data / struct gaih_addrtuple.
44689 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44690 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44691 header file nss/nsswitch.h.
44692 * nss/nsswitch.h (global scope): Add definition of implementation
44693 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44694 resolv/nss_dns/dns-host.c).
44696 2012-07-11 Andreas Jaeger <aj@suse.de>
44698 * po/fr.po: Update from translation team.
44700 * po/sv.po: Update from translation team
44701 * po/fr.po: Another update from translation team.
44703 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44705 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44706 for subnormals or multiply small sinh result by itself.
44707 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44710 2012-07-11 David S. Miller <davem@davemloft.net>
44712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44714 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44717 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44718 (INTERNAL_MARK): Shift it here.
44720 2012-07-10 Marek Polacek <polacek@redhat.com>
44723 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44724 libc_cv_asm_global_directive with .globl.
44725 * configure: Regenerated.
44726 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44728 * sysdeps/i386/configure: Regenerated.
44729 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44731 * sysdeps/x86_64/configure: Regenerated.
44732 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44733 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44734 * elf/tst-unique2mod2.c: Likewise.
44735 * elf/tst-unique2mod1.c: Likewise.
44736 * elf/tst-unique1mod2.c: Likewise.
44737 * elf/tst-unique1mod1.c: Likewise.
44738 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44739 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44740 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44741 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44742 * sysdeps/mach/sysdep.h: Likewise.
44743 * sysdeps/i386/sysdep.h: Likewise.
44744 * sysdeps/i386/i386-mcount.S: Likewise.
44745 * sysdeps/x86_64/_mcount.S: Likewise.
44746 * sysdeps/x86_64/sysdep.h: Likewise.
44747 * sysdeps/sh/_mcount.S: Likewise.
44748 * sysdeps/sh/sysdep.h: Likewise.
44749 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44750 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44751 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44752 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44753 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44754 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44755 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44756 * locale/localeinfo.h: Likewise.
44757 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44758 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44760 2012-07-09 Roland McGrath <roland@hack.frob.com>
44763 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44765 * manual/message.texi (The Uniforum approach): Likewise.
44766 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44767 (glibc iconv Implementation): Likewise.
44769 2012-07-09 Joseph Myers <joseph@codesourcery.com>
44772 * math/s_clog.c (__clog): Avoid scaling a value down where that
44773 could result in underflow.
44774 * math/s_clog10.c (__clog10): Likewise.
44775 * math/s_clog10f.c (__clog10f): Likewise.
44776 * math/s_clog10l.c (__clog10l): Likewise.
44777 * math/s_clogf.c (__clogf): Likewise.
44778 * math/s_clogl.c (__clogl): Likewise.
44779 * math/libm-test.inc (clog_test): Add more tests.
44780 (clog10_test): Likewise.
44781 * sysdeps/i386/fpu/libm-test-ulps: Update.
44782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44784 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44787 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44788 by 7 not 8 to examine high bit of fractional part.
44791 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44792 for call to __mcount_internal.
44793 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44794 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44795 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44797 2012-07-06 Joseph Myers <joseph@codesourcery.com>
44800 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44801 approximation for values within 0x1p-13f of an odd multiple of
44803 * math/libm-test.inc (tan_test): Do not allow spurious underflow
44804 exception. Add more tests.
44805 * sysdeps/i386/fpu/libm-test-ulps: Update.
44808 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44809 inputs and return -1 for them. Do not check for +Inf in case not
44810 reachable for +Inf.
44811 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44812 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44813 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44814 and return -1 for them. Do not check for +Inf in case not
44815 reachable for +Inf.
44816 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44818 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44819 and return -1 for them. Do not check for +Inf in case not
44820 reachable for +Inf.
44821 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
44822 spurious underflow.
44823 * sysdeps/i386/fpu/libm-test-ulps: Update.
44824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44826 2012-07-06 Mike Frysinger <vapier@gentoo.org>
44828 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44830 2012-07-05 Joseph Myers <joseph@codesourcery.com>
44834 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44835 could result in spurious underflow. Scale down values above
44836 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44837 * math/s_csqrtf.c (__csqrtf): Likewise.
44838 * math/s_csqrtl.c (__csqrtl): Likewise.
44839 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
44840 spurious underflow.
44841 * sysdeps/i386/fpu/libm-test-ulps: Update.
44842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44844 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
44846 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44848 * catgets/xopen-msg.awk: New file.
44849 * catgets/xopen-msg.sed: Removed.
44851 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44853 * intl/po2test.awk: New file.
44854 * intl/po2test.sed: Removed.
44856 2012-07-04 Joseph Myers <joseph@codesourcery.com>
44859 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44860 or multiply small sinh result by itself.
44861 * math/s_ctanf.c (__ctanf): Likewise.
44862 * math/s_ctanh.c (__ctanh): Likewise.
44863 * math/s_ctanhf.c (__ctanhf): Likewise.
44864 * math/s_ctanhl.c (__ctanhl): Likewise.
44865 * math/s_ctanl.c (__ctanl): Likewise.
44866 * math/libm-test.inc (ctan_test_tonearest): New function.
44867 (ctan_test_towardzero): Likewise.
44868 (ctan_test_downward): Likewise.
44869 (ctan_test_upward): Likewise.
44870 (ctanh_test_tonearest): Likewise.
44871 (ctanh_test_towardzero): Likewise.
44872 (ctanh_test_downward): Likewise.
44873 (ctanh_test_upward): Likewise.
44874 (main): Call these new functions.
44875 * sysdeps/i386/fpu/libm-test-ulps: Update.
44876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44878 2012-07-03 Mike Frysinger <vapier@gentoo.org>
44880 * .gitignore: Delete /ports entry.
44882 2012-07-03 Andreas Jaeger <aj@suse.de>
44884 * po/bg.po: Update from translation team.
44885 * po/cs.po: Likewise.
44886 * po/de.po: Likewise.
44887 * po/hr.po: Likewise.
44888 * po/nl.pl: Likewise.
44889 * po/pl.po: Likewise.
44890 * po/vi.po: Likewise.
44892 2012-07-03 Joseph Myers <joseph@codesourcery.com>
44894 * Makeconfig [!+link] (+link-before-libc): New variable.
44895 [!+link] (+link-after-libc): Likewise.
44896 [!+link] (+link-tests): Likewise.
44897 [!+link] (+link): Define in terms of $(+link-before-libc) and
44898 $(+link-after-libc).
44899 [!+link-static] (+link-static-before-libc): New variable.
44900 [!+link-static] (+link-static-after-libc): Likewise.
44901 [!+link-static] (+link-static-tests): Likewise.
44902 [!+link-static] (+link-static): Define in terms of
44903 $(+link-static-before-libc) and $(+link-static-after-libc).
44904 [build-shared] (link-libc-before-gnulib): New variable.
44905 [build-shared] (link-libc-tests): Likewise.
44906 [build-shared] (link-libc): Define in terms of
44907 $(link-libc-before-gnulib).
44908 [!build-shared] (link-libc-tests): New variable.
44909 (link-libc-static-tests): New variable.
44910 [!gnulib] (gnulib-arch): New variable.
44911 [!gnulib] (gnulib-tests): Likewise.
44912 [!gnulib] (static-gnulib-arch): Likewise.
44913 [!gnulib] (static-gnulib-tests): Likewise.
44914 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
44915 Define with "=" instead of ":=".
44916 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
44917 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
44918 * Rules (binaries-all-notests): New variable.
44919 (binaries-all-tests): Likewise.
44920 (binaries-static-notests): Likewise.
44921 (binaries-static-tests): Likewise.
44922 (binaries-all): Define using $(binaries-all-notests) and
44923 $(binaries-all-tests).
44924 (binaries-static): Define using $(binaries-static-notests) and
44925 $(binaries-static-tests).
44926 (binaries-shared-tests): New variable.
44927 (binaries-shared-notests): Likewise.
44928 (binaries-shared): Remove variable.
44929 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44930 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44931 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44932 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44933 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44934 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44935 * elf/Makefile (sln-modules): New variable.
44936 (extra-objs): Add $(sln-modules:=.o).
44937 (ldconfig-modules): Add static-stubs.
44938 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44939 * elf/static-stubs.c: New file.
44942 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44943 by 7 not 8 to examine high bit of fractional part. Use volatile
44944 variables when splitting into final array of floats if
44945 __FLT_EVAL_METHOD__ != 0.
44946 * math/libm-test.inc (cos_test): Add another test.
44947 (sin_test): Likewise.
44948 * sysdeps/i386/fpu/libm-test-ulps: Update.
44951 * math/libm-test.inc (cosh_test): Add more tests.
44953 * version.h (RELEASE): Set to "development".
44954 (VERSION): Set to "2.16.90".
44956 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
44958 * NEWS: Update copyright. Remove last-updated date.
44959 Mention math library bug fixes and timezone data changes.
44960 * README: Mention GNU/Hurd, x32, and HPPA support status.
44962 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
44964 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44966 2012-06-27 Andreas Jaeger <aj@suse.de>
44968 * manual/contrib.texi (Contributors): Add Samuel Thibault.
44970 2012-06-25 Andreas Jaeger <aj@suse.de>
44972 * sysdeps/s390/fpu/libm-test-ulps: Update.
44974 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
44975 Thomas Schwinge <thomas@codesourcery.com>
44977 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44978 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44982 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
44984 * sysdeps/mach/start.c: Remove file.
44985 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44986 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44987 * sysdeps/sh/init-first.c: Likewise.
44989 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44990 registers for frame unwinding purposes, add CFI directives.
44991 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44992 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44993 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44996 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44997 __fortify_fail returning.
44998 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45000 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45001 sysdeps/sh/____longjmp_chk.S.
45002 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45003 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45004 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45005 (gen-as-const-headers): Append sigaltstack-offsets.sym.
45007 * sysdeps/sh/abort-instr.h: New file.
45008 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45009 process in case exit returns.
45011 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45012 initialize the GOT register before use.
45014 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45015 calculation of ARGC > 4.
45017 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45018 meaningful names to some local labels.
45020 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45021 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45023 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45024 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45025 (__arch_compare_and_exchange_val_16_acq): Likewise.
45026 (__arch_compare_and_exchange_val_32_acq): Likewise.
45027 (atomic_exchange_and_add): Fix gUSA sequence.
45028 (atomic_add): Likewise.
45029 (atomic_add_negative): Likewise.
45030 (atomic_add_zero): Likewise.
45031 (atomic_bit_test_set): Likewise.
45033 2012-06-22 Andreas Schwab <schwab@redhat.com>
45036 * include/link.h (struct link_map): Add l_free_initfini.
45037 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45039 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45040 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45041 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45044 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45046 * configure.in: Use AC_LANG_SOURCE.
45047 * configure: Regenerate.
45049 2012-06-22 Roland McGrath <roland@hack.frob.com>
45051 * configure.in (libc_cv_localstatedir): New substituted variable.
45052 * configure: Regenerated.
45053 * config.make.in (localstatedir): New variable, substituted from
45054 libc_cv_localstatedir.
45055 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45056 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45057 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45058 * sysdeps/gnu/configure: Regenerated.
45060 2012-06-21 Jeff Law <law@redhat.com>
45063 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45064 free. Simplify list management for _LIBC case.
45066 2012-06-21 Joseph Myers <joseph@codesourcery.com>
45069 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45070 Clear sign bit of 64-bit integer value before comparing against
45073 * sysdeps/mach/configure: Regenerated.
45075 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45078 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45080 2012-06-21 Jeff Law <law@redhat.com>
45083 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45084 uint16_t for elements in the "seen" array to avoid char overflows.
45085 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45086 * elf/dl-open.c (dl_open_worker): Likewise.
45088 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45090 * scripts/list-sources.sh: Scan PORTS for translations.
45091 * po/libc.pot: Regenerated.
45093 2012-06-21 Andreas Jaeger <aj@suse.de>
45096 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45098 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45099 * bits/byteswap-16.h (__bswap_16): Likewise.
45100 * bits/byteswap.h (__bswap_constant_16): Likewise.
45102 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45105 * sysdeps/i386/fpu_control.h: Removed.
45106 * sysdeps/x86_64/fpu_control.h: Moved to ...
45107 * sysdeps/x86/fpu_control.h: Here.
45109 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45110 (_FPU_SETCW): Likewise.
45112 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45115 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45116 * sysdeps/x86/fpu/bits/mathinline.h: This.
45117 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45121 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45122 functions if __x86_64__ is defined.
45124 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45126 * string/endian.h: Add !__ASSEMBLER__ condition for including
45127 conversion interfaces.
45129 2012-06-15 Joseph Myers <joseph@codesourcery.com>
45132 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45133 of ABS(x) in calculating zero to negative powers other than odd
45135 * math/libm-test.inc (pow_test): Add more tests.
45137 2012-06-15 Andreas Jaeger <aj@suse.de>
45139 * manual/contrib.texi (Contributors): Update entry of Liubov
45140 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45143 2012-06-15 Cyril Hrubis <metan@ucw.cz>
45145 * string/string.h: Add __wur to GNU version of strerror_r.
45147 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45150 * string/Makefile (tests): Add tst-strtok_r.
45151 * string/tst-strtok_r.c: New file.
45152 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45153 RAX_LP/RDX_LP on SAVE_PTR.
45155 2012-06-14 Roland McGrath <roland@hack.frob.com>
45157 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45159 2012-06-14 Joseph Myers <joseph@codesourcery.com>
45161 * libm_test.inc (csqrt_test): Allow more spurious underflow
45163 (j0_test): Likewise.
45164 (j1_test): Likewise.
45165 (y0_test): Likewise.
45166 (y1_test): Likewise.
45168 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45170 * po/Makefile (libc.pot): Use UTF-8 charset.
45172 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45175 Suppress sign-conversion warning from FD_SET.
45176 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45177 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45178 not unsigned long int.
45179 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45181 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45185 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45186 __extern_always_inline instead of __extern_inline.
45187 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45188 (__signbit): Likewise.
45189 (__signbitl): Support C++ namespace.
45190 (lrintf): New inline function.
45192 (llrintf): Likewise.
45193 (llrint): Likewise.
45203 (floorf): Likewise.
45204 (nearbyint): Likewise.
45205 (nearbyintf): Likewise.
45207 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45209 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45210 non-default versions.
45212 2012-06-11 Roland McGrath <roland@hack.frob.com>
45215 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45217 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45219 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45220 (FE_UPWARD, FE_DOWNWARD): Don't define.
45221 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45222 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45224 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45226 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45227 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45229 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45231 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45232 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45233 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45234 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45236 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45239 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45240 * sysdeps/i386/fpu/Implies: New file.
45241 * sysdeps/x86_64/fpu/Implies: Likewise.
45242 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45243 * sysdeps/x86/fpu/bits/fenv.h: This.
45245 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45248 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45251 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45252 character 0xffff that matches the last element of the
45255 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45257 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45260 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45262 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45263 values higher than 25.6283.
45265 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45267 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45268 subnormal exponent extraction and add some __builtin_expect.
45269 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45270 Fix for subnormal mantissa calculation.
45272 2012-06-04 Mike Frysinger <vapier@gentoo.org>
45274 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45275 cpu2 is -1 and errno is not ENOSYS.
45277 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
45280 * sysdeps/i386/i486/bits/string.h: Renamed to ...
45281 * sysdeps/x86/bits/string.h: This.
45282 * sysdeps/x86_64/bits/string.h: Removed.
45284 * sysdeps/i386/i486/bits/string.h: Define inline functions only
45285 if not compiling for x86-64, but compiling for >= i486.
45287 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45288 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45290 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45291 New macro from Linux kernel 3.4.0.
45292 (FP_XSTATE_MAGIC2): Likewise.
45293 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45294 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45295 (struct _fpx_sw_bytes): New struct.
45296 (struct _xsave_hdr): Likewise.
45297 (struct _ymmh_state): Likewise.
45298 (struct _xstate): Likewise.
45300 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45301 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45302 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45303 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45304 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45305 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45307 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45308 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45309 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45310 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45311 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45312 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45314 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45317 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45318 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45319 (sysdep_headers): Include sys/platform/ppc.h.
45320 * sysdeps/powerpc/test-gettimebase.c: Test for
45321 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45322 * manual/Makefile (appendices): Include platform.texi.
45323 * manual/contrib.texi (Contributors): Update @node pointers.
45324 * manual/maint.texi (Maintenance): Likewise.
45325 (Platform): New node.
45326 * manual/platform.texi: New file. Document the new features.
45328 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45329 Jakub Jelinek <jakub@redhat.com>
45332 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45333 where __builtin_expect is unavailable.
45335 2012-06-03 David S. Miller <davem@davemloft.net>
45337 * stdlib/longlong.h: Updated from GCC.
45339 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45342 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45343 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45346 (GLIBC_2.16): Likewise.
45348 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45350 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45352 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45355 (default-abi): New variable.
45356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45357 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45359 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45361 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45363 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45366 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45367 definition. Document in comment.
45369 2012-06-01 David S. Miller <davem@davemloft.net>
45371 * stdlib/longlong.h: Updated from GCC.
45373 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45376 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45377 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45378 sys/debugreg.h sys/io.h here.
45379 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45380 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45382 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45383 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45384 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45385 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45386 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45387 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45389 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45390 Define only if __x86_64__ is defined.
45392 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45395 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45396 Use int64_t for variable i.
45397 * math/libm-test.inc (fmod_test): Add more tests.
45399 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45400 z computation is not scheduled after fetestexcept.
45401 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45402 Use math_force_eval instead of asm to ensure calculation scheduled
45403 before exception test.
45404 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45405 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45407 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45410 computation is not scheduled after fetestexcept.
45412 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45415 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45416 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45418 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45420 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45421 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45423 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45426 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45428 (__WCHAR_MIN): Support __WORDSIZE == 64.
45429 (__WCHAR_MAX): Likewise.
45431 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45432 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45435 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45436 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45439 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45440 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45442 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45443 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45445 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45446 Defined to 1 if __x86_64__ isn't defined.
45447 (_STAT_VER_LINUX_OLD): New.
45448 (st_atime): Remove duplicate.
45449 (st_mtime): Likewise.
45450 (st_ctime): Likewise.
45452 2012-05-31 David S. Miller <davem@davemloft.net>
45454 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45457 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45459 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45463 * elf/dl-reloc.c: Include <_itoa.h>.
45464 (_dl_reloc_bad_type): Remove use of INTUSE.
45465 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45466 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45467 * stdio-common/psiginfo.c (psiginfo): Likewise.
45468 * stdio-common/psignal.c (psignal): Likewise.
45469 * string/strsignal.c (strsignal): Likewise.
45470 * include/signal.h (_sys_siglist): Declare hidden proto.
45471 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45472 INTVARDEF with libc_hidden_data_def.
45473 * stdio-common/itoa-udigits.c: Likewise.
45474 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45475 (_itoa_lower_digits_internal): Remove declaration.
45476 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45477 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45478 (_sys_sigabbrev_internal): Remove aliases.
45479 (_sys_siglist): Define hidden alias.
45481 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45486 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45489 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45490 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45492 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45493 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45494 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45495 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45496 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45497 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45499 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45500 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45501 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45503 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45511 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45512 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45513 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45515 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45516 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45517 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45518 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45519 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45520 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45522 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45523 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45525 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45526 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45528 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45529 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45530 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45532 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45533 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45535 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45537 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45538 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45539 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45541 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45543 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45545 2012-05-31 Joseph Myers <joseph@codesourcery.com>
45547 * math/math.h (M_El): Use two more decimal places.
45548 (M_LOG2El): Likewise.
45549 (M_LOG10El): Likewise.
45550 (M_LN2l): Likewise.
45551 (M_LN10l): Likewise.
45553 (M_PI_2l): Likewise.
45554 (M_PI_4l): Likewise.
45555 (M_1_PIl): Likewise.
45556 (M_2_PIl): Likewise.
45557 (M_2_SQRTPIl): Likewise.
45558 (M_SQRT2l): Likewise.
45559 (M_SQRT1_2l): Likewise.
45561 2012-05-31 David S. Miller <davem@davemloft.net>
45563 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45564 values between float registers.
45565 * sysdeps/sparc/sparc64/memset.S: Likewise.
45566 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45568 2012-05-31 Mike Frysinger <vapier@gentoo.org>
45570 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45571 -D_FORTIFY_SOURCE=1.
45572 (CPPFLAGS-tst-longjmp_chk.c): Define.
45573 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45574 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45575 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45576 CFLAGS-tst-wchar-h.c.
45578 2012-05-31 Marek Polacek <polacek@redhat.com>
45581 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45582 __endmntent_internal): Remove declaration.
45583 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45584 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45585 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45587 2012-05-30 David S. Miller <davem@davemloft.net>
45589 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45590 (___Q_simulate_exceptions): Use real FP ops rather than writing
45592 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45595 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45598 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45599 * sysdeps/x86/bits/xtitypes.h: This.
45601 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45602 * sysdeps/x86/bits/wordsize.h: This.
45604 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45605 * sysdeps/x86/bits/huge_vall.h: This.
45607 * sysdeps/i386/bits/select.h: Removed.
45608 * sysdeps/x86_64/bits/select.h: Renamed to ...
45609 * sysdeps/x86/bits/select.h: This.
45611 * sysdeps/i386/bits/setjmp.h: Removed.
45612 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45613 * sysdeps/x86/bits/setjmp.h: This.
45615 * sysdeps/i386/bits/mathdef.h: Removed.
45616 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45617 * sysdeps/x86/bits/mathdef.h: This.
45619 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45622 * include/sys/socket.h (__connect_internal)
45623 (__libc_sa_len_internal): Remove declaration.
45624 (__connect, __libc_sa_len): Declare hidden_proto.
45625 (SA_LEN): Remove use of INTUSE.
45626 * socket/connect.c: Add libc_hidden_def.
45627 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45628 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45629 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45631 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45632 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45633 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45634 of adding _internal alias.
45636 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45639 * sysdeps/i386/bits/link.h: Removed.
45640 * sysdeps/i386/bits/linkmap.h: Likewise.
45641 * sysdeps/x86_64/bits/link.h: Renamed to ...
45642 * sysdeps/x86/bits/link.h: This.
45643 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45644 * sysdeps/x86/bits/linkmap.h: This.
45646 * sysdeps/i386/bits/endian.h: Removed.
45647 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45648 * sysdeps/x86/bits/endian.h: This.
45650 * sysdeps/i386/bits/byteswap.h: Removed.
45651 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45652 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45653 * sysdeps/x86/bits/byteswap.h: This.
45654 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45655 * sysdeps/x86/bits/byteswap-16.h: This.
45656 * sysdeps/i386/Implies: Add x86.
45657 * sysdeps/x86_64/Implies: Likewise.
45659 2012-05-30 David S. Miller <davem@davemloft.net>
45661 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45662 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45663 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45664 (FP_TRAPPING_EXCEPTIONS): Define.
45665 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45666 (FP_TRAPPING_EXCEPTIONS): Define.
45667 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45668 subnormals only when inexact has been signalled or underflow
45669 exceptions are enabled.
45670 (_FP_PACK_CANONICAL): Likewise.
45672 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45675 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45676 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45678 2012-05-30 Richard Henderson <rth@twiddle.net>
45680 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45681 with #ifndef NOT_IN_libc.
45683 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45684 marked to avoid plt entry.
45686 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45689 * Makeconfig (default-abi): New macro.
45690 (abi-includes): Likewise.
45691 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45692 $(abi-$(default-abi)-lib-soname) for soname if defined.
45693 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45695 * Makefile (installed-stubs): Likewise.
45696 * include/stubs-biarch.h: Removed.
45697 * scripts/lib-names.awk: Only handle one library at a time.
45698 * scripts/soversions.awk: Remove WORDSIZE support.
45699 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45701 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45703 (syscall-list-default-condition): Likewise.
45704 (syscall-list-default-condition): Likewise.
45705 (syscall-list-includes): Likewise.
45706 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45707 syscall-list-* with abi-*. Handle undefined abi-variants.
45708 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45709 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45710 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45711 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45712 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45713 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45715 (syscall-list-32-options): Likewise.
45716 (syscall-list-32-condition): Likewise.
45717 (syscall-list-64-options): Likewise.
45718 (syscall-list-64-condition): Likewise.
45719 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45721 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45724 (abi-64-ld-soname): New macro.
45725 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45726 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45729 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45730 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45732 2012-05-30 Joseph Myers <joseph@codesourcery.com>
45734 * sysdeps/unix/sysv/linux/kernel-features.h
45735 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45736 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45737 include <kernel-features.h>.
45738 [!__NR_ftruncate64]: Remove conditional code.
45739 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45740 [__NR_ftruncate64]: Make code unconditional.
45741 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45742 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45743 include <kernel-features.h>.
45744 [!__NR_ftruncate64]: Remove conditional code.
45745 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45746 [__NR_ftruncate64]: Make code unconditional.
45747 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45749 include <kernel-features.h>.
45750 [!__NR_ftruncate64]: Remove conditional code.
45751 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45752 [__NR_ftruncate64]: Make code unconditional.
45753 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45755 include <kernel-features.h>.
45756 [!__NR_ftruncate64]: Remove conditional code.
45757 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45758 [__NR_ftruncate64]: Make code unconditional.
45759 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45761 * configure.in (libc_cv_fpie): Weaken to a compile test using
45762 LIBC_TRY_CC_OPTION.
45763 * configure: Regenerated.
45765 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45780 2012-05-27 David S. Miller <davem@davemloft.net>
45782 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45784 (__Q_simulate_exceptions): Return void. Change to simulate
45785 exceptions by writing into the %fsr.
45786 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45787 (__Qp_handle_exceptions): Likewise.
45789 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45790 __Qp_handle_exceptions.
45791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45792 __Qp_handle_exceptions.
45793 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45794 as unused and give dummy FP_RND_NEAREST initializer.
45795 (FP_INHIBIT_RESULTS): Define.
45796 (___Q_simulate_exceptions): Update declaration.
45797 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45799 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45800 as unused and give dummy FP_RND_NEAREST initializer.
45801 (__Qp_handle_exceptions): Update declaration.
45802 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45805 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
45807 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45808 the temporary FPU control word.
45809 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45810 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45811 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45812 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45813 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45814 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45815 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45816 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45817 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45818 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45819 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45821 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45823 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45826 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
45828 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45829 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45830 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45831 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45833 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45834 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45837 2012-05-27 Ulrich Drepper <drepper@gmail.com>
45839 * po/h.po: Update from translation team.
45841 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
45843 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45845 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45846 handling of denormals.
45847 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45848 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45849 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45850 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45851 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45852 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45853 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45856 2012-05-26 Marek Polacek <polacek@redhat.com>
45859 * math/libm-test.inc (fma_test): Don't always expect underflow
45862 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45865 * elf/tst-execstack.c: Include stackinfo.h.
45866 (do_test): Adjust test case to ensure that pthread_getattr_np
45867 behaviour remains the same after marking stack executable.
45869 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45871 * sysdeps/unix/sysv/linux/kernel-features.h
45872 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45873 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45875 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45876 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45877 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45879 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45880 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45882 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
45884 * configure.in: Define the default includes to being none.
45885 * configure: Regenerated.
45887 2012-05-25 Roland McGrath <roland@hack.frob.com>
45889 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45890 * sysdeps/x86_64/setjmp.S: Likewise.
45891 * sysdeps/i386/bsd-setjmp.S: Likewise.
45892 * sysdeps/i386/bsd-_setjmp.S: Likewise.
45893 * sysdeps/i386/setjmp.S: Likewise.
45894 * sysdeps/i386/__longjmp.S: Likewise.
45895 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45896 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45898 * include/stap-probe.h: New file.
45899 * configure.in: Handle --enable-systemtap.
45900 * configure: Regenerated.
45901 * config.h.in (USE_STAP_PROBE): New #undef.
45902 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45903 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45904 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45906 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45909 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45910 to 2.4.0 where earlier.
45911 * sysdeps/unix/sysv/linux/configure: Regenerated.
45912 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45913 <kernel-features.h>.
45914 [__ASSUME_32BITUIDS]: Make code unconditional.
45915 [!__ASSUME_32BITUIDS]: Remove conditional code.
45916 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45917 <kernel-features.h>.
45918 [__ASSUME_32BITUIDS]: Make code unconditional.
45919 [!__ASSUME_32BITUIDS]: Remove conditional code.
45920 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45921 [__ASSUME_32BITUIDS]: Make code unconditional.
45922 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45923 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45924 <kernel-features.h>.
45925 [__ASSUME_32BITUIDS]: Make code unconditional.
45926 [!__ASSUME_32BITUIDS]: Remove conditional code.
45927 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45928 <kernel-features.h>.
45929 [__ASSUME_32BITUIDS]: Make code unconditional.
45930 [!__ASSUME_32BITUIDS]: Remove conditional code.
45931 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45932 <kernel-features.h>.
45933 [__ASSUME_32BITUIDS]: Make code unconditional.
45934 [!__ASSUME_32BITUIDS]: Remove conditional code.
45935 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45936 <kernel-features.h>.
45937 [__ASSUME_32BITUIDS]: Make code unconditional.
45938 [!__ASSUME_32BITUIDS]: Remove conditional code.
45939 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45940 <kernel-features.h>.
45941 [__ASSUME_32BITUIDS]: Make code unconditional.
45942 [!__ASSUME_32BITUIDS]: Remove conditional code.
45943 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45944 <kernel-features.h>.
45945 [__ASSUME_32BITUIDS]: Make code unconditional.
45946 [!__ASSUME_32BITUIDS]: Remove conditional code.
45947 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45948 <kernel-features.h>.
45949 [__ASSUME_32BITUIDS]: Make code unconditional.
45950 [!__ASSUME_32BITUIDS]: Remove conditional code.
45951 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45952 <kernel-features.h>.
45953 [__ASSUME_32BITUIDS]: Make code unconditional.
45954 [!__ASSUME_32BITUIDS]: Remove conditional code.
45955 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45956 <kernel-features.h>.
45957 [__ASSUME_32BITUIDS]: Make code unconditional.
45958 [!__ASSUME_32BITUIDS]: Remove conditional code.
45959 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45960 <kernel-features.h>.
45961 [__ASSUME_32BITUIDS]: Make code unconditional.
45962 [!__ASSUME_32BITUIDS]: Remove conditional code.
45963 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45964 <kernel-features.h>.
45965 [__NR_setresgid] (__setresgid): Do not declare.
45966 [__ASSUME_32BITUIDS]: Make code unconditional.
45967 [!__ASSUME_32BITUIDS]: Remove conditional code.
45968 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45969 <kernel-features.h>.
45970 [__NR_setresuid] (__setresuid): Do not declare.
45971 [__ASSUME_32BITUIDS]: Make code unconditional.
45972 [!__ASSUME_32BITUIDS]: Remove conditional code.
45973 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45974 <kernel-features.h>.
45975 [__ASSUME_32BITUIDS]: Make code unconditional.
45976 [!__ASSUME_32BITUIDS]: Remove conditional code.
45977 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45978 <kernel-features.h>.
45979 [__ASSUME_32BITUIDS]: Make code unconditional.
45980 [!__ASSUME_32BITUIDS]: Remove conditional code.
45981 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45982 <kernel-features.h>.
45983 [__ASSUME_32BITUIDS]: Make code unconditional.
45984 [!__ASSUME_32BITUIDS]: Remove conditional code.
45985 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45986 <kernel-features.h>.
45987 [__ASSUME_32BITUIDS]: Make code unconditional.
45988 [!__ASSUME_32BITUIDS]: Remove conditional code.
45989 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45990 <kernel-features.h>.
45991 [__ASSUME_32BITUIDS]: Make code unconditional.
45992 [!__ASSUME_32BITUIDS]: Remove conditional code.
45993 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45994 <kernel-features.h>.
45995 [__ASSUME_32BITUIDS]: Make code unconditional.
45996 [!__ASSUME_32BITUIDS]: Remove conditional code.
45997 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45998 <kernel-features.h>.
45999 [__ASSUME_32BITUIDS]: Make code unconditional.
46000 [!__ASSUME_32BITUIDS]: Remove conditional code.
46001 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46002 <kernel-features.h>.
46003 [__ASSUME_32BITUIDS]: Make code unconditional.
46004 [!__ASSUME_32BITUIDS]: Remove conditional code.
46005 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46006 <kernel-features.h>.
46007 [__ASSUME_32BITUIDS]: Make code unconditional.
46008 [!__ASSUME_32BITUIDS]: Remove conditional code.
46009 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46010 <kernel-features.h>.
46011 [__ASSUME_32BITUIDS]: Make code unconditional.
46012 [!__ASSUME_32BITUIDS]: Remove conditional code.
46013 * sysdeps/unix/sysv/linux/kernel-features.h
46014 (__ASSUME_SETRESUID_SYSCALL): Remove.
46015 (__ASSUME_SETRESGID_SYSCALL): Likewise.
46016 (__ASSUME_32BITUIDS): Likewise.
46017 (__ASSUME_LDT_WORKS): Likewise.
46018 (__ASSUME_O_DIRECTORY): Likewise.
46019 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46020 architecture but not kernel version.
46021 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46022 (__ASSUME_MMAP2_SYSCALL): Likewise.
46023 (__ASSUME_STAT64_SYSCALL): Likewise.
46024 (__ASSUME_IPC64): Likewise.
46025 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46026 <kernel-features.h>.
46027 [__ASSUME_32BITUIDS]: Make code unconditional.
46028 [!__ASSUME_32BITUIDS]: Remove conditional code.
46029 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46030 <kernel-features.h>.
46031 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46032 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46033 132096]: Remove conditional code.
46034 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46035 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46036 <kernel-features.h>.
46037 [__ASSUME_32BITUIDS]: Make code unconditional.
46038 [!__ASSUME_32BITUIDS]: Remove conditional code.
46039 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46040 <kernel-features.h>.
46041 [__ASSUME_32BITUIDS]: Make code unconditional.
46042 [!__ASSUME_32BITUIDS]: Remove conditional code.
46043 * sysdeps/unix/sysv/linux/setegid.c: Do not include
46044 <kernel-features.h>.
46045 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46047 (__setresgid): Do not declare.
46048 [__ASSUME_32BITUIDS]: Make code unconditional.
46049 [!__ASSUME_32BITUIDS]: Remove conditional code.
46050 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46051 <kernel-features.h>.
46052 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46054 (__setresuid): Do not declare.
46055 [__ASSUME_32BITUIDS]: Make code unconditional.
46056 [!__ASSUME_32BITUIDS]: Remove conditional code.
46057 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46058 <kernel-features.h>.
46059 [__ASSUME_32BITUIDS]: Make code unconditional.
46060 [!__ASSUME_32BITUIDS]: Remove conditional code.
46061 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46062 <kernel-features.h>.
46063 [__ASSUME_32BITUIDS]: Make code unconditional.
46064 [!__ASSUME_32BITUIDS]: Remove conditional code.
46066 2012-05-25 Richard Henderson <rth@twiddle.net>
46068 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46069 dl_hwcap to ifunc resolver.
46070 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46072 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46073 dl_hwcap to ifunc resolver.
46074 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46076 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46079 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46080 for |x| <= 2**-26, not 2**-57.
46081 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46084 2012-05-24 Jeff Law <law@redhat.com>
46086 * stdio-common/Makefile (tests): Add bug25.
46087 * stdio-common/bug25.c: New test.
46089 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46092 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46093 multiple of MALLOC_ALIGNMENT in size.
46094 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46096 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46098 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46100 (FILENAME_MAX): Use macro-int-constant.
46101 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46102 (_IOFBF): Use macro-int-constant.
46103 (_IOLBF): Likewise.
46104 (_IONBF): Likewise.
46105 (SEEK_CUR): Likewise.
46106 (SEEK_END): Likewise.
46107 (SEEK_SET): Likewise.
46108 (TMP_MAX): Likewise.
46109 (EOF): Use macro-int-constant. Require < 0.
46110 (NULL): Use macro-constant. Require == 0.
46111 (stdin): Require type to be FILE *.
46112 (stdout): Likewise.
46113 (stderr): Likewise.
46114 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46115 macro-int-constant.
46116 (EXIT_SUCCESS): Likewise.
46117 (NULL): Use macro-constant. Require == 0.
46118 (RAND_MAX): Use macro-int-constant.
46119 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46120 [C99-based standards] (strtof): Require function.
46121 [C99-based standards] (strtold): Likewise.
46122 [C99-based standards] (strtoll): Likewise.
46123 [C99-based standards] (strtoull): Likewise.
46124 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46125 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46126 [ISO || ISO99 || ISO11] (math.h): Likewise.
46127 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46128 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46131 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46134 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46135 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46136 * intl/dgettext.c (DCGETTEXT): Likewise.
46137 * intl/gettext.c (DCGETTEXT): Likewise.
46138 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46139 * posix/regex_internal.h (gettext): Likewise.
46140 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46141 Remove declaration.
46142 * include/argz.h (__argz_count_internal)
46143 (__argz_stringify_internal): Remove declaration.
46144 (__argz_count, __argz_stringify): Declare hidden proto.
46145 * intl/dcgettext.c: Remove use of INTDEF.
46146 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46147 * string/argz-stringify.c: Likewise.
46148 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46149 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46150 Declare hidden proto.
46151 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46152 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46153 Declare hidden proto.
46154 * include/stdio.h (__asprintf_internal): Don't declare.
46155 (__asprintf): Don't define as macro. Declare hidden proto.
46156 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46157 (__fsetlocking): Declare hidden proto.
46158 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46159 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46161 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46162 (_IO_setlinebuf): Remove use of INTUSE.
46163 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46164 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46165 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46166 Remove declaration.
46167 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46168 (_IO_do_flush): Remove use of INTUSE.
46169 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46170 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46171 (_IO_adjust_column, _IO_least_wmarker)
46172 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46173 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46174 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46175 (_IO_default_doallocate, _IO_wdefault_doallocate)
46176 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46177 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46178 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46179 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46180 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46181 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46182 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46183 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46184 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46185 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46186 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46187 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46188 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46190 (_IO_flush_all_internal, _IO_adjust_column_internal)
46191 (_IO_default_uflow_internal, _IO_default_finish_internal)
46192 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46193 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46194 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46195 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46196 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46197 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46198 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46199 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46200 (_IO_file_close_internal, _IO_file_close_it_internal)
46201 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46202 (_IO_file_init_internal, _IO_file_attach_internal)
46203 (_IO_file_fopen_internal, _IO_file_read_internal)
46204 (_IO_file_sync_internal, _IO_file_seek_internal)
46205 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46206 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46207 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46208 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46209 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46210 (_IO_list_all_internal, _IO_link_in_internal)
46211 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46212 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46213 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46214 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46215 (_IO_do_write_internal, _IO_padn_internal)
46216 (_IO_getline_info_internal, _IO_getline_internal)
46217 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46218 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46219 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46220 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46221 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46222 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46223 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46224 with libc_hidden_ver, remove use of INTUSE.
46225 * libio/genops.c: Likewise.
46226 * libio/freopen.c: Likewise.
46227 * libio/freopen64.c: Likewise.
46228 * libio/iofclose.c: Likewise.
46229 * libio/iofdopen.c: Likewise.
46230 * libio/iofflush.c: Likewise.
46231 * libio/iofflush_u.c: Likewise.
46232 * libio/iofgets.c: Likewise.
46233 * libio/iofgets_u.c: Likewise.
46234 * libio/iofopen.c: Likewise.
46235 * libio/iofopncook.c: Likewise.
46236 * libio/iofread.c: Likewise.
46237 * libio/iofread_u.c: Likewise.
46238 * libio/ioftell.c: Likewise.
46239 * libio/iofwrite.c: Likewise.
46240 * libio/iogetline.c: Likewise.
46241 * libio/iogets.c: Likewise.
46242 * libio/iogetwline.c: Likewise.
46243 * libio/iopadn.c: Likewise.
46244 * libio/iopopen.c: Likewise.
46245 * libio/ioseekoff.c: Likewise.
46246 * libio/ioseekpos.c: Likewise.
46247 * libio/iosetbuffer.c: Likewise.
46248 * libio/iosetvbuf.c: Likewise.
46249 * libio/ioungetc.c: Likewise.
46250 * libio/ioungetwc.c: Likewise.
46251 * libio/iovdprintf.c: Likewise.
46252 * libio/iovsprintf.c: Likewise.
46253 * libio/iovsscanf.c: Likewise.
46254 * libio/memstream.c: Likewise.
46255 * libio/obprintf.c: Likewise.
46256 * libio/oldfileops.c: Likewise.
46257 * libio/oldiofclose.c: Likewise.
46258 * libio/oldiofdopen.c: Likewise.
46259 * libio/oldiofopen.c: Likewise.
46260 * libio/oldiopopen.c: Likewise.
46261 * libio/oldstdfiles.c: Likewise.
46262 * libio/putc.c: Likewise.
46263 * libio/setbuf.c: Likewise.
46264 * libio/setlinebuf.c: Likewise.
46265 * libio/stdfiles.c: Likewise.
46266 * libio/strops.c: Likewise.
46267 * libio/vasprintf.c: Likewise.
46268 * libio/vscanf.c: Likewise.
46269 * libio/vsnprintf.c: Likewise.
46270 * libio/vswprintf.c: Likewise.
46271 * libio/wfiledoalloc.c: Likewise.
46272 * libio/wfileops.c: Likewise.
46273 * libio/wgenops.c: Likewise.
46274 * libio/wmemstream.c: Likewise.
46275 * libio/wstrops.c: Likewise.
46276 * libio/__fpurge.c: Likewise.
46277 * libio/__fsetlocking.c: Likewise.
46278 * assert/assert.c: Likewise.
46279 * debug/fgets_chk.c: Likewise.
46280 * debug/fgets_u_chk.c: Likewise.
46281 * debug/fread_chk.c: Likewise.
46282 * debug/fread_u_chk.c: Likewise.
46283 * debug/gets_chk.c: Likewise.
46284 * debug/obprintf_chk.c: Likewise.
46285 * debug/vasprintf_chk.c: Likewise.
46286 * debug/vdprintf_chk.c: Likewise.
46287 * debug/vsnprintf_chk.c: Likewise.
46288 * debug/vsprintf_chk.c: Likewise.
46289 * malloc/mtrace.c: Likewise.
46290 * misc/error.c: Likewise.
46291 * misc/syslog.c: Likewise.
46292 * stdio-common/asprintf.c: Likewise.
46293 * stdio-common/fxprintf.c: Likewise.
46294 * stdio-common/getw.c: Likewise.
46295 * stdio-common/isoc99_fscanf.c: Likewise.
46296 * stdio-common/isoc99_scanf.c: Likewise.
46297 * stdio-common/isoc99_vfscanf.c: Likewise.
46298 * stdio-common/isoc99_vscanf.c: Likewise.
46299 * stdio-common/isoc99_vsscanf.c: Likewise.
46300 * stdio-common/printf-prs.c: Likewise.
46301 * stdio-common/printf_fp.c: Likewise.
46302 * stdio-common/printf_fphex.c: Likewise.
46303 * stdio-common/printf_size.c: Likewise.
46304 * stdio-common/putw.c: Likewise.
46305 * stdio-common/scanf.c: Likewise.
46306 * stdio-common/sprintf.c: Likewise.
46307 * stdio-common/tmpfile.c: Likewise.
46308 * stdio-common/vfprintf.c: Likewise.
46309 * stdio-common/vfscanf.c: Likewise.
46310 * stdlib/strfmon_l.c: Likewise.
46311 * sunrpc/openchild.c: Likewise.
46312 * sunrpc/xdr_stdio.c: Likewise.
46313 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46314 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46316 2012-05-24 Roland McGrath <roland@hack.frob.com>
46318 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46320 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46321 in the third column, to generate for the shared library an IFUNC
46322 that uses _dl_vdso_vsym.
46323 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46324 * Makeconfig (object-suffixes-noshared): New variable.
46326 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46327 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46328 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46329 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46332 * include/sys/time.h (__gettimeofday): Remove macro.
46333 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46334 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46336 (__gettimeofday): Add libc_hidden_def.
46337 (gettimeofday): Add libc_hidden_weak.
46338 * sysdeps/mach/gettimeofday.c: Likewise.
46339 * sysdeps/posix/gettimeofday.c: Likewise.
46340 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46341 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46342 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46343 (__gettimeofday_internal): Remove strong_alias.
46344 (__gettimeofday): Add libc_hidden_def.
46345 (gettimeofday): Add libc_hidden_weak.
46346 * sysdeps/unix/syscalls.list (gettimeofday):
46347 Remove __gettimeofday_internal alias.
46349 2012-05-24 Daniel Jacobowitz <drow@false.org>
46350 H.J. Lu <hongjiu.lu@intel.com>
46353 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46354 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46355 (largebin_index_32_big): New.
46356 (largebin_index): Use it for 16-byte alignment.
46357 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46358 correction with front_misalign.
46360 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46388 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46389 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46391 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46395 * math/libm-test.inc (exp_test): Add test from bug 14036.
46396 (pow_test): Add test from bug 10846.
46398 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46400 (special_function): Do not include flags in test name.
46401 (parse_args): Likewise.
46402 * sysdeps/i386/fpu/libm-test-ulps: Update.
46403 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46404 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46405 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46408 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46410 * math/libm-test.inc ("Philosophy"): Update comment about
46412 (UNDERFLOW_EXCEPTION): New macro.
46413 (UNDERFLOW_EXCEPTION_OK): Likewise.
46414 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46415 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46416 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46417 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46418 (INVALID_EXCEPTION_OK): Update value.
46419 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46420 (OVERFLOW_EXCEPTION_OK): Likewise.
46421 (IGNORE_ZERO_INF_SIGN): Likewise.
46422 (test_exceptions): Handle underflow exceptions.
46423 (acos_test): Update for underflow exception expectations.
46424 (cexp_test): Likewise.
46425 (clog_test): Likewise.
46426 (clog10_test): Likewise.
46427 (csqrt_test): Likewise.
46428 (ctan_test): Likewise.
46429 (ctanh_test): Likewise.
46430 (exp_test): Likewise.
46431 (exp10_test): Likewise.
46432 (exp2_test): Likewise.
46433 (expm1_test): Likewise.
46434 (fma_test): Likewise.
46435 (j0_test): Likewise.
46436 (jn_test): Likewise.
46437 (nexttoward_test): Likewise.
46438 (pow_test): Likewise.
46439 (scalbn_test): Likewise.
46440 (scalbln_test): Likewise.
46441 (tan_test): Likewise.
46442 (y1_test): Likewise.
46443 * sysdeps/i386/fpu/libm-test-ulps: Update.
46444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46446 2012-05-23 David S. Miller <davem@davemloft.net>
46448 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46449 (__libc_sigaction): Remove unused local variables.
46451 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46453 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46455 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46457 mktime: avoid signed integer overflow
46458 * time/mktime.c (__mktime_internal): Do not mishandle the case
46459 where diff == INT_MIN.
46461 mktime: simplify computation of average
46462 * time/mktime.c (ranged_convert): Use new time_t_avg function
46463 instead of rolling our own (probably-slower) code.
46465 mktime: do not assume signed right shift propagates sign bit
46466 * time/mktime.c (isdst_differ): New static function.
46467 (__mktime_internal): No need to normalize tm_isdst now.
46468 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46471 mktime: merge another wrapv change from gnulib
46472 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46473 from some compilers.
46475 mktime: remove incorrect attempt at unusual arithmetics
46476 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46477 The code didn't really work on such machines anyway.
46478 (TYPE_MINIMUM): Assume two's complement.
46479 (twos_complement_arithmetic): Verify that long_int and time_t
46480 are two's complement (or unsigned, in the latter case).
46482 mktime: check signed shifts on long_int and time_t, too
46483 * time/mktime.c (SHR): Check that shifts work as desired
46484 on the types long_int and time_t too, as SHR is used on
46487 mktime: do not assume 'long' is wide enough
46488 * time/mktime.c (verify): Move decl up.
46489 (long_int): New type.
46490 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46491 to remove assumption in the code that 'long' is wide enough to
46492 store year values. This assumption is not true on x32 and on
46493 some non-glibc platforms.
46495 mktime: merge wrapv change from gnulib
46496 * time/mktime.c (WRAPV): New macro.
46497 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46498 (guess_time_tm, __mktime_internal): Do not assume that signed
46499 integer overflow wraps around; modern compilers generate code
46500 where this assumption is no longer valid.
46502 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46504 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46505 Replace "jmp L(pseudo_end)" with "ret".
46506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46509 2012-05-23 Andreas Jaeger <aj@suse.de>
46511 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46512 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46514 2012-05-23 Andreas Jaeger <aj@suse.de>
46515 Maximilian Attems <max@stro.at>
46517 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46520 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46522 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46523 code so that pseudo_end is just ret and the stack pointer is
46524 correct also for static library in error case.
46526 2012-05-23 Joseph Myers <joseph@codesourcery.com>
46528 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46529 move to syscalls.list.
46530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46535 * manual/install.texi (Running make install): Do not mention Linux
46536 kernel version for which pt_chown is not needed.
46537 (Linux): Do not mention problems with nscd with 2.0 kernels.
46538 * INSTALL: Regenerated.
46540 2012-05-23 Andreas Jaeger <aj@suse.de>
46542 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46543 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46545 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46546 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46547 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46548 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46549 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46550 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46551 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46552 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46553 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46554 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46555 * sysdeps/unix/sysv/linux/bits/in.h
46556 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46558 2012-05-22 Roland McGrath <roland@hack.frob.com>
46560 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46561 (PREPARE_VERSION): Just use assert instead, it will be elided
46562 under [NDEBUG] anyway.
46564 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46566 * sysdeps/unix/sysv/linux/Makefile: Include
46567 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46568 (sysdep_routines): Remove sysctl.
46569 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46570 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46571 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46572 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46573 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46575 2012-05-22 Andreas Jaeger <aj@suse.de>
46577 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46578 that pseudo_end is just ret and the stack pointer is correct also
46579 for static library in error case.
46581 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46584 * nss/nsswitch.c (defconfig_entries): New variable.
46585 (__nss_database_lookup): Don't leak defconfig entries.
46586 (nss_parse_service_list): Don't leak on error paths.
46587 (free_database_entries): New function.
46588 (free_defconfig): New function.
46589 (free_mem): Move common code to free_database_entries.
46591 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46593 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46595 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46597 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46598 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46601 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46602 (INTERNAL_SYSCALL_TYPES): Likewise.
46603 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46604 (LOAD_REGS_TYPES_[1-6]): Likewise.
46605 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46606 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46608 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46610 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46611 copysignl for GLIBC_2_0.
46612 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46613 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46614 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46615 logbl for GLIBC_2_0.
46616 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46617 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46619 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46621 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46622 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46624 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46627 * time/mktime.c: Update copyright years.
46629 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46631 mktime: merge comment-quoting-style change from gnulib
46632 * time/mktime.c: Quote 'like this' in comments.
46633 The GNU coding standards suggest that we no longer quote `like this',
46634 as "`" and "'" are typically rendered asymmetrically nowadays.
46635 The typical gnulib style is to quote 'like this' when quoting
46636 code, and "like this" when quoting English.
46638 * time/mktime.c (compile-command): Add "-I.".
46640 mktime: merge mktime-internal.h change from gnulib
46641 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46643 mktime: merge time_r change from gnulib
46644 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46646 mktime: merge DEBUG change from gnulib
46647 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46648 case system <time.h> has a #define.
46650 mktime: merge <sys/types.h> change from gnulib
46651 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46652 since <time.t> is now guaranteed to define time_t.
46654 mktime: merge HAVE_CONFIG_H change from gnulib
46655 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46657 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46659 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46662 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46664 (struct rusage): Use anonymous union to pad each field to
46667 2012-05-21 David S. Miller <davem@davemloft.net>
46669 * Makefules (o-iterator): Remove .s cases.
46670 (compile-command.s): Delete.
46671 (COMPILE.s): Delete.
46672 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46674 2012-05-21 Joseph Myers <joseph@codesourcery.com>
46676 * configure.in (libc_cv_predef_stack_protector): Only consider
46677 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46678 * configure: Regenerated.
46680 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46682 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46683 New macro. Use R*LP on int and pointer.
46684 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46685 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46686 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46687 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46689 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46690 [__WORDSIZE_TIME64_COMPAT32] instead of
46691 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46692 (struct utmp): Likewise.
46693 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46694 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46696 (__WORDSIZE_TIME64_COMPAT32): This.
46697 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46698 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46699 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46700 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46701 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46702 (__WORDSIZE_TIME64_COMPAT32): New macro.
46704 2012-05-21 Andreas Jaeger <aj@suse.de>
46706 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46707 only if [SHARED]. Add prototype for __wcschr_ia32.
46709 2012-05-21 Roland McGrath <roland@hack.frob.com>
46711 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46712 of %rbp unmolested in the jmp_buf while mangling the low bits.
46713 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46714 unmolested high bits of %rbp while demangling the low bits.
46715 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46717 2012-05-21 Andreas Jaeger <aj@suse.de>
46719 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46720 * sunrpc/svc_simple.c: Use it for registerrpc.
46721 * sunrpc/xcrypt.c: Use it for passwd2des.
46723 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46725 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46727 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46728 Don't define if [__SYSCALL_WORDSIZE != 32].
46729 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46732 2012-05-21 Bruno Haible <bruno@clisp.org>
46733 Andreas Jaeger <aj@suse.de>
46735 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46736 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46737 inptr and inend for must_buffer_ch.
46738 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46739 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46740 * stdio-common/Makefile (tests): Remove bug15.
46741 (bug15-ENV): Remove macro.
46742 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46745 2012-05-19 Andreas Jaeger <aj@suse.de>
46746 Roland McGrath <roland@hack.frob.com>
46748 * manual/contrib.texi: Completely rewritten. It contains now an
46749 alphabetical list of contributors and their contributions.
46751 2012-05-21 Richard Henderson <rth@twiddle.net>
46753 * misc/getauxval.c (__getauxval): Use unsigned long int.
46754 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46755 (getauxval): Use unsigned long int.
46757 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46759 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46761 2012-05-21 Roland McGrath <roland@hack.frob.com>
46763 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46764 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46765 __alignof__ (long double).
46767 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46771 2012-05-20 Richard Henderson <rth@twiddle.net>
46773 * misc/getauxval.c: New file.
46774 * misc/sys/auxv.h: New file.
46775 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46776 (routines): Add getauxval.
46777 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46778 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46779 * elf/dl-sysdep.c (_dl_auxv): Remove.
46780 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46781 * elf/dl-support.c (_dl_auxv): New variable.
46782 (_dl_aux_init): Initialize it.
46783 * manual/startup.texi (Auxiliary Vector): New node.
46784 * sysdeps/generic/bits/hwcap.h: New file.
46785 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46786 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46787 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46788 * sysdeps/sparc/sysdep.h: ... here. Include it.
46789 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46790 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46796 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46802 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46806 2012-05-19 David S. Miller <davem@davemloft.net>
46808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46810 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46813 * math/s_ccosh.c: Include <float.h>
46814 (__ccosh): Avoid internal overflow calculating sinh and cosh
46815 values before multiplying by sin and cos values.
46816 * math/s_ccoshf.c: Likewise.
46817 * math/s_ccoshl.c: Likewise.
46818 * math/s_csin.c: Likewise.
46819 * math/s_csinf.c: Likewise.
46820 * math/s_csinl.c: Likewise.
46821 * math/s_csinh.c: Likewise.
46822 * math/s_csinhf.c: Likewise.
46823 * math/s_csinhl.c: Likewise.
46824 * math/libm-test.inc (ccos_test): Add more tests.
46825 (ccosh_test): Likewise.
46826 (csin_test): Likewise.
46827 (csinh_test): Likewise.
46828 * sysdeps/i386/fpu/libm-test-ulps: Update.
46829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46831 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
46833 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46834 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46836 * sysdeps/x86_64/x32/_itoa.h: Add comment.
46838 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46840 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46841 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46842 * sysdeps/powerpc/soft-fp/Versions: Likewise.
46843 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46844 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46845 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46846 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46847 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46848 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46849 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46850 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46851 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46852 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46853 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46854 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46855 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46856 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46857 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46858 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46859 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46860 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46861 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46862 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46863 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46864 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46865 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46866 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46867 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46868 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46869 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46870 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46872 2012-05-18 Andreas Jaeger <aj@suse.de>
46874 * csu/.gitignore: Delete.
46876 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46878 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46879 (timex): Use __syscall_slong_t.
46881 2012-05-18 Andreas Jaeger <aj@suse.de>
46882 Carlos O'Donell <carlos_odonell@mentor.com>
46884 * manual/install.texi (Configuring and compiling): Update
46885 description about files modified in the source directory.
46886 * INSTALL: Regenerated.
46888 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46890 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46891 value. Use "or" to set return value to -1.
46892 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46893 negate return value.
46895 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46897 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46898 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46899 failure if the compiler has Graphite support disabled.
46900 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46902 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46903 (CFLAGS-memmove.c): Likewise.
46904 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46907 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46909 * sysdeps/x86_64/x32/_itoa.h: New file.
46911 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46912 getdents system call only if kernel and user dirents have the
46913 same d_ino and d_off.
46915 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46916 LLONG_MAX != LONG_MAX.
46917 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46918 (_fitoa_word): Likewise.
46920 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46922 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46923 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46924 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46926 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46927 include <bits/wordsize.h>. Check __x86_64__ instead of
46929 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46930 if __x86_64__ is defined. Use anonymous union on fpstate.
46932 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46935 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
46937 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46938 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46939 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46940 Refer to _rtld_local_ro instead of _rtld_global_ro.
46941 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46943 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46945 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46947 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46948 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46949 of _rtld_global, and rtld_progname instead of _dl_argv[0].
46951 * sysdeps/powerpc/powerpc32/dl-machine.c
46952 (__elf_machine_runtime_setup) [PROF]: Don't reference
46955 2012-05-18 Andreas Jaeger <aj@suse.de>
46957 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46958 function only available for GCCs before 3.4 since GCC 3.4
46959 introduced a builtin.
46961 (llrintf): Likewise.
46962 (llrint): Likewise.
46969 (nearbyint): Likewise.
46970 (nearbyintf): Likewise.
46974 (floorf): Likewise.
46976 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46978 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46979 on both fields and cast pointer to __syscall_ulong_t.
46981 * bits/types.h (__fsword_t): New type.
46982 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46983 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46984 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46985 (__FSWORD_T_TYPE): Likewise.
46986 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46987 (__FSWORD_T_TYPE): Likewise.
46988 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46989 (__FSWORD_T_TYPE): Likewise.
46990 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46991 (__FSWORD_T_TYPE): Likewise.
46992 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46993 __SWORD_TYPE with __fsword_t.
46994 (statfs64): Likewise.
46996 2012-05-17 David S. Miller <davem@davemloft.net>
46998 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47000 2012-05-17 Andreas Jaeger <aj@suse.de>
47002 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47005 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47007 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47009 2012-05-17 Andreas Jaeger <aj@suse.de>
47011 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47014 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47016 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47018 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47020 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47021 * sysdeps/x86_64/tst-mallocalign1.c: New file.
47023 2012-05-17 Andreas Jaeger <aj@suse.de>
47024 Carlos O'Donell <carlos_odonell@mentor.com>
47027 * sysdeps/x86_64/multiarch/init-arch.h
47028 (bit_YMM_Usable): Rename to...
47029 (bit_AVX_Usable): ... this.
47030 (bit_FMA4_Usable): New macro.
47031 (bit_XMM_state): New macro.
47032 (bit_YMM_state): New macro.
47033 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47034 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47035 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47036 (CPUID_OSXSAVE): New macro.
47037 (CPUID_AVX): New macro.
47038 (CPUID_FMA4): New macro.
47039 (index_YMM_Usable): Rename to...
47040 (index_AVX_Usable): ... this.
47041 (HAS_AVX): Use HAS_ARCH_FEATURE.
47042 (HAS_FMA4): Likewise.
47043 (HAS_YMM_USABLE): Remove.
47044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47045 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47047 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47048 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47049 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47050 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47051 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47053 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47055 * math/libm-test.c: Support platforms without multiple rounding modes.
47056 * math/bug-nextafter.c: Support platforms without FP exceptions.
47057 * math/bug-nexttoward.c: Likewise.
47058 * math/test-fenv.c: Likewise.
47059 * math/test-misc.c: Likewise.
47060 * stdlib/bug-getcontext.c: Likewise.
47062 2012-05-17 Andreas Jaeger <aj@suse.de>
47064 * manual/examples/search.c (critter_cmp): Change signature to
47066 * manual/string.texi (Collation Functions): Likewise.
47068 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47070 * bits/types.h: Fold copyright years.
47071 * bits/typesizes.h: Likewise.
47072 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47073 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47074 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47075 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47076 * time/time.h: Likewise.
47078 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47081 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47082 in instead of returning them. Return void.
47083 (__libc_mallinfo): Accumulate over all arenas.
47084 (__malloc_stats): Adjust for change in int_mallinfo interface.
47086 2012-05-16 Roland McGrath <roland@hack.frob.com>
47089 * configure.in (NM): Add AC_CHECK_TOOL for it.
47090 (libc_extra_cflags): New substituted variable.
47091 Check for -fstack-protector being used implicitly.
47092 * configure: Regenerated.
47093 * config.make.in (config-extra-cflags): New variable,
47094 gets @libc_extra_cflags@.
47095 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47098 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47099 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47100 * configure: Regenerated.
47101 * config.make.in (CPPUNDEFS): New substituted variable.
47102 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47103 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47104 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47106 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47108 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47109 (mq_attr): Use __syscall_slong_t.
47111 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47113 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47114 Check __x86_64__ instead of __WORDSIZE.
47115 (_STAT_VER_LINUX): Likewise.
47116 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47117 __syscall_ulong_t and __syscall_slong_t.
47118 (stat64): Likewise.
47120 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47122 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47124 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47126 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47128 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47130 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47133 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47134 include <bits/wordsize.h>. Check __x86_64__ instead of
47136 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47138 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47140 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47141 include <bits/wordsize.h>. Check __x86_64__ instead of
47143 (user_regs_struct): Use "__extension__ unsigned long long"
47144 instead of "unsigned long" if __x86_64__ is defined.
47145 (user): Likewise. Pad after pointer field if __ILP32__ is
47148 2012-05-16 Joseph Myers <joseph@codesourcery.com>
47150 * configure.in (makeinfo): Require version 4.5 or later. Allow
47152 * configure: Regenerated.
47153 * manual/install.texi (texinfo): Increase version requirement to
47155 * INSTALL: Regenerated.
47157 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47159 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47161 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47163 * sysdeps/x86_64/x32/ffs.c: New file.
47165 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47167 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47168 defined. Use __syscall_ulong_t.
47169 (shminfo): Use __syscall_ulong_t.
47170 (shm_info): Likewise.
47172 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47175 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47177 (msgqnum_t): Use __syscall_ulong_t.
47178 (msglen_t): Likewise.
47179 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47182 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47183 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47185 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47187 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47188 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47190 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47193 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47194 include <bits/wordsize.h>. Check __x86_64__ instead of
47197 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47198 "unsigned long long int" if __x86_64__ is defined.
47199 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47201 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47202 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47203 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47205 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47207 (GET_PC): Cast to uintptr_t first.
47208 (GET_FRAME): Likewise.
47209 (GET_STACK): Likewise.
47211 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47212 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47213 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47214 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47215 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47216 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47217 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47218 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47219 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47220 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47221 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47222 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47223 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47224 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47225 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47226 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47227 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47228 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47229 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47230 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47231 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47232 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47233 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47234 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47235 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47236 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47237 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47238 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47239 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47241 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47243 * Makerules (+depfiles): Also collect depfiles from .oS in
47245 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47246 .oS, $(libnldbl-routines)).
47248 * Makerules (native-compile-mkdep-flags): Define.
47249 * sunrpc/Makefile (extra-objs): Add $(addprefix
47250 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47251 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47252 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47253 calling $(make-target-directory).
47255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47257 * bits/types.h (__snseconds_t): Removed.
47258 * time/time.h (struct timespec): Replace __snseconds_t with
47260 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47261 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47263 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47264 (__SNSECONDS_T_TYPE): Likewise.
47265 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47266 (__SNSECONDS_T_TYPE): Likewise.
47267 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47268 (__SNSECONDS_T_TYPE): Likewise.
47270 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47272 * sysdeps/mach/hurd/bits/typesizes.h
47273 (__SYSCALL_SLONG_TYPE): New macro.
47274 (__SYSCALL_ULONG_TYPE): Likewise.
47276 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47278 * bits/types.h (__syscall_slong_t): New type.
47279 (__syscall_ulong_t): Likewise.
47281 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47282 (__SYSCALL_ULONG_TYPE): Likewise.
47283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47284 (__SYSCALL_SLONG_TYPE): Likewise.
47285 (__SYSCALL_ULONG_TYPE): Likewise.
47286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47287 (__SYSCALL_SLONG_TYPE): Likewise.
47288 (__SYSCALL_ULONG_TYPE): Likewise.
47289 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47290 (__SYSCALL_SLONG_TYPE): Likewise.
47291 (__SYSCALL_ULONG_TYPE): Likewise.
47293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47295 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47296 Add sigaltstack-offsets.sym.
47297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47298 <sigaltstack-offsets.h>.
47299 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47300 longjmp_msg pointer.
47301 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47302 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47304 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47306 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47308 * elf/stackguard-macros.h: Remove file.
47309 * sysdeps/generic/stackguard-macros.h: New file.
47310 * sysdeps/i386/stackguard-macros.h: Likewise.
47311 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47312 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47313 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47314 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47315 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47316 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47317 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47318 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47319 <elf/stackguard-macros.h>.
47322 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47323 __aligned__ in attribute.
47324 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47325 (gregset_t): Likewise.
47327 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47329 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47330 * sysdeps/x86_64/64/Implies-after: Here. New file.
47331 * sysdeps/x86_64/x32/Implies-after: New file.
47333 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47335 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47336 and access return value for _dl_profile_fixup. Use R10_LP to
47339 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47341 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47345 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47346 * sysdeps/x86_64/x32/sysdep.h: New file.
47348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47350 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47351 * sysdeps/x86_64/setjmp.S: Likewise.
47353 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47355 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47356 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47357 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47358 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47359 remove unused global constant.
47361 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47363 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47364 include of <not-cancel.h>.
47366 2012-05-15 Roland McGrath <roland@hack.frob.com>
47368 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47370 2012-05-15 Jeff Law <law@redhat.com>
47371 Andreas Jaeger <aj@suse.de>
47374 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47376 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47377 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47378 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47379 code changing __hst_map_handle.map.
47381 2012-05-15 Roland McGrath <roland@hack.frob.com>
47383 * configure.in (sysnames): Look for Implies-before and Implies-after
47385 * configure: Regenerated.
47387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47389 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47390 8-byte data alignment with LP_SIZE alignment.
47392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47394 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47399 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47403 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47404 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47405 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47407 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47411 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47412 (stackinfo_sub_sp): Likewise.
47414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47416 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47421 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47426 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47431 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47435 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47436 into R11_LP and load __x86_64_shared_cache_size_half into
47439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47441 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47444 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47446 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47452 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47453 powerpc32/power7/fpu/s_logb.c via #include.
47454 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47455 powerpc32/power7/fpu/s_logbf.c via #include.
47456 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47457 powerpc32/power7/fpu/s_logbl.c via #include.
47459 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47461 * README.libm: Remove file.
47463 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47465 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47466 count for x32. Use R*_LP and omit operand-size suffix.
47468 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47470 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47471 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47472 * sysdeps/x86_64/x32/shlib-versions: New file.
47474 2012-05-14 Roland McGrath <roland@hack.frob.com>
47476 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47477 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47478 Use _dl_fatal_printf instead.
47480 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47482 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47483 set if not set by the user. Do not allow for being unset.
47484 * sysdeps/unix/sysv/linux/configure: Regenerated.
47486 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47488 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47489 the `q' suffix from lea and replace .quad with ASM_ADDR.
47491 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47494 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47496 (PTR_DEMANGLE): Likewise.
47498 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47500 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47502 (ASM_ADDR): Likewise.
47503 (RAX_LP): Likewise.
47504 (RBP_LP): Likewise.
47505 (RBX_LP): Likewise.
47506 (RCX_LP): Likewise.
47507 (RDI_LP): Likewise.
47508 (RSI_LP): Likewise.
47509 (RSP_LP): Likewise.
47512 (R10_LP): Likewise.
47513 (R10_LP): Likewise.
47514 (R11_LP): Likewise.
47515 (R12_LP): Likewise.
47516 (R13_LP): Likewise.
47517 (R14_LP): Likewise.
47518 (R15_LP): Likewise.
47520 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47522 * sysdeps/x86_64/x32/dl-machine.h: New file.
47524 2012-05-14 Andreas Jaeger <aj@suse.de>
47526 * manual/Makefile (subdir): Remove export of subdir.
47527 (all): Remove target.
47528 (.PHONY): Remove all from list.
47529 (mkinstalldirs): Remove.
47530 (.PHONY): Remove installdirs from list.
47531 ($(inst_infodir)/libc.info): Use make-target-directory.
47532 (installdirs): Remove.
47533 (subdir_%): Remove.
47534 (glibc-targets): Remove.
47537 ($(objpfx)stubs ../po/manual.pot): Remove.
47538 ($(objpfx)stamp%): Remove.
47539 (make-target-directory): Remove.
47540 (subdir_install): Remove.
47541 (routines): Remove.
47548 * manual/.gitignore: Remove, it's not needed anymore.
47549 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47551 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47553 (texis): Renamed to $(objpfx)texis.
47554 (texis-path): New, contains path to generated files.
47555 (chapters.%): Use texis-path for complete path, add extra argument
47557 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47558 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47559 (summary,texi, stamp-summary): Use complete path of
47560 files. Generate files in build dir.
47561 (dir-add.texi): Build in build dir.
47562 (libm-err.texi,stamp-libm-err): Likewise.
47563 (version.texi, stamp-version): Likewise.
47564 (.%c.texi): Likewise.
47565 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47566 (mostlyclean): Remove target.
47567 (realclean): Remove target.
47568 (generated): Add new variable with contents from mostlyclean and
47569 realclean, remove entries duplicated in common-mostlyclean, add
47570 stamp-libm-err and stamp-version.
47571 (generated-dirs): Add libc directory.
47572 ($(inst_infodir)/libc.info): Install files from build dir.
47574 * manual/install.texi (Configuring and compiling): Adjust since
47575 the info files are not part of the tar ball anymore.
47577 2012-05-14 Andreas Jaeger <aj@suse.de>
47579 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47582 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47585 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47586 to 2.2.0 where earlier.
47587 * sysdeps/unix/sysv/linux/configure: Regenerated.
47588 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47589 Remove conditional code.
47590 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47591 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47592 Remove conditional code.
47593 [!__NR_lchown]: Likewise.
47594 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47595 [__NR_lchown]: Likewise.
47596 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47597 comment referencing __ASSUME_LCHOWN_SYSCALL.
47598 * sysdeps/unix/sysv/linux/i386/sigaction.c
47599 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47600 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47601 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47602 Remove conditional code.
47603 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47604 (__protocol_available): Remove #if 0 code.
47605 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47607 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47608 * sysdeps/unix/sysv/linux/kernel-features.h
47609 (__ASSUME_GETCWD_SYSCALL): Don't define.
47610 (__ASSUME_REALTIME_SIGNALS): Likewise.
47611 (__ASSUME_PREAD_SYSCALL): Likewise.
47612 (__ASSUME_PWRITE_SYSCALL): Likewise.
47613 (__ASSUME_POLL_SYSCALL): Likewise.
47614 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47615 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47617 (__ASSUME_SIOCGIFNAME): Don't define.
47618 (__ASSUME_MSG_NOSIGNAL): Likewise.
47619 (__ASSUME_SENDFILE): Define unconditionally.
47620 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47621 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47623 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47624 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47625 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47626 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47627 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47628 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47629 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47631 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47632 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47634 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47635 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47637 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47638 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47640 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47641 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47643 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47646 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47647 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47649 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47650 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47652 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47654 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47655 Remove conditional code.
47656 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47657 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47658 Remove conditional code.
47659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47660 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47661 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47662 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47663 Remove conditional code.
47664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47665 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47666 Remove conditional code.
47667 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47668 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47669 Remove conditional code.
47670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47671 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47672 Remove conditional code.
47673 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47674 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47675 Remove conditional code.
47676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47677 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47678 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47679 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47680 * sysdeps/unix/sysv/linux/sigaction.c
47681 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47682 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47683 * sysdeps/unix/sysv/linux/sigpending.c
47684 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47685 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47686 * sysdeps/unix/sysv/linux/sigprocmask.c
47687 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47688 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47689 * sysdeps/unix/sysv/linux/sigsuspend.c
47690 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47691 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47692 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47693 (__libc_missing_rt_sigs): Remove.
47694 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47695 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47696 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47697 Remove conditional code.
47698 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47699 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47701 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47702 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47703 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47704 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47706 2012-05-14 Andreas Jaeger <aj@suse.de>
47708 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47709 it's not used in glibc.
47710 (__coshm1): Likewise.
47711 (__acosh1p): Likewise.
47714 * manual/string.texi (Copying and Concatenation): Add missing
47715 variable in concat example.
47716 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47718 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47721 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47722 __builtin_clzl with __builtin_clzll.
47724 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47727 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47730 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47732 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47733 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47734 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47735 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47737 2012-05-14 Mike Frysinger <vapier@gentoo.org>
47739 * NEWS: Update ia64 info.
47741 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47743 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47746 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47748 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47749 * sysdeps/unix/syscalls.list (dup3): Likewise.
47750 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47751 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47753 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47755 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47756 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47758 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47760 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47762 (TLS_IE): Use mov/add instead of movq/addq to load thread
47764 (TLS_GD_PREFIX): New.
47767 2012-05-11 David S. Miller <davem@davemloft.net>
47769 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47770 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47771 (_FPU_SETCW): Likewise.
47773 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47775 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47776 is 32-byte aligned.
47778 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47781 * iconvdata/gb18030.c: Update tables.
47782 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47783 characters specially.
47784 (BODY for TO_LOOP): Add encoding of missing ranges.
47786 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47789 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47790 * sysdeps/mach/hurd/dup3.c: Likewise.
47791 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47792 * sysdeps/powerpc/memmove.c:: Likewise.
47794 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47796 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47797 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47799 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47801 * elf/elf.h (R_X86_64_RELATIVE64): New.
47802 (R_X86_64_NUM): Updated.
47803 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47804 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
47805 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47806 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47807 tst-quad1pie tst-quad2pie
47808 (modules-names): Add tst-quadmod1 tst-quadmod2.
47809 ($(objpfx)tst-quad1): New dependency.
47810 ($(objpfx)tst-quad2): Likewise.
47811 ($(objpfx)tst-quad1pie): Likewise.
47812 ($(objpfx)tst-quad2pie): Likewise.
47813 * sysdeps/x86_64/tst-quad1.c: New file.
47814 * sysdeps/x86_64/tst-quad1pie.c: New file.
47815 * sysdeps/x86_64/tst-quad2.c: Likewise.
47816 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47817 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47818 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47819 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47820 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47822 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47824 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47825 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47826 * streams/stropts.h (t_scalar_t): Define type.
47828 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47829 (_PATH_PRESERVE): Set to "/var/lib".
47830 (_PATH_RWHODIR): Set to "/var/spool/rwho".
47832 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47835 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47836 if __dir_mkfile succeeded.
47838 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47839 checking for _hurd_dtablesize. Unlock it right after having
47840 finished _hurd_dtable allocation.
47842 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47844 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47845 * sysdeps/mach/hurd/configure: Regenerated.
47846 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47847 special-casing to...
47848 * sysdeps/gnu/configure.in: ... this new file.
47849 * sysdeps/unix/sysv/linux/configure: Regenerated.
47850 * sysdeps/gnu/configure: New generated file.
47852 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47853 for Linux: use nsec instead of usec, as well as:
47854 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47855 members of type struct timespec.
47856 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47858 (struct stat64): Likewise.
47859 (_STATBUF_ST_NSEC): New macro.
47860 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47862 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47863 __strtoul_internal rather than strtoul.
47865 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47867 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47870 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47872 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47873 which preserves existing values.
47874 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47876 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47878 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47879 TIMEOUT values. Return EINVAL for NFDS values either negative or
47880 greater than FD_SETSIZE.
47882 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47884 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47885 allocated, call __vm_protect to finish enabling the existing space, and
47886 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47887 allocate the remainder.
47889 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47891 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47892 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
47894 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47896 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47897 sysdeps/mach/hurd/readlink.c.
47899 * posix/tst-sysconf.c (posix_options): Only use
47900 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47901 _POSIX_SYNCHRONIZED_IO when they are defined
47902 * sysdeps/mach/hurd/bits/posix_opt.h:
47903 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47904 (_XOPEN_REALTIME): Undefine macro.
47905 (_XOPEN_REALTIME_THREADS): Undefine macro.
47906 (_XOPEN_SHM): Undefine macro.
47907 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47909 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47911 (_POSIX_ASYNC_IO): Undefine macro.
47912 (_POSIX_PRIORITIZED_IO): Undefine macro.
47913 (_POSIX_SPIN_LOCKS): Define macro to -1.
47915 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47916 SA_NODEFER, SA_RESETHAND.
47917 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47918 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47921 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47923 * elf/Makefile (pldd-modules): Define unconditionally.
47925 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47927 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47929 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47931 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47932 Return ENOENT when name is empty.
47933 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47935 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47937 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47939 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47941 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47943 Fix mlock in all cases except non-readable pages.
47944 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47945 instead of VM_PROT_ALL as parameter to __vm_wire function.
47947 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47948 (__mkdir): When path is `/', just fail with EEXIST.
47949 * sysdeps/mach/hurd/mkdirat.c: Likewise.
47951 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47953 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47954 <sys/uio.h> (for writev).
47955 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47956 and <sys/param.h> (for MIN).
47958 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47960 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47961 REQUESTED_TIME. Properly set the remaining time and return EINTR
47964 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47966 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47967 Depend on against $(link-rpcuserlibs).
47969 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47971 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47972 (__libc_stack_end): Do not use attribute_relro.
47973 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47974 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47975 to libthread-provided value.
47976 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47979 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47982 * bits/libc-lock.h (__libc_once_get): New macro.
47983 * sysdeps/mach/bits/libc-lock.h: Likewise.
47984 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47985 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47986 instead of using implementation details.
47988 * libio/fileops.c: Unconditionally include <kernel-features.h>.
47989 * libio/freopen.c: Likewise.
47990 * libio/freopen64.c: Likewise.
47991 * misc/syslog.c: Likewise.
47992 * nscd/connections.c: Likewise.
47993 * nscd/netgroupcache.c: Likewise.
47994 * sysdeps/posix/getcwd.c: Likewise.
47996 2012-05-10 Roland McGrath <roland@hack.frob.com>
47998 * math/w_ilogbf.c: Add #include <limits.h>.
48000 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48002 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48003 path instead of returning without unlocking.
48005 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48006 immediate-write ioctls.
48007 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48009 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48011 * sysdeps/mach/hurd/i386/init-first.c (init): Use
48012 __builtin_frame_address instead of making assumptions about the
48013 location of the return address relative to DATA. Force early load of
48014 the return address.
48015 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48016 __builtin_frame_address.
48019 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48020 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
48021 implement dup3 and do some further code clean-ups.
48022 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48023 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48025 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48027 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48029 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48030 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48031 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48032 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48033 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48036 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48037 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48038 when handler == SIG_ERR, not when handler != SIG_ERR.
48040 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48042 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48043 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48046 accept4 for GNU Hurd.
48047 * include/sys/socket.h (__libc_accept4): New prototype.
48048 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48049 to implement __libc_accept4.
48050 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48052 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48054 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48055 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48056 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48057 signal-defines.sym.
48059 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48061 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48063 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48065 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48066 assertion on O_CLOEXEC flag.
48067 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48068 * hurd/intern-fd.c: Likewise.
48069 * hurd/port2fd.c: Likewise.
48071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48074 * bits/in.h (IPV6_PKTINFO): Define new macro.
48075 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48077 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48082 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48083 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48084 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48085 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48086 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48087 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48088 * math/libm-test.inc (logb_test) : Additional logb tests.
48090 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48091 Andreas Jaeger <aj@suse.de>
48093 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48094 * configure: Regenerated.
48095 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48096 * config.make.in (link-obsolete-rpc): New substituted variable.
48097 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48098 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48099 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48100 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48101 so that libc.a contains the symbols.
48102 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48103 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48104 * sunrpc/auth_none.c: Likewise.
48105 * sunrpc/auth_unix.c: Likewise.
48106 * sunrpc/authdes_prot.c: Likewise.
48107 * sunrpc/authuxprot.c: Likewise.
48108 * sunrpc/clnt_gen.c: Likewise.
48109 * sunrpc/clnt_perr.c: Likewise.
48110 * sunrpc/clnt_raw.c: Likewise.
48111 * sunrpc/clnt_simp.c: Likewise.
48112 * sunrpc/clnt_tcp.c: Likewise.
48113 * sunrpc/clnt_udp.c: Likewise.
48114 * sunrpc/clnt_unix.c: Likewise.
48115 * sunrpc/des_crypt.c: Likewise.
48116 * sunrpc/des_soft.c: Likewise.
48117 * sunrpc/get_myaddr.c: Likewise.
48118 * sunrpc/key_call.c: Likewise.
48119 * sunrpc/key_prot.c: Likewise.
48120 * sunrpc/netname.c: Likewise.
48121 * sunrpc/pm_getmaps.c: Likewise.
48122 * sunrpc/pm_getport.c: Likewise.
48123 * sunrpc/pmap_clnt.c: Likewise.
48124 * sunrpc/pmap_prot.c: Likewise.
48125 * sunrpc/pmap_prot2.c: Likewise.
48126 * sunrpc/pmap_rmt.c: Likewise.
48127 * sunrpc/publickey.c: Likewise.
48128 * sunrpc/rpc_cmsg.c: Likewise.
48129 * sunrpc/rpc_common.c: Likewise.
48130 * sunrpc/rpc_dtable.c: Likewise.
48131 * sunrpc/rpc_prot.c: Likewise.
48132 * sunrpc/rpc_thread.c: Likewise.
48133 * sunrpc/rtime.c: Likewise.
48134 * sunrpc/svc.c: Likewise.
48135 * sunrpc/svc_auth.c: Likewise.
48136 * sunrpc/svc_raw.c: Likewise.
48137 * sunrpc/svc_run.c: Likewise.
48138 * sunrpc/svc_tcp.c: Likewise.
48139 * sunrpc/svc_udp.c: Likewise.
48140 * sunrpc/svc_unix.c: Likewise.
48141 * sunrpc/svcauth_des.c: Likewise.
48142 * sunrpc/xcrypt.c: Likewise.
48143 * sunrpc/xdr.c: Likewise.
48144 * sunrpc/xdr_array.c: Likewise.
48145 * sunrpc/xdr_float.c: Likewise.
48146 * sunrpc/xdr_intXX_t.c: Likewise.
48147 * sunrpc/xdr_mem.c: Likewise.
48148 * sunrpc/xdr_rec.c: Likewise.
48149 * sunrpc/xdr_ref.c: Likewise.
48150 * sunrpc/xdr_sizeof.c: Likewise.
48151 * sunrpc/xdr_stdio.c: Likewise.
48153 2012-05-10 Roland McGrath <roland@hack.frob.com>
48155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48156 change. Update copyright years.
48158 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48160 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48162 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48163 Joseph Myers <joseph@codesourcery.com>
48164 Paul Pluzhnikov <ppluzhnikov@google.com>
48167 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48169 [cross-compiling] (extra-libs): Likewise.
48170 [cross-compiling] (extra-libs-others): Likewise.
48171 [cross-compiling] (librpcsvc-routines): Likewise.
48172 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48173 [cross-compiling] (omit-deps): Likewise.
48174 (sunrpc-CPPFLAGS): New variable.
48175 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48176 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48177 (cross-rpcgen-objs): New variable.
48178 (extra-objs): Append $(cross-rpcgen-objs).
48179 ($(cross-rpcgen-objs)): New rule.
48180 ($(objpfx)cross-rpcgen): Likewise.
48181 (rpcgen-cmd): Define to use $(built-program-file). Expand
48183 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48184 ($(objpfx)x%.stmp): Likewise.
48185 * sunrpc/proto.h [IS_IN_build] (_): Define.
48186 [IS_IN_build] (_libc_intl_domainname): Likewise.
48188 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48191 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48192 and R_X86_64_TPOFF64.
48194 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48196 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48197 sysdeps/unix/sysv/syscalls.list.
48200 * sysdeps/unix/sysv/syscalls.list: Remove file.
48202 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48205 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48206 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48207 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48208 (__LC_IDENTIFICATION): Make these macros useful in #if
48209 expressions, as required by C99.
48211 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48213 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48214 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48217 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48219 * stdlib/longlong.h: Updated from GCC.
48221 2012-05-09 Andreas Jaeger <aj@suse.de>
48223 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48224 default is first entry.
48225 (run_mode): Set type.
48226 (main): Remove informal message about syslog.
48227 (options): Fix typo.
48230 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48233 (llrintf): Likewise.
48234 (llrint): Likewise.
48237 (nearbyint): Likewise.
48238 (nearbyintf): Likewise.
48240 2012-05-09 Andreas Jaeger <aj@suse.de>
48241 Pedro Alves <palves@redhat.com>
48243 * nscd/nscd.c (run_mode): Use enum.
48244 (main): Cleanup coding style issue.
48246 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
48247 Andreas Jaeger <aj@suse.de>
48249 * nscd/nscd.c (go_background): Replaced with...
48250 (run_mode): ... this.
48251 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48252 (options): Add -F --foreground.
48253 (main): Implement it.
48254 (parse_opt): Parse it.
48256 2012-05-09 Andreas Jaeger <aj@suse.de>
48259 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48260 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48261 -Wconversion warning.
48262 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48265 2012-05-09 Joseph Myers <joseph@codesourcery.com>
48267 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48269 (LC_ALL): Use macro-int-constant.
48270 (LC_COLLATE): Likewise.
48271 (LC_CTYPE): Likewise.
48272 (LC_MESSAGES): Likewise.
48273 (LC_MONETARY): Likewise.
48274 (LC_NUMERIC): Likewise.
48275 (LC_TIME): Likewise.
48276 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48277 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48278 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48279 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48281 [C99-based standards] (float_t): Expect type.
48282 [C99-based standards] (double_t): Expect type.
48283 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
48285 [C99-based standards] (HUGE_VALL): Likewise.
48286 [C99-based standards] (INFINITY): Likewise.
48287 [C99-based standards] (NAN): Likewise.
48288 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48289 [C99-based standards] (FP_NAN): Likewise.
48290 [C99-based standards] (FP_NORMAL): Likewise.
48291 [C99-based standards] (FP_SUBNORMAL): Likewise.
48292 [C99-based standards] (FP_ZERO): Likewise.
48293 [C99-based standards] (FP_FAST_FMA): Use
48294 optional-macro-int-constant. Specify type. Require == 1.
48295 [C99-based standards] (FP_FAST_FMAF): Likewise.
48296 [C99-based standards] (FP_FAST_FMAL): Likewise.
48297 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48298 [C99-based standards] (FP_ILOGBNAN): Likewise.
48299 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48301 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48302 [C99-based standards] (math_errhandling): Specify type.
48303 [ISO99 || ISO11] (signgam): Do not allow.
48304 [non-C99-based standards] (copysignf): Do not allow.
48305 [non-C99-based standards] (exp2f): Likewise.
48306 [non-C99-based standards] (log2f): Likewise.
48307 [non-C99-based standards] (modff): Allow.
48308 [non-C99-based standards] (erff): Do not allow.
48309 [non-C99-based standards] (erfcf): Likewise.
48310 [non-C99-based standards] (gammaf): Likewise.
48311 [non-C99-based standards] (hypotf): Likewise.
48312 [non-C99-based standards] (j0f): Likewise.
48313 [non-C99-based standards] (j1f): Likewise.
48314 [non-C99-based standards] (jnf): Likewise.
48315 [non-C99-based standards] (lgammaf): Likewise.
48316 [non-C99-based standards] (tgammaf): Likewise.
48317 [non-C99-based standards] (y0f): Likewise.
48318 [non-C99-based standards] (y1f): Likewise.
48319 [non-C99-based standards] (ynf): Likewise.
48320 [non-C99-based standards] (isnanf): Likewise.
48321 [non-C99-based standards] (acoshf): Likewise.
48322 [non-C99-based standards] (asinhf): Likewise.
48323 [non-C99-based standards] (atanhf): Likewise.
48324 [non-C99-based standards] (cbrtf): Likewise.
48325 [non-C99-based standards] (expm1f): Likewise.
48326 [non-C99-based standards] (ilogbf): Likewise.
48327 [non-C99-based standards] (log1pf): Likewise.
48328 [non-C99-based standards] (logbf): Likewise.
48329 [non-C99-based standards] (nextafterf): Likewise.
48330 [non-C99-based standards] (remainderf): Likewise.
48331 [non-C99-based standards] (rintf): Likewise.
48332 [non-C99-based standards] (scalbf): Likewise.
48333 [non-C99-based standards] (copysignl): Likewise.
48334 [non-C99-based standards] (exp2l): Likewise.
48335 [non-C99-based standards] (log2l): Likewise.
48336 [non-C99-based standards] (modfl): Allow.
48337 [non-C99-based standards] (erfl): Do not allow.
48338 [non-C99-based standards] (erfcl): Likewise.
48339 [non-C99-based standards] (gammal): Likewise.
48340 [non-C99-based standards] (hypotl): Likewise.
48341 [non-C99-based standards] (j0l): Likewise.
48342 [non-C99-based standards] (j1l): Likewise.
48343 [non-C99-based standards] (jnl): Likewise.
48344 [non-C99-based standards] (lgammal): Likewise.
48345 [non-C99-based standards] (tgammal): Likewise.
48346 [non-C99-based standards] (y0l): Likewise.
48347 [non-C99-based standards] (y1l): Likewise.
48348 [non-C99-based standards] (ynl): Likewise.
48349 [non-C99-based standards] (isnanl): Likewise.
48350 [non-C99-based standards] (acoshl): Likewise.
48351 [non-C99-based standards] (asinhl): Likewise.
48352 [non-C99-based standards] (atanhl): Likewise.
48353 [non-C99-based standards] (cbrtl): Likewise.
48354 [non-C99-based standards] (expm1l): Likewise.
48355 [non-C99-based standards] (ilogbl): Likewise.
48356 [non-C99-based standards] (log1pl): Likewise.
48357 [non-C99-based standards] (logbl): Likewise.
48358 [non-C99-based standards] (nextafterl): Likewise.
48359 [non-C99-based standards] (remainderl): Likewise.
48360 [non-C99-based standards] (rintl): Likewise.
48361 [non-C99-based standards] (scalbl): Likewise.
48362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48363 [non-C99-based standards] (FP_*): Do not allow.
48364 [C99-based standards] (FP_*): Change to
48365 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48366 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48368 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48369 (SIG_ERR): Likewise.
48370 [X/Open-based standards] (SIG_HOLD): Likewise.
48371 (SIG_IGN): Likewise.
48372 (SIGABRT): Use macro-int-constant. Specify type. Require
48374 (SIGFPE): Likewise.
48375 (SIGILL): Likewise.
48376 (SIGINT): Likewise.
48377 (SIGSEGV): Likewise.
48378 (SIGTER): Likewise.
48379 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48380 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48381 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48382 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48383 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48384 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48385 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48386 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48387 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48388 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48389 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48390 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48391 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48392 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48393 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48394 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48395 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48396 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48397 [X/Open-based standards] (SIGTRAP): Likewise.
48398 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48399 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48400 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48401 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48402 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48405 2012-05-08 Ian Wienand <ianw@vmware.com>
48408 * time/tzset.c (__tzset_parse_tz): Update default rules for
48409 daylight time changes in the Energy Policy Act of 2005.
48411 2012-05-09 Andreas Jaeger <aj@suse.de>
48414 * elf/ldconfig.c (parse_conf): Change string to make clear that
48415 ldconfig only issued a warning if ld.so.conf does not exist.
48417 2012-05-08 David S. Miller <davem@davemloft.net>
48419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48420 movxtod instead of popping the value on the stack.
48422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48424 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48426 * config.h.in: Add HAVE_ARM_PCS_VFP.
48428 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
48431 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48432 checking but the checks are disabled for any reason.
48434 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48436 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48437 and ELF64_R_TYPE with ELFW(R_TYPE).
48439 2012-05-08 Joseph Myers <joseph@codesourcery.com>
48441 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48442 (ulimit): Likewise.
48444 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48445 (settimeofday): Likewise.
48447 2012-05-08 Mike Frysinger <vapier@gentoo.org>
48449 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48450 a struct th_u2 inside the union, and move tu_block/tu_code into
48451 a new th_u3 union of tu_block/tu_code inside of that. Move
48452 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48453 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48454 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48455 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48456 (th_stuff): Change to th_u1.tu_stuff.
48458 (th_msg): Change to th_u1.th_u2.tu_data.
48460 2012-05-07 David S. Miller <davem@davemloft.net>
48462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48465 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48466 (SETUP_PIC_REG): Use it.
48467 (SETUP_PIC_REG_LEAF): Use it.
48469 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48473 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48475 (EXPL_FINITE): Likewise.
48476 (FLDLOG): Likewise.
48477 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48478 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48480 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48482 (EXPL_FINITE): Likewise.
48483 (FLDLOG): Likewise.
48484 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48485 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48487 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48488 test of -max_value argument for long double.
48489 * sysdeps/i386/fpu/libm-test-ulps: Update.
48490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48492 2012-05-06 David S. Miller <davem@davemloft.net>
48494 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48495 quad soft-float symbols whose references which are compiler
48497 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48499 2012-05-06 Joseph Myers <joseph@codesourcery.com>
48503 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48505 (EXPL_FINITE): Likewise.
48506 (FLDLOG): Likewise.
48509 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48510 Adjust comments for base varying.
48511 (__expl_finite): Change alias to EXPL_FINITE.
48512 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48514 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48515 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48516 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48517 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48518 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48520 (EXPL_FINITE): Likewise.
48521 (FLDLOG): Likewise.
48524 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48525 Adjust comments for base varying.
48526 (__expl_finite): Change alias to EXPL_FINITE.
48527 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48532 * math/libm-test.inc (check_float_internal): Correct ulp
48533 calculation for subnormal expected results.
48535 2012-05-06 Andreas Jaeger <aj@suse.de>
48537 * Makeconfig (+math-flags): New, set to -frounding-math.
48538 (+cflags): Add +math-flags so that all of glibc gets compiled with
48541 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48543 2012-05-05 Joseph Myers <joseph@codesourcery.com>
48545 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48551 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48552 (__ieee754_expl): Allow for and saturate large arguments.
48553 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48554 (u_threshold): Likewise.
48555 (__exp): Call __ieee754_exp before checking for overflow and
48557 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48558 (u_threshold): Likewise.
48559 (__expf): Call __ieee754_expf before checking for overflow and
48561 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48562 (u_threshold): Likewise.
48563 (__expl): Call __ieee754_expl before checking for overflow and
48565 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48566 (__ieee754_expl): Allow for and saturate large arguments.
48567 * math/libm-test.inc (exp_test): Add another test. Do not allow
48568 missing overflow exception on overflow.
48569 (expm1_test): Do not allow missing overflow exception on overflow.
48571 * sysdeps/i386/fpu/e_expl.c: Move to ...
48572 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48573 rather than using inline asm.
48574 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48575 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48576 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48578 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48581 (signal): Likewise.
48585 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48587 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48588 sysdeps/unix/common/syscalls.list.
48589 (fchmod): Likewise.
48590 (fchown): Likewise.
48591 (ftruncate): Likewise.
48592 (getrusage): Likewise.
48593 (gettimeofday): Likewise.
48594 (setpgid): Likewise.
48595 (setregid): Likewise.
48596 (setreuid): Likewise.
48597 (sigaction): Likewise.
48598 (truncate): Likewise.
48599 (vhangup): Likewise.
48600 * sysdeps/unix/common/syscalls.list: Remove file.
48601 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48602 * sysdeps/unix/sysv/linux/Implies: Likewise.
48604 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48606 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48608 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48612 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48615 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48618 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48621 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48624 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48627 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48630 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48634 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48638 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48641 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48645 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48649 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48651 * sysdeps/unix/common/bits/dirent.h: Remove file.
48652 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48654 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48655 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48656 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48657 * sysdeps/unix/bsd/isatty.c: Likewise.
48658 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48659 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48660 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48662 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48665 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48666 long double comparison inaccuracies.
48667 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48670 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48672 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48673 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48675 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48678 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48679 nonzero digits before rounding a hex value.
48680 * stdlib/tst-strtod.c (tests): Add another test.
48682 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48684 * sysdeps/s390/fpu/libm-test-ulps: Update.
48686 2012-05-03 Andreas Jaeger <aj@suse.de>
48688 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48689 does not get optimized out.
48690 (malloc_opt_barrier): New.
48692 2012-05-03 Andreas Jaeger <aj@suse.de>
48693 Roland McGrath <roland@hack.frob.com>
48695 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48696 intermediate file deletion.
48697 (generated): Add .symlist files.
48699 2012-05-03 Joseph Myers <joseph@codesourcery.com>
48702 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48703 Redirect under this condition.
48704 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48705 [__USE_GNU] (__dprintf_chk): Not under this condition.
48706 [__USE_GNU] (__vdprintf_chk): Likewise.
48707 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48708 under this condition.
48709 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48710 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48711 [__USE_XOPEN2K8] (vdprintf): Likewise.
48712 [__USE_GNU] (__dprintf_chk): Not under this condition.
48713 [__USE_GNU] (__vdprintf_chk): Likewise.
48714 [__USE_GNU] (dprintf): Likewise.
48715 [__USE_GNU] (vdprintf): Likewise.
48717 2012-05-03 Roland McGrath <roland@hack.frob.com>
48719 * elf/Makefile (common-generated): Set this instead of generated for
48720 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48721 $(all-built-dso)-derived lists.
48723 2012-05-03 Andreas Jaeger <aj@suse.de>
48725 * sysdeps/i386/fpu/libm-test-ulps: Update.
48728 * FAQ.in: Likewise.
48729 * scripts/gen-FAQ.pl: Likewise.
48730 * manual/install.texi (Installation): Point to online location of
48732 * Makefile (files-for-dist): Remove FAQ.
48735 2012-05-02 Allan McRae <allan@archlinux.org>
48737 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48738 (LDFLAGS-reldepmod5.so): Likewise.
48739 (LDFLAGS-reldep6mod1.so): Likewise.
48740 (LDFLAGS-reldep6mod4.so): Likewise.
48741 (LDFLAGS-reldep8mod3.so): Likewise.
48742 (LDFLAGS-unload4mod1.so): Likewise.
48743 (LDFLAGS-unload4mod2.so): Likewise.
48744 (LDFLAGS-tst-initorder): Likewise.
48745 (LDFLAGS-tst-initordera2.so): Likewise.
48746 (LDFLAGS-tst-initordera3.so): Likewise.
48747 (LDFLAGS-tst-initordera4.so): Likewise.
48748 (LDFLAGS-tst-initorderb2.so): Likewise.
48749 (LDFLAGS-noload): Likewise.
48750 (LDFLAGS-next): Likewise.
48751 (LDFLAGS-order2mod1.so): Likewise.
48752 (LDFLAGS-order2mod2.so): Likewise.
48753 (LDFLAGS-tst-initorder2): Likewise.
48754 (LDFLAGS-tst-initorder2a.so): Likewise.
48755 (LDFLAGS-tst-initorder2b.so): Likewise.
48756 (LDFLAGS-tst-initorder2c.so): Likewise.
48757 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48759 2012-05-02 David S. Miller <davem@davemloft.net>
48761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48763 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48766 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48768 2012-05-02 Andreas Jaeger <aj@suse.de>
48770 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48771 since we manipulate rounding mode.
48772 (CPPFLAGS-test-idouble.c): Likewise.
48773 (CPPFLAGS-test-ifloat.c): Likewise.
48774 (CFLAGS-test-ldouble.c): Likewise.
48775 (CFLAGS-test-double.c): Likewise.
48776 (CFLAGS-test-float.c): Likewise.
48777 (CFLAGS-test-misc.c): Likewise.
48778 (CFLAGS-test-test-fenv.c): Likewise.
48780 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48784 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48785 comparisons to determine direction to adjust input.
48787 2012-05-01 Roland McGrath <roland@hack.frob.com>
48789 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48790 output to the target.
48792 * scripts/localplt.awk: New file.
48793 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48794 (check-localplt-CFLAGS): Variable removed.
48795 ($(all-built-dso:=.jmprel)): New static pattern rule.
48796 (generated): Add those targets.
48797 (localplt-built-dso): New variable.
48798 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48800 * elf/check-localplt.c: File removed.
48802 * scripts/check-execstack.awk: New file.
48803 * elf/Makefile ($(objpfx)check-execstack): Target removed.
48804 (check-execstack-CFLAGS): Variable removed.
48805 ($(objpfx)check-execstack.h): Target removed.
48806 ($(objpfx)execstack-default): New target.
48807 (generated): Add that instead of check-execstack.h.
48808 ($(all-built-dso:=.phdr)): New static pattern rule.
48809 (generated): Add those targets.
48810 * elf/check-execstack.c: File removed.
48812 * scripts/check-textrel.awk: New file.
48813 * elf/Makefile ($(objpfx)check-textrel): Target removed.
48814 (check-textrel-CFLAGS): Variable removed.
48815 (all-built-dso): Use := to define.o
48816 ($(all-built-dso:=.dyn)): New static pattern rule.
48817 (generated): Add those targets.
48818 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48819 * config.make.in (READELF): New substituted variable.
48820 * elf/check-textrel.c: File removed.
48822 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48824 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48826 * conform/data/ctype.h-data [C99-based standards] (isblank):
48828 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48829 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48830 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48831 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48832 Specify type. Require positive value.
48833 (EILSEQ): Likewise.
48834 (ERANGE): Likewise.
48835 [ISO || POSIX] (EILSEQ): Do not expect.
48836 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48837 Specify type. Require positive value.
48838 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48839 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48840 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48841 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48842 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48843 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48844 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48845 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48846 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48847 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48848 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48849 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48850 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48851 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48852 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48853 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48854 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48855 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48856 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48857 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48858 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48859 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48860 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48861 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48862 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48863 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48864 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48865 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48866 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48867 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48868 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48869 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48870 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48871 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48872 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48873 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48874 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48875 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48876 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48877 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48878 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48879 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48880 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48881 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48882 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48883 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48884 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48885 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48886 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48887 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48888 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48889 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48890 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48891 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48892 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48893 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48894 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48895 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48896 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48897 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48898 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48899 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48900 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48901 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48902 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48903 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48904 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48905 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48906 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48907 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48908 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48909 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48910 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48911 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48912 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48913 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48914 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48916 (FLT_ROUNDS): Expect as macro, not constant.
48917 (FLT_MANT_DIG): Use macro-int-constant.
48918 (DBL_MANT_DIG): Likewise.
48919 (LDBL_MANT_DIG): Likewise.
48920 (FLT_DIG): Likewise.
48921 (DBL_DIG): Likewise.
48922 (LDBL_DIG): Likewise.
48923 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
48924 (DBL_MIN_EXP): Likewise.
48925 (LDBL_MIN_EXP): Likewise.
48926 (FLT_MAX_EXP): Use macro-int-constant.
48927 (DBL_MAX_EXP): Likewise.
48928 (LDBL_MAX_EXP): Likewise.
48929 (FLT_MAX_10_EXP): Likewise.
48930 (DBL_MAX_10_EXP): Likewise.
48931 (LDBL_MAX_10_EXP): Likewise.
48932 (FLT_MAX): Use macro-constant.
48933 (DBL_MAX): Likewise.
48934 (LDBL_MAX): Likewise.
48935 (FLT_EPSILON): Use macro-constant. Give upper bound.
48936 (DBL_EPSILON): Likewise.
48937 (LDBL_EPSILON): Likewise.
48938 (FLT_MIN): Likewise.
48939 (DBL_MIN): Likewise.
48940 (LDBL_MIN): Likewise.
48941 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48942 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48943 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48944 [ISO11] (FLT_HAS_SUBNORM): Likewise.
48945 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48946 [ISO11] (DBL_DECIMAL_DIG): Likewise.
48947 [ISO11] (FLT_DECIMAL_DIG): Likewise.
48948 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48949 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48950 [ISO11] (FLT_TRUE_MIN): Likewise.
48951 [ISO11] (LDBL_TRUE_MIN): Likewise.
48952 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48953 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48954 (SCHAR_MIN): Use macro-int-constant. Specify type.
48955 (SCHAR_MAX): Likewise.
48956 (UCHAR_MAX): Likewise.
48957 (CHAR_MIN): Likewise.
48958 (CHAR_MAX): Likewise.
48959 (MB_LEN_MAX): Use macro-int-constant.
48960 (SHRT_MIN): Use macro-int-constant. Specify type.
48961 (SHRT_MAX): Likewise.
48962 (USHRT_MAX): Likewise.
48963 (INT_MAX): Likewise.
48964 (INT_MIN): Use macro-int-constant. Specify type. Make upper
48966 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
48968 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48970 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
48971 bound negative. Suffix upper bound with "L".
48972 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48974 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48976 [C99-based standards] (LLONG_MAX): Likewise.
48977 [C99-based standards] (ULLONG_MAX): Likewise.
48978 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
48980 [ISO11] (max_align_t): Require type.
48981 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48983 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48984 from $CFLAGS, without defining away __attribute__ calls.
48985 (checknamespace): Use $CFLAGS_namespace.
48987 * conform/conformtest.pl (@keywords): Only include C99 keywords
48988 for standards based on C99 or C11.
48990 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48992 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48995 * conform/conformtest.pl: Handle "macro-int-constant" and test for
48996 usability of symbols in #if.
48998 * conform/conformtest.pl: If macro or constant types start
48999 "promoted:", expect the symbol to be of the following type
49000 promoted by the integer promotions.
49002 * conform/conformtest.pl: Parse all "constant" and "macro" lines
49003 in one place. Also handle "macro-constant".
49005 * conform/conformtest.pl: Only accept expected macro values with
49006 "==". Parse all "macro" lines in one place.
49007 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49009 * conform/conformtest.pl: Handle braced types on "constant" lines
49010 instead of handling "typed-constant".
49011 * conform/data/signal.h-data: Use "constant" instead of
49014 * conform/conformtest.pl: Handle "optional-" at start of lines in
49015 one place rather than duplicating several cases. Handle each
49016 format of "macro" line with initial "optional-".
49018 * conform/conformtest.pl: Only accept expected constant or
49019 optional-constant values with "==". Parse all "constant" lines in
49020 one place. Parse all "optional-constant" lines in one place.
49021 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49022 * conform/data/fmtmsg.h-data: Likewise.
49023 * conform/data/netinet/in.h-data: Likewise.
49024 * conform/data/tar.h-data: Likewise.
49025 * conform/data/limits.h-data: Use "==" form on "constant" and
49026 "optional-constant" lines.
49028 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49029 Use -std=c99 for XOPEN2K.
49030 (@knownproblems): Remove.
49031 (newtoken): Don't check %isknown.
49033 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49034 Do not expect macro.
49035 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49036 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49037 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49038 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49039 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49040 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49041 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49042 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49043 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49044 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49045 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49046 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49047 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49048 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49049 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49050 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49051 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49052 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49053 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49054 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49055 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49056 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49057 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49058 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49059 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49060 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49061 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49062 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49063 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49064 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49065 [XPG3] (acosh): Likewise.
49066 [XPG3] (asinh): Likewise.
49067 [XPG3] (atanh): Likewise.
49068 [XPG3] (cbrt): Likewise.
49069 [XPG3] (expm1): Likewise.
49070 [XPG3] (ilogb): Likewise.
49071 [XPG3] (log1p): Likewise.
49072 [XPG3] (logb): Likewise.
49073 [XPG3] (nextafter): Likewise.
49074 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49075 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49076 [XPG3] (remainder): Likewise.
49077 [XPG3] (rint): Likewise.
49078 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49079 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49080 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49081 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49082 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49083 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49084 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49085 [UNIX98 || XOPEN2K] (scalb): Expect.
49086 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49087 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49088 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49089 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49090 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49091 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49092 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49093 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49094 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49095 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49096 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49097 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49098 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49099 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49100 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49101 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49102 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49103 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49104 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49105 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49106 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49107 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49108 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49109 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49110 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49111 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49112 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49113 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49114 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49115 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49116 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49117 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49118 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49119 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49120 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49121 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49122 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49123 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49124 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49125 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49126 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49127 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49128 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49129 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49130 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49131 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49132 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49133 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49134 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49135 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49136 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49137 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49138 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49139 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49140 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49141 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49142 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49143 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49144 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49145 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49146 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49147 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49148 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49149 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49150 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49151 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49152 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49153 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49154 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49155 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49156 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49157 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49158 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49159 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49160 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49161 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49162 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49163 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49164 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49165 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49166 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49167 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49168 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49169 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49170 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49171 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49172 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49173 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49174 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49175 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49176 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49177 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49178 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49179 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49180 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49181 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49182 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49183 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49184 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49185 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49186 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49187 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49188 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49189 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49190 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49191 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49192 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49193 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49194 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49195 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49196 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49197 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49198 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49199 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49200 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49201 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49202 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49203 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49204 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49205 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49206 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49207 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49208 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49209 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49210 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49211 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49212 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49213 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49214 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49215 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49216 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49217 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49218 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49219 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49220 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49221 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49222 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49224 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49225 _XOPEN_SOURCE_EXTENDED for XPG4.
49227 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49229 * Makeconfig (localtime): Remove variable.
49230 (inst_localtime-file): Likewise.
49232 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49253 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49257 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49258 comparisons to determine direction to adjust input.
49259 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49260 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49261 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49263 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49265 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49267 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49268 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49270 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49272 * math/libm-test.inc (nexttoward_test): Add more tests.
49274 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49277 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49278 in version GLIBC_2.1, not GLIBC_2.0.
49279 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49282 2012-04-30 Joseph Myers <joseph@codesourcery.com>
49285 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49287 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49288 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49289 * math/libm-test.inc (acos_test): Add more tests.
49290 (asin_test): Likewise.
49291 * sysdeps/i386/fpu/libm-test-ulps: Update.
49292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49295 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49297 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49298 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49299 * math/libm-test.inc (acos_test_tonearest): New function.
49300 (acos_test_towardzero): Likewise.
49301 (acos_test_downward): Likewise.
49302 (acos_test_upward): Likewise.
49303 (asin_test_tonearest): Likewise.
49304 (asin_test_towardzero): Likewise.
49305 (asin_test_downward): Likewise.
49306 (asin_test_upward): Likewise.
49307 (main): Call the new functions.
49308 * sysdeps/i386/fpu/libm-test-ulps: Update.
49309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49313 * math/e_exp10.c: Include <float.h>.
49314 (__ieee754_exp10): Handle underflow here rather than multiplying
49315 large negative argument by M_LN10.
49316 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49318 * math/e_exp10l.c: Include <float.h>.
49319 (__ieee754_exp10l): Handle underflow here rather than multiplying
49320 large negative argument by M_LN10l.
49321 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49322 spurious overflow exception on underflow.
49324 2012-04-29 Marek Polacek <polacek@redhat.com>
49326 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49327 (__fortify_function): New macro.
49328 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49329 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49330 __extern_always_inline.
49331 * libio/bits/stdio2.h: Likewise.
49332 * libio/bits/stdio.h: Likewise.
49333 * string/string.h: Likewise.
49334 * string/bits/string3.h: Likewise.
49335 * include/stdio.h: Likewise.
49336 * stdlib/bits/stdlib.h: Likewise.
49337 * stdlib/stdlib.h: Likewise.
49338 * rt/bits/mqueue2.h: Likewise.
49339 * rt/mqueue.h: Likewise.
49340 * posix/bits/unistd.h: Likewise.
49341 * posix/unistd.h: Likewise.
49342 * io/bits/poll2.h: Likewise.
49343 * io/bits/fcntl2.h: Likewise.
49344 * io/fcntl.h: Likewise.
49345 * io/sys/poll.h: Likewise.
49346 * misc/bits/syslog.h: Likewise.
49347 * misc/bits/syslog-ldbl.h: Likewise.
49348 * misc/sys/syslog.h: Likewise.
49349 * socket/bits/socket2.h: Likewise.
49350 * socket/sys/socket.h: Likewise.
49351 * debug/tst-chk1.c: Likewise.
49352 * wcsmbs/bits/wchar2.h: Likewise.
49353 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49354 * wcsmbs/wchar.h: Likewise.
49356 2012-04-29 Andreas Jaeger <aj@suse.de>
49358 * Makerules (tests): Remove enable-check-abi protection.
49359 (check-abi-warn): Remove.
49360 (check-abi-%): Remove check-abi-warn usage.
49362 * configure.in: Remove check-abi configure option.
49363 * configure: Regenerated.
49364 * config.make.in (enable-check-abi): Remove.
49366 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49369 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49370 double functions to double *_finite functions.
49373 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49374 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49376 * stdio-common/Makefile (tests): Add tst-sprintf3.
49377 * stdio-common/tst-sprintf3.c: New file.
49379 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49380 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49382 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49384 * conform/conformtest.pl: Remove duplicate typed-constant
49387 2012-04-28 David S. Miller <davem@davemloft.net>
49389 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49390 (check-abi-%): Remove AWK script prerequisite and explicit
49392 (check-abi): Rewrite to just diff the symlist with the abilist.
49393 (config-tls, config-abi-config): Delete, no longer used.
49394 (update-abi-%): Remove AWK script and explicit abilist directory.
49395 (update-abi): Rewrite to simply compare and conditionally copy the
49396 symlist and the sysdep abilist file. Remove update-abi-config
49398 * abilist/ld.abilist: Remove.
49399 * abilist/libBrokenLocale.abilist: Remove.
49400 * abilist/libanl.abilist: Remove.
49401 * abilist/libcrypt.abilist: Remove.
49402 * abilist/libdl.abilist: Remove.
49403 * abilist/librt.abilist: Remove.
49404 * abilist/libthread_db.abilist: Remove.
49405 * abilist/libutil.abilist: Remove.
49406 * scripts/extract-abilist.awk: Remove.
49407 * scripts/merge-abilist.awk: Remove.
49408 * sysdeps/generic/libcidn.abilist: New file.
49409 * sysdeps/generic/libnss_compat.abilist: New file.
49410 * sysdeps/generic/libnss_db.abilist: New file.
49411 * sysdeps/generic/libnss_dns.abilist: New file.
49412 * sysdeps/generic/libnss_files.abilist: New file.
49413 * sysdeps/generic/libnss_hesiod.abilist: New file.
49414 * sysdeps/generic/libnss_nis.abilist: New file.
49415 * sysdeps/generic/libnss_nisplus.abilist: New file.
49416 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49417 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49418 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49420 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49421 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49422 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49423 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49424 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49425 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49426 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49427 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49428 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49430 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49431 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49432 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49433 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49435 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49436 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49437 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49438 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49439 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49440 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49442 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49443 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49444 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49446 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49549 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49550 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49551 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49553 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49554 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49555 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49556 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49557 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49558 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49559 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49560 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49561 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49562 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49614 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49616 * conform/conformtest.pl: Fix typo in handling typed-constant from
49619 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49621 * README: Cut down references to pre-2.6 Linux kernels and
49622 Linuxthreads. Update lists of configurations in libc and ports
49623 and sort alphabetically. Say "or newer" with Linux kernel version
49626 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49628 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49631 * math/libm-test.inc (logb_test_downward): New test to expose
49632 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49635 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49638 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49640 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49641 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49643 2012-04-26 Joseph Myers <joseph@codesourcery.com>
49645 * sysdeps/unix/i386/brk.S: Remove file.
49646 * sysdeps/unix/i386/dl-brk.S: Likewise.
49647 * sysdeps/unix/i386/pipe.S: Likewise.
49648 * sysdeps/unix/i386/sigreturn.S: Likewise.
49649 * sysdeps/unix/i386/syscall.S: Likewise.
49650 * sysdeps/unix/i386/vfork.S: Likewise.
49651 * sysdeps/unix/i386/wait.S: Likewise.
49653 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49654 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49656 * configure.in (arm*-none*): Do not allow without
49657 --enable-hacker-mode.
49658 (netbsd*): Remove case setting base_os.
49659 (386bsd*): Likewise.
49660 (freebsd*): Likewise.
49663 (sunos*): Likewise.
49664 (ultrix*): Likewise.
49665 (newsos*): Likewise.
49666 (dynix*): Likewise.
49672 (minix*): Likewise.
49673 (irix4*): Likewise.
49674 (irix6*): Likewise.
49675 (solaris[2-9]*): Likewise.
49677 * configure: Regenerated.
49679 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49682 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49683 overflow or cancellation in calculating denominator.
49684 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49685 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49686 down expression to avoid unexpected rounding in newer GCCs.
49687 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49689 2012-04-26 David S. Miller <davem@davemloft.net>
49691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49692 long-double compat symbols.
49693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49707 2012-04-25 David S. Miller <davem@davemloft.net>
49709 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49710 HWCAP_* values only after the memory barriers have been defined.
49711 (atomic_full_barrier): Define.
49712 (atomic_read_barrier): Define.
49713 (atomic_write_barrier): Define.
49715 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49717 * shlib-versions: Add libgcc_s version information.
49718 * sysdeps/generic/libgcc_s.h: Remove.
49719 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49721 * sysdeps/gnu/unwind-resume.c: Likewise.
49722 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49724 2012-04-25 David S. Miller <davem@davemloft.net>
49726 * sysdeps/unix/sparc/brk.S: Delete.
49727 * sysdeps/unix/sparc/dl-brk.S: Delete.
49728 * sysdeps/unix/sparc/pipe.S: Delete.
49729 * sysdeps/unix/sparc/sysdep.S: Delete.
49730 * sysdeps/unix/sparc/sysdep.h: Delete.
49731 * sysdeps/unix/sparc/vfork.S: Delete.
49732 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49733 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49734 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49735 (ret_ERRVAL, r0, r1, MOVE): Define.
49736 (JUMPTARGET): Remove.
49737 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49738 sysdeps/unix/sparc/sysdep.h
49739 (ENTRY, END): Remove.
49740 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49742 2012-04-25 Joseph Myers <joseph@codesourcery.com>
49744 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49745 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49748 * timezone/README: Update upstream location and email address for
49750 * timezone/zdump.c: Update from tzcode 2012b.
49751 * timezone/zic.c: Likewise.
49753 * configure.in (libc_cv_as_needed): Remove test.
49754 * configure: Regenerated.
49755 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49756 conditional definition.
49757 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49758 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49759 * config.make.in (have-as-needed): Remove variable.
49761 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49762 Paul Pluzhnikov <ppluzhnikov@google.com>
49764 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49767 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49769 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49770 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49771 * sysdeps/sh/strlen.S: Likewise.
49773 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49775 * sysdeps/unix/fork.S: Remove file.
49776 * sysdeps/unix/i386/fork.S: Likewise.
49777 * sysdeps/unix/sparc/fork.S: Likewise.
49779 * sysdeps/unix/system.c: Remove file.
49780 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49782 * sysdeps/unix/getegid.S: Remove file.
49783 * sysdeps/unix/geteuid.S: Likewise.
49785 2012-04-24 Roland McGrath <roland@hack.frob.com>
49787 * scripts/check-localplt.awk: New file.
49788 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49790 * scripts/data/localplt-generic.data: Add a comment.
49792 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49793 NODE when __dir_mkfile failed.
49794 * sysdeps/mach/hurd/symlinkat.c: Likewise.
49795 Reported by Ludovic Courtès <ludo@gnu.org>.
49797 2012-04-24 Andreas Jaeger <aj@suse.de>
49799 * Makerules (common-clean): Also remove gen-as-const-headers
49802 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49804 * Makerules (native-compile): Do not change working directory for
49805 build. Use $(OUTPUT_OPTION) in command.
49806 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49808 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49811 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49812 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49813 * math/libm-test.inc (floor_test): Add more tests.
49814 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49816 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49818 * sysdeps/unix/getdents.c: Remove file.
49819 * sysdeps/unix/sysv/getdents.c: Likewise.
49820 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49822 * sysdeps/unix/syscalls.list (madvise): Add syscall from
49823 sysdeps/unix/mman/syscalls.list.
49825 (mprotect): Likewise.
49827 (munmap): Likewise.
49828 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49829 * sysdeps/unix/mman/syscalls.list: Remove.
49830 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49832 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49833 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49834 * configure: Regenerated.
49835 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49836 $(libgcc_s_suffix).
49837 * config.make.in (libgcc_s_suffix): Remove variable.
49839 2012-04-23 Joseph Myers <joseph@codesourcery.com>
49841 * sysdeps/unix/sysv/gethostname.c: Move to ...
49842 * sysdeps/posix/gethostname.c: ... here.
49844 * sysdeps/unix/execve.S: Remove file.
49846 * sysdeps/unix/_exit.S: Remove file.
49848 2012-04-23 Andreas Jaeger <aj@suse.de>
49851 * manual/Makefile: Remove make dist support, there's no
49852 need for a stand-alone documentation tar ball.
49853 (TEXI2DVI): Define always, it's not in Makeconfig.
49856 (edition): Removed.
49857 (glibc-doc-$(edition).tar): Removed
49861 (ETAGS): Remove, it's in Makeconfig.
49862 (move-if-change): Remove, it's in Makeconfig.
49864 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
49867 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49868 (strtod, strtof, strtold, strtol, strtoul, strtoq)
49869 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49870 (strtod_l, strtof_l, strtold_l): Remove __wur.
49871 It is not necessarily an error to ignore strtol's return value.
49872 One can reliably look at the stored endptr to decide whether
49873 the number had valid syntax.
49875 2012-04-21 Andreas Jaeger <aj@suse.de>
49878 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49880 2012-04-21 Joseph Myers <joseph@codesourcery.com>
49882 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49883 * sysdeps/unix/sysv/Versions: Remove file.
49885 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
49888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49890 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
49893 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49894 version from __vm86.
49896 2012-04-20 Joseph Myers <joseph@codesourcery.com>
49898 * sysdeps/unix/common/lxstat.c: Remove file.
49899 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49901 * sysdeps/unix/sysv/Makefile: Remove file.
49903 * sysdeps/unix/sysv/direct.h: Remove file.
49905 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49906 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49907 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49908 * sysdeps/unix/sysv/bits/signum.h: Likewise.
49909 * sysdeps/unix/sysv/bits/stat.h: Likewise.
49910 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49911 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49913 * sysdeps/unix/sysv/setrlimit.c: Remove file.
49915 * sysdeps/unix/xmknod.c: Remove file.
49916 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49918 * sysdeps/unix/sysv/settimeofday.c: Remove file.
49920 * sysdeps/unix/sysv/i386/time.S: Remove file.
49922 * sysdeps/unix/fxstat.c: Remove file.
49923 * sysdeps/unix/xstat.c: Likewise.
49924 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49926 * sysdeps/unix/sysv/sigaction.c: Remove file.
49928 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49929 (sysdep_headers): Remove variable.
49930 [termio.h not in sysdep_headers] (generated): Likewise.
49931 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49932 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49933 * sysdeps/unix/sysv/tcdrain.c: Likewise.
49934 * sysdeps/unix/sysv/tcflow.c: Likewise.
49935 * sysdeps/unix/sysv/tcflush.c: Likewise.
49936 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49937 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49938 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49939 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49940 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49942 * sysdeps/unix/siglist.c: Remove file.
49944 * sysdeps/unix/getppid.S: Remove file.
49946 * sysdeps/unix/mkdir.c: Remove file.
49947 * sysdeps/unix/rmdir.c: Likewise.
49949 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
49951 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49953 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49954 errlist-compat value.
49956 2012-04-18 David S. Miller <davem@davemloft.net>
49958 * sysdeps/generic/memcopy.h (reg_char): Delete.
49959 * debug/strcat_chk.c: Use char, not reg_char.
49960 * debug/strcpy_chk.c: Likewise.
49961 * debug/strncat_chk.c: Likewise.
49962 * debug/strncpy_chk.c: Likewise.
49963 * string/memchr.c: Likewise.
49964 * string/memrchr.c: Likewise.
49965 * string/rawmemchr.c: Likewise.
49966 * string/strcat.c: Likewise.
49967 * string/strchr.c: Likewise.
49968 * string/strchrnul.c: Likewise.
49969 * string/strcmp.c: Likewise.
49970 * string/strcpy.c: Likewise.
49971 * string/strncat.c: Likewise.
49972 * string/strncmp.c: Likewise.
49973 * string/strncpy.c: Likewise.
49975 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49977 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49978 __builtin_memcopy is called when src and dest ranges are known to not
49981 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49983 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49984 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49985 fwd_align_merge macro call.
49986 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49987 bwd_align_merge macro call.
49988 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49990 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49992 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49993 bwd_align_merge macros.
49994 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49995 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49996 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49998 2012-04-18 David S. Miller <davem@davemloft.net>
50000 * sysdeps/sparc/sparc64/memcopy.h: Delete.
50002 2012-04-18 Andreas Jaeger <aj@suse.de>
50005 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50006 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50007 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50009 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50010 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50011 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50013 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50014 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50015 Adjust for changed ldbl-128 files.
50017 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50018 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50019 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50021 2012-04-17 David S. Miller <davem@davemloft.net>
50023 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50025 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50027 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50028 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50029 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50030 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50031 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50032 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50034 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50037 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50038 * math/libm-test.inc: Add ilogb errno and exception tests.
50039 * math/w_ilogb.c: New file: ilogb wrapper.
50040 * math/w_ilogbf.c: New file: ilogbf wrapper.
50041 * math/w_ilogbl.c: New file: ilogbl wrapper.
50042 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50043 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50044 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50045 exception being thrown with 0.0 as argument.
50046 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50047 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50048 exception being thrown with 0.0 as argument.
50049 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50050 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50051 exception being thrown with 0.0 as argument.
50052 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50053 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50054 exception being thrown with 0.0 as argument.
50055 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50056 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50057 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50058 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50059 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50060 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50061 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50062 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50063 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50065 2012-04-17 Petr Baudis <pasky@ucw.cz>
50067 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50070 2012-04-16 Marek Polacek <polacek@redhat.com>
50072 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50074 2012-04-16 Marek Polacek <polacek@redhat.com>
50076 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50077 operands of fdivp instruction.
50079 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50081 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50082 * elf/tst-auditmod3b.c: Likewise.
50083 * elf/tst-auditmod4b.c: Likewise.
50084 * elf/tst-auditmod5b.c: Likewise.
50085 * elf/tst-auditmod6b.c: Likewise.
50086 * elf/tst-auditmod6c.c: Likewise.
50087 * elf/tst-auditmod7b.c: Likewise.
50088 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50089 * sysdeps/x86_64/preconfigure.in: Likewise.
50090 * sysdeps/x86_64/preconfigure: Regenerated.
50092 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50094 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50097 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
50099 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50100 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50102 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50105 * locale/iso-639.def: Fix gl language name. Spotted by
50108 2012-04-12 Roland McGrath <roland@hack.frob.com>
50111 * libio/libio.h (__io_write_fn): Update comment.
50113 2012-04-12 Petr Baudis <pasky@ucw.cz>
50116 * stdio.texi (Hook Functions): The user provided writer function
50117 is not allowed to return -1.
50119 2012-04-11 David S. Miller <davem@davemloft.net>
50121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50123 2012-04-11 Mike Frysinger <vapier@gentoo.org>
50125 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50126 Add a leading slash to rtkaio.
50128 2012-04-11 Jim Meyering <meyering@redhat.com>
50131 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50132 It is not necessarily an error to ignore fwrite's return
50133 value. One can reliably use ferror to test for errors after
50136 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50138 * bits/types.h (__snseconds_t): New type.
50139 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50141 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50142 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50143 (__SNSECONDS_T_TYPE): Likewise.
50144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50145 (__SNSECONDS_T_TYPE): Likewise.
50146 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50147 (__SNSECONDS_T_TYPE): Likewise.
50149 2012-04-10 Andreas Jaeger <aj@suse.de>
50152 * manual/time.texi (Processor Time): Return type of times is
50153 elapsed real time since an arbitrary point in the past.
50154 (CPU Time): Move CLK_TCK from here...
50155 (Processor Time): ...to here. Correct description.
50156 * manual/conf.texi (Constants for Sysconf): Correct description of
50159 2012-04-10 David S. Miller <davem@davemloft.net>
50162 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50163 where the is a gap between DT_REL(A) and DT_JMPREL.
50165 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50167 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50168 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50169 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50171 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50173 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50174 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50175 (dl_main): Handle --inhibit-cache.
50176 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50178 * elf/dl-load.c (_dl_map_object): Use it.
50179 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50181 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50184 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50185 (__ieee754_powl): Saturate large exponents rather than testing for
50186 overflow of y*log2(x).
50187 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50188 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50192 * math/s_ctan.c: Include <float.h>.
50193 (__ctan): Avoid internal overflow or cancellation in calculating
50195 * math/s_ctanf.c: Likewise.
50196 * math/s_ctanl.c: Likewise.
50197 * math/s_ctanh.c: Likewise.
50198 * math/s_ctanhf.c: Likewise.
50199 * math/s_ctanhl.c: Likewise.
50200 * math/libm-test.inc (ctan_test): Add more tests.
50201 (ctanh_test): Likewise.
50202 * sysdeps/i386/fpu/libm-test-ulps: Update.
50203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50205 2012-04-09 Andreas Jaeger <aj@suse.de>
50208 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50209 is an optional BSD extension.
50212 * manual/stdio.texi (Opening Streams): Document additional fopen
50215 2012-04-09 Roland McGrath <roland@hack.frob.com>
50217 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50218 %eax without telling the compiler.
50220 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50223 * manual/install.texi: Use sourceware.org.
50225 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50228 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50229 (__ieee754_pow): Generate overflow and underflow using huge*huge
50230 and tiny*tiny rather than just returning constant infinity or zero
50231 for large exponents.
50232 * math/libm-test.inc (pow_test): Require overflow exceptions for
50233 applicable cases of large exponents.
50236 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50237 (__ieee754_pow): Use iterative multiplication algorithm only for
50238 integer exponents with absolute value below 1024. Check for odd
50239 integer exponents when using algorithm for real exponents.
50240 * math/libm-test.inc (pow_test): Add more tests.
50241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50243 2012-04-08 Joseph Myers <joseph@codesourcery.com>
50246 * math/libm-test.inc (exp_test): Do not allow overflow exception
50249 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50252 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50253 instead of __kernel_standard_f.
50255 2012-04-08 Mike Frysinger <vapier@gentoo.org>
50257 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50258 * sysdeps/x86_64/memset_chk.S: Likewise.
50260 2012-04-08 Andreas Jaeger <aj@suse.de>
50263 * manual/startup.texi (Environment Access): Describe return value
50264 for putenv and setenv.
50267 * manual/filesys.texi (Directory Entries): Add description for
50271 * manual/filesys.texi (Directory Entries): Clarify that it's file
50272 system not operating system in the description of DT_UNKNOWN.
50275 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50277 2012-04-08 Stephen Compall <s11@member.fsf.org>
50280 * manual/llio.texi (Opening and Closing Files): Add cross
50281 reference to explain mode argument.
50283 2012-04-07 Mike Frysinger <vapier@gentoo.org>
50285 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50286 * sysdeps/x86_64/memset_chk.S: Likewise.
50288 2012-04-07 David S. Miller <davem@davemloft.net>
50290 * elf/elf.h (R_SPARC_WDISP10): Define.
50291 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50293 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50294 R_SPARC_SIZE64 and R_SPARC_H34.
50296 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50298 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50299 conditions and remove no longer applicable assertion.
50301 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50303 * bits/byteswap.h: Include <features.h>.
50304 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50305 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50307 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50309 * bits/byteswap.h (__bswap_16): Removed.
50310 Include <bits/byteswap-16.h> to get __bswap_16.
50311 * sysdeps/i386/bits/byteswap.h: Likewise.
50312 * sysdeps/s390/bits/byteswap.h: Likewise.
50313 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50314 * bits/byteswap-16.h: New file.
50315 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50316 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50317 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50318 * string/Makefile (headers): Add bits/byteswap-16.h.
50320 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50323 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50325 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50326 * nss/tst-nss-static.c: New.
50328 2012-04-06 Robert Millan <rmh@gnu.org>
50331 * manual/llio.texi (File Position Primitive): lseek
50332 refers to WHENCE when it really means OFFSET.
50334 2012-04-06 Andreas Jaeger <aj@suse.de>
50336 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50337 strncmp declarations.
50339 * abilist/libc.abilist: Add __poll and __ppoll.
50341 2012-04-05 David S. Miller <davem@davemloft.net>
50343 * scripts/check-local-headers.sh: Accept a host triplet in the
50344 path matched by the exclude regexp.
50346 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50348 * sysdeps/powerpc/powerpc32/dl-machine.h
50349 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50350 * sysdeps/s390/s390-32/dl-machine.h
50351 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50352 * sysdeps/sparc/sparc32/dl-machine.h
50353 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50354 * sysdeps/sparc/sparc64/dl-machine.h
50355 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50357 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50359 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50360 undefined symbol errors.
50362 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50365 2012-04-05 Michael Matz <matz@suse.de>
50368 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50370 2012-04-05 Andreas Jaeger <aj@suse.de>
50373 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50376 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50378 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50379 which ROUND is no valid rounding mode.
50381 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50383 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50385 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50387 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50389 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50390 an exception using FPU order intentionally.
50392 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50394 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50395 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50396 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50397 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50399 2012-04-05 Simon Josefsson <simon@josefsson.org>
50402 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50403 EINVAL when BUFLEN is too smal.
50405 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50408 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50409 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50411 2012-04-03 Andreas Jaeger <aj@suse.de>
50414 * manual/setjmp.texi (System V contexts): Fix sentence.
50417 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50418 New macro for this case.
50419 [!__GNUC__] (__bswap_64): New inline function for this case.
50420 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50421 * bits/byteswap.h: Likewise.
50422 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50423 ull, guard with __GLIBC_HAVE_LONG_LONG.
50425 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50426 __GLIBC_HAVE_LONG_LONG.
50428 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50429 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50431 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50434 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50435 inptr and inend, rather than using last_ch.
50437 2012-04-02 David S. Miller <davem@davemloft.net>
50439 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50440 * stdio-common/printf-parse.h (read_int): Change return type to
50441 'int', return -1 on INT_MAX overflow.
50442 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50443 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50444 overflows INT_MAX. Check for overflow of in-format-string precision
50445 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50446 SIZE_MAX not INT_MAX for integer overflow test.
50447 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50448 skip the construct in the format string but do not record anything.
50449 * stdio-common/bug22.c: Adjust to test both width/prevision
50450 INT_MAX overflow as well as total length INT_MAX overflow. Check
50451 explicitly for proper errno values.
50453 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50455 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50457 * string/test-strcmp.c [! WIDE]: Likewise.
50458 * time/tst-mktime2.c: Likewise for INT_MAX.
50459 * string/test-string.h: #include <sys/param.h> for MIN.
50461 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50462 * sysdeps/i386/init-first.c (init): Likewise.
50463 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50464 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50465 * sysdeps/sh/init-first.c (init): Likewise.
50467 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50469 * po/ru.po: Update from translation team.
50470 * po/vi.po: Likewise.
50472 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50474 * resolv/nss_dns/dns-host.c: Merge copyright years.
50476 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50478 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50479 Optimize memcpy with prefetch if
50480 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50481 src, dst pointers have unequal 16 byte alignments.
50483 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50486 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50487 from a CNAME entry and return the minimum ttl for the query.
50488 (gaih_getanswer_slice): Likewise.
50490 2012-03-30 Jeff Law <law@redhat.com>
50492 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50494 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50495 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50497 * resolv/nss_dns/dns-host.c: Update copyright year.
50499 2012-03-30 Ulrich Drepper <drepper@gmail.com>
50501 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50502 requests to save a system call. Fix check that all bytes are sent.
50504 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50505 comments for sendmmsg.
50507 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50510 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50511 with only 1 character between 0x0041 and 0x01b0.
50512 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50513 * wcsmbs/tst-mbsnrtowcs.c: New file.
50515 2012-03-29 David S. Miller <davem@davemloft.net>
50517 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50518 small copies by hand.
50520 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50523 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50524 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50527 2012-03-28 David S. Miller <davem@davemloft.net>
50529 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50530 that branches into memcpy.
50531 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50532 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50534 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50535 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50537 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50538 implementation too.
50539 * sysdeps/sparc/mempcpy.S: New file.
50541 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50542 the IFUNC routine in the libc case.
50543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50545 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50546 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50547 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50548 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50549 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50550 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50551 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50552 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50554 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50555 loop to 256 bytes instead of 64 bytes and fix test signedness.
50557 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50558 * sysdeps/sparc/sparc32/Makefile: rather than here...
50559 * sysdeps/sparc/sparc64/Makefile: and here.
50561 2012-03-28 Ulrich Drepper <drepper@gmail.com>
50563 * malloc/mallocbug.c: Avoid warnings about unused variables.
50565 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50568 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50569 in the right place. Discard and retry query if response is
50570 larger than input buffer size.
50572 2012-03-28 Joseph Myers <joseph@codesourcery.com>
50577 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50578 x for large integer exponent.
50579 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50580 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50581 sign of result as needed afterwards.
50582 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50583 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50584 result for underflowing pow the same as for overflow.
50585 (__kernel_standard_l): Handle powl overflow and underflow here
50586 rather than calling __kernel_standard.
50587 * math/libm-test.inc (pow_test): Add more tests.
50602 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50603 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50604 (__kernel_standard_l): New function.
50605 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50607 * math/w_acosl.c (__acosl): Likewise.
50608 * math/w_asinl.c (__asinl): Likewise.
50609 * math/w_atan2l.c (__atan2l): Likewise.
50610 * math/w_atanhl.c (__atanhl): Likewise.
50611 * math/w_coshl.c (__coshl): Likewise.
50612 * math/w_exp10l.c (__exp10l): Likewise.
50613 * math/w_exp2l.c (__exp2l): Likewise.
50614 * math/w_fmodl.c (__fmodl): Likewise.
50615 * math/w_hypotl.c (__hypotl): Likewise.
50616 * math/w_j0l.c (__j0l, __y0l): Likewise.
50617 * math/w_j1l.c (__j1l, __y1l): Likewise.
50618 * math/w_jnl.c (__jnl, __ynl): Likewise.
50619 * math/w_lgammal.c (__lgammal): Likewise.
50620 * math/w_log10l.c (__log10l): Likewise.
50621 * math/w_log2l.c (__log2l): Likewise.
50622 * math/w_logl.c (__logl): Likewise.
50623 * math/w_powl.c (__powl): Likewise.
50624 * math/w_remainderl.c (__remainderl): Likewise.
50625 * math/w_scalbl.c (sysv_scalbl): Likewise.
50626 * math/w_sinhl.c (__sinhl): Likewise.
50627 * math/w_sqrtl.c (__sqrtl): Likewise.
50628 * math/w_tgammal.c (__tgammal): Likewise.
50629 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50630 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50631 * math/libm-test.inc (acos_test): Add more tests.
50632 (acosh_test): Likewise.
50633 (asin_test): Likewise.
50634 (atanh_test): Likewise.
50635 (exp_test): Likewise.
50636 (exp10_test): Likewise.
50637 (exp2_test): Likewise.
50638 (expm1_test): Likewise.
50639 (lgamma_test): Likewise.
50640 (log_test): Likewise.
50641 (log10_test): Likewise.
50642 (log1p_test): Likewise.
50643 (log2_test): Likewise.
50644 (pow_test): Do not allow some spurious overflow exceptions.
50645 (sqrt_test): Add more tests.
50646 (tgamma_test): Likewise.
50647 (y0_test): Likewise.
50648 (y1_test): Likewise.
50649 (yn_test): Likewise.
50651 2012-03-27 Anton Blanchard <anton@samba.org>
50653 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50655 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50656 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50657 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50659 2012-03-27 David S. Miller <davem@davemloft.net>
50661 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50663 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50664 have-as-vis3 check.
50666 2012-03-27 Andreas Jaeger <aj@suse.de>
50668 * sysdeps/x86_64/elf/configure.in: Moved to ...
50669 * sysdeps/x86_64/configure.in: ... here.
50670 * sysdeps/x86_64/elf/start.S: Moved to ...
50671 * sysdeps/x86_64/start.S: ... here.
50672 * sysdeps/x86_64/elf/configure: Delete.
50674 * sysdeps/x86_64/configure.in: Merge contents from
50675 sysdeps/i386/configure.in (without i686 check).
50677 * sysdeps/i386/elf/Versions: Merge into ...
50678 * sysdeps/i386/Versions: ... this.
50679 * sysdeps/i386/elf/Versions: Delete file.
50680 * sysdeps/i386/elf/start.S: Moved to ...
50681 * sysdeps/i386/start.S: ...here.
50682 * sysdeps/i386/elf/configure.in: Merge into...
50683 * sysdeps/i386/configure.in: ...here.
50684 * sysdeps/i386/elf/configure.in: Delete file.
50685 * sysdeps/i386/elf/configure: Delete file.
50687 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50688 * debug/backtracesyms.c: ... here.
50689 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50690 * debug/backtracesymsfd.c: ... here.
50691 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50692 * sysdeps/generic/ifunc-sel.h: ... here.
50694 * sysdeps/unix/i386/start.c: Delete file.
50695 * sysdeps/unix/sparc/start.c: Delete file.
50696 * sysdeps/unix/start.c: Delete file.
50698 * sysdeps/sh/elf/configure.in: Moved to ...
50699 * sysdeps/sh/configure.in: ... here.
50700 * sysdeps/sh/elf/start.S: Moved to ...
50701 * sysdeps/sh/start.S: ... here.
50702 * sysdeps/sh/elf/configure: Delete file.
50704 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50705 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50706 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50707 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50708 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50709 * sysdeps/powerpc/powerpc64/start.S: here.
50710 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50711 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50712 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50713 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50714 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50716 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50717 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50718 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50719 * sysdeps/powerpc/powerpc32/start.S: ... here.
50720 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50721 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50722 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50724 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50725 * sysdeps/powerpc/ifunc-sel.h: ... here.
50726 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50727 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50729 * sysdeps/sparc/elf/configure.in: Moved to ...
50730 * sysdeps/sparc/configure.in: ... here.
50731 * sysdeps/sparc/elf/configure: Delete file.
50732 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50733 * sysdeps/sparc/sparc32/start.S: ... here.
50734 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50735 * sysdeps/sparc/sparc64/start.S: ... here.
50736 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50737 * sysdeps/sparc/sparc32/Makefile: ... this.
50738 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50739 * sysdeps/sparc/sparc64/Makefile: ... this.
50741 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50742 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50743 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50744 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50745 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50746 * sysdeps/s390/s390-32/setjmp.S: ... here.
50747 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50748 * sysdeps/s390/s390-32/configure.in: ... here.
50749 * sysdeps/s390/s390-32/elf/configure: Delete file.
50750 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50751 * sysdeps/s390/s390-32/start.S: ... here.
50753 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50754 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50755 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50756 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50757 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50758 * sysdeps/s390/s390-64/setjmp.S: ... here.
50759 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50760 * sysdeps/s390/s390-64/configure.in: ... here
50761 * sysdeps/s390/s390-64/elf/configure: Delete file.
50762 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50763 * sysdeps/s390/s390-64/start.S: ... here.
50764 * sysdeps/s390/s390-64/elf/configure: Delete.
50766 * configure.in: Remove support for elf directories in sysdeps.
50768 * configure: Regenerated.
50769 * sysdeps/i386/configure: Regenerated.
50770 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50771 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50772 * sysdeps/s390/s390-32/configure: Regenerated.
50773 * sysdeps/s390/s390-64/configure: Regenerated.
50774 * sysdeps/sh/configure: Regenerated.
50775 * sysdeps/sparc/configure: Regenerated.
50776 * sysdeps/x86_64/configure: Regenerated.
50778 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50782 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50783 denormal result into account.
50785 2012-03-25 Roland McGrath <roland@hack.frob.com>
50787 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50788 Reported by Allan McRae <allan@archlinux.org>.
50790 2012-03-23 Jeff Law <law@redhat.com>
50792 * nss/getnssent.c (__nss_getent): Fix typo.
50794 2012-03-23 David S. Miller <davem@davemloft.net>
50796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50798 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
50800 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50801 to pad to uint64_t for each field.
50802 (dl_tls_index): Replace unsigned long with uint64_t.
50804 2012-03-23 Daniel Jacobowitz <dmj@google.com>
50805 Paul Pluzhnikov <ppluzhnikov@google.com>
50808 * grp/Makefile (otherlibs): Don't set it.
50809 * inet/Makefile (otherlibs): Likewise.
50810 * login/Makefile (otherlibs): Likewise.
50811 * nscd/Makefile (otherlibs): Likewise.
50812 * posix/Makefile (otherlibs): Likewise.
50813 * pwd/Makefile (otherlibs): Likewise.
50814 * rt/Makefile (otherlibs): Likewise.
50815 * sunrpc/Makefile (otherlibs): Likewise.
50816 * nss/Makefile (otherlibs): Likewise.
50817 Add libnss_files to routines and static-only-routines.
50818 ($(objpfx)getent): Remove rule.
50819 * resolv/Makefile: Add libnss_dns and libresolv to routines and
50820 static-only-routines.
50822 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50825 * math/s_cexp.c: Include <float.h>.
50826 (__cexp): Handle exp result overflowing not necessarily
50827 overflowing both real and imaginary parts of result.
50828 * math/s_cexpf.c: Likewise.
50829 * math/s_cexpl.c: Likewise.
50830 * math/libm-test.inc (cexp_test): Add more tests.
50831 * sysdeps/i386/fpu/libm-test-ulps: Update.
50832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50834 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50836 * include/link.h (ELFW): New macro.
50837 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50838 Replace ELF64_R_TYPE with ELFW(R_TYPE).
50840 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50842 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50845 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50847 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50849 (struct La_x32_retval): Likewise.
50851 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50853 * sysdeps/x86_64/preconfigure.in: New file.
50854 * sysdeps/x86_64/preconfigure: New generated file.
50856 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50859 * math/e_exp2l.c: Include <float.h>.
50860 (__ieee754_exp2l): Handle overflow and underflow cases
50861 separately. Only pass fractional part of argument to
50863 * math/libm-test.inc (exp2_test): Add more tests.
50865 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50866 negating x to take absolute value.
50867 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50869 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50870 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50872 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50873 computing low part if x was negated.
50874 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50876 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50878 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50879 la_x32_gnu_pltexit.
50880 (pltexit): Cast int_retval to ptrdiff_t.
50881 * elf/tst-auditmod3b.c: Likewise.
50882 * elf/tst-auditmod4b.c: Likewise.
50883 * elf/tst-auditmod5b.c: Likewise.
50884 * elf/tst-auditmod6b.c: Likewise.
50885 * elf/tst-auditmod6c.c: Likewise.
50886 * elf/tst-auditmod7b.c: Likewise.
50888 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50889 and x32_gnu_pltexit.
50891 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50892 __ELF_NATIVE_CLASS.
50893 (La_x32_regs): New macro.
50894 (La_x32_retval): Likewise.
50895 (la_x32_gnu_pltenter): New function prototype.
50896 (la_x32_gnu_pltexit): Likewise.
50898 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
50900 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50905 * configure.in (libc_cv_cc_nofma): Check for option to disable
50906 generation of FMA instructions.
50907 * configure: Regenerate.
50908 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50909 * sysdeps/ieee754/dbl-64/Makefile: New file.
50910 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50911 Remove brandred-fma4.
50912 (CFLAGS-brandred-fma4.c): Remove.
50913 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50914 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50916 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50919 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50921 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50922 LLONG_MAX != LONG_MAX.
50923 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50924 (_fitoa_word): Likewise.
50925 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50926 LLONG_MAX != LONG_MAX.
50927 * stdio-common/_itowa.h: Include <_itoa.h>.
50928 (_itowa_word): Use _ITOA_WORD_TYPE on value.
50929 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
50930 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
50931 only if not defined.
50932 (_ITOA_WORD_TYPE): Likewise.
50933 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50934 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50936 2012-03-21 David S. Miller <davem@davemloft.net>
50938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50940 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50942 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50943 of x86_64 when setting libc_cv_slibdir, libdir and
50945 * sysdeps/unix/sysv/linux/configure: Regenerated.
50947 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50949 * manual/lang.texi (Old Varargs): Remove section.
50950 (How Variadic): Update menu.
50951 (va_start): Do not mention varargs.h.
50953 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50954 Joseph Myers <joseph@codesourcery.com>
50956 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50958 * configure: Regenerated.
50960 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50962 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50963 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50966 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50969 * Makefile (files-for-dist): Remove NOTES.
50970 (NOTES): Remove rule.
50971 * README: Don't refer to NOTES.
50972 * manual/creature.texi: Don't include macros.texi.
50973 * manual/intro.texi (creature.texi): Remove comment referring to
50976 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50977 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50978 * configure: Regenerated.
50979 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50980 LIBC_TRY_CC_OPTION.
50981 (libc_cv_as_i686): Likewise.
50982 (libc_cv_cc_avx): Likewise.
50983 (libc_cv_cc_sse2avx): Likewise.
50984 (libc_cv_cc_fma4): Likewise.
50985 (libc_cv_cc_novzeroupper): Likewise.
50986 * sysdeps/i386/configure: Regenerated.
50989 * sysdeps/i386/fpu/s_cexp.S: Remove.
50990 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50991 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50992 * math/libm-test.inc (cexp_test): Add more tests.
50993 * sysdeps/i386/fpu/libm-test-ulps: Update.
50994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50996 2012-03-21 Allan McRae <allan@archlinux.org>
50998 * timezone/Makefile: Do not install iso3166.tab and zone.tab
51000 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51003 * math/w_exp2.c: Do not include <float.h>.
51004 (o_threshold, u_threshold): Remove.
51005 (__exp2): Calculate result before checking finiteness and calling
51007 * math/w_exp2f.c: Likewise.
51008 * math/w_exp2l.c: Likewise.
51009 * math/libm-test.inc (exp2_test): Require overflow exception for
51013 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51014 range of signed 64-bit integers before using fistpll. Remove
51015 checks for whether integers fit in mantissa bits.
51016 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51017 the range of signed 32-bit integers before using fistpl. Remove
51018 checks for whether integers fit in mantissa bits.
51019 * sysdeps/i386/fpu/e_powl.S (p64): New object.
51020 (__ieee754_powl): Test for y outside the range of signed 64-bit
51021 integers before using fistpll. Reduce 64-bit values to 63-bit
51023 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51024 divide-by-zero is raised for zero to large negative powers.
51025 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51026 (__ieee754_powl): Test for y outside the range of signed 64-bit
51027 integers before using fistpll. Reduce 64-bit values to 63-bit
51029 * math/libm-test.inc (pow_test): Add more tests.
51031 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51033 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51034 <stdio-common/_itoa.h>.
51035 * debug/segfault.c: Likewise.
51036 * elf/dl-cache.c: Likewise.
51037 * elf/dl-minimal.c: Likewise.
51038 * elf/dl-misc.c: Likewise.
51039 * elf/dl-sysdep.c: Likewise.
51040 * elf/dl-version.c: Likewise.
51041 * elf/rtld.c: Likewise.
51042 * hurd/hurdsock.c: Likewise.
51043 * hurd/lookup-retry.c: Likewise.
51044 * malloc/malloc.c: Likewise.
51045 * malloc/mtrace.c: Likewise.
51046 * nscd/nscd_getgr_r.c: Likewise.
51047 * nscd/nscd_getpw_r.c: Likewise.
51048 * nscd/nscd_getserv_r.c: Likewise.
51049 * posix/getopt_init.c: Likewise.
51050 * posix/wordexp.c: Likewise.
51051 * stdio-common/_itoa.c: Likewise.
51052 * stdio-common/printf_fphex.c: Likewise.
51053 * stdio-common/vfprintf.c: Likewise.
51054 * string/_strerror.c: Likewise.
51055 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51056 * sysdeps/i386/i686/hp-timing.h: Likewise.
51057 * sysdeps/mach/_strerror.c: Likewise.
51058 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51059 * sysdeps/mach/hurd/sethostid.c: Likewise.
51060 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51061 * sysdeps/mach/xpg-strerror.c: Likewise.
51062 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51063 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51064 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51065 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51066 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51067 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51068 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51069 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51070 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51071 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51072 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51073 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51074 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51075 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51076 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51077 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51078 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51079 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51080 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51081 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51082 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51084 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51086 * stdio-common/_itoa.h: Moved to ...
51087 * sysdeps/generic/_itoa.h: Here.
51089 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51091 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51092 instead of "_itoa.h" and "_itowa.h".
51093 * stdio-common/vfprintf.: Likewise.
51095 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51097 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51099 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51100 (__signbit): Likwise.
51101 (llrintf): Likwise.
51104 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51106 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51109 2012-03-20 Joseph Myers <joseph@codesourcery.com>
51111 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51112 OVERFLOW_EXCEPTION_OK.
51113 * math/libm-test.inc ("Philosophy"): Update comment about
51115 (OVERFLOW_EXCEPTION): Define.
51116 (OVERFLOW_EXCEPTION_OK): Likewise.
51117 (INVALID_EXCEPTION_OK): Renumber.
51118 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51119 (IGNORE_ZERO_INF_SIGN): Likewise.
51120 (test_exceptions): Handle FE_OVERFLOW.
51121 (exp10_test): Expect overflow exceptions.
51122 (exp2_test): Likewise.
51123 (expm1_test): Likewise.
51124 (nextafter_test): Likewise.
51125 (pow_test): Likewise.
51126 (scalbn_test): Likewise.
51127 (scalbln_test): Likewise.
51129 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51131 * sysdeps/x86_64/bits/atomic.h
51132 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51134 (atomic_exchange_acq): Likewise.
51135 (__arch_exchange_and_add_body): Likewise.
51136 (__arch_add_body): Likewise.
51137 (atomic_add_negative): Likewise.
51138 (atomic_add_zero): Likewise.
51140 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51142 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51143 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51145 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51147 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51148 Check __x86_64__ instead of __WORDSIZE.
51150 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51152 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51154 2012-03-19 David S. Miller <davem@davemloft.net>
51156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51158 * sysdeps/sparc/fpu/fenv_private.h: New file.
51159 * sysdeps/sparc/fpu/math_private.h: Use it.
51160 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51162 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51163 (libc_feholdexcept_setroundl): Remove.
51164 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51166 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51167 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51169 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51171 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51172 int64_t instead of long int.
51173 (INSERT_WORDS64): Likwise.
51175 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51177 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51178 _Unwind_GetCFA return to _Unwind_Ptr first.
51180 2012-03-19 Joseph Myers <joseph@codesourcery.com>
51183 * math/s_clog.c: Include <float.h>.
51184 (__clog): Scale large or subnormal inputs.
51185 * math/s_clogf.c: Likewise.
51186 * math/s_clogl.c: Likewise.
51187 * math/s_clog10.c: Include <float.h>.
51188 (M_LOG10_2): Define.
51189 (__clog10): Scale large or subnormal inputs.
51190 * math/s_clog10f.c: Likewise.
51191 * math/s_clog10l.c: Likewise.
51192 * math/libm-test.inc (clog_test): Add more tests.
51193 (clog10_test): Likewise.
51194 * sysdeps/i386/fpu/libm-test-ulps: Update.
51195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51198 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51200 * math/libm-test.inc (atan2_test): Add another test.
51202 * Makerules (common-objdir-compile): Remove.
51203 * sysdeps/unix/Makefile (config-generated): Do not add
51204 $(unix-generated) to variable.
51205 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51206 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51208 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51210 [generic bits/local_lim.h] (before-compile): Do not append to
51212 [generic bits/local_lim.h] (common-generated): Likewise.
51213 [generic sys/param.h] (before-compile): Do not append to variable.
51214 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51215 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51216 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51217 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51219 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51220 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51221 [generic sys/param.h] ($(addprefix
51222 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51223 [generic sys/param.h] (common-generated): Do not append to
51225 [generic sys/param.h] (sysdep_headers): Likewise.
51226 [generic bits/errno.h] (before-compile): Do not append to
51228 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51230 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51231 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51232 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51233 [generic bits/errno.h] (common-generated): Do not append to
51235 [generic bits/ioctls.h] (before-compile): Do not append to
51237 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51239 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51240 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51241 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51243 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51244 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51245 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51246 [generic bits/ioctls.h] (common-generated): Do not append to
51248 [generic sys/syscall.h] (syscall.h): Remove variable.
51249 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51251 [generic sys/syscall.h] (before-compile): Do not append to
51253 [generic sys/syscall.h] (common-generated): Likewise.
51254 * sysdeps/unix/errnos-tmpl.c: Remove file.
51255 * sysdeps/unix/errnos.awk: Likewise.
51256 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51257 * sysdeps/unix/ioctls.awk: Likewise.
51258 * sysdeps/unix/mk-local_lim.c: Likewise.
51259 * sysdeps/unix/snarf-ioctls: Likewise.
51261 2012-03-19 Richard Henderson <rth@twiddle.net>
51263 * sysdeps/i386/fpu/fenv_private.h: New file.
51264 * sysdeps/i386/fpu/math_private.h: Use it.
51265 (math_opt_barrier, math_force_eval): Remove.
51266 (libc_feholdexcept_setround_53bit): Remove.
51267 (libc_feupdateenv_53bit): Remove.
51268 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51269 (math_opt_barrier, math_force_eval): Remove.
51270 (libc_feholdexcept): Remove.
51271 (libc_feholdexcept_setround): Remove.
51272 (libc_fetestexcept, libc_fesetenv): Remove.
51273 (libc_feupdateenv_test): Remove.
51274 (libc_feupdateenv, libc_feholdsetround): Remove.
51275 (libc_feresetround): Remove.
51277 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51278 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51280 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51281 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51282 (libc_feupdateenv_testl): New.
51283 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51284 (libc_feupdateenv_testf): New.
51285 (libc_feupdateenv): Use libc_feupdateenv_test.
51286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51287 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51289 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51290 (libc_feholdsetroundf, libc_feholdsetroundl): New.
51291 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51292 (libc_feresetround_noex): New.
51293 (libc_feresetround_noexf): New.
51294 (libc_feresetround_noexl): New.
51295 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51296 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51297 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51298 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51300 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51301 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51303 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51304 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51305 SET_RESTORE_ROUND_NOEX.
51306 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51307 SET_RESTORE_ROUND_NOEXF.
51308 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51309 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51310 (libc_feholdsetroundf): New.
51311 (libc_feresetround, libc_feresetroundf): New.
51313 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51314 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51315 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51317 * sysdeps/generic/math_private.h: Include <fenv.h>.
51318 (default_libc_feholdexcept): New.
51319 (default_libc_feholdexcept_setround): New.
51320 (default_libc_fesetenv, default_libc_feupdateenv): New.
51321 (libc_feholdexcept): Only define if undefined.
51322 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51323 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51324 (libc_feholdexcept_setroundl): Likewise.
51325 (libc_feholdexcept_setround_53bit): Likewise.
51326 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51327 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51328 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51329 (libc_feupdateenv_53bit): Likewise.
51330 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51331 (libc_feholdexcept): Convert from macro to inline function.
51332 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51333 (libc_fesetenv, libc_feupdateenv): Likewise.
51335 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51336 not previously defined.
51337 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51338 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51339 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51340 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51341 * sysdeps/ieee754/flt-32/math_private.h: New file.
51342 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51343 math_private.h below SET_FLOAT_WORD.
51344 (__isnan, __isinf_ns, __finite): Remove.
51345 (__isnanf, __isinf_nsf, __finitef): Remove.
51347 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51351 2012-03-17 David S. Miller <davem@davemloft.net>
51354 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51357 2012-03-16 David S. Miller <davem@davemloft.net>
51359 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51363 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51365 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51366 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51367 sysdep_routines when subdir is sysvipc.
51368 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51369 __getshmlba helper.
51371 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51373 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51375 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51378 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51380 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51381 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51382 (__lround): Renamed to ...
51383 (__llround): This. Replace long int with long long int.
51384 Define lround functions as aliases of llround functions.
51385 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51387 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51389 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51390 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51391 adresses to uintptr_t. Replace "long int" and "unsigned long
51392 int" with "greg_t" on va_arg.
51394 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51396 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51397 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51399 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51400 Move e_machine check before EI_CLASS check. Handle x32
51401 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51402 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51403 SKIP_EM_IA_64 and include
51404 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51406 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51407 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51408 (add_system_dir): New macro.
51410 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51411 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51413 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51424 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51426 * math/w_j0f.c (j0f): Likewise.
51428 * math/w_j0l.c (__j0l): Likewise.
51430 * math/w_j1.c (j1): Likewise.
51432 * math/w_j1f.c (j1f): Likewise.
51434 * math/w_j1l.c (__j1l): Likewise.
51436 * math/w_jn.c (jn): Likewise.
51438 * math/w_jnf.c (jnf): Likewise.
51440 * math/w_jnl.c (__jnl): Likewise.
51442 * math/libm-test.inc (j0_test): Add more tests.
51443 (j1_test): Likewise.
51444 (jn_test): Likewise. Add trailing semicolon to existing test.
51445 (y0_test): Likewise.
51446 (y1_test): Likewise.
51447 * sysdeps/i386/fpu/libm-test-ulps: Update.
51448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51452 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51453 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51454 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51455 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51456 (__tanl): Set errno for infinite argument.
51457 * sysdeps/i386/fpu/mptan.c: Remove.
51458 * sysdeps/i386/fpu/s_tan.S: Likewise.
51459 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51460 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51461 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51462 * math/libm-test.inc (tan_test): Add more tests and enable more
51463 tests for double and long double.
51464 * sysdeps/i386/fpu/libm-test-ulps: Update.
51465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51467 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51469 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51470 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51472 2012-03-16 Roland McGrath <roland@hack.frob.com>
51474 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51475 * configure.in: Use it for both main tree and add-ons.
51476 * configure: Regenerated.
51478 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51480 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51482 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51484 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51488 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51489 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51490 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51491 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51492 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51494 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51495 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51496 != 0 for prec == 2.
51497 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51498 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51499 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51500 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51501 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51502 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51503 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51504 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51505 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51506 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51507 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51508 * math/libm-test.inc (cos_test): Add more tests and enable more
51509 tests for long double.
51510 (sin_test): Likewise.
51511 (sincos_test): Likewise.
51512 * sysdeps/i386/fpu/libm-test-ulps: Update.
51513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51515 2012-03-16 David S. Miller <davem@davemloft.net>
51517 * sysdeps/sparc/fpu/math_private.h: New file.
51519 2012-03-15 David S. Miller <davem@davemloft.net>
51521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51531 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51535 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51536 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51538 * sysdeps/sparc/sparc-ifunc.h: New file.
51539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51577 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51578 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51579 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51580 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51581 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51582 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51584 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51586 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51590 2012-03-15 Andreas Jaeger <aj@suse.de>
51593 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51594 ieee754/flt-32 implementation for sin, cos and sincos.
51595 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51596 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51597 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51598 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51599 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51600 ieee754/flt-32 implementation for tan.
51602 * math/libm-test.inc (cos_test): Enable some large input tests for
51604 (sin_test): Likewise.
51605 (sincos_test): Likewise.
51606 (tan_test): Add tests for large input.
51608 * sysdeps/i386/fpu/libm-test-ulps: Update.
51610 2012-03-15 Andreas Jaeger <aj@suse.de>
51613 * math/libm-test.inc (cos_test): Add more test cases.
51614 (sin_test): Likewise.
51615 (sincos_test): Likewise.
51617 2012-03-15 Andreas Jaeger <aj@suse.de>
51620 * math/libm-test.inc (cos_test): Add a test case for large input
51622 (sin_test): Likewise.
51623 (sincos_test): Likewise.
51625 2012-03-15 Andreas Jaeger <aj@suse.de>
51626 Joseph Myers <joseph@codesourcery.com>
51629 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51630 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51631 * sysdeps/i386/fpu/branred.c: Likewise.
51632 * sysdeps/i386/fpu/dosincos.c: Likewise.
51633 * sysdeps/i386/fpu/mpa.c: Likewise.
51634 * sysdeps/i386/fpu/s_cos.S: Likewise.
51635 * sysdeps/i386/fpu/s_sin.S: Likewise.
51636 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51637 * sysdeps/i386/fpu/sincos32.c: Likewise.
51639 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51641 (libc_feupdateenv_53bit): Define.
51642 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51644 (libc_feupdateenv_53bit): Define.
51646 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51647 53 bit (without extend i386 double precision).
51649 * math/libm-test.inc (sincos_test): Add tests for large input.
51653 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51655 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51659 2012-03-15 David S. Miller <davem@davemloft.net>
51661 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51662 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51663 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51664 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51688 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51689 fmin/fmax sysdep routines.
51690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51692 2012-03-14 David S. Miller <davem@davemloft.net>
51694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51699 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51701 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51722 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51766 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51771 * sysdeps/sparc/configure.in: New file.
51772 * sysdeps/sparc/configure: Generate.
51773 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51774 * configure: Regenerate.
51775 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51776 * config.make.in (have-as-vis3): New.
51777 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51778 available use -Av9d instead of -Av9a.
51779 * sysdeps/sparc/sparc64/Makefile: Likewise.
51780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51789 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51790 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51791 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51795 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51796 fzeros/fnegs to load 0x80000000 into a float register instead of
51798 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51800 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51804 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51805 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51806 ($(inst_includedir)/bits/syscall.h): Remove rule.
51807 ($(objpfx)bits/syscall.d): Include instead of
51808 $(objpfx)syscall-list.d.
51809 (generated): Change syscall-list.h and syscall-list.d to
51810 bits/syscall.h and bits/syscall.d.
51812 2012-03-14 Roland McGrath <roland@hack.frob.com>
51815 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51817 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51820 * math/s_csqrt.c: Include <float.h>.
51821 (__csqrt): Scale large or subnormal inputs.
51822 * math/s_csqrtf.c: Likewise.
51823 * math/s_csqrtl.c: Likewise.
51824 * math/libm-test.inc (csqrt_test): Add more tests.
51825 * sysdeps/i386/fpu/libm-test-ulps: Update.
51826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51829 * math/libm-test.inc (hypot_test): Add more tests.
51831 2012-03-13 David S. Miller <davem@davemloft.net>
51834 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51835 double-precision for the calculation instead of scaling.
51837 2012-03-13 Joseph Myers <joseph@codesourcery.com>
51839 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51840 manipulate bits before adding and subtracting TWO52[sx].
51841 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51842 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51844 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51846 2012-03-13 David S. Miller <davem@davemloft.net>
51848 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51849 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51851 rtld-global-offsets.h
51852 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51854 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51857 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51859 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51860 'err' in the ifdef scope in which it is actually used.
51862 * nss/nss_db/db-init.c: Include string.h
51864 2012-03-12 David S. Miller <davem@davemloft.net>
51866 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51867 masking out of the most significant byte of random value used.
51868 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51869 Fix coding style in previous change.
51871 * sysdeps/unix/sysv/linux/kernel-features.h
51872 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51873 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51875 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51878 2012-03-11 David S. Miller <davem@davemloft.net>
51880 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51881 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51883 for 'resultvar' otherwise things get truncated on 64-bit.
51885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51886 Fix masking out of the most significant byte of random value used.
51888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51890 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
51892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51894 2012-03-09 David S. Miller <davem@davemloft.net>
51896 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51897 variables with appropriate CPP guards.
51898 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51899 from the frame pointer, not the stack pointer. Correct layout
51900 comments. Fix test on resulting framesize and the management of
51901 the outregs buffer for pltexit. Preserve floating point return
51902 values across _dl_call_pltexit call.
51903 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51904 framesize and the management of the outregs buffer for pltexit.
51905 Preserve floating point return values across _dl_call_pltexit
51907 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51908 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51909 (la_sparc64_gnu_pltexit): New functions.
51910 (print_exit): Fix format string for return register value.
51912 2012-03-10 Joseph Myers <joseph@codesourcery.com>
51914 * sunrpc/Makefile (others): Add rpcgen.
51915 ($(objpfx)rpcgen): Remove special build rule and dependency on
51917 * sunrpc/rpcgen.c: New file.
51919 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
51922 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51923 * stdio-common/bug-vfprintf-nargs.c: Likewise.
51924 * sysdeps/i386/crti.S: Likewise.
51925 * sysdeps/i386/crtn.S: Likewise.
51926 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51927 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51928 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51929 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51930 * sysdeps/sh/crti.S: Likewise.
51931 * sysdeps/sh/crtn.S: Likewise.
51932 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51935 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51937 * locale/programs/locfile-kw.gperf: Likewise.
51938 * locale/programs/charmap-kw.h: Regenerated.
51939 * locale/programs/locfile-kw.h: Likewise.
51942 * intl/plural.y: Replace FSF snail mail address with URL.
51943 * intl/plural.c: Regenerated.
51945 2012-03-09 Richard Henderson <rth@twiddle.net>
51947 * include/math_private.h: Remove file.
51948 * math/math_private.h: Move file ...
51949 * sysdeps/generic/math_private.h: ... here.
51951 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51952 * sysdeps/powerpc/fpu/math_private.h: Likewise.
51953 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51955 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51956 and <math_private.h>.
51957 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51958 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51959 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51960 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51961 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51962 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51963 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51965 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51966 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51968 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51969 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51970 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51971 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51972 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51973 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51974 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51975 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51976 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51978 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51979 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51980 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51981 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51982 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51983 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51984 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51985 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51986 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51987 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51988 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51989 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51990 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51991 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51992 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51993 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51994 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51995 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51996 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51997 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51998 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51999 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52000 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52001 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52002 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52003 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52004 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52005 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52006 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52007 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52008 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52009 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52010 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52011 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52012 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52013 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52014 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52015 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52016 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52017 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52018 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52019 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52020 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52021 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52022 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52023 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52024 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52025 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52026 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52027 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52028 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52029 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52030 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52031 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52033 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52034 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52035 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52036 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52037 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52038 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52039 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52040 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52041 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52042 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52044 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52045 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52046 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52047 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52048 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52049 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52050 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52051 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52052 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52053 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52054 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52055 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52056 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52057 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52058 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52059 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52060 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52061 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52062 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52063 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52064 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52065 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52066 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52067 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52068 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52069 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52070 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52071 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52072 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52073 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52074 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52075 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52076 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52077 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52078 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52079 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52080 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52081 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52082 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52083 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52084 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52085 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52086 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52087 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52088 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52089 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52090 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52091 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52092 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52093 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52094 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52095 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52096 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52097 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52098 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52099 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52100 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52101 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52102 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52103 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52104 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52105 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52106 * sysdeps/ieee754/k_standard.c: Likewise.
52107 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52108 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52109 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52110 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52111 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52112 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52113 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52114 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52115 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52116 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52117 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52118 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52119 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52120 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52121 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52122 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52123 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52124 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52125 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52126 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52127 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52128 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52129 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52130 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52131 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52132 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52133 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52134 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52135 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52136 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52137 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52138 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52139 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52140 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52141 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52142 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52143 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52144 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52145 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52146 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52147 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52148 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52149 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52150 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52151 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52152 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52153 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52154 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52155 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52156 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52157 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52158 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52159 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52160 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52161 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52162 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52163 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52164 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52165 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52166 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52167 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52168 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52169 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52170 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52171 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52172 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52173 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52174 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52175 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52176 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52177 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52178 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52179 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52180 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52181 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52183 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52184 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52185 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52186 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52187 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52188 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52189 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52190 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52191 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52192 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52193 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52194 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52195 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52196 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52197 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52198 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52199 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52200 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52201 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52202 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52203 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52204 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52205 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52206 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52207 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52208 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52209 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52210 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52211 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52212 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52213 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52214 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52215 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52216 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52217 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52218 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52219 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52220 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52221 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52222 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52223 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52224 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52225 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52226 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52227 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52228 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52229 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52230 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52231 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52232 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52233 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52234 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52235 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52236 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52237 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52238 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52239 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52240 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52241 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52242 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52243 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52244 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52245 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52246 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52247 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52248 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52249 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52250 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52251 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52252 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52253 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52254 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52255 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52256 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52257 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52258 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52259 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52260 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52261 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52262 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52263 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52264 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52265 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52266 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52267 * sysdeps/ieee754/s_lib_version.c: Likewise.
52268 * sysdeps/ieee754/s_matherr.c: Likewise.
52269 * sysdeps/ieee754/s_signgam.c: Likewise.
52270 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52271 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52272 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52273 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52274 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52275 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52276 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52277 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52278 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52279 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52280 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52281 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52282 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52283 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52284 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52285 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52286 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52287 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52288 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52292 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52294 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52295 * sunrpc/rpc_main.c: Likewise.
52296 * sunrpc/rpc_svcout.c: Likewise.
52298 2012-03-09 David S. Miller <davem@davemloft.net>
52300 * include/math_private.h: New file.
52302 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52304 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52305 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52306 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52307 from <bits/socket_type.h>.
52308 (enum __socket_type): Don't define here.
52309 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52311 bits/socket_type.h.
52314 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52315 checking __USE_GNU.
52317 * Makerules ($(inst_includedir)/%.h): New rule.
52318 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52319 (install-others): Remove variable setting.
52320 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52322 2012-03-08 Richard Henderson <rth@twiddle.net>
52324 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52325 from macro to inline function; merge with the
52326 !__LIBC_INTERNAL_MATH_INLINES version.
52327 (__ieee754_sqrtf): Likewise.
52329 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52330 to inline function.
52331 (__rintf, __floor, __floorf): Likewise.
52333 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52334 macro to inline function.
52335 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52337 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52338 not <math/math_private.h>.
52340 2012-03-08 David S. Miller <davem@davemloft.net>
52342 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52344 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52346 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52348 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52350 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52351 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52353 2012-03-08 Ulrich Drepper <drepper@gmail.com>
52355 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52356 be defined individually, they must be defined as a block. Define
52357 S for printing a string instead of hidint the different by using a
52358 macro for adding the 'l'.
52359 * stdio-common/tst-fphex-wide.c: Adjust.
52361 2012-03-07 Marek Polacek <polacek@redhat.com>
52363 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52365 2012-03-08 Marek Polacek <polacek@redhat.com>
52368 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52369 * stdio-common/tst-fphex.c: Define a few macros to make the
52370 test reusable. Use them.
52371 * stdio-common/tst-fphex-wide.c: New file.
52373 2012-03-08 Joseph Myers <joseph@codesourcery.com>
52376 * manual/macros.texi (gnusystems): New macro.
52377 (nongnusystems): Likewise.
52378 (gnulinuxhurdsystems): Likewise.
52379 (gnuhurdsystems): Likewise..
52380 (gnulinuxsystems): Likewise.
52381 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52382 variants of the GNU system, not "GNU system".
52383 * manual/conf.texi: Likewise.
52384 * manual/errno.texi: Likewise. Update example of errno macro
52386 * manual/filesys.texi: Likewise.
52387 (getumask): Document as specific to GNU/Hurd.
52388 * manual/install.texi: Likewise. Reword some references to
52390 * manual/intro.texi: Likewise.
52391 * manual/io.texi: Likewise.
52392 (File Name Portability): Detail which constraints are inapplicable
52393 to all GNU systems and which are only inapplicable to GNU/Hurd.
52394 * manual/job.texi: Likewise.
52395 * manual/llio.texi: Likewise.
52396 (O_NOCTTY): Document as present on GNU/Linux.
52397 * manual/maint.texi: Likewise.
52398 * manual/memory.texi: Likewise.
52399 * manual/pattern.texi: Likewise.
52400 * manual/pipe.texi: Likewise.
52401 * manual/process.texi: Likewise.
52402 * manual/resource.texi: Likewise.
52403 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52405 * manual/setjmp.texi: Likewise.
52406 * manual/signal.texi: Likewise.
52407 * manual/startup.texi: Likewise.
52408 * manual/stdio.texi: Likewise.
52409 * manual/terminal.texi: Likewise.
52410 (ONLCR): Document as POSIX.
52411 (OXTABS): Document availability on GNU/Linux as XTABS.
52412 (ONOEOT): Document availability separately from other bits.
52413 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52414 * manual/time.texi: Likewise.
52415 * manual/users.texi: Likewise.
52416 * INSTALL: Regenerated.
52417 * sysdeps/gnu/errlist.c: Regenerated.
52419 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52420 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52421 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52423 * configure: Regenerated.
52425 2012-03-07 Joseph Myers <joseph@codesourcery.com>
52427 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52428 default includes instead of AC_HEADER_CHECK.
52429 * sysdeps/i386/configure: Regenerated.
52432 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52433 * math/s_cacoshf.c (__cacoshf): Likewise.
52434 * math/s_cacoshl.c (__cacoshl): Likewise.
52435 * math/s_casinh.c (__casinh): Set signs of result from argument.
52436 * math/s_casinhf.c (__casinhf): Likewise.
52437 * math/s_casinhl.c (__casinhl): Likewise.
52438 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52439 (casinh_test): Add more tests.
52440 * sysdeps/i386/fpu/libm-test-ulps: Update.
52441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52443 2012-03-07 Ulrich Drepper <drepper@gmail.com>
52445 * po/zh_TW.po: Update from translation team.
52447 * login/Makefile (distribute): Remove variable.
52448 * catgets/Makefile: Likewise.
52449 * mach/Makefile: Likewise.
52450 * malloc/Makefile: Likewise.
52451 * misc/Makefile: Likewise.
52452 * iconv/Makefile: Likewise.
52453 * nscd/Makefile: Likewise.
52454 * hurd/Makefile: Likewise.
52455 * manual/Makefile: Likewise.
52456 * locale/Makefile: Likewise.
52457 * intl/Makefile: Likewise.
52458 * conform/Makefile: Likewise.
52459 * nss/Makefile: Likewise.
52460 * time/Makefile: Likewise.
52461 * soft-fp/Makefile: Likewise.
52462 * dirent/Makefile: Likewise.
52463 * gmon/Makefile: Likewise.
52464 * po/Makefile: Likewise.
52465 * rt/Makefile: Likewise.
52466 * socket/Makefile: Likewise.
52467 * math/Makefile: Likewise.
52468 * signal/Makefile: Likewise.
52469 * debug/Makefile: Likewise.
52470 * elf/Makefile: Likewise.
52471 * timezone/Makefile: Likewise.
52472 * stdlib/Makefile: Likewise.
52473 * iconvdata/Makefile: Likewise.
52474 * sunrpc/Makefile: Likewise.
52475 * io/Makefile: Likewise.
52476 * argp/Makefile: Likewise.
52477 * inet/Makefile: Likewise.
52478 * hesiod/Makefile: Likewise.
52479 * grp/Makefile: Likewise.
52480 * csu/Makefile: Likewise.
52481 * wctype/Makefile: Likewise.
52482 * crypt/Makefile: Likewise.
52483 * libio/Makefile: Likewise.
52484 * string/Makefile: Likewise.
52485 * nis/Makefile: Likewise.
52486 * resolv/Makefile: Likewise.
52487 * stdio-common/Makefile: Likewise.
52488 * wcsmbs/Makefile: Likewise.
52489 * dlfcn/Makefile: Likewise.
52490 * posix/Makefile: Likewise.
52493 * timezone/Makefile: Don't install timezone files, just the programs
52496 2012-03-06 Ulrich Drepper <drepper@gmail.com>
52498 * nss/databases.def: Add missing gshadow entry.
52500 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52502 2012-03-06 Marek Polacek <polacek@redhat.com>
52505 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52506 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52507 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52508 * stdio-common/tst-long-dbl-fphex.c: New file.
52510 2012-03-06 David S. Miller <davem@davemloft.net>
52512 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52513 (set_obp_int): New function.
52514 (get_obp_int): New function.
52515 (__get_clockfreq_via_dev_openprom): Likewise.
52516 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52517 Avoid unused variable warnings on 'val' and use builtin_expect.
52518 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52520 (INLINE_CLONE_SYSCALL): Likewise.
52522 2012-03-05 David S. Miller <davem@davemloft.net>
52524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52526 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52531 only for |x| >= 40.
52532 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52534 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
52536 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52537 Replace gettimeofday with __vdso_gettimeofday.
52539 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52540 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52541 __vdso_clock_gettime and __vdso_getcpu.
52543 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52544 time with __vdso_time.
52546 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52548 * manual/lang.texi (size_t): Note types to which size_t may be
52549 equivalent with the GNU C Library, but do not describe when
52550 differences between them are significant.
52552 2012-03-05 Andreas Jaeger <aj@suse.de>
52554 * sysdeps/i386/fpu/libm-test-ulps: Update.
52556 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52559 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52560 (__ieee754_pow): Save and restore rounding mode and use
52561 round-to-nearest for main computations.
52562 * math/libm-test.inc (pow_test_tonearest): New function.
52563 (pow_test_towardzero): Likewise.
52564 (pow_test_downward): Likewise.
52565 (pow_test_upward): Likewise.
52566 (main): Call the new functions.
52567 * sysdeps/i386/fpu/libm-test-ulps: Update.
52568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52571 * math/libm-test.inc (cosh_test_tonearest): New function.
52572 (cosh_test_towardzero): Likewise.
52573 (cosh_test_downward): Likewise.
52574 (cosh_test_upward): Likewise.
52575 (sinh_test_tonearest): Likewise.
52576 (sinh_test_towardzero): Likewise.
52577 (sinh_test_downward): Likewise.
52578 (sinh_test_upward): Likewise.
52579 (main): Call the new functions.
52580 * sysdeps/i386/fpu/libm-test-ulps: Update.
52581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52583 2012-03-05 Tom de Vries <tom@codesourcery.com>
52585 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52586 default stack guard is set in last bytes.
52587 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52589 2012-03-05 Kees Cook <keescook@chromium.org>
52591 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52594 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52595 possibly allocate from heap instead of stack.
52596 * stdio-common/bug-vfprintf-nargs.c: New file.
52597 * stdio-common/Makefile (tests): Add nargs overflow test.
52599 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52603 2012-03-03 Marek Polacek <polacek@redhat.com>
52605 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52606 * math/math_private.h: Likewise.
52607 * stdlib/tst-strtod.c: Likewise.
52608 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52609 * sysdeps/x86_64/bits/atomic.h: Likewise.
52611 2012-03-02 David S. Miller <davem@davemloft.net>
52613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52617 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52618 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52619 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52620 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52622 2012-03-02 Roland McGrath <roland@hack.frob.com>
52625 * manual/examples/README: New file, says the example source files
52626 can be used under GPL>=2.
52627 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52628 line containing just "*/".
52629 * manual/examples/add.c: Add copyright header (GPL>=2).
52630 * manual/examples/argp-ex1.c: Likewise.
52631 * manual/examples/argp-ex2.c: Likewise.
52632 * manual/examples/argp-ex3.c: Likewise.
52633 * manual/examples/argp-ex4.c: Likewise.
52634 * manual/examples/atexit.c: Likewise.
52635 * manual/examples/db.c: Likewise.
52636 * manual/examples/dir.c: Likewise.
52637 * manual/examples/dir2.c: Likewise.
52638 * manual/examples/execinfo.c: Likewise.
52639 * manual/examples/filecli.c: Likewise.
52640 * manual/examples/filesrv.c: Likewise.
52641 * manual/examples/fmtmsgexpl.c: Likewise.
52642 * manual/examples/genpass.c: Likewise.
52643 * manual/examples/inetcli.c: Likewise.
52644 * manual/examples/inetsrv.c: Likewise.
52645 * manual/examples/isockad.c: Likewise.
52646 * manual/examples/longopt.c: Likewise.
52647 * manual/examples/memopen.c: Likewise.
52648 * manual/examples/memstrm.c: Likewise.
52649 * manual/examples/mkfsock.c: Likewise.
52650 * manual/examples/mkisock.c: Likewise.
52651 * manual/examples/mygetpass.c: Likewise.
52652 * manual/examples/pipe.c: Likewise.
52653 * manual/examples/popen.c: Likewise.
52654 * manual/examples/rprintf.c: Likewise.
52655 * manual/examples/search.c: Likewise.
52656 * manual/examples/select.c: Likewise.
52657 * manual/examples/setjmp.c: Likewise.
52658 * manual/examples/sigh1.c: Likewise.
52659 * manual/examples/sigusr.c: Likewise.
52660 * manual/examples/stpcpy.c: Likewise.
52661 * manual/examples/strdupa.c: Likewise.
52662 * manual/examples/strftim.c: Likewise.
52663 * manual/examples/strncat.c: Likewise.
52664 * manual/examples/subopt.c: Likewise.
52665 * manual/examples/swapcontext.c: Likewise.
52666 * manual/examples/termios.c: Likewise.
52667 * manual/examples/testopt.c: Likewise.
52668 * manual/examples/testpass.c: Likewise.
52669 * manual/examples/timeval_subtract.c: Likewise.
52672 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52674 * manual/timeval_subtract.c.texi: ... here, new file.
52676 2012-03-02 David S. Miller <davem@davemloft.net>
52678 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52680 2012-03-02 Joseph Myers <joseph@codesourcery.com>
52683 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52684 (__sin): Save and restore rounding mode and use round-to-nearest
52685 for all computations.
52686 (__cos): Save and restore rounding mode and use round-to-nearest
52687 for all computations.
52688 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52690 (tan): Save and restore rounding mode and use round-to-nearest for
52692 * math/libm-test.inc (cos_test_tonearest): New function.
52693 (cos_test_towardzero): Likewise.
52694 (cos_test_downward): Likewise.
52695 (cos_test_upward): Likewise.
52696 (sin_test_tonearest): Likewise.
52697 (sin_test_towardzero): Likewise.
52698 (sin_test_downward): Likewise.
52699 (sin_test_upward): Likewise.
52700 (tan_test_tonearest): Likewise.
52701 (tan_test_towardzero): Likewise.
52702 (tan_test_downward): Likewise.
52703 (tan_test_upward): Likewise.
52704 (main): Call the new functions.
52705 * sysdeps/i386/fpu/libm-test-ulps: Update.
52706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52709 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52710 small n, then large n, before computing and testing k+n.
52711 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52712 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52714 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52716 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52717 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52718 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52719 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52720 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52721 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52722 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52723 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52724 * math/libm-test.inc (scalbn_test): Add more tests.
52725 (scalbln_test): Likewise.
52727 * manual/filesys.texi (mode_t): Describe constraints on size and
52728 signedness, not exact equivalence to a particular type.
52730 (ino64_t): Likewise.
52732 (nlink_t): Likewise.
52733 (blkcnt_t): Likewise.
52734 (blkcnt64_t): Likewise.
52735 * manual/llio.texi (off_t): Likewise.
52738 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52739 (__ieee754_exp): Save and restore rounding mode and use
52740 round-to-nearest for all computations.
52741 * math/libm-test.inc (exp_test_tonearest): New function.
52742 (exp_test_towardzero): Likewise.
52743 (exp_test_downward): Likewise.
52744 (exp_test_upward): Likewise.
52745 (main): Call the new functions.
52746 * sysdeps/i386/fpu/libm-test-ulps: Update.
52747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52749 2012-03-01 Chris Demetriou <cgd@google.com>
52751 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52752 have predictable order.
52754 2012-03-01 David S. Miller <davem@davemloft.net>
52756 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52758 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52759 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52760 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52761 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52763 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52764 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52765 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52767 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52768 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52769 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52770 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52771 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52775 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52776 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52777 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52779 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52780 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52781 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52782 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52783 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52784 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52785 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52786 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52787 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52788 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52789 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52790 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52792 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52793 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52795 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52796 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52797 * sysdeps/sparc/elf/configure: Regenerated.
52799 2012-03-01 Joseph Myers <joseph@codesourcery.com>
52801 * configure.in (AS, LD): Require binutils 2.20 or later.
52802 * configure: Regenerated.
52803 * manual/install.texi (Tools for Compilation): Give binutils 2.20
52804 as required minimum version.
52805 * INSTALL: Regenerated.
52809 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52810 before squaring exponent.
52811 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52812 bottom long double and 27 bits of top long double before squaring
52814 * math/libm-test.inc (erfc_test): Add more tests.
52815 * sysdeps/i386/fpu/libm-test-ulps: Update.
52816 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52819 2012-03-01 Kai Tietz <ktietz@redhat.com>
52821 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52822 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52823 containing bit-fields.
52824 * soft-fp/extended.h (_FP_UNION_E): Likewise.
52825 * soft-fp/single.h (_FP_UNION_S): Likewise.
52826 * soft-fp/double.h (_FP_UNION_D): Likewise.
52828 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52831 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52832 not include ../strcmp.S.
52833 [USE_AS_STRNCASECMP_L]: Likewise.
52834 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52835 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52836 * sysdeps/i386/i686/multiarch/strncase_l-c.c
52837 (__strncasecmp_l_ia32): Define as alias to
52838 __strncasecmp_l_nonascii.
52841 * math/libm-test.inc (expm1_test): Add test for bug 5794.
52842 * sysdeps/i386/fpu/libm-test-ulps: Update.
52843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52845 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52848 2012-02-29 Jeff Law <law@redhat.com>
52850 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52851 out of bounds read.
52853 2012-02-29 Marek Polacek <polacek@redhat.com>
52856 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52857 * elf/Makefile: Add rules to run tst-unused-dep.out.
52859 2012-02-28 David S. Miller <davem@davemloft.net>
52861 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52862 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52864 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52865 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52866 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52868 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52870 * math/libm-test.inc (llround_test): Move one test from
52871 lround_test. Use TEST_f_L in moved test.
52872 (lround_test): Move misplaced test to llround_test. Add testcase
52875 2012-02-28 Ulrich Drepper <drepper@gmail.com>
52877 * sysdeps/x86_64/fpu/e_expf.S: New file.
52878 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52880 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
52883 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52884 of remain_len that may cause incomplete multi-byte character and
52886 * posix/bug-regex33.c: New file.
52887 * posix/Makefile (tests): Add bug-regex33.
52889 2012-02-28 Joseph Myers <joseph@codesourcery.com>
52891 * manual/macros.texi: New file.
52892 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52893 * manual/libc.texinfo: Include macros.texi.
52894 * manual/creatute.texi: Likewise.
52895 * manual/install.texi: Likewise.
52896 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52897 @glibcadj{} in references to the GNU C Library.
52898 * manual/charset.texi: Likewise.
52899 * manual/conf.texi: Likewise.
52900 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
52901 when not using those macros.
52902 * manual/creature.texi: Likewise.
52903 * manual/crypt.texi: Likewise.
52904 * manual/errno.texi: Likewise.
52905 * manual/filesys.texi: Likewise.
52906 * manual/header.texi: Likewise.
52907 * manual/install.texi: Likewise.
52908 * manual/intro.texi: Likewise.
52909 * manual/io.texi: Likewise.
52910 * manual/job.texi: Likewise.
52911 * manual/lang.texi: Likewise.
52912 * manual/libc.texiinfo: Likewise.
52913 * manual/llio.texi: Likewise.
52914 * manual/locale.texi: Likewise.
52915 * manual/maint.texi: Likewise.
52916 * manual/math.texi: Likewise.
52917 * manual/memory.texi: Likewise.
52918 * manual/message.texi: Likewise.
52919 * manual/nss.texi: Likewise.
52920 * manual/pattern.texi: Likewise.
52921 * manual/process.texi: Likewise.
52922 * manual/resource.texi: Likewise.
52923 * manual/search.texi: Likewise.
52924 * manual/setjmp.texi: Likewise.
52925 * manual/signal.texi: Likewise.
52926 * manual/socket.texi: Likewise.
52927 * manual/startup.texi: Likewise.
52928 * manual/stdio.texi: Likewise.
52929 * manual/string.texi: Likewise.
52930 * manual/sysinfo.texi: Likewise.
52931 * manual/syslog.texi: Likewise.
52932 * manual/terminal.texi: Likewise.
52933 * manual/time.texi: Likewise.
52934 * manual/users.texi: Likewise.
52935 * INSTALL: Regenerated.
52936 * NOTES: Regenerated.
52937 * sysdeps/gnu/errlist.c: Regenerated.
52939 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
52941 * include/dirent.h: Include <dirstream.h> before
52944 2012-02-28 David S. Miller <davem@davemloft.net>
52946 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52947 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52948 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52949 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52951 2012-02-27 David S. Miller <davem@davemloft.net>
52953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52955 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52956 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52959 frame pointer instead of stack pointer relative arg slot.
52960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52961 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52962 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52964 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
52967 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52969 2012-02-27 David S. Miller <davem@davemloft.net>
52971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52975 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52976 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52977 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52978 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52980 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52982 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52983 later. Allow versions 5-9.
52984 * configure: Regenerated.
52985 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52986 required minimum version and 4.6 as recommended version. Do not
52987 mention bugs in GCC 2.7 and 2.8.
52988 * INSTALL: Regenerated.
52990 2012-02-27 David S. Miller <davem@davemloft.net>
52992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52996 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52997 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52998 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52999 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53001 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53002 manipulate bits before adding and subtracting TWO112[sx].
53003 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53005 2012-02-27 Roland McGrath <roland@hack.frob.com>
53008 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53009 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53010 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53011 being in POSIX, because they are in 1003.1-2008.
53013 * rt/tst-aio.c: Include <fcntl.h>.
53014 * rt/tst-aio7.c: Likewise.
53015 * rt/tst-aio64.c: Likewise.
53017 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53019 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53021 * manual/install.texi (--with-headers): Describe headers as
53022 interface headers, not private headers.
53023 (Specific advice for GNU/Linux systems): Describe use of headers
53024 from "make headers_install", not private headers from older
53026 * INSTALL: Regenerated.
53027 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53029 * sysdeps/unix/sysv/linux/configure: Regenerated.
53031 * manual/llio.texi (fclean): Remove documentation.
53033 * manual/Makefile (libc-texi-generated): New variable. Include
53035 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53036 $(libc-texi-generated), not duplicated list of files.
53037 (version.texi, stamp-version): New rules.
53038 (realclean): Remove $(libc-texi-generated), not individual files
53039 from that list. Do not remove dir-add.texinfo.
53040 * manual/libc.texinfo: Comment out uses of edition numbers and
53041 references to printed manual. Remove last-updated dates.
53042 (EDITION): Comment out.
53044 (VERSION, UPDATED): Remove.
53045 (version.texi): Include.
53047 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53049 * sysdeps/posix/spawni.c: Include <signal.h>.
53050 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53051 * sysdeps/pthread/aio_fsync.c: Likewise.
53053 2012-02-26 Ulrich Drepper <drepper@gmail.com>
53055 * conform/Makefile (tests): Run only when not cross-compiling and
53056 when fast-check is not defined.
53058 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53059 * conform/data/limits.h-data: Fixes for POSIX2008.
53060 * conform/run-conformtest.sh: Run all tests.
53061 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53063 * include/bits/dlfcn.h: Likewise.
53064 * include/langinfo.h: Likewise.
53065 * include/monetary.h: Likewise.
53066 * include/sys/poll.h: Likewise.
53068 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53070 * posix/spawn.h: Define __need_sigset_t.
53071 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53072 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53073 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53074 to get sigevent_t only.
53075 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53076 only for __USE_GNU.
53077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53078 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53079 process_vm_writev only for __USE_GNU.
53080 * termios/termios.h: Declare tcgetsid also for POSIX2008.
53082 * conform/Makefile: For now ignore errors from run-conformtest.
53083 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53084 POSIX to avoid namespace pollution. Don't prepend headers.
53085 * conform/data/aio.h-data: Fixes for POSIX testing.
53086 * conform/data/fcntl.h-data: Likewise.
53087 * conform/data/glob.h-data: Likewise.
53088 * conform/data/grp.h-data: Likewise.
53089 * conform/data/pthread.h-data: Likewise.
53090 * conform/data/pwd.h-data: Likewise.
53091 * conform/data/signal.h-data: Likewise.
53092 * conform/data/spawn.h-data: Likewise.
53093 * conform/data/stdio.h-data: Likewise.
53094 * conform/data/stdlib.h-data: Likewise.
53095 * conform/data/stropts.h-data: Likewise.
53096 * conform/data/sys/mman.h-data: Likewise.
53097 * conform/data/sys/stat.h-data: Likewise.
53098 * conform/data/sys/types.h-data: Likewise.
53099 * conform/data/sys/wait.h-data: Likewise.
53100 * conform/data/time.h-data: Likewise.
53101 * conform/data/unistd.h-data: Likewise.
53102 * conform/data/utime.h-data: Likewise.
53104 * io/sys/stat.h: fchmod was always in POSIX.
53105 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53106 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53107 * rt/aio.h: Define __need_timespec before including <time.h>.
53108 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53109 struct. Add forward declaration of pthread_attr_t and use it in
53111 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53112 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53113 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53114 always remove CLK_TCK definition.
53116 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53118 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53120 2012-02-25 Ulrich Drepper <drepper@gmail.com>
53122 * conform/run-conformtest.sh: New file.
53123 * conform/Makefile: Run run-conformtest for tests.
53124 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53127 * conform/data/uchar.h-data: New file.
53128 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53129 * conform/data/arpa/inet.h-data: Likewise.
53130 * conform/data/assert.h-data: Likewise.
53131 * conform/data/complex.h-data: Likewise.
53132 * conform/data/cpio.h-data: Likewise.
53133 * conform/data/ctype.h-data: Likewise.
53134 * conform/data/dirent.h-data: Likewise.
53135 * conform/data/dlfcn.h-data: Likewise.
53136 * conform/data/errno.h-data: Likewise.
53137 * conform/data/fcntl.h-data: Likewise.
53138 * conform/data/float.h-data: Likewise.
53139 * conform/data/fmtmsg.h-data: Likewise.
53140 * conform/data/fnmatch.h-data: Likewise.
53141 * conform/data/ftw.h-data: Likewise.
53142 * conform/data/glob.h-data: Likewise.
53143 * conform/data/grp.h-data: Likewise.
53144 * conform/data/iconv.h-data: Likewise.
53145 * conform/data/inttypes.h-data: Likewise.
53146 * conform/data/langinfo.h-data: Likewise.
53147 * conform/data/libgen.h-data: Likewise.
53148 * conform/data/limits.h-data: Likewise.
53149 * conform/data/locale.h-data: Likewise.
53150 * conform/data/math.h-data: Likewise.
53151 * conform/data/monetary.h-data: Likewise.
53152 * conform/data/mqueue.h-data: Likewise.
53153 * conform/data/ndbm.h-data: Likewise.
53154 * conform/data/net/if.h-data: Likewise.
53155 * conform/data/netdb.h-data: Likewise.
53156 * conform/data/netinet/in.h-data: Likewise.
53157 * conform/data/nl_types.h-data: Likewise.
53158 * conform/data/poll.h-data: Likewise.
53159 * conform/data/pthread.h-data: Likewise.
53160 * conform/data/pwd.h-data: Likewise.
53161 * conform/data/regex.h-data: Likewise.
53162 * conform/data/sched.h-data: Likewise.
53163 * conform/data/search.h-data: Likewise.
53164 * conform/data/semaphore.h-data: Likewise.
53165 * conform/data/setjmp.h-data: Likewise.
53166 * conform/data/signal.h-data: Likewise.
53167 * conform/data/spawn.h-data: Likewise.
53168 * conform/data/stdarg.h-data: Likewise.
53169 * conform/data/stdio.h-data: Likewise.
53170 * conform/data/stdlib.h-data: Likewise.
53171 * conform/data/string.h-data: Likewise.
53172 * conform/data/strings.h-data: Likewise.
53173 * conform/data/stropts.h-data: Likewise.
53174 * conform/data/sys/ipc.h-data: Likewise.
53175 * conform/data/sys/mman.h-data: Likewise.
53176 * conform/data/sys/msg.h-data: Likewise.
53177 * conform/data/sys/resource.h-data: Likewise.
53178 * conform/data/sys/select.h-data: Likewise.
53179 * conform/data/sys/sem.h-data: Likewise.
53180 * conform/data/sys/shm.h-data: Likewise.
53181 * conform/data/sys/socket.h-data: Likewise.
53182 * conform/data/sys/stat.h-data: Likewise.
53183 * conform/data/sys/statvfs.h-data: Likewise.
53184 * conform/data/sys/time.h-data: Likewise.
53185 * conform/data/sys/timeb.h-data: Likewise.
53186 * conform/data/sys/times.h-data: Likewise.
53187 * conform/data/sys/types.h-data: Likewise.
53188 * conform/data/sys/uio.h-data: Likewise.
53189 * conform/data/sys/un.h-data: Likewise.
53190 * conform/data/sys/utsname.h-data: Likewise.
53191 * conform/data/sys/wait.h-data: Likewise.
53192 * conform/data/syslog.h-data: Likewise.
53193 * conform/data/tar.h-data: Likewise.
53194 * conform/data/termios.h-data: Likewise.
53195 * conform/data/utime.h-data: Likewise.
53196 * conform/data/utmpx.h-data: Likewise.
53197 * conform/data/varargs.h-data: Likewise.
53198 * conform/data/wchar.h-data: Likewise.
53199 * conform/data/wctype.h-data: Likewise.
53200 * conform/data/wordexp.h-data: Likewise.
53202 * include/stropts.h: New file.
53203 * include/uchar.h: New file.
53204 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53205 * include/assert.h: Likewise.
53206 * include/ctype.h: Likewise.
53207 * include/dirent.h: Likewise.
53208 * include/dlfcn.h: Likewise.
53209 * include/fcntl.h: Likewise.
53210 * include/fnmatch.h: Likewise.
53211 * include/glob.h: Likewise.
53212 * include/grp.h: Likewise.
53213 * include/libio.h: Likewise.
53214 * include/locale.h: Likewise.
53215 * include/math.h: Likewise.
53216 * include/net/if.h: Likewise.
53217 * include/netdb.h: Likewise.
53218 * include/netinet/in.h: Likewise.
53219 * include/pthread.h: Likewise.
53220 * include/pwd.h: Likewise.
53221 * include/regex.h: Likewise.
53222 * include/sched.h: Likewise.
53223 * include/search.h: Likewise.
53224 * include/setjmp.h: Likewise.
53225 * include/signal.h: Likewise.
53226 * include/stdio.h: Likewise.
53227 * include/stdlib.h: Likewise.
53228 * include/string.h: Likewise.
53229 * include/sys/cdefs.h: Likewise.
53230 * include/sys/mman.h: Likewise.
53231 * include/sys/msg.h: Likewise.
53232 * include/sys/resource.h: Likewise.
53233 * include/sys/select.h: Likewise.
53234 * include/sys/socket.h: Likewise.
53235 * include/sys/stat.h: Likewise.
53236 * include/sys/statvfs.h: Likewise.
53237 * include/sys/time.h: Likewise.
53238 * include/sys/times.h: Likewise.
53239 * include/sys/uio.h: Likewise.
53240 * include/sys/utsname.h: Likewise.
53241 * include/sys/wait.h: Likewise.
53242 * include/termios.h: Likewise.
53243 * include/time.h: Likewise.
53244 * include/ulimit.h: Likewise.
53245 * include/unistd.h: Likewise.
53246 * include/utime.h: Likewise.
53247 * include/wchar.h: Likewise.
53248 * include/wctype.h: Likewise.
53249 * include/wordexp.h: Likewise.
53251 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53253 * time/time.h: TIME_UTC must be a macro.
53254 Make timespec_get available for ISO C11 only as well.
53256 2012-02-24 Ulrich Drepper <drepper@gmail.com>
53258 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53259 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53261 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53263 * configure.in: Use -o not -a in test for unsupported multi-arch.
53265 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53267 * manual/texinfo.tex: Update to version 2012-01-19.16.
53269 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53271 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53273 2012-02-24 Roland McGrath <roland@hack.frob.com>
53276 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53277 * manual/fdl-1.3.texi: New file.
53278 * manual/fdl-1.1.texi: File removed.
53281 * manual/libc.texinfo (FDL_VERSION): New @set.
53282 Use it for mention of FDL in cover text.
53283 (Documentation License): Use it in @include file name.
53285 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53286 Roland McGrath <roland@hack.frob.com>
53289 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53290 (not LONG_LONG_MAX and LONG_LONG_MIN.
53291 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53292 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53294 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53296 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53300 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53301 manipulate bits before adding and subtracting TWO23[sx].
53302 * math/libm-test.inc (nearbyint_test): Add more tests.
53304 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53307 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53308 bits before adding and subtracting TWO23[sx].
53309 * math/libm-test.inc (rint_test): Add more tests.
53310 (rint_test_tonearest): Likewise.
53311 (rint_test_towardzero): Likewise.
53312 (rint_test_downward): Likewise.
53313 (rint_test_upward: Likewise.
53315 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53318 * include/stdc-predef.h: New file. Extracted from features.h.
53319 * include/features.h: Include stdc-predef.h.
53320 * Makefile (headers): Add stdc-predef.h.
53321 * CONFORMANCE (Compiler limitations): Update.
53323 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53325 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53327 2012-02-21 David S. Miller <davem@davemloft.net>
53329 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53330 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53332 2012-02-20 David S. Miller <davem@davemloft.net>
53334 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53335 using a normal save/restore sequence, rather than allocating a
53336 dummy stack frame just to store a frame pointer and restore.
53337 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53339 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53341 * manual/install.texi: Fix stray word in line-wrapped comment.
53343 2012-02-20 David S. Miller <davem@davemloft.net>
53345 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53346 both binutils and gcc support GOTDATA.
53348 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53349 "rd %pc" in the PIC register setup sequences.
53351 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53352 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53353 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53354 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53355 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53357 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53358 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53359 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53360 (SYSCALL_ERROR_HANDLER): Likewise.
53361 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53362 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53363 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53364 (SYSCALL_ERROR_HANDLER): Likewise.
53366 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53367 (HAVE_GCC_GOTDATA): New.
53368 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53369 relocation support in both binutils and gcc.
53370 * sysdeps/sparc/elf/configure: Regenerate.
53372 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53373 * sysdeps/sparc/sparc32/elf/configure: Delete.
53374 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53375 * sysdeps/sparc/sparc64/elf/configure: Delete.
53376 * sysdeps/sparc/elf/configure.in: New file.
53377 * sysdeps/sparc/elf/configure: Generate.
53379 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53380 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53381 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53382 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53383 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53385 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53387 * manual/install.texi: Do not mention specific glibc version
53389 * manual/libc.texinfo (VERSION, UPDATED): Update.
53390 (@copying): Use @copyright{} and range of years.
53392 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53395 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53396 [crti.S not in sysdirs] (generated): Do not append.
53397 [crti.S not in sysdirs] (omit-deps): Likewise.
53398 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53399 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53400 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53401 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53402 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53404 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53405 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53406 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53407 * csu/defs.awk: Remove file.
53408 * sysdeps/generic/initfini.c: Likewise.
53409 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53411 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53414 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53416 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53417 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53418 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53419 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53420 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53421 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53423 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53424 (__EPOLL_PACKED): Define to empty if not defined by
53426 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53430 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53432 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53433 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53434 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53435 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53437 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53441 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53443 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53445 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53446 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53447 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53450 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53452 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53453 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53455 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53457 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53458 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53460 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53462 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53465 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53467 * math/w_acos.c: Use non-signaling floating-point comparisons.
53468 * math/w_acosf.c: Likewise.
53469 * math/w_acosh.c: Likewise.
53470 * math/w_acoshf.c: Likewise.
53471 * math/w_acoshl.c: Likewise.
53472 * math/w_acosl.c: Likewise.
53473 * math/w_asin.c: Likewise.
53474 * math/w_asinf.c: Likewise.
53475 * math/w_asinl.c: Likewise.
53476 * math/w_atanh.c: Likewise.
53477 * math/w_atanhf.c: Likewise.
53478 * math/w_atanhl.c: Likewise.
53479 * math/w_exp2.c: Likewise.
53480 * math/w_exp2f.c: Likewise.
53481 * math/w_exp2l.c: Likewise.
53482 * math/w_j0.c: Likewise.
53483 * math/w_j0f.c: Likewise.
53484 * math/w_j0l.c: Likewise.
53485 * math/w_j1.c: Likewise.
53486 * math/w_j1f.c: Likewise.
53487 * math/w_j1l.c: Likewise.
53488 * math/w_jn.c: Likewise.
53489 * math/w_jnf.c: Likewise.
53490 * math/w_log.c: Likewise.
53491 * math/w_log10.c: Likewise.
53492 * math/w_log10f.c: Likewise.
53493 * math/w_log10l.c: Likewise.
53494 * math/w_log2.c: Likewise.
53495 * math/w_log2f.c: Likewise.
53496 * math/w_log2l.c: Likewise.
53497 * math/w_logf.c: Likewise.
53498 * math/w_logl.c: Likewise.
53499 * math/w_sqrt.c: Likewise.
53500 * math/w_sqrtf.c: Likewise.
53501 * math/w_sqrtl.c: Likewise.
53502 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53503 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53504 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53505 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53506 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53508 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53511 * manual/string.texi (strnlen): Use correct parameter name in
53512 equivalent expression.
53514 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53517 * manual/users.texi (seteuid): Consistently use neweuid for
53520 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53523 * manual/nss.texi (Services in the NSS configuration): Correct
53524 list of services in example configuration file.
53526 2012-02-19 Nick Bowler <nbowler@draconx.ca>
53529 * manual/arith.texi: Remove statements about negative zero
53530 behaving identically to zero.
53532 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53535 * manual/install.texi: Do not document upgrading from libc5.
53537 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53540 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53542 2012-02-18 David S. Miller <davem@davemloft.net>
53544 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53545 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53546 %o7 across the call.
53547 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53549 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53550 SETUP_PIC_REG_LEAF.
53551 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53552 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53553 * sysdeps/sparc/crtn.S: Likewise.
53555 2012-02-17 Ulrich Drepper <drepper@gmail.com>
53557 * aout/Makefile: Remove.
53559 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53562 * manual/examples/argp-ex1.c (main): Format definition in GNU
53564 * manual/examples/argp-ex2.c (main): Likewise.
53565 * manual/examples/argp-ex3.c (main): Likewise.
53566 * manual/examples/argp-ex4.c (main): Likewise.
53567 * manual/examples/longopt.c (main): Use new-style prototype
53569 * manual/examples/strncat.c (main): Specify return type and use
53570 (void) for arguments.
53571 * manual/examples/subopt.c (main): Use char **argv argument.
53573 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53576 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53579 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53582 * manual/string.texi (strchr): Change when strchrnul is
53585 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53588 * manual/locale.texi (setlocale): Document LOCPATH.
53590 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53593 * manual/process.texi (execle): Move @dots{} before last argument.
53595 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
53598 * manual/charset.texi (Generic Charset Conversion): Fix typo
53599 (LC_TYPE -> LC_CTYPE).
53601 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53604 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53605 (scalbnf): Likewise.
53606 (scalbnl): Likewise.
53607 (scalbln): Likewise.
53608 (scalblnf): Likewise.
53609 (scalblnl): Likewise.
53610 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53611 (vwarnx): Likewise.
53614 * manual/filesys.texi (telldir): Use braces around return type.
53615 * manual/llio.texi (mmap): Add space after comma.
53616 (mmap64): Likewise.
53617 * manual/math.texi (jn): Use @var{} on parameter names.
53623 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53625 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53627 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53628 (sched_get_priority_max): Likewise.
53629 * manual/signal.texi (sigvec): Add space after comma.
53630 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53632 (if_indextoname): Likewise.
53633 (if_freenameindex): Likewise.
53634 (sendto): Use ',' instead of '.' in prototype.
53635 * manual/startup.texi (syscall): Use @dots{} instead of literal
53637 * manual/stdio.texi (__fpending): Separate initial words of
53638 paragraph from @deftypefun line.
53639 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53641 (vsyslog): Use @var{} on parameter names.
53642 * manual/terminal.texi (stty): Use @var{} on parameter names.
53643 * manual/users.texi (getutmp): Use @var{} on parameter names.
53644 (getutmpx): Likewise.
53646 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53649 * manual/stdio.texi (fopen): Fix typos in description of
53652 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53655 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53656 get clock_id definition.
53658 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
53661 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53662 (madvise): Cast every argument to void on its own.
53664 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53667 * manual/startup.texi (Exit Status): Fix typo.
53669 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53672 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53673 * manual/examples/argp-ex2.c: Likewise.
53674 * manual/examples/argp-ex3.c: Likewise.
53676 2012-02-16 Richard Henderson <rth@redhat.com>
53678 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53679 * sysdeps/s390/s390-32/initfini.c: Remove.
53680 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53681 * sysdeps/s390/s390-64/initfini.c: Remove.
53683 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53685 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53686 compiler output for sysdeps/generic/initfini.c.
53687 * sysdeps/sh/elf/initfini.c: Remove file.
53689 2012-02-16 David S. Miller <davem@davemloft.net>
53692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53694 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53695 * sysdeps/sparc/crti.S: New file.
53696 * sysdeps/sparc/crtn.S: New file.
53697 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53698 * sysdeps/sparc/sparc64/Makefile: Likewise.
53700 2012-02-15 Mike Frysinger <vapier@gentoo.org>
53703 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53705 2012-02-15 Roland McGrath <roland@hack.frob.com>
53708 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53710 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53711 (write, read, close): Likewise.
53712 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53714 2012-02-15 Joseph Myers <joseph@codesourcery.com>
53716 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53717 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53718 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53719 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53721 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53725 2012-02-14 Marek Polacek <polacek@redhat.com>
53727 * sysdeps/x86_64/crti.S: New file.
53728 * sysdeps/x86_64/crtn.S: New file.
53729 * sysdeps/x86_64/elf/initfini.c: Remove file.
53731 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53733 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53734 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53735 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53736 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53738 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53742 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53744 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53745 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53746 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53747 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53749 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53753 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53755 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53756 __feraiseexcept instead of feraiseexcept.
53758 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53759 nanosleep invocations.
53760 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53761 strings, and add error checking for a nanosleep invocations.
53763 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53765 Replace FSF snail mail address with URLs, as per GNU coding standards.
53766 Most of the snail mail addresses were wrong anyway, and omitting
53767 them makes the source code easier to maintain. Almost all of the
53768 changes are to license notices and to locale LC_IDENTIFICATION
53769 addresses, except for this one:
53770 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53771 not its snail mail address.
53773 2012-02-09 Richard Henderson <rth@twiddle.net>
53775 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53776 of kernel-features.h.
53778 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53780 2012-02-08 Marek Polacek <polacek@redhat.com>
53782 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53783 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53784 * sysdeps/gnu/_G_config.h: Likewise.
53785 * sysdeps/generic/_G_config.h: Likewise.
53787 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53789 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53793 * sysdeps/powerpc/powerpc32/crti.S: New file.
53794 * sysdeps/powerpc/powerpc32/crtn.S: New file.
53795 * sysdeps/powerpc/powerpc64/crti.S: New file.
53796 * sysdeps/powerpc/powerpc64/crtn.S: New file.
53798 * Makeconfig (have-initfini): Don't set.
53799 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53800 * configure.in (nopic_initfini): Don't substitute.
53801 * config.h.in (HAVE_INITFINI): Don't #undef.
53802 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53803 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53805 2012-02-08 Joseph Myers <joseph@codesourcery.com>
53807 Support crti.S and crtn.S provided directly by architectures.
53808 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53809 [crti.S in sysdirs] (omit-deps): Likewise.
53810 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53811 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53812 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53813 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53814 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53815 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53816 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53817 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53818 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53819 compiler output for sysdeps/generic/initfini.c.
53820 * sysdeps/i386/elf/Makefile: Remove file.
53821 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53823 2012-02-07 Marek Polacek <polacek@redhat.com>
53825 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53826 * sysdeps/gnu/_G_config.h: Likewise.
53827 * sysdeps/mach/hurd/_G_config.h: Likewise.
53829 2012-02-07 Marek Polacek <polacek@redhat.com>
53831 * math/Makefile (tests): Add tst-CMPLX2.
53832 * math/tst-CMPLX2.c: New file.
53834 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
53836 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53838 * math/libm-test.inc (jn_test): Add missing L suffix.
53840 2012-02-06 Marek Polacek <polacek@redhat.com>
53842 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53843 * sysdeps/i386/fpu/e_powf.S: Likewise.
53844 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53845 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53846 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53847 * sysdeps/i386/fpu/e_pow.S: Likewise.
53848 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53849 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53850 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53851 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53852 * sysdeps/i386/fpu/e_log2.S: Likewise.
53853 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53854 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53855 * sysdeps/i386/fpu/e_powl.S: Likewise.
53856 * sysdeps/i386/fpu/s_log1p.S: Likewise.
53857 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53858 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53859 * sysdeps/i386/fpu/e_logl.S: Likewise.
53860 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53861 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53862 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53863 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53864 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53865 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53866 * sysdeps/i386/fpu/e_log.S: Likewise.
53867 * sysdeps/i386/fpu/s_cexp.S: Likewise.
53868 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53869 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53870 * sysdeps/i386/fpu/e_logf.S: Likewise.
53871 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53872 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53873 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53874 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53875 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53876 * sysdeps/i386/fpu/e_log10.S: Likewise.
53877 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53878 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53879 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53880 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53881 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53882 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53883 * sysdeps/i386/asm-syntax.h: Likewise.
53884 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53885 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53886 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53887 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53888 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53889 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53890 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53891 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53892 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53893 * sysdeps/powerpc/sysdep.h: Likewise.
53894 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53895 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53897 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53900 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53902 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53904 * sysdeps/i386/sysdep.h: Include <features.h>.
53905 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53908 2012-02-05 Joseph Myers <joseph@codesourcery.com>
53910 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53912 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53915 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53917 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53918 (SETUP_PIC_REG): Use GET_PC_THUNK.
53919 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53922 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53924 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53925 for non-PIC compilation.
53926 (SETUP_PIC_REG): Add .p2align directive.
53927 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53928 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53929 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53930 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53931 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53932 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53933 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53934 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53935 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53936 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53937 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53938 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53939 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53940 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53941 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53942 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53943 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53944 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53945 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53946 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53947 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53948 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53949 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53950 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53951 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53952 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53953 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53954 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53955 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53956 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53957 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53958 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53959 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53960 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53961 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53962 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53963 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53964 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53965 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53966 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53967 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53969 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53971 * math/tst-CMPLX.c: Include <stdio.h>.
53973 2012-01-31 Joseph Myers <joseph@codesourcery.com>
53975 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53977 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53978 * sysdeps/sparc/bits/mathdef.h: Likewise.
53980 2012-01-31 Marek Polacek <polacek@redhat.com>
53982 * libio/libio.h: Don't define _PARAMS.
53983 * locale/programs/config.h: Don't define PARAMS.
53984 * stdlib/strtol_l.c: Likewise.
53985 (__strtol_l): Remove PARAMS from the prototype.
53987 2012-01-31 Ulrich Drepper <drepper@gmail.com>
53989 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
53990 names. Just use the correct names. Remove unnecessary wrapper
53992 * malloc/arena.c: Likewise.
53993 * malloc/hooks.c: Likewise.
53995 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53996 ARENA_TEST says not to. Simplify test for creation of a new arena.
53997 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53999 2012-01-30 Ulrich Drepper <drepper@gmail.com>
54001 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54003 (update_get_addr): New function.
54004 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54005 GET_ADDR_MODULE parameter.
54007 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54009 * crypt/cert.c: Remove __STDC__ conditionals.
54010 * crypt/crypt-entry.c: Likewise.
54011 * crypt/crypt_util.c: Likewise.
54012 * libio/filedoalloc.c: Likewise.
54013 * libio/fileops.c: Likewise.
54014 * libio/genops.c: Likewise.
54015 * libio/iofclose.c: Likewise.
54016 * libio/iofdopen.c: Likewise.
54017 * libio/iofopen.c: Likewise.
54018 * libio/iofopen64.c: Likewise.
54019 * libio/iogetdelim.c: Likewise.
54020 * libio/iopopen.c: Likewise.
54021 * libio/obprintf.c: Likewise.
54022 * libio/oldfileops.c: Likewise.
54023 * libio/oldiofclose.c: Likewise.
54024 * libio/oldiofdopen.c: Likewise.
54025 * libio/oldiofopen.c: Likewise.
54026 * libio/oldiopopen.c: Likewise.
54027 * libio/wfiledoalloc.c: Likewise.
54028 * libio/wgenops.c: Likewise.
54029 * locale/programs/xmalloc.c: Likewise.
54030 * misc/syslog.c: Likewise.
54031 * stdio-common/xbug.c: Likewise.
54032 * string/memchr.c: Likewise.
54033 * string/memcmp.c: Likewise.
54034 * string/memrchr.c: Likewise.
54035 * string/rawmemchr.c: Likewise.
54036 * sysdeps/posix/getcwd.c: Likewise.
54037 * time/strftime_l.c: Likewise.
54039 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54041 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54042 * config.make.in (config-cflags-sse2avx): Define.
54043 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54046 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54048 * scripts/config.guess: Update from upstream config git repository.
54049 * scripts/config.sub: Likewise.
54051 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54053 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54055 (R_TILEPRO_*, R_TILEGX_*): New macros.
54057 * scripts/firstversions.awk: Fix bug in version range handling.
54059 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54061 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54063 * include/sys/epoll.h: New file.
54064 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54067 2012-01-28 Ulrich Drepper <drepper@gmail.com>
54069 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54070 Avoid unnecessary __WORDSIZE == 64 test.
54071 (fmaxf): Use VEX format if possible.
54076 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54077 * math/math_private.h: Remove libc_fegetround* and
54079 * sysdeps/i386/configure.in: Check for -msse2avx.
54080 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54081 also if SSE2AVX is defined.
54082 Remove libc_fegetround* and libc_fesetround*.
54083 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54084 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54085 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54087 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54088 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54089 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54090 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54091 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54093 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54095 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54097 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54099 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54101 2012-01-27 Ulrich Drepper <drepper@gmail.com>
54104 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54106 * Makeconfig (libm): Define.
54107 * elf/Makefile: Add rules to build and run tst-relsort1.
54108 * elf/tst-relsort1.c: New file.
54109 * elf/tst-relsort1mod1.c: New file.
54110 * elf/tst-relsort1mod2.c: New file.
54112 2012-01-27 Joseph Myers <joseph@codesourcery.com>
54114 * math/s_ldexp.c: Remove __STDC__ conditionals.
54115 * math/s_ldexpf.c: Likewise.
54116 * math/s_ldexpl.c: Likewise.
54117 * math/s_nextafter.c: Likewise.
54118 * math/s_nexttowardf.c: Likewise.
54119 * math/s_significand.c: Likewise.
54120 * math/s_significandf.c: Likewise.
54121 * math/s_significandl.c: Likewise.
54122 * math/w_jnl.c: Likewise.
54123 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54124 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54125 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54126 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54127 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54128 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54129 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54130 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54131 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54132 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54133 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54134 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54135 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54136 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54137 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54138 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54139 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54140 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54141 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54142 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54143 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54144 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54145 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54146 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54147 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54148 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54149 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54150 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54151 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54152 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54153 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54154 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54155 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54156 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54157 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54158 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54159 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54160 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54161 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54162 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54163 * sysdeps/ieee754/k_standard.c: Likewise.
54164 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54165 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54166 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54167 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54168 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54169 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54170 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54171 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54172 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54173 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54174 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54175 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54176 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54177 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54178 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54179 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54180 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54181 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54182 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54183 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54184 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54185 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54186 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54187 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54188 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54189 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54193 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54194 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54195 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54196 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54197 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54198 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54199 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54200 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54201 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54202 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54203 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54204 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54205 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54206 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54207 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54208 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54209 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54210 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54211 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54212 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54213 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54214 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54215 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54216 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54217 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54218 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54219 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54220 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54221 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54222 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54223 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54224 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54225 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54226 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54227 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54228 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54229 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54230 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54231 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54232 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54233 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54234 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54235 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54236 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54237 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54238 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54239 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54240 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54241 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54242 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54243 * sysdeps/ieee754/s_matherr.c: Likewise.
54244 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54245 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54246 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54247 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54249 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54251 * crypt/md5.h: Remove __STDC__ conditionals.
54252 * libio/libioP.h: Likewise.
54253 * locale/programs/config.h: Likewise.
54254 * sysdeps/generic/sysdep.h: Likewise.
54255 * sysdeps/i386/asm-syntax.h: Likewise.
54256 * sysdeps/s390/asm-syntax.h: Likewise.
54257 * sysdeps/unix/sysdep.h: Likewise.
54258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54261 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54263 * libio/libio.h: Remove __STDC__ conditionals.
54264 * malloc/obstack.h: Likewise.
54265 * math/complex.h: Likewise.
54266 * math/math.h: Likewise.
54267 * sysdeps/generic/_G_config.h: Likewise.
54268 * sysdeps/gnu/_G_config.h: Likewise.
54269 * sysdeps/mach/hurd/_G_config.h: Likewise.
54270 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54271 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54272 * sysdeps/sparc/bits/mathdef.h: Likewise.
54274 2012-01-26 Ulrich Drepper <drepper@gmail.com>
54277 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54278 Clean up HAS_* macros.
54279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54280 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54282 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54284 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54285 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54286 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54287 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54288 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54290 2012-01-25 Joseph Myers <joseph@codesourcery.com>
54292 * elf/tst-unique3.cc (gets): Remove declaration.
54293 * elf/tst-unique3lib.cc (gets): Likewise.
54294 * elf/tst-unique3lib2.cc (gets): Likewise.
54295 * elf/tst-unique4.cc (gets): Likewise.
54297 2012-01-24 Ulrich Drepper <drepper@gmail.com>
54299 * include/stdio.h: Add C++ protection. Add gets declarations and
54301 * debug/tst-chk1.c: Don't declare gets here.
54302 * stdio-common/tst-gets.c: Likewise.
54304 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54306 * posix/glob: Remove directory.
54308 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54310 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54312 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54314 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54315 of the non-standard EPFNOSUPPORT.
54317 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54319 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54320 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54321 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54323 2012-01-21 Ulrich Drepper <drepper@gmail.com>
54325 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54327 2012-01-20 Ulrich Drepper <drepper@gmail.com>
54329 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54331 * nscd/grpcache.c (cache_addgr): Likewise.
54332 * nscd/hstcache.c (cache_addhst): Likewise.
54333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54334 * nscd/pwdcache.c (cache_addpw): Likewise.
54335 * nscd/servicescache.c (cache_addserv): Likewise.
54337 2012-01-16 Ulrich Drepper <drepper@gmail.com>
54339 * malloc/malloc.c: Various cleanups.
54340 * malloc/hooks.c: Likewise.
54342 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54343 * stdlib/bug-fmtmsg1.c: New file.
54345 * stdlib/fmtmsg.c (init): Add missing unlock.
54346 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54348 2012-01-12 Marek Polacek <polacek@redhat.com>
54350 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54353 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54355 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54356 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54357 macro to ensure uniqueness of label name.
54358 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54359 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54361 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54363 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54365 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54366 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54367 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54368 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54370 2012-01-10 Ulrich Drepper <drepper@gmail.com>
54372 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54374 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54375 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54376 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54378 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54380 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54381 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54382 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54383 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54385 * math/bits/math-finite.h: Add ldexp support.
54387 2012-01-10 Marek Polacek <polacek@redhat.com>
54389 * locale/programs/localedef.h (show_archive_content): Add noreturn
54392 2012-01-09 Ulrich Drepper <drepper@gmail.com>
54394 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54396 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54398 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54400 * io/Makefile (headers): Add bits/poll2.h.
54402 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54405 typo #include statement.
54407 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54409 * include/sys/cdefs.h: Define __attribute_alloc_size.
54410 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54411 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54412 * elf/pldd.c: Likewise.
54413 * iconv/iconv_charmap.c: Likewise.
54414 * iconv/iconvconfig.c: Likewise.
54415 * iconv/strtab.c: Likewise.
54416 * locale/programs/locale.c: Likewise.
54417 * locale/programs/localedef.h: Likewise.
54418 * locale/programs/simple-hash.c: Likewise.
54419 * nscd/nscd.h: Likewise.
54420 * nss/makedb.c: Likewise.
54421 * sysdeps/generic/ldconfig.h: Likewise.
54422 * locale/programs/localedef.c: Remove xmalloc prototype.
54423 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54425 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54427 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54430 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54432 * math/Makefile (tests): Add tst-CMPLX.
54433 * math/tst-CMPLX.c: New file.
54435 * math/complex.h (CMPLXL): Fix typo.
54437 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54438 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54440 * debug/tst-chk1.c: Add poll and ppoll tests.
54441 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54442 * include/sys/poll.h: Add hidden proto for ppoll.
54443 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54444 * sysdeps/mach/hurd/ppoll.c: Likewise.
54445 * io/ppoll.c: Likewise.
54446 * debug/poll_chk.c: New file.
54447 * debug/ppoll_chk.c: New file.
54448 * include/bits/poll2.h: New file.
54449 * io/bits/poll2.h: New file.
54452 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54454 * configure.in: static is always set to yes. Remove.
54455 * config.make.in: Don't set build-static.
54456 * Makeconfig: Remove use of build-static.
54457 * dlfcn/Makefile: Likewise.
54458 * elf/Makefile: Likewise.
54459 * math/Makefile: Likewise.
54460 * misc/Makefile: Likewise.
54461 * nptl/Makefile: Likewise.
54462 * sysdeps/mach/hurd/Makefile: Likewise.
54464 * configure.in: PWD_P is not used anymore.
54465 * config.make.in: Remove PWD_P entry.
54467 * configure.in: Remove last remnants of RANLIB.
54468 No need to check for signed size_t anymore.
54469 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54471 Remove __builtin_expect test because we require at least gcc 3.4.
54472 * aclocal.m4: Likewise.
54474 * wcsmbs/mbrtoc16.c: Implement using towc function.
54475 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54476 * wcsmbs/wcsmbsload.c: Likewise.
54477 * iconv/gconv_simple.c: Likewise.
54478 * iconv/gconv_int.h: Likewise.
54479 * iconv/gconv_builtin.h: Likewise.
54480 * iconv/iconv_prog.c: Remove CHAR16 handling.
54482 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54484 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54486 * configure.in: Remove --with-elf and --enable-bounded options.
54487 Dont set base_machine for ia64. More non-ELF conditions removed.
54488 Remove testing and setting of leading underscore information.
54489 * config.make.in (build-bounded): Set to no.
54490 * config.h.in: Remove NO_UNDERSCORES entry.
54491 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54493 * csu/start.c: Remove !NO_UNDERSCORE code.
54494 * locale/localeinfo.h: Likewise.
54495 * sysdeps/generic/machine-gmon.h: Likewise.
54496 * sysdeps/generic/sysdep.h: Likewise.
54497 * sysdeps/i386/sysdep.h: Likewise.
54498 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54499 * sysdeps/mach/sysdep.h: Likewise.
54500 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54501 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54502 * sysdeps/sh/sysdep.h: Likewise.
54503 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54504 * sysdeps/unix/i386/sysdep.S: Likewise.
54505 * sysdeps/unix/sparc/start.c: Likewise.
54506 * sysdeps/unix/sparc/sysdep.S: Likewise.
54507 * sysdeps/unix/sparc/sysdep.h: Likewise.
54508 * sysdeps/unix/start.c: Likewise.
54509 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54510 * sysdeps/x86_64/sysdep.h: Likewise.
54512 2012-01-07 Ulrich Drepper <drepper@gmail.com>
54515 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54517 * argp/argp-fmtstream.h: Use const instead __const.
54518 * argp/argp.h: Likewise.
54519 * assert/assert.h: Likewise.
54520 * bits/fenv.h: Likewise.
54521 * bits/sched.h: Likewise.
54522 * bits/sigset.h: Likewise.
54523 * bits/sigthread.h: Likewise.
54524 * catgets/nl_types.h: Likewise.
54525 * conform/data/pthread.h-data: Likewise.
54526 * crypt/crypt-private.h: Likewise.
54527 * crypt/crypt.h: Likewise.
54528 * crypt/crypt_util.c: Likewise.
54529 * ctype/ctype.h: Likewise.
54530 * debug/execinfo.h: Likewise.
54531 * debug/mbsnrtowcs_chk.c: Likewise.
54532 * debug/mbsrtowcs_chk.c: Likewise.
54533 * debug/wcsnrtombs_chk.c: Likewise.
54534 * debug/wcsrtombs_chk.c: Likewise.
54535 * debug/wcstombs_chk.c: Likewise.
54536 * dirent/dirent.h: Likewise.
54537 * dlfcn/dlfcn.h: Likewise.
54538 * elf/neededtest4.c: Likewise.
54539 * grp/grp.h: Likewise.
54540 * gshadow/gshadow.h: Likewise.
54541 * iconv/gconv.h: Likewise.
54542 * iconv/gconv_int.h: Likewise.
54543 * iconv/gconv_simple.c: Likewise.
54544 * iconv/iconv.h: Likewise.
54545 * iconv/loop.c: Likewise.
54546 * iconv/skeleton.c: Likewise.
54547 * include/aio.h: Likewise.
54548 * include/aliases.h: Likewise.
54549 * include/argz.h: Likewise.
54550 * include/arpa/inet.h: Likewise.
54551 * include/assert.h: Likewise.
54552 * include/dirent.h: Likewise.
54553 * include/dlfcn.h: Likewise.
54554 * include/execinfo.h: Likewise.
54555 * include/fcntl.h: Likewise.
54556 * include/fenv.h: Likewise.
54557 * include/glob.h: Likewise.
54558 * include/grp.h: Likewise.
54559 * include/libintl.h: Likewise.
54560 * include/mntent.h: Likewise.
54561 * include/netdb.h: Likewise.
54562 * include/pwd.h: Likewise.
54563 * include/rpc/netdb.h: Likewise.
54564 * include/sched.h: Likewise.
54565 * include/search.h: Likewise.
54566 * include/shadow.h: Likewise.
54567 * include/signal.h: Likewise.
54568 * include/stdio.h: Likewise.
54569 * include/stdlib.h: Likewise.
54570 * include/string.h: Likewise.
54571 * include/sys/socket.h: Likewise.
54572 * include/sys/stat.h: Likewise.
54573 * include/sys/statfs.h: Likewise.
54574 * include/sys/statvfs.h: Likewise.
54575 * include/sys/syslog.h: Likewise.
54576 * include/sys/time.h: Likewise.
54577 * include/sys/uio.h: Likewise.
54578 * include/time.h: Likewise.
54579 * include/unistd.h: Likewise.
54580 * include/utmp.h: Likewise.
54581 * include/wchar.h: Likewise.
54582 * include/wctype.h: Likewise.
54583 * inet/aliases.h: Likewise.
54584 * inet/arpa/inet.h: Likewise.
54585 * inet/netinet/ether.h: Likewise.
54586 * inet/netinet/in.h: Likewise.
54587 * intl/libintl.h: Likewise.
54588 * io/bits/fcntl2.h: Likewise.
54589 * io/fcntl.h: Likewise.
54590 * io/ftw.h: Likewise.
54591 * io/sys/poll.h: Likewise.
54592 * io/sys/stat.h: Likewise.
54593 * io/sys/statfs.h: Likewise.
54594 * io/sys/statvfs.h: Likewise.
54595 * io/utime.h: Likewise.
54596 * libio/bits/stdio.h: Likewise.
54597 * libio/bits/stdio2.h: Likewise.
54598 * libio/libio.h: Likewise.
54599 * libio/libioP.h: Likewise.
54600 * libio/stdio.h: Likewise.
54601 * locale/lc-ctype.c: Likewise.
54602 * locale/locale.h: Likewise.
54603 * login/utmp.h: Likewise.
54604 * malloc/arena.c: Likewise.
54605 * malloc/malloc.c: Likewise.
54606 * malloc/malloc.h: Likewise.
54607 * malloc/mcheck.c: Likewise.
54608 * malloc/mtrace.c: Likewise.
54609 * math/bits/mathcalls.h: Likewise.
54610 * math/fenv.h: Likewise.
54611 * math/math_private.h: Likewise.
54612 * misc/bits/error.h: Likewise.
54613 * misc/bits/syslog.h: Likewise.
54614 * misc/err.h: Likewise.
54615 * misc/error.h: Likewise.
54616 * misc/fstab.h: Likewise.
54617 * misc/mntent.h: Likewise.
54618 * misc/regexp.h: Likewise.
54619 * misc/search.h: Likewise.
54620 * misc/sgtty.h: Likewise.
54621 * misc/sys/mman.h: Likewise.
54622 * misc/sys/syslog.h: Likewise.
54623 * misc/sys/uio.h: Likewise.
54624 * misc/sys/xattr.h: Likewise.
54625 * misc/ttyent.h: Likewise.
54626 * nis/rpcsvc/ypclnt.h: Likewise.
54627 * nss/nss.h: Likewise.
54628 * posix/bits/unistd.h: Likewise.
54629 * posix/fnmatch.h: Likewise.
54630 * posix/glob.h: Likewise.
54631 * posix/sched.h: Likewise.
54632 * posix/spawn.h: Likewise.
54633 * posix/sys/wait.h: Likewise.
54634 * posix/unistd.h: Likewise.
54635 * posix/wordexp.h: Likewise.
54636 * pwd/pwd.h: Likewise.
54637 * resolv/netdb.h: Likewise.
54638 * resource/sys/resource.h: Likewise.
54639 * rt/aio.h: Likewise.
54640 * rt/bits/mqueue2.h: Likewise.
54641 * rt/mqueue.h: Likewise.
54642 * shadow/shadow.h: Likewise.
54643 * signal/signal.h: Likewise.
54644 * socket/send.c: Likewise.
54645 * socket/sendto.c: Likewise.
54646 * socket/sys/socket.h: Likewise.
54647 * stdio-common/printf.h: Likewise.
54648 * stdlib/bits/stdlib.h: Likewise.
54649 * stdlib/fmtmsg.h: Likewise.
54650 * stdlib/monetary.h: Likewise.
54651 * stdlib/stdlib.h: Likewise.
54652 * stdlib/ucontext.h: Likewise.
54653 * streams/stropts.h: Likewise.
54654 * string/argz.h: Likewise.
54655 * string/bits/string2.h: Likewise.
54656 * string/string.h: Likewise.
54657 * string/strings.h: Likewise.
54658 * sunrpc/rpc/auth.h: Likewise.
54659 * sunrpc/rpc/auth_des.h: Likewise.
54660 * sunrpc/rpc/clnt.h: Likewise.
54661 * sunrpc/rpc/netdb.h: Likewise.
54662 * sunrpc/rpc/pmap_clnt.h: Likewise.
54663 * sunrpc/rpc/xdr.h: Likewise.
54664 * sysdeps/generic/inttypes.h: Likewise.
54665 * sysdeps/generic/net/if.h: Likewise.
54666 * sysdeps/generic/sys/swap.h: Likewise.
54667 * sysdeps/gnu/net/if.h: Likewise.
54668 * sysdeps/gnu/utmpx.h: Likewise.
54669 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54670 * sysdeps/i386/i486/bits/string.h: Likewise.
54671 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54672 * sysdeps/s390/bits/string.h: Likewise.
54673 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54674 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54675 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54676 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54677 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54678 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54679 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54680 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54681 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54682 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54683 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54684 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54685 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54686 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54687 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54688 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54689 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54691 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54692 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54693 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54694 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54695 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54696 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54697 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54698 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54699 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54700 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54701 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54702 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54703 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54704 * sysvipc/sys/ipc.h: Likewise.
54705 * sysvipc/sys/msg.h: Likewise.
54706 * sysvipc/sys/sem.h: Likewise.
54707 * sysvipc/sys/shm.h: Likewise.
54708 * termios/termios.h: Likewise.
54709 * time/sys/time.h: Likewise.
54710 * time/time.h: Likewise.
54711 * wcsmbs/bits/wchar2.h: Likewise.
54712 * wcsmbs/uchar.h: Likewise.
54713 * wcsmbs/wchar.h: Likewise.
54714 * wctype/wctype.h: Likewise.
54717 * Makeconfig: Remove all but ELF support including AIX support.
54718 * Makerules: Likewise.
54719 * config.h.in: Likewise.
54720 * config.make.in: Likewise.
54721 * configure: Likewise.
54722 * configure.in: Likewise.
54723 * csu/Makefile: Likewise.
54724 * csu/version.c: Likewise.
54725 * debug/Makefile: Likewise.
54726 * dlfcn/Makefile: Likewise.
54727 * elf/Makefile: Likewise.
54728 * extra-lib.mk: Likewise.
54729 * iconv/Makefile: Likewise.
54730 * include/libc-symbols.h: Likewise.
54731 * include/shlib-compat.h: Likewise.
54732 * resolv/Makefile: Likewise.
54733 * resolv/res_libc.c: Likewise.
54734 * rt/Makefile: Likewise.
54735 * sysdeps/i386/asm-syntax.h: Likewise.
54736 * sysdeps/i386/sysdep.h: Likewise.
54737 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54738 * sysdeps/mach/sysdep.h: Likewise.
54739 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54740 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54741 * sysdeps/s390/asm-syntax.h: Likewise.
54742 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54743 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54744 * sysdeps/sh/sysdep.h: Likewise.
54745 * sysdeps/unix/sparc/sysdep.h: Likewise.
54746 * sysdeps/wordsize-32/divdi3.c: Likewise.
54747 * sysdeps/x86_64/sysdep.h: Likewise.
54749 * argp/Versions: Remove _argp_unlock_xxx.
54752 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54753 * abilist/libBrokenLocale.abilist: Likewise.
54754 * abilist/libanl.abilist: Likewise.
54755 * abilist/libc.abilist: Likewise.
54756 * abilist/libcrypt.abilist: Likewise.
54757 * abilist/libdl.abilist: Likewise.
54758 * abilist/libm.abilist: Likewise.
54759 * abilist/libnsl.abilist: Likewise.
54760 * abilist/libpthread.abilist: Likewise.
54761 * abilist/libresolv.abilist: Likewise.
54762 * abilist/librt.abilist: Likewise.
54763 * abilist/libthread_db.abilist: Likewise.
54764 * abilist/libutil.abilist: Likewise.
54765 * abilist/libnss_db.abilist: New file.
54767 * scripts/abilist.awk: Add support for indirect functions.
54769 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54771 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54773 * shlib-versions: Remove entries for ports architectures.
54775 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54777 * elf/stackguard-macros.h: Remove support for IA-64.
54778 * elf/tst-auditmod1.c: Likewise.
54779 * sysdeps/generic/ldsodefs.h: Likewise.
54781 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54782 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54786 * configure.in: Remove --enable-omitfp support.
54788 * config.make.in: Likewise.
54789 * Makeconfig: Likewise.
54790 * manual/install.texi: Likewise.
54792 In case anyone cares, the IA-64 architecture could move to ports.
54793 * sysdeps/ia64/*: Removed.
54794 * sysdeps/unix/sysv/linux/ia64/*: Removed.
54795 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54798 * configure.in: Remove entries for unsupported architectures.
54801 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54802 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
54804 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54805 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54806 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
54807 fall back to using wcrtomb.
54808 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54809 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
54811 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54812 * wcsmbs/tst-c16c32-1.c: New file.
54814 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54817 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54819 * elf/tst-unique3.cc: Add explicit declaration of gets.
54820 * elf/tst-unique3lib.cc: Likewise.
54821 * elf/tst-unique3lib2.cc: Likewise.
54822 * elf/tst-unique4.cc: Likewise.
54824 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54826 2012-01-06 Joseph Myers <joseph@codesourcery.com>
54829 * assert/assert.h (static_assert): Don't define for C++.
54830 * libio/stdio.h (gets): Do declare for C++ <= C++11.
54831 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54833 2012-01-03 Ulrich Drepper <drepper@gmail.com>
54835 * iconv/loop.c (single loop): Fix assertion in storing of
54838 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54840 2012-01-01 Ulrich Drepper <drepper@gmail.com>
54842 * posix/getconf.c: Update copyright year.
54843 * nss/getent.c: Likewise.
54844 * nss/makedb.c: Likewise.
54845 * iconv/iconvconfig.c: Likewise.
54846 * iconv/iconv_prog.c: Likewise.
54847 * elf/ldconfig.c: Likewise.
54848 * elf/pldd.c: Likewise.
54849 * elf/sotruss.ksh: Likewise.
54850 * catgets/gencat.c: Likewise.
54851 * csu/version.c: Likewise.
54852 * elf/ldd.bash.in: Likewise.
54853 * elf/sprof.c (print_version): Likewise.
54854 * locale/programs/locale.c: Likewise.
54855 * locale/programs/localedef.c: Likewise.
54856 * login/programs/pt_chown.c: Likewise.
54857 * nscd/nscd.c (print_version): Likewise.
54858 * debug/xtrace.sh: Likewise.
54859 * malloc/memusage.sh: Likewise.
54860 * malloc/mtrace.pl: Likewise.
54861 * debug/catchsegv.sh: Likewise.
54863 2011-12-30 Jakub Jelinek <jakub@redhat.com>
54865 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54868 2011-12-24 Ulrich Drepper <drepper@gmail.com>
54871 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54872 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54874 * iconv/gconv_int.h: Likewise.
54875 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54876 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54877 from libc for GLIBC_2.16.
54878 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54879 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54880 * wcsmbs/uchar.h: Really define mbstate_t.
54881 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54882 * wcsmbs/c16rtomb.c: New file.
54883 * wcsmbs/mbrtoc16.c: New file.
54884 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54885 for C/POSIX locale.
54886 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54887 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54889 * wcsmbs/wchar.h: Add missing __restrict.
54891 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54894 * time/Makefile (routines): Add timespec_get.
54895 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54896 * time/time.h: Define TIME_UTC and declare timespec_get. Define
54897 timespec for ISO C11.
54898 * time/timespec_get.c: New file.
54899 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54900 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54903 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54904 * stdlib/stdlib.h: Declare aligned_alloc.
54905 * Versions.def: Add GLIBC_2.16 for libc.
54906 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54909 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54912 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54916 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54919 * assert/assert.h (static_assert): Define.
54921 * version.h: Update for 2.16 development version.
54924 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54927 * version.h (RELEASE): Bump for 2.15 release.
54928 * include/features.h (__GLIBC_MINOR__): Bump to 15.
54930 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54931 Patch by Marek Polacek <mpolacek@redhat.com>.
54933 * bits/byteswap.h: Protect long long constants with __extension__.
54934 * sysdeps/i386/bits/byteswap.h: Likewise.
54935 * sysdeps/ia64/bits/byteswap.h: Likewise.
54936 * sysdeps/s390/bits/byteswap.h: Likewise.
54937 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54939 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54942 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54943 destination buffer.
54944 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54946 2011-12-23 Marek Polacek <polacek@redhat.com>
54948 * elf/dl-addr.c (determine_info): Add inline keyword.
54949 * elf/tst-auditmod4b.c (check_avx): Likewise.
54950 * elf/tst-auditmod6b.c (check_avx): Likewise.
54951 * elf/tst-auditmod6c.c (check_avx): Likewise.
54952 * elf/tst-auditmod7b.c (check_avx): Likewise.
54954 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54956 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54959 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54962 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54963 processing for last bytes.
54965 2011-08-06 Bruno Haible <bruno@clisp.org>
54968 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54969 U+0385, not to U+1FEE.
54972 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54973 entry for U+00A5 U+0301.
54975 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54978 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54979 buffer for the output is too small.
54981 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54985 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54986 SSE flags if possible.
54988 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54991 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54992 processing for last bytes.
54994 2011-12-22 Joseph Myers <joseph@codesourcery.com>
54996 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54997 (syscall-list-default-options, syscall-list-default-condition)
54998 (syscall-list-includes): Define.
54999 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55000 list of ABIs and options and #if conditions for each ABI. Do not
55001 handle common syscalls between ABIs specially.
55002 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55004 (syscall-list-variants, syscall-list-32bit-options)
55005 (syscall-list-32bit-condition, syscall-list-64bit-options)
55006 (syscall-list-64bit-condition): Define.
55007 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55008 (syscall-list-variants, syscall-list-32bit-options)
55009 (syscall-list-32bit-condition, syscall-list-64bit-options)
55010 (syscall-list-64bit-condition): Define.
55011 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55013 (syscall-list-variants, syscall-list-32bit-options)
55014 (syscall-list-32bit-condition, syscall-list-64bit-options)
55015 (syscall-list-64bit-condition): Define.
55016 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55018 (syscall-list-variants, syscall-list-32bit-options)
55019 (syscall-list-32bit-condition, syscall-list-64bit-options)
55020 (syscall-list-64bit-condition): Define.
55022 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55024 * locale/iso-639.def: Add brx entry.
55027 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55028 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55030 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55031 __feraiseexcept_renamed.
55033 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55036 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55037 EPOLLET with unsigned values.
55038 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55039 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55041 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55042 to large cancellation.
55043 * math/s_cacoshf.c: Likewise.
55044 * math/s_cacoshl.c: Likewise.
55046 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55050 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55051 * math/s_cacoshf.c: Likewise.
55052 * math/s_cacoshl.c: Likewise.
55054 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55057 * iconv/gconv.h: Define __GCONV_SWAP.
55058 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55059 * iconvdata/utf-16.c: Likewise.
55060 * iconvdata/utf-32.c: Likewise.
55062 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55065 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55066 numerator after shifting it by one limb.
55068 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55070 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55071 under [__USE_EXTERN_INLINES].
55073 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55076 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55078 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55080 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55081 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55083 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55084 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55085 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55086 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55087 for strncasecmp/strncasecmp_l compilation.
55088 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55089 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55091 2011-12-08 Marek Polacek <mpolacek@redhat.com>
55094 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55097 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55100 * time/tzfile.c (__tzfile_read): Check values from file header.
55102 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55104 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55105 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55106 * powerpc/powerpc32/dl-start.S: Likewise.
55107 * powerpc/powerpc32/elf/start.S: Likewise.
55108 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55109 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55110 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55111 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55112 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55113 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55114 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55115 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55116 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55117 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55118 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55119 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55120 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55121 * powerpc/powerpc32/memset.S: Likewise.
55122 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55123 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55124 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55125 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55126 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55127 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55128 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55129 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55130 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55131 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55132 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55133 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55134 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55136 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55138 * math/libm-test.inc: Added more nearbyint tests.
55139 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55140 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55141 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55142 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55144 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55146 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55149 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55151 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55152 Add wcscpy-ssse3 wcscpy-c.
55153 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55154 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55155 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55156 * sysdeps/x86_64/wcschr.S: New file.
55157 * sysdeps/x86_64/wcsrchr.S: New file.
55158 * string/test-strcmp.c: Remove checking of wcscmp function for
55160 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55161 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55162 wcsrchr-sse2 wcsrchr-c.
55163 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55164 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55165 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55166 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55167 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55168 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55169 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55170 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55171 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55172 * wcsmbc/wcschr.c (WCSCHR): New macro.
55174 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55176 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55177 * wcsmbs/test-wcsrchr.c: New file.
55178 * string/test-strrchr.c: Add wcsrchr support.
55180 * wcsmbs/test-wcscpy.c: New file.
55181 * string/test-strcpy.c: Add wcscpy support.
55184 2011-12-10 Ulrich Drepper <drepper@gmail.com>
55186 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55189 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55192 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55194 2011-12-04 Ulrich Drepper <drepper@gmail.com>
55196 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55197 Minor optimizations.
55199 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55200 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55201 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55203 2011-12-03 Ulrich Drepper <drepper@gmail.com>
55205 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55206 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55207 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55208 for gcc to avoid warnings.
55209 * inet/Makefile (tests): Add tst-checks.
55210 * inet/tst-checks.c: New file.
55212 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55215 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55218 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55219 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55221 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55223 2011-12-02 Ulrich Drepper <drepper@gmail.com>
55225 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55228 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55230 2011-11-29 Joseph Myers <joseph@codesourcery.com>
55232 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55233 conditional on GCC version.
55234 (__arch_compare_and_exchange_val_8_acq)
55235 (__arch_compare_and_exchange_val_16_acq)
55236 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55237 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55238 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55240 2011-12-02 Joseph Myers <joseph@codesourcery.com>
55242 * sysdeps/sh/backtrace.c: New file.
55244 2011-12-02 Andreas Schwab <schwab@redhat.com>
55246 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55249 2011-12-01 Andreas Schwab <schwab@redhat.com>
55251 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55252 falling back to utime.
55254 2011-11-30 Andreas Schwab <schwab@redhat.com>
55256 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55257 expectations for float.
55259 2011-11-29 Andreas Schwab <schwab@redhat.com>
55261 * locale/weight.h (findidx): Add parameter len.
55262 * locale/weightwc.h (findidx): Likewise.
55263 * posix/fnmatch_loop.c (FCT): Adjust caller.
55264 * posix/regcomp.c (build_equiv_class): Likewise.
55265 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55266 * posix/regexec.c (check_node_accept_bytes): Likewise.
55267 * string/strcoll_l.c (STRCOLL): Likewise.
55268 * string/strxfrm_l.c (STRXFRM): Likewise.
55270 2011-11-17 Ulrich Drepper <drepper@gmail.com>
55272 * Makefile.in: Remove CVSOPT handling.
55273 * configure.in: Remove use of AC_REVISION.
55274 * iconvdata/Makefile (distribute): No need to filter out CVS.
55275 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55278 2011-11-16 Andreas Schwab <schwab@redhat.com>
55280 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55281 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55282 [USE_AS_STRNCASECMP_L]: Likewise.
55283 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55284 NO_TLS_DIRECT_SEG_REFS.
55285 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55286 Fix argument offsets for non-PIC.
55287 [USE_AS_STRNCASECMP_L]: Likewise.
55288 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55289 NO_TLS_DIRECT_SEG_REFS.
55291 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55293 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55295 * locale/loadlocale.c (_nl_load_locale): Likewise.
55297 2011-11-15 Andreas Schwab <schwab@redhat.com>
55299 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55300 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55301 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55302 (SYSCALL_GETTIME): Set errno on error.
55304 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55305 count references to noai6ai_cached.
55307 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55309 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55311 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55312 FD_CLOEXEC for /proc/self/maps.
55314 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55315 FD_CLOEXEC for /proc/meminfo.
55317 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55320 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55321 FD_CLOEXEC for given file.
55323 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55325 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55326 FD_CLOEXEC for /etc/hosts.
55327 (_gethtent): Likewise.
55329 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55331 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55332 cancellation and set FD_CLOEXEC for /etc/netgroup.
55334 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55335 reading /etc/publickey.
55337 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55338 allow cancellation when reading /etc/group.
55340 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55342 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55344 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55345 when using data file.
55347 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55349 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55350 (write_nis_obj): Use "c" and "e" in fopen.
55352 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55354 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55356 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55358 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55360 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55363 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55365 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55367 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55369 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55370 file parsing and set FD_CLOEXEC.
55372 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55374 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55376 2011-11-14 Andreas Schwab <schwab@redhat.com>
55378 * malloc/arena.c (arena_get2): Don't call reused_arena when
55379 _int_new_arena failed.
55381 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55383 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55384 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55385 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55386 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55387 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55388 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55389 to compile strcasecmp and strncasecmp.
55390 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55391 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55393 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55395 2011-11-13 Ulrich Drepper <drepper@gmail.com>
55397 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55398 locale-defines.sym to gen-as-const-headers.
55399 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55400 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55401 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55402 to compile strcasecmp and strncasecmp.
55403 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55404 strcasecmp_l and strncasecmp_l.
55405 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55406 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55407 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55408 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55409 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55410 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55411 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55412 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55413 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55414 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55415 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55417 2011-11-12 Ulrich Drepper <drepper@gmail.com>
55419 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55420 result of SYSDEP_GETTIME_CPU to retval.
55421 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55422 parameter list to macro. Remove trailing semicolon. Adjust users.
55424 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55427 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55429 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55431 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55432 from unused variable.
55434 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55436 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55439 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55442 * sunrpc/rpc_prot.c (rejected): Fix case value.
55444 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55445 unsigned long long int to avoid warnings in shift.
55447 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55449 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55452 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55453 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55454 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55456 * nis/nis_table.c (nis_list): Use variable of correct type for
55457 result of __follow_path call.
55459 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55461 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55462 of math functions ceil, trunc, floor, round, and sqrt, when
55463 avaliable on the platform.
55464 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55466 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55467 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55468 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55470 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55472 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55473 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55475 2011-11-11 Roland McGrath <roland@hack.frob.com>
55477 * include/unistd.h: Fix __readlink return type.
55478 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55480 2011-11-11 Ulrich Drepper <drepper@gmail.com>
55482 * stdlib/ucontext.h: Undo last change for makecontext.
55484 2011-11-11 Andreas Schwab <schwab@redhat.com>
55486 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55488 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55489 * setjmp/setjmp.h: Mark functions as non-leaf.
55490 * setjmp/bits/setjmp2.h: Likewise.
55491 * stdlib/ucontext.h: Likewise.
55493 2011-11-10 Andreas Schwab <schwab@redhat.com>
55495 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55496 (reused_arena): Don't check arena limit.
55497 (arena_get2): Atomically check arena limit.
55499 2011-11-08 Ulrich Drepper <drepper@gmail.com>
55501 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55502 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55504 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55507 2011-11-07 Andreas Schwab <schwab@redhat.com>
55509 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55510 handler when locking.
55512 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55513 Fix size of allocated buffer.
55515 2011-11-04 Andreas Schwab <schwab@redhat.com>
55518 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55519 declarations for long double functions.
55520 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55522 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55524 2011-11-03 Andreas Schwab <schwab@redhat.com>
55526 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55529 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55532 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55534 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55536 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55538 * include/alloca.h (stackinfo_alloca_round): Define.
55539 (extend_alloca): Use it.
55540 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55541 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55544 * scripts/check-local-headers.sh: Ignore libaudit.h.
55546 * nscd/Makefile (extra-objs): Make recursively expanded.
55548 2011-11-01 Ulrich Drepper <drepper@gmail.com>
55550 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55551 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55553 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55554 * posix/tst-rfc3484-2.c: Likewise.
55555 * posix/tst-rfc3484-3.c: Likewise.
55557 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55559 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55561 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55562 process_vm_writev from libc using GLIBC_2.15 version.
55564 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55566 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55568 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55571 2011-10-31 Ulrich Drepper <drepper@gmail.com>
55574 * nss/getent.c (initgroups_keys): Show error message in case no group
55577 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55578 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55579 __bump_nl_timestamp.
55580 * nscd/connections (nscd_init): When host database is served open
55581 netlink socket and request notification about configuration changes.
55582 (main_loop_poll): Track netlink file descriptor and bump timestamp
55583 in case data becomes available.
55584 (main_loop_epoll): Likewise.
55585 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55586 (database_pers_head): Add extra_data fileds.
55587 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55588 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55589 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55591 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55592 in6ai data, call __free_in6ai.
55593 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55594 Add -DHAVE_NETLINK.
55595 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55596 interface information. Reuse previous data if netlink timestamp
55598 (__bump_nl_timestamp): New function.
55599 (__free_in6ai): New function.
55601 2011-10-30 Ulrich Drepper <drepper@gmail.com>
55603 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55604 close_not_cancel_no_status here.
55605 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55607 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55610 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55613 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55614 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55615 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55617 2011-07-03 Andreas Jaeger <aj@suse.de>
55620 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55621 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55622 * math/libm-test.inc (sin_test): Add test case.
55624 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55627 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55628 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55630 * elf/chroot_canon.c (chroot_canon): Cleanups.
55632 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55635 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55636 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55638 * string/test-strchr.c: Make usable for strchrnul testing.
55639 * string/test-strchrnul.c: New file.
55640 * string/Makefile (strop-tests): Add strchrnul.
55642 * po/it.po: Update from translation team.
55643 * po/es.po: Likewise.
55645 2011-10-28 Ulrich Drepper <drepper@gmail.com>
55647 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55648 the three constants needed as parameters. Drop the others.
55649 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55650 __m128i_strloadu_tolower.
55651 Create and initialize variable zero and use it in all the places
55652 where _mm_setzero_si128 was used.
55654 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55655 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55656 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55657 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55659 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55660 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55661 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55662 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55663 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55664 __mpranred, __mptan.
55665 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55666 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55667 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55668 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55669 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55670 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55671 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55672 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55673 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55675 2011-10-28 Andreas Schwab <schwab@redhat.com>
55677 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55678 redefine if SHARED.
55679 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55682 wide char related routines to wcsmbs subdir.
55684 2011-10-27 Andreas Schwab <schwab@redhat.com>
55687 * misc/sys/cdefs.h (__THROWNL): Define.
55688 * posix/unistd.h: Use __THREADNL instead of __THREAD
55689 for memory synchronization functions.
55691 2011-10-26 Roland McGrath <roland@hack.frob.com>
55694 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55696 * manual/stdio.texi (Obstack Streams): Node removed.
55698 2011-10-26 Andreas Schwab <schwab@redhat.com>
55700 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55701 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55702 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55704 * math/math_private.h (math_force_eval): Allow non-addressable
55706 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55708 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55710 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55711 file is not needed.
55713 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55714 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55715 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55716 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55717 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55718 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55719 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55720 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55722 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55723 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55724 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55725 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55726 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55727 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55728 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55729 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55730 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55731 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55732 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55733 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55734 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55735 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55736 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55737 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55738 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55739 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55740 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55742 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55743 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55745 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55746 place. Use VEX encoding when compiling for AVX.
55748 2011-10-25 Andreas Schwab <schwab@redhat.com>
55750 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55751 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55753 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55755 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55757 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55758 useless if() expression.
55759 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55760 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55761 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55762 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55763 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55764 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55765 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55766 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55767 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55768 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55769 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55770 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55771 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55772 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55773 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55774 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55775 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55776 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55777 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55779 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55781 2011-10-25 Andreas Schwab <schwab@redhat.com>
55783 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55785 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55787 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55789 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55790 .text section. Avoid duplicate constants.
55791 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55792 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55795 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55799 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55800 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55801 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55802 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55803 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55804 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55805 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55806 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55807 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55808 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55809 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55810 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55811 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55812 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55813 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55814 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55815 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55816 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55817 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55818 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55819 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55820 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55821 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55822 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55823 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55824 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55825 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55826 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55827 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55828 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55829 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55830 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55831 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55832 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55833 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55834 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55835 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55837 2011-10-24 Ulrich Drepper <drepper@gmail.com>
55839 * sysdeps/x86_64/dla.h: Move to ...
55840 * sysdeps/x86_64/fpu/dla.h: ...here.
55841 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55842 situations. Use __builtin_fma only for gcc 4.6 and up.
55844 * config.make.in: Add have-mfma4 entry.
55845 * configure.in: Substitute libc_cv_cc_fma4.
55846 * math/Makefile (dbl-only-routines): Add sincostab.
55847 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55848 Use __sincostab not sincos.
55849 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55851 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55853 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55854 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
55856 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
55857 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
55858 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55859 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55861 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55862 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55864 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
55865 define aliases when function name is a macro.
55866 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55867 sysdeps/ieee754/dbl-64/sincos.tbl.
55868 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55869 fma4-enabled routines.
55870 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55871 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55872 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55873 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55874 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55875 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55876 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55877 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55878 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55879 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55880 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55881 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55882 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55883 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55884 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55885 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55886 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55887 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55888 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55889 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55890 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55891 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55892 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55893 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55894 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55895 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55896 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55897 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55898 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55899 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55901 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55903 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55905 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55906 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55909 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55912 2011-10-24 Andreas Schwab <schwab@redhat.com>
55914 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55916 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55918 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55920 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55922 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55924 * string/strnlen.c: Don't define STRNLEN, reverse logic.
55925 Remove unused variable magic_bits.
55926 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55928 * string/strnlen.c: Define and use STRNLEN macro.
55929 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55930 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55931 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55932 * wcsmbs/wcslen.c: Define and use WCSLEN.
55933 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55934 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55935 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55936 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55937 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55938 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55939 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55941 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55944 strnlen-sse2-no-bsf.
55945 Rename strlen-no-bsf to strlen-sse2-no-bsf.
55946 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55947 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55948 Add strnlen support.
55949 (USE_AS_STRNLEN): New macro.
55950 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55951 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55952 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55953 * sysdeps/x86_64/wcslen.S: New file.
55955 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
55957 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55958 XMM-moves are used for copying on small sizes.
55960 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55962 * wcsmbs/Makefile (strop-tests): Add wcschr.
55963 * wcsmbs/test-wcschr.c: New file.
55964 * string/test-strchr.c: Update.
55965 Add wcschr support.
55968 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55970 * wcsmbs/Makefile (strop-tests): Add wcslen.
55971 * wcsmbs/test-wcslen.c: New file.
55972 * string/test-strlen.c: Update.
55973 Add wcslen support.
55976 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55978 * po/it.po: Update from translation team.
55980 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55982 * sysdeps/x86_64/wcscmp.S: Update.
55983 Fix wrong comparison semantics.
55984 wcscmp shall use signed comparison not unsigned.
55985 Don't use substraction to avoid overflow bug.
55986 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55987 * wcsmbc/wcscmp.c: Likewise.
55988 * string/test-strcmp.c: Likewise.
55989 Add new tests to check cases with negative values.
55991 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55993 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55994 * sysdeps/x86_64/dla.h: ...here. New file.
55995 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56000 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56002 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56005 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
56007 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56008 __ynl_finite aliases.
56010 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56014 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56016 [DLA_FMA] (EMULV): Use DLA_FMA.
56017 [DLA_FMA] (MUL12): Use EMULV.
56018 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56019 that are not needed.
56020 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56025 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56026 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56028 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56030 * math/s_nan.c: Undef __nan.
56031 * math/s_nanf.c: Undef __nanf.
56032 * math/s_nanl.c: Undef __nanl.
56033 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56036 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56038 * math/s_catan.c: Add branch predictions.
56039 * math/s_catanf.c: Likewise.
56040 * math/s_catanh.c: Likewise.
56041 * math/s_catanhf.c: Likewise.
56042 * math/s_catanhl.c: Likewise.
56043 * math/s_catanl.c: Likewise.
56044 * math/s_cexp.c: Likewise.
56045 * math/s_cexpf.c: Likewise.
56046 * math/s_cexpl.c: Likewise.
56047 * math/s_clog.c: Likewise.
56048 * math/s_clog10.c: Likewise.
56049 * math/s_clog10f.c: Likewise.
56050 * math/s_clog10l.c: Likewise.
56051 * math/s_clogf.c: Likewise.
56052 * math/s_clogl.c: Likewise.
56053 * math/s_csqrt.c: Likewise.
56054 * math/s_csqrtf.c: Likewise.
56055 * math/s_csqrtl.c: Likewise.
56056 * math/s_ctanf.c: Likewise.
56057 * math/s_ctanh.c: Likewise.
56058 * math/s_ctanhf.c: Likewise.
56059 * math/s_ctanhl.c: Likewise.
56060 * math/s_ctanl.c: Likewise.
56062 * math/math_private.h: Define __nan, __nanf, __nanl.
56063 * math/s_cacosh.c: Include <math_private.h>.
56064 * math/s_cacoshl.c: Likewise.
56065 * math/s_casinh.c: Likewise.
56066 * math/s_casinhf.c: Likewise.
56067 * math/s_casinhl.c: Likewise.
56068 * math/s_ccos.c: Rely entire on ccosh.
56069 * math/s_ccosf.c: Rely entire on ccoshf.
56070 * math/s_ccosl.c: Rely entirely on ccoshl.
56071 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56072 Remove tests for FE_INVALID.
56073 * math/s_ccoshf.c: Likewise.
56074 * math/s_ccoshl.c: Likewise.
56075 * math/s_csin.c: Likewise.
56076 * math/s_csinf.c: Likewise.
56077 * math/s_csinh.c Likewise.
56078 * math/s_csinhf.c: Likewise.
56079 * math/s_csinhl.c: Likewise.
56080 * math/s_csinl.c: Likewise.
56081 * math/s_ctan.c: Likewise.
56082 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56083 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56084 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56086 2011-10-21 Ulrich Drepper <drepper@gmail.com>
56088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56089 compilation problems.
56091 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56094 2011-10-20 Ulrich Drepper <drepper@gmail.com>
56096 * sysdeps/i386/configure.in: Test for -mfma4 option.
56097 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56098 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56099 COMMON_CPUID_INDEX_80000001.
56100 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56101 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56102 use it if FMA3 is not supported.
56103 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56105 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56106 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56108 2011-10-20 Andreas Schwab <schwab@redhat.com>
56111 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56112 it would create a cycle with a link time dependency.
56114 2011-10-19 Ulrich Drepper <drepper@gmail.com>
56116 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56118 * string/Makefile (strop-tests): Add rawmemchr.
56119 * string/test-rawmemchr.c: New file.
56121 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56122 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56123 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56124 when compiling str{,n}casecmp and when AVX is available. Hook up
56125 new optimized code in initializers.
56127 2011-10-19 Andreas Schwab <schwab@redhat.com>
56129 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56130 __feraiseexcept instead of feraiseexcept.
56132 2011-10-18 Ulrich Drepper <drepper@gmail.com>
56134 * math/math_private.h: Define defaults for libc_fetestexcept and
56136 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56137 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56138 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56139 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56140 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56141 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56142 libc_fetestexcept and libc_feupdateenv.
56144 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56145 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56146 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56147 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56148 libc_feholdexcept_setround.
56150 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56151 Add s_nearbyint-c and s_nearbyintf-c.
56152 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56153 nearbyintf inlines.
56154 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56155 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56156 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56157 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56159 * math/math_private.h: Define defaults for libc_fegetround,
56160 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56161 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56162 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56163 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56164 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56165 standard functions.
56166 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56167 Remove comments and hacks for old compiler versions.
56168 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56169 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56170 libc_feholdexceptl.
56172 2011-10-18 Andreas Schwab <schwab@redhat.com>
56174 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56175 (__feraiseexcept_renamed): Add __NTH.
56176 (feraiseexcept): Add __NTH. Rename local variables to fix
56177 namespace violations.
56179 2011-10-17 Ulrich Drepper <drepper@gmail.com>
56181 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56183 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56185 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56186 recently added interfaces.
56187 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56189 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56190 about macro parameter expansion.
56192 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56193 __NO_MATH_INLINES is defined. Cleanups.
56195 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56196 and __floorf is target has SSE4.1.
56197 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56198 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56199 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56200 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56202 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56204 (floorf): Likewise.
56206 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56208 2011-10-17 Andreas Schwab <schwab@redhat.com>
56210 * misc/sys/cdefs.h: Fix last change.
56212 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56215 2011-10-16 Ulrich Drepper <drepper@gmail.com>
56217 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56219 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56220 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56221 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56222 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56223 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56224 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56225 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56226 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56227 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56228 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56229 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56230 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56231 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56232 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56233 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56234 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56235 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56236 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56237 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56238 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56239 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56240 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56242 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56243 ceil, ceilf, floor, floorf.
56245 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56246 Perform IRELATIVE relocations last.
56248 * elf/do-rel.h: Add another parameter nrelative, replacing the
56249 local variable with the same name. Change name of the function
56250 to end in Rel or Rela (uppercase).
56251 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56252 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56253 elf_dynamic_do_##reloc function.
56255 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56257 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56258 is sufficient, at least on modern CPUs.
56260 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56262 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56263 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56265 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56267 * math/bits/math-finite.h: Add entries for exp.
56268 * math/e_expl.c: Add __*_finite alias.
56269 * sysdeps/i386/fpu/e_exp.S: Likewise.
56270 * sysdeps/i386/fpu/e_expf.S: Likewise.
56271 * sysdeps/i386/fpu/e_expl.c: Likewise.
56272 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56273 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56274 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56275 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56276 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56277 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56278 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56280 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56281 is sufficient, at least on modern CPUs.
56283 * ctype/ctype-info.c (__ctype_init): Define.
56284 * include/ctype.h (__ctype_init): Declare.
56285 (__ctype_b_loc): The variable is always initialized.
56286 (__ctype_toupper_loc): Likewise.
56287 (__ctype_tolower_loc): Likewise.
56288 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56289 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56291 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
56293 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56295 * configure.in: Also look in $cxxmachine/include for C++ system
56298 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56300 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56301 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56302 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56303 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56304 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56305 (USE_AS_WMEMCMP): New macro.
56307 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56308 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56309 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56310 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56312 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56313 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56314 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56315 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56316 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56317 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56318 (USE_AS_WMEMCMP): New macro.
56319 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56320 * sysdeps/string/test-memcmp.c: Update.
56321 Fix simple_wmemcmp.
56323 * wcsmbs/wmemcmp.c: Update.
56324 (WMEMCMP): New macro.
56327 2011-10-12 Andreas Jaeger <aj@suse.de>
56330 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56332 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56334 * libio/iofwide.c (do_length): Avoid warning.
56336 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56338 2011-10-14 Ulrich Drepper <drepper@gmail.com>
56340 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56342 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56343 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56344 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56345 * sysdeps/i386/i686/fpu/e_log.S: New file.
56346 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56347 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56349 * ctype/ctype.h: Add support for inlined isXXX functions when
56350 compiling C++ code.
56352 2011-10-14 Andreas Schwab <schwab@redhat.com>
56354 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56356 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56358 2011-10-13 Roland McGrath <roland@hack.frob.com>
56361 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56363 2011-10-13 Andreas Schwab <schwab@redhat.com>
56365 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56366 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56369 * sysdeps/x86_64/memrchr.S: Check for zero size.
56371 * string/stratcliff.c: Add memrchr tests.
56373 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56376 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56377 rawmemchr-sse2 rawmemchr-sse2-bsf.
56378 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56379 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56380 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56381 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56382 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56383 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56384 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56385 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56386 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56387 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56388 * string/memrchr.c (MEMRCHR): New macro.
56390 2011-10-12 Ulrich Drepper <drepper@gmail.com>
56392 Add integration with gcc's -ffinite-math-only and optimize wrapper
56394 * Versions.def: Define GLIBC_2.15 version for libm.
56395 * math/Makefile (headers): Add bits/math-finite.h.
56396 * math/bits/math-finite.h: New file.
56397 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56398 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56399 * math/e_acoshl.c: Add __*_finite alias.
56400 * math/e_acosl.c: Likewise.
56401 * math/e_asinl.c: Likewise.
56402 * math/e_atan2l.c: Likewise.
56403 * math/e_atanhl.c: Likewise.
56404 * math/e_coshl.c: Likewise.
56405 * math/e_exp10.c: Likewise.
56406 * math/e_exp10f.c: Likewise.
56407 * math/e_exp10l.c: Likewise.
56408 * math/e_exp2l.c: Likewise.
56409 * math/e_fmodl.c: Likewise.
56410 * math/e_gammal_r.c: Likewise.
56411 * math/e_hypotl.c: Likewise.
56412 * math/e_j0l.c: Likewise.
56413 * math/e_j1l.c: Likewise.
56414 * math/e_jnl.c: Likewise.
56415 * math/e_lgammal_r.c: Likewise.
56416 * math/e_log10l.c: Likewise.
56417 * math/e_log2l.c: Likewise.
56418 * math/e_logl.c: Likewise.
56419 * math/e_powl.c: Likewise.
56420 * math/e_sinhl.c: Likewise.
56421 * math/e_sqrtl.c: Likewise.
56422 * math/e_scalb.c: Completely rewritten and optimized.
56423 * math/e_scalbf.c: Likewise.
56424 * math/e_scalbl.c: Likewise.
56425 * math/w_acos.c: Likewise.
56426 * math/w_acosf.c: Likewise.
56427 * math/w_acosl.c: Likewise.
56428 * math/w_acosh.c: Likewise.
56429 * math/w_acoshf.c: Likewise.
56430 * math/w_acoshl.c: Likewise.
56431 * math/w_asin.c: Likewise.
56432 * math/w_asinf.c: Likewise.
56433 * math/w_asinl.c: Likewise.
56434 * math/w_atan2.c: Likewise.
56435 * math/w_atan2f.c: Likewise.
56436 * math/w_atan2l.c: Likewise.
56437 * math/w_atanh.c: Likewise.
56438 * math/w_atanhf.c: Likewise.
56439 * math/w_atanhl.c: Likewise.
56440 * math/w_exp10.c: Likewise.
56441 * math/w_exp10f.c: Likewise.
56442 * math/w_exp10l.c: Likewise.
56443 * math/w_fmod.c: Likewise.
56444 * math/w_fmodf.c: Likewise.
56445 * math/w_fmodl.c: Likewise.
56446 * math/w_j0.c: Likewise.
56447 * math/w_j0f.c: Likewise.
56448 * math/w_j0l.c: Likewise.
56449 * math/w_j1.c: Likewise.
56450 * math/w_j1f.c: Likewise.
56451 * math/w_j1l.c: Likewise.
56452 * math/w_jn.c: Likewise.
56453 * math/w_jnf.c: Likewise.
56454 * math/w_log.c: Likewise.
56455 * math/w_logf.c: Likewise.
56456 * math/w_logl.c: Likewise.
56457 * math/w_log10.c: Likewise.
56458 * math/w_log10f.c: Likewise.
56459 * math/w_log10l.c: Likewise.
56460 * math/w_log2.c: Likewise.
56461 * math/w_log2f.c: Likewise.
56462 * math/w_log2l.c: Likewise.
56463 * math/w_pow.c: Likewise.
56464 * math/w_powf.c: Likewise.
56465 * math/w_powl.c: Likewise.
56466 * math/w_remainder.c: Likewise.
56467 * math/w_remainderf.c: Likewise.
56468 * math/w_remainderl.c: Likewise.
56469 * math/w_scalb.c: Likewise.
56470 * math/w_scalbf.c: Likewise.
56471 * math/w_scalbl.c: Likewise.
56472 * math/w_sqrt.c: Likewise.
56473 * math/w_sqrtf.c: Likewise.
56474 * math/w_sqrtl.c: Likewise.
56475 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56476 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56478 * math/math_private.h: Declare __kernel_standard_f.
56479 * math/w_cosh.c: Remove cruft and optimize a bit.
56480 * math/w_coshf.c: Likewise.
56481 * math/w_coshl.c: Likewise.
56482 * math/w_exp2.c: Likewise.
56483 * math/w_exp2f.c: Likewise.
56484 * math/w_exp2l.c: Likewise.
56485 * math/w_hypot.c: Likewise.
56486 * math/w_hypotf.c: Likewise.
56487 * math/w_hypotl.c: Likewise.
56488 * math/w_lgamma.c: Likewise.
56489 * math/w_lgamma_r.c: Likewise.
56490 * math/w_lgammaf.c: Likewise.
56491 * math/w_lgammaf_r.c: Likewise.
56492 * math/w_lgammal.c: Likewise.
56493 * math/w_lgammal_r.c: Likewise.
56494 * math/w_sinh.c: Likewise.
56495 * math/w_sinhf.c: Likewise.
56496 * math/w_sinhl.c: Likewise.
56497 * math/w_tgamma.c: Likewise.
56498 * math/w_tgammaf.c: Likewise.
56499 * math/w_tgammal.c: Likewise.
56500 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56501 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56502 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56503 Minor optimizations. Pretty printing. Remove cruft.
56504 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56505 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56506 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56507 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56508 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56509 * sysdeps/i386/fpu/e_asin.S: Likewise.
56510 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56511 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56512 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56513 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56514 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56515 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56516 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56517 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56518 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56519 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56520 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56521 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56522 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56523 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56524 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56525 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56526 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56527 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56528 * sysdeps/i386/fpu/e_log.S: Likewise.
56529 * sysdeps/i386/fpu/e_log10.S: Likewise.
56530 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56531 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56532 * sysdeps/i386/fpu/e_log2.S: Likewise.
56533 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56534 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56535 * sysdeps/i386/fpu/e_logf.S: Likewise.
56536 * sysdeps/i386/fpu/e_logl.S: Likewise.
56537 * sysdeps/i386/fpu/e_pow.S: Likewise.
56538 * sysdeps/i386/fpu/e_powf.S: Likewise.
56539 * sysdeps/i386/fpu/e_powl.S: Likewise.
56540 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56541 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56542 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56543 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56544 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56545 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56546 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56547 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56548 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56549 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56550 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56552 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56553 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56554 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56555 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56556 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56557 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56558 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56559 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56560 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56562 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56563 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56565 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56566 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56567 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56569 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56570 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56571 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56572 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56573 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56574 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56575 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56576 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56577 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56578 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56579 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56580 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56581 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56582 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56583 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56584 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56585 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56586 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56587 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56588 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56589 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56590 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56591 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56592 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56593 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56594 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56595 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56596 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56597 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56598 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56599 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56600 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56601 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56602 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56603 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56604 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56605 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56606 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56607 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56608 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56609 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56610 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56611 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56612 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56613 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56614 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56615 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56616 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56617 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56618 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56619 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56620 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56621 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56623 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56624 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56625 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56626 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56627 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56628 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56629 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56630 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56631 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56632 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56633 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56634 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56635 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56636 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56637 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56638 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56639 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56640 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56641 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56642 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56643 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56644 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56645 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56646 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56647 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56648 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56649 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56650 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56651 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56652 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56653 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56654 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56655 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56656 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56657 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56658 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56659 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56660 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56661 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56662 (__isnanf): Likewise.
56663 (__isinf_ns): Likewise.
56664 (__isinf_nsf): Likewise.
56665 (__finite): Likewise.
56666 (__finitef): Likewise.
56667 (__ieee754_sqrt): Define as macro.
56668 (__ieee754_sqrtf): Define as macro.
56669 (__ieee754_sqrtl): Define as macro.
56670 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56672 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56673 __FINITE_MATH_ONLY__ consistent.
56674 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56676 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56678 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56681 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56683 2011-10-09 Ulrich Drepper <drepper@gmail.com>
56685 * po/ja.po: Update from translation team.
56687 2011-10-08 Roland McGrath <roland@hack.frob.com>
56689 * locale/programs/locarchive.c (prepare_address_space): New function.
56690 (create_archive, enlarge_archive, open_archive): Use it.
56692 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56693 inside [SHARED], where it is used.
56695 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56697 * nss/getent.c (netgroup_keys): Remove unused variable.
56698 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56700 2011-10-08 Ulrich Drepper <drepper@gmail.com>
56702 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56703 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56704 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56705 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56706 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56707 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56708 * math/Makefile (libm-calls): Add s_isinf_ns.
56709 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56710 * math/multc3.c: Likewise.
56711 * math/s_casin.c: Likewise.
56712 * math/s_casinf.c: Likewise.
56713 * math/s_casinl.c: Likewise.
56714 * math/s_ccos.c: Likewise.
56715 * math/s_ccosf.c: Likewise.
56716 * math/s_ccosl.c: Likewise.
56717 * math/s_ctan.c: Likewise.
56718 * math/s_ctanf.c: Likewise.
56719 * math/s_ctanh.c: Likewise.
56720 * math/s_ctanhf.c: Likewise.
56721 * math/s_ctanhl.c: Likewise.
56722 * math/s_ctanl.c: Likewise.
56723 * math/w_fmod.c: Likewise.
56724 * math/w_fmodf.c: Likewise.
56725 * math/w_fmodl.c: Likewise.
56726 * math/w_remainder.c: Likewise.
56727 * math/w_remainderf.c: Likewise.
56728 * math/w_remainderl.c: Likewise.
56729 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56730 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56731 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56732 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56733 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56734 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56735 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56736 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56738 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56740 * stdio-common/printf_fphex.c: Likewise.
56741 * stdio-common/printf_size.c: Likewise.
56743 * math/e_exp10.c: Include math_private.h using <...> not "...".
56744 * math/e_exp10f.c: Likewise.
56745 * math/e_exp10l.c: Likewise.
56746 * math/e_exp2l.c: Likewise.
56747 * math/e_j0l.c: Likewise.
56748 * math/e_j1l.c: Likewise.
56749 * math/e_jnl.c: Likewise.
56750 * math/e_lgammal_r.c: Likewise.
56751 * math/e_rem_pio2l.c: Likewise.
56752 * math/e_scalb.c: Likewise.
56753 * math/e_scalbf.c: Likewise.
56754 * math/e_scalbl.c: Likewise.
56755 * math/k_cosl.c: Likewise.
56756 * math/k_sinl.c: Likewise.
56757 * math/k_tanl.c: Likewise.
56758 * math/s_cacoshf.c: Likewise.
56759 * math/s_catan.c: Likewise.
56760 * math/s_catanf.c: Likewise.
56761 * math/s_catanh.c: Likewise.
56762 * math/s_catanhf.c: Likewise.
56763 * math/s_catanhl.c: Likewise.
56764 * math/s_catanl.c: Likewise.
56765 * math/s_ccosh.c: Likewise.
56766 * math/s_ccoshf.c: Likewise.
56767 * math/s_ccoshl.c: Likewise.
56768 * math/s_cexp.c: Likewise.
56769 * math/s_cexpf.c: Likewise.
56770 * math/s_cexpl.c: Likewise.
56771 * math/s_clog.c: Likewise.
56772 * math/s_clog10.c: Likewise.
56773 * math/s_clog10f.c: Likewise.
56774 * math/s_clog10l.c: Likewise.
56775 * math/s_clogf.c: Likewise.
56776 * math/s_clogl.c: Likewise.
56777 * math/s_csin.c: Likewise.
56778 * math/s_csinf.c: Likewise.
56779 * math/s_csinh.c: Likewise.
56780 * math/s_csinhf.c: Likewise.
56781 * math/s_csinhl.c: Likewise.
56782 * math/s_csinl.c: Likewise.
56783 * math/s_csqrt.c: Likewise.
56784 * math/s_csqrtf.c: Likewise.
56785 * math/s_csqrtl.c: Likewise.
56786 * math/s_ctan.c: Likewise.
56787 * math/s_ctanf.c: Likewise.
56788 * math/s_ctanh.c: Likewise.
56789 * math/s_ctanhf.c: Likewise.
56790 * math/s_ctanhl.c: Likewise.
56791 * math/s_ctanl.c: Likewise.
56792 * math/s_ldexp.c: Likewise.
56793 * math/s_ldexpf.c: Likewise.
56794 * math/s_ldexpl.c: Likewise.
56795 * math/s_significand.c: Likewise.
56796 * math/s_significandf.c: Likewise.
56797 * math/s_significandl.c: Likewise.
56798 * math/w_acos.c: Likewise.
56799 * math/w_acosf.c: Likewise.
56800 * math/w_acosh.c: Likewise.
56801 * math/w_acoshf.c: Likewise.
56802 * math/w_acoshl.c: Likewise.
56803 * math/w_acosl.c: Likewise.
56804 * math/w_asin.c: Likewise.
56805 * math/w_asinf.c: Likewise.
56806 * math/w_asinl.c: Likewise.
56807 * math/w_atan2.c: Likewise.
56808 * math/w_atan2f.c: Likewise.
56809 * math/w_atan2l.c: Likewise.
56810 * math/w_atanh.c: Likewise.
56811 * math/w_atanhf.c: Likewise.
56812 * math/w_atanhl.c: Likewise.
56813 * math/w_cosh.c: Likewise.
56814 * math/w_coshf.c: Likewise.
56815 * math/w_coshl.c: Likewise.
56816 * math/w_dremf.c: Likewise.
56817 * math/w_exp10.c: Likewise.
56818 * math/w_exp10f.c: Likewise.
56819 * math/w_exp10l.c: Likewise.
56820 * math/w_exp2.c: Likewise.
56821 * math/w_exp2f.c: Likewise.
56822 * math/w_fmod.c: Likewise.
56823 * math/w_fmodf.c: Likewise.
56824 * math/w_fmodl.c: Likewise.
56825 * math/w_hypot.c: Likewise.
56826 * math/w_hypotf.c: Likewise.
56827 * math/w_hypotl.c: Likewise.
56828 * math/w_j0.c: Likewise.
56829 * math/w_j0f.c: Likewise.
56830 * math/w_j0l.c: Likewise.
56831 * math/w_j1.c: Likewise.
56832 * math/w_j1f.c: Likewise.
56833 * math/w_j1l.c: Likewise.
56834 * math/w_jn.c: Likewise.
56835 * math/w_jnf.c: Likewise.
56836 * math/w_jnl.c: Likewise.
56837 * math/w_lgamma.c: Likewise.
56838 * math/w_lgamma_r.c: Likewise.
56839 * math/w_lgammaf.c: Likewise.
56840 * math/w_lgammaf_r.c: Likewise.
56841 * math/w_lgammal.c: Likewise.
56842 * math/w_lgammal_r.c: Likewise.
56843 * math/w_log.c: Likewise.
56844 * math/w_log10.c: Likewise.
56845 * math/w_log10f.c: Likewise.
56846 * math/w_log10l.c: Likewise.
56847 * math/w_log2.c: Likewise.
56848 * math/w_log2f.c: Likewise.
56849 * math/w_log2l.c: Likewise.
56850 * math/w_logf.c: Likewise.
56851 * math/w_logl.c: Likewise.
56852 * math/w_pow.c: Likewise.
56853 * math/w_powf.c: Likewise.
56854 * math/w_powl.c: Likewise.
56855 * math/w_remainder.c: Likewise.
56856 * math/w_remainderf.c: Likewise.
56857 * math/w_remainderl.c: Likewise.
56858 * math/w_scalb.c: Likewise.
56859 * math/w_scalbf.c: Likewise.
56860 * math/w_scalbl.c: Likewise.
56861 * math/w_sinh.c: Likewise.
56862 * math/w_sinhf.c: Likewise.
56863 * math/w_sinhl.c: Likewise.
56864 * math/w_sqrt.c: Likewise.
56865 * math/w_sqrtf.c: Likewise.
56866 * math/w_sqrtl.c: Likewise.
56867 * math/w_tgamma.c: Likewise.
56868 * math/w_tgammaf.c: Likewise.
56869 * math/w_tgammal.c: Likewise.
56871 * po/ja.po: Update from translation team.
56873 2011-09-29 Andreas Jaeger <aj@suse.de>
56876 * sunrpc/netname.c (netname2host): Fix logic.
56880 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56882 * math/w_remainder.c (__remainder): Likewise.
56883 * math/w_remainderf.c (__remainderf): Likewise.
56884 * math/libm-test.inc (remainder_test): Add test cases.
56886 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56888 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
56891 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56893 * string/test-memcmp.c: Avoid unncessary #defines.
56894 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56896 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56898 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56899 Use new sse2 version for core i3 - i7 as it's faster
56900 than sse42 version.
56901 (bit_Prefer_PMINUB_for_stringop): New.
56902 * sysdeps/x86_64/rawmemchr.S: Update.
56903 Replace with faster SSE2 version.
56904 * sysdeps/x86_64/memrchr.S: New file.
56905 * sysdeps/x86_64/memchr.S: Update.
56906 Replace with faster SSE2 version.
56908 2011-09-12 Marek Polacek <mpolacek@redhat.com>
56910 * elf/dl-load.c (lose): Add cast to avoid warning.
56912 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56914 * po/ca.po: Update from translation team.
56916 * inet/getnetgrent_r.c: Hook up nscd.
56917 * nscd/Makefile (routines): Add nscd_netgroup.
56918 (nscd-modules): Add netgroupcache.
56919 (CFLAGS-netgroupcache.c): Define.
56920 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56921 (cache_search): Add const to second parameter.
56922 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56924 (dbs): Add netgrdb entry.
56925 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56926 (verify_persistent_db): Handle netgrdb.
56927 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56928 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56930 (netgroup_response_header): Define.
56931 (innetgroup_response_header): Define.
56932 (datahead): Add netgroup_response_header and innetgroup_response_header
56934 * nscd/nscd.conf: Add entries for netgroup cache.
56935 * nscd/nscd.h (dbtype): Add netgrdb.
56936 (_PATH_NSCD_NETGROUP_DB): Define.
56937 (netgroup_iov_disabled): Declare.
56938 (xmalloc, xcalloc, xrealloc): Move declarations here.
56939 (cache_search): Adjust prototype.
56940 Add netgroup-related prototypes.
56941 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56942 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56943 (__nscd_innetgr): Declare.
56944 * nscd/selinux.c (perms): Use access_vector_t as element type and
56945 add netgroup-related initializers.
56946 * nscd/netgroupcache.c: New file.
56947 * nscd/nscd_netgroup.c: New file.
56948 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56949 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56950 For four parameters use innetgr.
56951 * nss/nss_files/files-init.c: Add definition and callback for netgr.
56952 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56953 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56954 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56956 * nscd/connections.c (register_traced_file): Don't register file
56957 for disabled databases.
56959 2011-10-06 Ulrich Drepper <drepper@gmail.com>
56961 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56963 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56964 from tree and freeing node.
56966 2011-09-25 Jiri Olsa <jolsa@redhat.com>
56968 * nss/nsswitch.c (__nss_database_lookup): Handle
56969 nss_parse_service_list out of memory case.
56971 2011-09-15 Jiri Olsa <jolsa@redhat.com>
56973 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56974 out of memory case.
56976 2011-10-04 Andreas Schwab <schwab@redhat.com>
56978 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56979 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56981 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56982 elf_machine_rela, elf_machine_lazy_rel.
56983 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56984 (ELF_DYNAMIC_DO_REL): Likewise.
56985 (ELF_DYNAMIC_DO_RELA): Likewise.
56986 (ELF_DYNAMIC_RELOCATE): Likewise.
56987 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56988 to ELF_DYNAMIC_DO_REL.
56989 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56990 (dl_main): In trace mode always set __RTLD_NOIFUNC.
56991 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56993 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56994 skip_ifunc, don't call ifunc function if non-zero.
56995 (elf_machine_rela): Likewise.
56996 (elf_machine_lazy_rel): Likewise.
56997 (elf_machine_lazy_rela): Likewise.
56998 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56999 (elf_machine_lazy_rel): Likewise.
57000 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57002 (elf_machine_lazy_rel): Likewise.
57003 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57005 (elf_machine_lazy_rel): Likewise.
57006 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57007 (elf_machine_lazy_rel): Likewise.
57008 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57009 (elf_machine_lazy_rel): Likewise.
57010 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57011 (elf_machine_lazy_rel): Likewise.
57012 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57013 (elf_machine_lazy_rel): Likewise.
57014 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57015 (elf_machine_lazy_rel): Likewise.
57016 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57017 (elf_machine_lazy_rel): Likewise.
57019 2011-09-28 Ulrich Drepper <drepper@gmail.com>
57021 * nss/nss_files/files-init.c (_nss_files_init): Use static
57022 initialization for all the *_traced_file variables.
57024 2011-09-28 Andreas Schwab <schwab@redhat.com>
57026 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57028 2011-09-27 Roland McGrath <roland@hack.frob.com>
57031 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57033 2011-09-27 Andreas Schwab <schwab@redhat.com>
57035 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57036 Reread the line before reparsing it.
57038 2011-09-26 Andreas Schwab <schwab@redhat.com>
57040 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57042 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57043 Maxim Kuvyrkov <maxim@codesourcery.com>
57044 Joseph Myers <joseph@codesourcery.com>
57046 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57047 if needed for __stack_chk_guard.
57049 2011-09-19 Roland McGrath <roland@hack.frob.com>
57051 * sysdeps/posix/spawni.c (script_execute): Always define it.
57052 It will be optimized away if unused.
57053 (maybe_script_execute): New function.
57054 (__spawni): Call it.
57056 * Makerules: Don't include tls.make.
57057 (config-tls): Always set to thread.
57058 * tls.make.c: File removed.
57060 2011-09-19 Mike Frysinger <vapier@gentoo.org>
57062 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57063 * config.make.in (CPPFLAGS-config): New substituted variable.
57065 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57067 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57070 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57071 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57073 2011-09-15 Roland McGrath <roland@hack.frob.com>
57075 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57076 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57077 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57078 (CALL_FAIL): Likewise.
57079 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57080 (CALL_FAIL): Macro removed.
57081 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57083 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57085 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57086 for __FINITE_MATH_ONLY__ == 1.
57088 2011-09-15 Andreas Schwab <schwab@redhat.com>
57090 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57091 __ieee754_sqrt instead of sqrt.
57092 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57093 __ieee754_sqrtf instead of sqrtf.
57094 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57095 __floorf instead of floorf.
57096 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57097 __floorf, __truncf instead of floorf, truncf.
57099 2011-09-14 Ulrich Drepper <drepper@gmail.com>
57101 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57103 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57104 __extern_always_inline.
57105 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57108 2011-09-14 Andreas Schwab <schwab@redhat.com>
57110 * elf/rtld.c (dl_main): Also relocate in dependency order when
57111 doing symbol dependency testing.
57113 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57115 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57116 Always define `refsym'.
57118 2011-09-13 Andreas Schwab <schwab@redhat.com>
57120 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57121 (__FD_ELT): Renamed from __FDELT.
57122 * misc/bits/select2.h (__FD_ELT): Likewise.
57123 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57124 __FD_MASK instead of __FDELT, __FDMASK.
57125 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57127 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57130 * elf/Makefile (gen-ldd): Fix pattern.
57132 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57133 (init_tls): Likewise.
57135 2011-09-12 Ulrich Drepper <drepper@gmail.com>
57137 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57139 2011-09-12 Andreas Schwab <schwab@redhat.com>
57141 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57142 `struct cmsghdr *' instead of `void *'.
57143 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57146 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57148 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57150 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57151 ldd_rewrite_script.
57153 2011-09-11 Ulrich Drepper <drepper@gmail.com>
57155 * configure.in: Remove --with-tls option.
57156 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57157 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57158 out in case it is missing.
57159 * sysdeps/ia64/elf/configure.in: Likewise.
57160 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57161 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57162 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57163 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57164 * sysdeps/sh/elf/configure.in: Likewise.
57165 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57166 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57167 * sysdeps/x86_64/elf/configure.in: Likewise.
57168 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57169 * sysdeps/mach/hurd/tls.h: Likewise.
57172 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57175 * configure.in: Fix use of AC_INIT.
57177 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57179 2011-09-10 Ulrich Drepper <drepper@gmail.com>
57181 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57183 * malloc/hooks.c: Likewise.
57186 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57187 variables statically.
57188 (narenas): Initialize.
57189 (list_lock): Initialize.
57190 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57191 initializtion of main_arena and list_lock. Small cleanups.
57192 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57193 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57194 Add initializers to main_arena and mp_.
57195 (malloc_state): Remove pagesize member. Change all users to use
57198 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57199 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57200 is always initialized.
57202 * malloc/malloc.c: Removed unused configurations and dead code.
57203 * malloc/arena.c: Likewise.
57204 * malloc/hooks.c: Likewise.
57205 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57207 * include/tls.h: Removed. USE___THREAD must always be defined.
57208 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57209 * elf/dl-libc.c: Likewise.
57210 * elf/dl-tsd.c: Likewise.
57211 * include/errno.h: Likewise.
57212 * include/netdb.h: Likewise.
57213 * include/resolv.h: Likewise.
57214 * inet/herrno-loc.c: Likewise.
57215 * inet/herrno.c: Likewise.
57216 * malloc/arena.c: Likewise.
57217 * malloc/hooks.c: Likewise.
57218 * malloc/malloc.c: Likewise.
57219 * resolv/res-state.c: Likewise.
57220 * resolv/res_libc.c: Likewise.
57221 * sysdeps/i386/dl-machine.h: Likewise.
57222 * sysdeps/ia64/dl-machine.h: Likewise.
57223 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57224 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57225 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57226 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57227 * sysdeps/sh/dl-machine.h: Likewise.
57228 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57229 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57230 * sysdeps/unix/i386/sysdep.S: Likewise.
57231 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57232 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57233 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57235 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57237 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57241 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57242 * sysdeps/x86_64/dl-machine.h: Likewise.
57243 * tls.make.c: Likewise.
57245 * configure.in: Remove --with-__thread option. Make tests for
57246 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57247 tls_model attribute fail if no support is available. Remove
57249 * Makeconfig: Adjust for dropped configure option. All features are
57251 * Makerules: Likewise.
57252 * Versions.def: Likewise.
57253 * argp/argp-fmtstream.c: Likewise.
57254 * argp/argp-fmtstream.h: Likewise.
57255 * argp/argp-help.c: Likewise.
57256 * assert/assert.c: Likewise.
57257 * config.h.in: Likewise.
57258 * config.make.in: Likewise.
57259 * configure: Likewise.
57260 * configure.in: Likewise.
57261 * csu/Versions: Likewise.
57262 * csu/init.c: Likewise.
57263 * elf/tst-audit2.c: Likewise.
57264 * elf/tst-tls10.c: Likewise.
57265 * elf/tst-tls10.h: Likewise.
57266 * elf/tst-tls11.c: Likewise.
57267 * elf/tst-tls12.c: Likewise.
57268 * elf/tst-tls14.c: Likewise.
57269 * elf/tst-tlsmod11.c: Likewise.
57270 * elf/tst-tlsmod12.c: Likewise.
57271 * elf/tst-tlsmod13.c: Likewise.
57272 * elf/tst-tlsmod13a.c: Likewise.
57273 * elf/tst-tlsmod14a.c: Likewise.
57274 * elf/tst-tlsmod15b.c: Likewise.
57275 * elf/tst-tlsmod16a.c: Likewise.
57276 * elf/tst-tlsmod16b.c: Likewise.
57277 * elf/tst-tlsmod7.c: Likewise.
57278 * elf/tst-tlsmod8.c: Likewise.
57279 * elf/tst-tlsmod9.c: Likewise.
57280 * gmon/gmon.c: Likewise.
57281 * grp/fgetgrent_r.c: Likewise.
57282 * grp/putgrent.c: Likewise.
57283 * hurd/fopenport.c: Likewise.
57284 * include/libc-symbols.h: Likewise.
57285 * include/tls.h: Likewise.
57286 * intl/gettextP.h: Likewise.
57287 * intl/loadinfo.h: Likewise.
57288 * locale/global-locale.c: Likewise.
57289 * locale/localeinfo.h: Likewise.
57290 * mach/devstream.c: Likewise.
57291 * malloc/arena.c: Likewise.
57292 * malloc/set-freeres.c: Likewise.
57293 * misc/err.c: Likewise.
57294 * misc/getttyent.c: Likewise.
57295 * misc/mntent_r.c: Likewise.
57296 * posix/getopt.c: Likewise.
57297 * posix/wordexp.c: Likewise.
57298 * pwd/fgetpwent_r.c: Likewise.
57299 * resolv/Versions: Likewise.
57300 * resolv/res_hconf.c: Likewise.
57301 * shadow/fgetspent_r.c: Likewise.
57302 * shadow/putspent.c: Likewise.
57303 * stdio-common/printf_fphex.c: Likewise.
57304 * stdio-common/tmpfile.c: Likewise.
57305 * stdlib/abort.c: Likewise.
57306 * stdlib/fmtmsg.c: Likewise.
57307 * sunrpc/auth_unix.c: Likewise.
57308 * sunrpc/clnt_perr.c: Likewise.
57309 * sunrpc/clnt_tcp.c: Likewise.
57310 * sunrpc/clnt_udp.c: Likewise.
57311 * sunrpc/clnt_unix.c: Likewise.
57312 * sunrpc/openchild.c: Likewise.
57313 * sunrpc/svc_simple.c: Likewise.
57314 * sunrpc/svc_tcp.c: Likewise.
57315 * sunrpc/svc_udp.c: Likewise.
57316 * sunrpc/svc_unix.c: Likewise.
57317 * sunrpc/xdr.c: Likewise.
57318 * sunrpc/xdr_array.c: Likewise.
57319 * sunrpc/xdr_rec.c: Likewise.
57320 * sunrpc/xdr_ref.c: Likewise.
57321 * sunrpc/xdr_stdio.c: Likewise.
57323 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57325 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57327 2011-07-03 Andreas Jaeger <aj@suse.de>
57329 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57330 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57331 regenerate with gen-libm-tests.pl.
57333 2010-05-12 Petr Baudis <pasky@suse.cz>
57336 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57337 around j0() zero points by switching to j1().
57338 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57339 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57340 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57341 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57343 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57345 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57347 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57349 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57350 Patch in part by Pavel Roskin <proski@gnu.org>.
57353 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57355 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57356 Free memory block if necessary.
57359 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57360 be NULL. Don't lock in this case.
57362 2011-09-09 Roland McGrath <roland@hack.frob.com>
57364 * elf/elf.h (ELFOSABI_GNU): New macro.
57365 (ELFOSABI_LINUX): Define to that.
57367 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57369 * string/strncat.c (strncat): Undef the symbol in case it has been
57370 defined in bits/string.h.
57372 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57374 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57376 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57379 2011-08-17 Andreas Jaeger <aj@suse.de>
57381 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57383 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57384 Ian Lance Taylor <iant@google.com>
57386 * math/libm-test.inc (lround_test): New testcase.
57387 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57389 2011-09-08 Ulrich Drepper <drepper@gmail.com>
57391 * Makefile: Remove support for automatic cvs check-ins.
57392 * Makerules: Likewise.
57393 * config.make.in: Likewise.
57394 * configure.in: Likewise.
57395 * intl/Makefile: Likewise.
57396 * locale/Makefile: Likewise.
57397 * po/Makefile: Likewise.
57398 * posix/Makefile: Likewise.
57399 * sysdeps/gnu/Makefile: Likewise.
57400 * sysdeps/mach/hurd/Makefile: Likewise.
57401 * sysdeps/sparc/sparc32/Makefile: Likewise.
57404 * posix/Makefile (bug-regex32-ENV): Define.
57405 Patch by John Stanley <jpsinthemix@verizon.net>.
57407 * misc/Makefile (headers): Add bits/select2.h.
57408 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57409 * misc/bits/select2.h: New file.
57410 * include/bits/select2.h: New file.
57411 * debug/Makefile (routines): Add fdelt_chk.
57412 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57413 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57415 * debug/fdelt_chk.c: New file.
57417 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57418 * wcsmbs/test-wmemcmp.c: Likewise.
57419 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57420 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57422 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57424 * string/Makefile (strop-tests): Add memcmp.
57425 * string/test-wmemcmp.c: New file.
57426 * string/test-memcmp.c: Add wmemcmp support.
57428 2011-09-08 Roland McGrath <roland@hack.frob.com>
57431 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57434 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57435 garbage value in a __mach_port_mod_refs call in the cases of the
57436 task-self and thread-self ports.
57438 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57440 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57442 2011-09-08 Andreas Schwab <schwab@redhat.com>
57444 * elf/dl-load.c (lose): Check for non-null L.
57446 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57448 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57450 * elf/dl-libc.c (dlerror_run): Pass back error code from
57454 * elf/dl-load.c (lose): Free l_origin if it is valid.
57456 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57458 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57459 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57460 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57461 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57462 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57463 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57465 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57467 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57468 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57469 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57470 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57471 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57472 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57473 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57474 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57475 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57476 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57478 2011-08-15 Alan Modra <amodra@gmail.com>
57481 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57482 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57483 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57484 ppc_mcount to static-only-routines.
57485 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57487 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57488 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57490 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57492 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57493 for finite and infinity parameters.
57495 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57497 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57498 and add nop instructions for throughput optimization.
57499 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57501 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57503 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57504 aligned copy for power7 with vector-scalar instructions.
57505 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57507 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57512 2011-09-07 Andreas Schwab <schwab@redhat.com>
57515 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57518 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57520 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57521 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57522 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57523 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57526 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57528 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57529 Forgot to demangle the pointer.
57531 * sysdeps/i386/sysdep.h: Define atom_text_section.
57532 * sysdeps/x86_64/sysdep.h: Likewise.
57533 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57534 section with atom_text_section.
57535 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57536 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57537 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57538 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57539 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57541 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57542 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57543 already be defined. Change to take two parameters and don't assign
57544 result to variable. Adjust all users.
57545 Define INTERNAL_GETTIME if not already defined.
57546 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57549 HAVE_CLOCK_GETTIME_VSYSCALL.
57550 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57553 gettimeofday vsyscall, just use time.
57555 2011-09-06 Andreas Schwab <schwab@redhat.com>
57557 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57560 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57562 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57564 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57566 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57567 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57568 syscall if possible.
57570 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57572 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57573 e_ident. Don't pass to find_mapsXX.
57574 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57576 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57579 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57580 * sysdeps/x86_64/multiarch/strchr.S: Update.
57581 Check bit_slow_BSF bit.
57582 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57583 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57584 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57586 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57589 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57591 (tryshell): Define.
57592 (__spawni): Change last parameter to be flag. Test
57593 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57594 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57595 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57596 * posix/spawni.c: Likewise.
57597 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57598 * posix/spawnp.c: Likewise. Change normal version to use
57599 SPAWN_XFLAGS_USE_PATH.
57600 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57601 SPAWN_XFLAGS_TRY_SHELL.
57604 * posix/glob.h: Remove gcc 1.x support.
57607 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57609 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57612 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57614 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57615 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57616 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57617 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57618 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57619 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57621 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57623 * sysdeps/x86_64/wcscmp.S: New file.
57625 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57626 wcscmp-c wcscmp-sse2
57627 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57628 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57629 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57630 * wcsmbs/wcscmp.c: Allow renaming.
57632 2011-09-05 David S. Miller <davem@davemloft.net>
57634 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57635 stack slot, rather than the struct return pointer slot.
57636 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57637 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57639 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57641 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57643 * po/ja.po: Update from translation team.
57646 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57647 kernel in 64-bit binaries.
57649 2011-09-01 David S. Miller <davem@davemloft.net>
57651 * elf/elf.h (HWCAP_SPARC_*): Move to..
57652 * sysdeps/sparc/sysdep.h: this new file and add new values.
57653 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57654 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57655 _DL_HWCAP_COUNT to 24.
57656 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57658 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57659 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57660 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57661 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57662 instead of magic constants.
57663 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57665 2011-08-31 David S. Miller <davem@davemloft.net>
57667 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57668 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57669 Reimplement to do errno handling inline.
57670 (SYSCALL_ERROR_HANDLER): New macro.
57671 (__SYSCALL_STRING): Do not do errno handling in asm.
57672 (__CLONE_SYSCALL_STRING): Delete.
57673 (__INTERNAL_SYSCALL_STRING): Delete.
57674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57675 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57676 (PSEUDO): Reimplement to do errno handling inline.
57677 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57678 (SYSCALL_ERROR_HANDLER): New macro.
57679 (__SYSCALL_STRING): Do not do errno handling in asm.
57680 (__CLONE_SYSCALL_STRING): Delete.
57681 (__INTERNAL_SYSCALL_STRING): Delete.
57682 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57683 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57685 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57686 (inline_syscall*): Add 'err' argument.
57687 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57688 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57689 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57690 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57692 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57693 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57695 2011-08-30 Andreas Schwab <schwab@redhat.com>
57697 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57699 2011-08-29 Jiri Olsa <jolsa@redhat.com>
57701 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57704 2011-08-24 David S. Miller <davem@davemloft.net>
57706 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57708 2011-08-24 Andreas Schwab <schwab@redhat.com>
57710 * elf/Makefile: Add rules to build and run unload8 test.
57711 * elf/unload8.c: New file.
57712 * elf/unload8mod1.c: New file.
57713 * elf/unload8mod1x.c: New file.
57714 * elf/unload8mod2.c: New file.
57715 * elf/unload8mod3.c: New file.
57717 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57720 2011-08-23 David S. Miller <davem@davemloft.net>
57722 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57723 subtract stack bias.
57724 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57725 %sp not %fp in calculations.
57726 (_JMPBUF_UNWINDS_ADJ): Likewise.
57728 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57729 (aio_suspend): Call it to force an exception region around the
57730 AIO_MISC_WAIT() invocation.
57732 2011-08-23 Andreas Schwab <schwab@redhat.com>
57734 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57737 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57739 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57741 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57742 and <dl-machine.h>.
57743 (Elf64_FuncDesc): Remove.
57745 2011-08-22 David S. Miller <davem@davemloft.net>
57747 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57748 sigaltstack check, add missing cfi directives.
57749 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57750 missing cfi directives, and sigaltstack handling.
57752 2011-08-16 Andreas Schwab <schwab@redhat.com>
57755 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57756 object is seen twice.
57757 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57759 * elf/Makefile (distribute): Add tst-initorder2.c.
57760 (tests): Add tst-initorder2.
57761 (modules-names): Add tst-initorder2a tst-initorder2b
57762 tst-initorder2c tst-initorder2d. Add rules to build them.
57763 ($(objpfx)tst-initorder2.out): New rule.
57764 * elf/tst-initorder2.c: New file.
57765 * elf/tst-initorder2.exp: New file.
57767 2011-08-22 Andreas Schwab <schwab@redhat.com>
57769 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57771 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57772 dependencies back to end of function.
57774 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57775 $(elfobjdir)/ld.so.
57777 2011-08-21 Ulrich Drepper <drepper@gmail.com>
57779 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57780 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57781 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57782 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57783 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57784 of __vdso_gettimeofday.
57785 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57786 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57788 (_libc_vdso_platform_setup): Remove initialization of
57789 __vdso_gettimeofday and __vdso_time.
57791 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57793 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57794 and fgetc_unlocked.
57795 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57798 * elf/dl-open.c (add_to_global): Report additions to the global scope
57799 for LD_DEBUG=scopes.
57800 (dl_open_worker): Also print scope of newly loaded dependencies.
57801 (_dl_show_scope): Indicate if there is no scope.
57804 * stdio-common/Makefile (tests): Add bug24.
57805 * stdio-common/bug24.c: New file.
57807 2011-08-19 Andreas Jaeger <aj@suse.de>
57810 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57811 non-existant file when using close-on-exec mode.
57813 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57815 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57816 the very first instruction.
57818 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57819 the CFI state in the end.
57820 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57821 inclusion of dl-trampoline.h.
57822 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57824 2011-08-19 Andreas Schwab <schwab@redhat.com>
57826 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57827 expectations for long double.
57829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57830 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57832 2011-08-14 David S. Miller <davem@davemloft.net>
57834 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57835 artificual limit depends upon the system page size.
57837 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57839 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57840 * resolv/Makefile: Define CFLAGS-libresolv.
57842 2011-08-17 Andreas Schwab <schwab@redhat.com>
57844 * nss/makedb.c (compute_tables): Make variables used in nested
57847 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57849 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57850 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57851 if buffer was too small.
57853 * elf/pldd.c (main): Attach to all threads in the process.
57854 Rewrite /proc handling to use *at functions.
57856 2011-08-16 Ulrich Drepper <drepper@gmail.com>
57858 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57859 specifies first scope to show.
57860 (dl_open_worker): Update callers. Move printing scope of new
57861 object to before the relocation.
57862 * elf/rtld.c (dl_main): Update _dl_show_scope call.
57863 * sysdeps/generic/ldsodefs.h: Update declaration.
57865 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57866 string for the scope number.
57868 2011-08-14 Ulrich Drepper <drepper@gmail.com>
57870 * nscd/servicescache.c (cache_addserv): Make sure written is always
57873 2011-08-14 Roland McGrath <roland@hack.frob.com>
57875 * sysdeps/i386/i486/bits/atomic.h
57876 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57877 statement expression, so as to suppress "set but not used" warning.
57878 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57880 * string/strncat.c (STRNCAT): Use prototype definition.
57882 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57883 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57885 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57886 (localedef-modules): Add localedef.
57887 (locale-modules): Add locale.
57889 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57890 * elf/rtld.c (dl_main): Invert order of assignment in last change,
57891 to avoid a warning.
57893 2011-08-14 David S. Miller <davem@davemloft.net>
57895 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57896 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57898 2011-08-13 Ulrich Drepper <drepper@gmail.com>
57900 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57901 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57902 * elf/rtld.c (dl_main): Set l_name of vDSO.
57903 Call _dl_show_scope when DL_DEBUG_SCOPES.
57904 (process_dl_debug): Recognize scopes flag and also set it for all.
57905 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57906 Declare _dl_show_scope.
57908 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57909 (do_dlopen): Pass caller_dlopen to dl_open.
57910 (__libc_dlopen_mode): Initialize caller_dlopen.
57912 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57913 of libc. Make tolower call locale-independent. Optimize a bit by
57914 using isdigit instead of isalnum.
57915 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57917 2011-08-12 Ulrich Drepper <drepper@gmail.com>
57919 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57920 was a dependency or dynamically loaded.
57922 2011-08-11 Ulrich Drepper <drepper@gmail.com>
57924 * intl/l10nflist.c: Allow architecture-specific pop function.
57925 * sysdeps/x86_64/l10nflist.c: New file.
57927 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57930 2011-08-10 Andreas Schwab <schwab@redhat.com>
57932 * include/dirent.h: Add libc_hidden_proto for scandirat and
57933 scandirat64. Don't declare __scandirat64.
57934 * dirent/scandirat.c: Add libc_hidden_def.
57935 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57936 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57938 2011-08-10 David S. Miller <davem@davemloft.net>
57940 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57942 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57943 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57944 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57946 2011-08-09 Ulrich Drepper <drepper@gmail.com>
57948 * Versions.def [libc]: Add GLIBC_2.15.
57949 * dirent/Makefile (routines): Add scandirat and scandirat64.
57950 * dirent/Versions [libc]: Export scandirat and scandirat64 for
57952 * dirent/dirent.h: Declare scandirat and scandirat64.
57953 * dirent/scandirat.c: New file.
57954 * dirent/scandirat64.c: New file.
57955 * sysdeps/wordsize-64/scandirat.c: New file.
57956 * sysdeps/wordsize-64/scandirat64.c: New file.
57957 * dirent/opendir.c: Define opendirat.
57958 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
57960 * dirent/scandir64.c: Adjust for scandir.c change.
57961 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
57962 __scandirat64, and __scandir_cancel_handler.
57963 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
57964 additional parameter and use openat instead of open (outside of ld.so).
57965 Add new __opendir as wrapper around __opendirat.
57966 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57967 here without requiring old scandirat implementation.
57969 2011-08-08 Ulrich Drepper <drepper@gmail.com>
57971 * dirent/scandir.c (cancel_handler): Renamed to
57972 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
57973 defined. Adjust users.
57974 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57975 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57977 2011-08-04 Ulrich Drepper <drepper@gmail.com>
57979 * string/test-string.h (IMPL): Use __STRING to expand name and then
57982 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
57985 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57987 * string/Makefile: Update.
57988 (strop-tests): Append strncat.
57989 * string/test-wcscmp.c: New file.
57990 New comprehensive test for wcscmp.
57991 * string/test-strcmp.c: Update.
57992 (WIDE): New define.
57994 2011-07-22 Andreas Schwab <schwab@redhat.com>
57996 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57999 2011-07-26 Andreas Schwab <schwab@redhat.com>
58001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58002 encoding to ACE if AI_IDN.
58004 2011-08-01 Jakub Jelinek <jakub@redhat.com>
58006 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58007 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58009 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58011 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58012 Fix overflow bug in strncat.
58013 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58015 * string/test-strncat.c: Update.
58016 Add new tests for checking overflow bugs.
58018 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58021 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58022 * sysdeps/i386/i686/multiarch/strcat.S: New file.
58023 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58024 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58025 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58026 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58027 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58028 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58030 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58031 (USE_AS_STRCAT): Define.
58032 Add strcat and strncat support.
58033 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58035 2011-07-25 Andreas Schwab <schwab@redhat.com>
58037 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58038 __n bigger than INT_MAX+1.
58039 (__strncmp_g): Likewise.
58041 2011-07-23 Ulrich Drepper <drepper@gmail.com>
58043 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58044 * libio/stido.h: Likewise.
58046 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58051 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58052 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58053 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58054 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58055 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58058 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58061 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58063 (_dl_x86_64_save_sse): Likewise.
58065 2011-07-22 Ulrich Drepper <drepper@gmail.com>
58067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58069 (_dl_x86_64_save_sse): Likewise.
58071 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58073 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58075 2011-07-21 Andreas Schwab <schwab@redhat.com>
58077 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58079 (_dl_x86_64_save_sse): Use correct AVX check.
58081 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58083 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58084 bug in strncpy/strncat.
58085 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58087 2011-07-21 Ulrich Drepper <drepper@gmail.com>
58089 * string/tester.c (test_strcat): Add tests for different alignments
58090 of source and destination.
58091 (test_strncat): Likewise.
58093 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58096 * posix/glob.c (glob): Check passed in values before using them in
58097 expressions to avoid some overflows.
58098 (glob_in_dir): Likewise.
58101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58102 check for AVX enablement so that we don't crash with old kernels and
58104 * elf/tst-audit4.c: Add same checks here.
58105 * elf/tst-audit6.c: Likewise.
58107 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58109 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58111 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58113 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58115 * po/cs.po: Update from translation team.
58116 * po/bg.po: Likewise.
58118 2011-07-12 Marek Polacek <mpolacek@redhat.com>
58120 * misc/sys/cdefs.h: Add support for const attribute.
58121 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58122 to gnu_dev_{major,minor,makedev} functions.
58124 2011-07-20 Marek Polacek <mpolacek@redhat.com>
58126 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58128 2011-07-20 Andreas Schwab <schwab@redhat.com>
58130 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58133 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58135 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58136 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58137 register in order to avoid conflicts with the soft frame pointer
58138 being held in r11 when necessary.
58139 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58140 (INTERNAL_VSYSCALL_NCS): Likewise.
58142 2011-07-14 Marek Polacek <mpolacek@redhat.com>
58144 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58145 * elf/dl-fini.c (_dl_fini): Adjust caller.
58146 * elf/dl-close.c (_dl_close_worker): Likewise.
58147 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58149 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58151 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58152 "aux_cache->nlibs < 0".
58154 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58155 in the reload-count case.
58157 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58160 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58161 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58162 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58163 * sysdeps/x86_64/multiarch/strcat.S: New file.
58164 * sysdeps/x86_64/multiarch/strncat.S: New file.
58165 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58166 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58167 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58168 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58169 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58170 (USE_AS_STRCAT): Define.
58171 Add strcat and strncat support.
58172 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58173 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58174 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58175 * string/strncat.c: Update.
58176 (USE_AS_STRNCAT): Define.
58177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58178 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58180 * sysdeps/x86_64/multiarch/init-arch.h
58181 (bit_Prefer_PMINUB_for_stringop): New.
58182 (index_Prefer_PMINUB_for_stringop): Likewise.
58183 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58184 bit_Prefer_PMINUB_for_stringop.
58186 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58188 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58190 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58191 of casting of buffer.
58192 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58193 buffer32 and buffer64.
58194 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58195 writes instead of casting of buffer.
58196 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58198 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58201 2011-07-19 Andreas Schwab <schwab@redhat.com>
58203 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58205 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58207 * nscd/nscd.c (termination_handler): Don't do anything for a database
58208 if it has not yet been initialized.
58210 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58212 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58214 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58216 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58218 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58220 * po/nl.po: Update from translation team.
58221 * po/sv.po: Likewise.
58223 2011-07-16 Roland McGrath <roland@hack.frob.com>
58225 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58226 now disallowed by GCC.
58228 * configure.in (use-default-link): Default to yes if a test -shared
58229 link meets our qualifications.
58230 * configure: Regenerated.
58232 * config.make.in (output-format): New variable.
58233 * configure.in: Check for ld --print-output-format support.
58234 * configure: Regenerated.
58235 * Makerules ($(common-objpfx)format.lds)
58236 [$(output-format) != unknown]: Just use $(output-format),
58237 instead of the linker-script munging.
58239 2011-07-14 Roland McGrath <roland@hack.frob.com>
58241 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58242 of $(common-objpfx)shlib.lds.
58243 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58245 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58246 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58248 * configure.in (-z relro check): Adjust test code to add a large
58249 writable data section after it.
58250 * configure: Regenerated.
58252 2011-07-11 Roland McGrath <roland@hack.frob.com>
58254 * configure.in (-z relro check): Fix test code to make the variable
58256 * configure: Regenerated.
58258 2011-07-11 Ulrich Drepper <drepper@gmail.com>
58260 * nscd/nscd.h (struct traced_file): Define.
58261 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58262 elements. Add traced_files.
58263 (inotify_fd): Declare.
58264 (register_traced_file): Declare.
58265 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58266 (inotify_fd): Export.
58267 (resolv_conf_descr): Remove.
58268 (nscd_init): Move inotify descriptor creation to main.
58269 Don't register files for notification here.
58270 (register_traced_file): New function.
58271 (invalidate_cache): Don't use reset_res to determine whether to call
58272 res_init, go through the list of registered files.
58273 (main_loop_poll): The inotify descriptors are now stored in the
58274 structures for the traced files.
58275 (main_loop_epoll): Likewise
58276 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58277 to __nss_disable_nscd.
58278 * nscd/cache.c (prune_cache): There is no single inotify descriptor
58279 for a database anymore. Check the records for all the registered
58281 * nss/Makefile (libnss_files-routines): Add files-init.
58282 (libnss_db-routines): Add db-init.
58283 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58284 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58285 * nss/nss_db/db-init.c: New file.
58286 * nss/nss_files/files-init.c: New file.
58287 * nss/nsswitch.c (nss_load_library): New function. Broken out of
58288 __nss_lookup_function.
58289 (__nss_lookup_function): Call nss_load_library.
58290 (nss_load_all_libraries): New function.
58291 (__nss_disable_nscd): Take parameter with callback function for files
58292 to register. Set is_nscd. Load all the DSOs for the NSS modules
58293 used for the cached services.
58294 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58295 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58296 options for features to all the files in nscd.
58298 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58300 2011-07-10 Roland McGrath <roland@hack.frob.com>
58302 * csu/elf-init.c (__libc_csu_init): Comment typo.
58304 2011-07-09 Ulrich Drepper <drepper@gmail.com>
58306 * po/pl.po: Update from translation team.
58307 * po/ja.po: Likewise.
58308 * po/ru.po: Likewise.
58309 * po/ko.po: Likewise.
58310 * po/fr.po: Likewise.
58312 2011-07-09 Roland McGrath <roland@hack.frob.com>
58314 * configure.in (.ctors/.dtors header and trailer check):
58315 Use an empirical test on a built program.
58316 * configure: Regenerated.
58318 * configure.in (-z relro check): Use an empirical test on a built DSO.
58319 Detect, but do not require, on ia64.
58320 * configure: Regenerated.
58322 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58323 Update tests that use readelf to use $READELF instead.
58324 * configure: Regenerated.
58326 2011-07-08 Ulrich Drepper <drepper@gmail.com>
58328 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58329 if the result is not used.
58331 2011-07-05 Andreas Jaeger <aj@suse.de>
58334 * stdlib/tst-strtod.c: Add testcase.
58336 2011-07-07 Ulrich Drepper <drepper@gmail.com>
58338 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58339 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58340 The latter has a higher limit. Take additional parameter to pass to
58342 (__pathconf): Pass file to __statfs_link_max.
58343 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58345 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58349 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58350 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58352 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58353 (__statfs_filesize_max): Likewise.
58354 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58356 2011-07-05 Andreas Jaeger <aj@suse.de>
58358 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58360 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58362 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58364 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58367 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58369 * Makefile (strop-tests): Add strncat.
58370 * string/test-strncat.c: New file.
58372 2011-06-30 Marek Polacek <mpolacek@redhat.com>
58374 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58376 2011-06-21 Andreas Jaeger <aj@suse.de>
58378 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58379 Copy rule from iconvdata/Makefile.
58381 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58384 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58385 but no long options are defined, just return 'W'.
58387 2011-06-22 Marek Polacek <mpolacek@redhat.com>
58390 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58392 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58394 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58396 (innetgr): Likewise.
58398 2011-07-05 Roland McGrath <roland@hack.frob.com>
58400 * config.make.in (install_root): Default to $(DESTDIR).
58402 2011-07-05 Ulrich Drepper <drepper@gmail.com>
58404 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58406 2011-07-02 Roland McGrath <roland@hack.frob.com>
58408 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58410 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58411 containing directory rather than embedding absolute directory names.
58413 * scripts/check-local-headers.sh: Rewritten using awk.
58414 Match by word, not by line. Print error messages for matches.
58415 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58417 * Makerules [shlib-lds-flags empty]:
58418 ($(common-objpfx)libc_pic.opts): New target.
58419 ($(common-objpfx)libc_pic.os.clean): New target.
58420 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58422 * config.make.in (OBJCOPY): New variable.
58423 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58424 * configure: Regenerated.
58426 * config.make.in (use-default-link): New variable.
58427 * configure.in (use_default_link): Grok --with-default-link to set it.
58428 * configure: Regenerated.
58429 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58430 (shlib-lds, shlib-lds-flags): Define to empty.
58432 * Makerules (shlib-lds): New variable.
58433 (shlib-lds-flags): New variable.
58434 (build-shlib, build-moduile, build-module-asneeded): Use it.
58435 ($(common-objpfx)libc.so): Use $(shlib-lds).
58436 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58437 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58439 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58440 DT_FLAGS/DT_FLAGS_1 with zero flags.
58442 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58443 linker script munging.
58445 2011-07-02 Ulrich Drepper <drepper@gmail.com>
58447 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58449 * crypt/sha512.c (sha512_process_block): Perform total addition using
58450 128-bit if possible.
58451 (__sha512_finish_ctx): Likewise.
58452 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58454 * crypt/sha256.c (SWAP64): Define.
58455 (sha256_process_block): Perform total addition using 64-bit if
58457 (__sha256_finish_ctx): Likewise.
58459 2011-07-01 Ulrich Drepper <drepper@gmail.com>
58461 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58462 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58463 * nscd/hstcache.c (cache_addhst): Likewise.
58464 * nscd/grpcache.c (cache_addgr): Likewise.
58465 * nscd/aicache.c (addhstaiX): Likewise
58466 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58468 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58470 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58472 * nscd/hstcache.c (cache_addhst): Likewise.
58473 * nscd/grpcache.c (cache_addgr): Likewise.
58474 * nscd/aicache.c (addhstaiX): Likewise
58476 2011-07-01 Andreas Schwab <schwab@redhat.com>
58478 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58479 domain only when needed.
58481 2011-06-30 Andreas Schwab <schwab@redhat.com>
58483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58484 is always restored.
58486 2011-06-29 Ulrich Drepper <drepper@gmail.com>
58488 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58489 are re-adding the entry.
58490 * nscd/servicescache.c (cache_addserv): Likewise.
58492 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58494 * sysdeps/generic/dl-irel.h: fix protection against multiple
58496 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58498 2011-06-28 Ulrich Drepper <drepper@gmail.com>
58501 * malloc/memusage.sh: Fix quoting in message.
58502 * debug/xtrace.sh: Likewise.
58504 * configure.in: Remove support for --experimental-malloc option, make
58506 * config.make.in: Likewise.
58507 * malloc/Makefile: Likewise.
58509 2011-06-27 Andreas Schwab <schwab@redhat.com>
58511 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58512 two-byte characters.
58514 2011-06-27 Roland McGrath <roland@hack.frob.com>
58516 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58517 AC_CACHE_CHECK invocation.
58518 * configure: Regenerated.
58520 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58522 2011-06-27 Ulrich Drepper <drepper@gmail.com>
58525 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58526 bit from old_res_options.
58528 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58530 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58531 value type for setfct.
58533 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58536 __gettimeofday instead of gettimeofday.
58538 2011-06-26 Ulrich Drepper <drepper@gmail.com>
58540 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58542 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58544 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58549 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58552 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58553 strcpy-sse2-unaligned strncpy-sse2-unaligned
58554 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58555 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58556 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58557 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58558 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58559 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58560 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58561 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58562 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58563 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58564 (STRCPY): Support SSE2 and SSSE3 versions.
58566 2011-06-24 Ulrich Drepper <drepper@gmail.com>
58569 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58570 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58571 kernels which artificially limit size of requests.
58573 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58576 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58577 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58578 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58579 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58580 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58581 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58582 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58583 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58584 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58585 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58586 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58587 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58588 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58589 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58591 Enable unaligned load optimization for Intel Core i3, i5 and i7
58593 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58595 (index_Fast_Unaligned_Load): Define.
58596 (HAS_FAST_UNALIGNED_LOAD): Define.
58598 2011-06-23 Marek Polacek <mpolacek@redhat.com>
58600 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58602 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58605 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58606 until it is clear that the information is realy needed.
58607 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58609 2011-06-22 Andreas Schwab <schwab@redhat.com>
58611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58613 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58615 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58616 /sys/devices/system/cpu/online if it is usable.
58618 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58619 reading the information from the /proc filesystem to once a second.
58621 2011-06-21 Andreas Jaeger <aj@suse.de>
58623 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58624 NULL after inclusion of kernel headers.
58626 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58628 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58629 calls to internal_setent.
58632 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58633 addresses using gethostbyname4_r ignore IPv4 addresses.
58635 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58636 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58638 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58640 2011-06-20 David S. Miller <davem@davemloft.net>
58642 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58644 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58646 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58647 (elf_irel): Use it.
58648 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58649 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58650 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58651 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58652 * sysdeps/x86_64/dl-irel.h: Likewise.
58654 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58655 * elf/dl-sym.c: Likewise.
58657 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58659 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58660 need to dereference resplen2.
58662 2011-06-14 Andreas Schwab <schwab@redhat.com>
58664 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58666 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58668 * Makeconfig: Define vardbdir and inst_vardbdir.
58669 * nss/Makefile: Add rules to install db-Makefile.
58671 * nss/nss_db/db-XXX.c: Cleanup.
58673 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58674 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58676 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58677 * nss/makedb.c: Implement -g option to specify that value strings
58678 are generated and should not be added to table iterated over for
58680 * nss/nss_db/db-initgroups.c: New file.
58682 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58685 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58686 (internal_getgrouplist): Adjust to name change.
58687 Update use_initgroups_entry if this is not the first call.
58688 * nss/databases.def: Add initgroups entry.
58690 * nss/makedb.c (compute_tables): Check result of multiple hash table
58691 sizes to minimize maximum chain length.
58693 2011-06-14 Ulrich Drepper <drepper@gmail.com>
58695 * Versions.def: Add entry for libnss_db.
58696 * shlib-versions: Likewise.
58697 * nss/Makefile: Add rules to build libnss_db.
58698 * nss/Versions: Add libnss_db information. Organize libnss_files
58700 * nss/db-Makefile: Add gshadow support. Change rules for the new
58701 makedb progra. Some minor improvements to generate smaller files.
58702 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58704 * nss/makedb.c: ...here.
58705 Improve database format to be smaller and require less memory at
58707 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58709 * nss/nss_db/db-netgrp.c: Likewise.
58710 * nss/nss_db/db-open.c: Likewise.
58711 * nss/nss_files/flies-XXX.x: Adjust comments.
58712 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58713 * nss/nss_files/files-grp.c: Likewise.
58714 * nss/nss_files/files-hosts.c: Likewise.
58715 * nss/nss_files/files-network.c: Likewise.
58716 * nss/nss_files/files-proto.c: Likewise.
58717 * nss/nss_files/files-pwd.c: Likewise.
58718 * nss/nss_files/files-rpc.c: Likewise.
58719 * nss/nss_files/files-service.c: Likewise.
58720 * nss/nss_files/files-sgrp.c: Likewise.
58721 * nss/nss_files/files-spwd.c: Likewise.
58722 * nss/nss_db/db-alias.c: Removed.
58723 * nss/nss_db/dummy-db.h: Removed.
58725 2011-06-02 Ulrich Drepper <drepper@gmail.com>
58727 * nss/makedb.c: Rewritten to not use database library.
58728 * nss/Makefile: Update to build new makedb program.
58730 2011-06-14 Andreas Jaeger <aj@suse.de>
58732 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58733 memset declaration.
58735 2011-06-10 Andreas Schwab <schwab@redhat.com>
58737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58740 2011-06-10 Roland McGrath <roland@hack.frob.com>
58742 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58743 * elf/Makefile ($(objpfx)ld.so): Likewise.
58745 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58746 Don't list ld.so twice in dependencies.
58748 * posix/bug-regex31.c: Include <stdlib.h>.
58750 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58752 * nis/nss_compat/compat-spwd.c
58753 (getspent_next_nss_netgr): Remove unused variable.
58754 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58756 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58757 nonmembers" output to use the right array.
58759 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58761 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58763 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58764 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58765 * catgets/gencat.c (read_input_file): Likewise.
58766 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58768 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58769 variable definition inside #if's controlling its use.
58771 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58773 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58775 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58777 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58780 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58782 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58783 * configure: Regenerated.
58785 * Makerules: Revert last change.
58786 * elf/Makefile: Likewise.
58788 2011-06-09 Roland McGrath <roland@hack.frob.com>
58790 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58791 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58792 (reloc-link): Likewise.
58794 2011-06-09 Ulrich Drepper <drepper@gmail.com>
58796 * elf/Makefile: Add rules to build pldd.
58797 * elf/pldd.c: New file.
58798 * elf/pldd-xx.c: New file.
58800 2011-06-07 Ulrich Drepper <drepper@gmail.com>
58802 * version.h: Update for 2.15 development version.
58804 2011-06-07 David S. Miller <davem@davemloft.net>
58806 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58808 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58809 elf_machine_lazy_rel): Likewise.
58810 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58811 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58812 elf_machine_lazy_rel): Likewise.
58813 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58814 dl_hwcap via passed in argument.
58815 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58818 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58820 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
58822 2011-06-06 Roland McGrath <roland@hack.frob.com>
58825 * manual/fdl-1.1.texi: New file, verbatim from:
58826 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58827 * manual/lgpl-2.1.texi: New file, verbatim from:
58828 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58829 * manual/Makefile (licenses): New variable, list those new file names.
58831 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58833 * manual/fdl.texi: File removed.
58834 * manual/lesser.texi: File removed.
58835 * manual/libc.texinfo (Copying, Documentation License):
58836 Use new @include file names, put @appendix directive before @include.
58838 2011-06-04 Jakub Jelinek <jakub@redhat.com>
58841 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58842 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58843 (mq_open): Add __NTH.
58845 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
58847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58848 Assume Intel Core i3/i5/i7 processor if AVX is available.
58850 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58852 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58855 2011-05-31 Andreas Schwab <schwab@redhat.com>
58857 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58858 memory. Use alloca_account. Fix memory leak when retrying.
58860 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58862 * version.h (RELEASE): Bump for 2.14 release.
58863 * include/features.h (__GLIBC_MINOR__): Bump to 14.
58865 * config.make.in (RANLIB): Remove entry.
58867 2011-05-30 Ulrich Drepper <drepper@gmail.com>
58869 * po/Makefile (po-sed-cmd): Add ksh to extensions.
58870 (libc.pot): Work around missing support for .ksh extension in xgettext.
58873 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58874 if both request failed.
58875 (send_dg): In case of server errors clear resplen or *resplen2.
58878 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58879 when there are multiple maps.
58880 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58881 (_dl_fini): Remove test here.
58883 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58885 2011-05-29 Ulrich Drepper <drepper@gmail.com>
58888 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58889 bit from old_res_options.
58890 (gaih_inet): Likewise.
58893 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58896 * resolv/res_init.c (res_setoptions): Make the code more compact.
58899 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58903 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58905 * malloc/malloc.h: Mark malloc hook variables as deprecated.
58908 * malloc/malloc.h: Declare malloc hook variables as volatile.
58910 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58914 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58915 raise in the comment.
58916 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58917 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58918 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58920 2011-05-28 Ulrich Drepper <drepper@gmail.com>
58923 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58924 grow the buffers more if it already has to be sufficient.
58925 (build_wcs_upper_buffer): Likewise.
58926 * posix/regexec.c (check_matching): Likewise.
58927 (clean_state_log_if_needed): Likewise.
58928 (extend_buffers): Don't enlarge buffers beyond size of the input
58930 Patches mostly by Emil Wojak <emil@wojak.eu>.
58931 * posix/bug-regex32.c: New file.
58932 * posix/Makefile (tests): Add bug-regex32.
58934 * locale/findlocale.c (_nl_find_locale): Return right away if
58935 _nl_explode_name failed.
58936 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58938 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58940 * debug/xtrace.sh: Unify messages.
58941 * malloc/memusage.sh: Likewise.
58944 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58945 time symbol from vDSO. Substitute with vsyscall if not available.
58946 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58949 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58950 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58951 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58952 Add sendmmsg and internal_sendmmsg.
58953 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58954 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58955 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58957 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58958 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58959 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58961 2011-05-27 Ulrich Drepper <drepper@gmail.com>
58964 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58965 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
58967 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58971 * iconvdata/Makefile (tests): Add bug-iconv9.
58972 * iconvdata/bug-iconv9.c: New file.
58974 2011-05-27 Andreas Schwab <schwab@redhat.com>
58977 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58979 2011-05-25 Jakub Jelinek <jakub@redhat.com>
58981 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58982 (struct user_regs_struct): Change intcs field back to cs.
58984 2011-05-25 Ulrich Drepper <drepper@gmail.com>
58986 * po/ja.po: Update from translation team.
58988 2011-05-23 Ulrich Drepper <drepper@gmail.com>
58991 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58992 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58994 2011-05-20 Andreas Schwab <schwab@redhat.com>
58996 * stdlib/longlong.h: Update from GCC.
58998 2011-05-23 Andreas Schwab <schwab@redhat.com>
59000 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59002 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59003 Add parameter name.
59004 (__sysconf): Pass it down.
59006 2011-05-22 Ulrich Drepper <drepper@gmail.com>
59009 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59011 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59012 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59013 add in in __libc_use_alloca calls. Adjust callers.
59014 (glob): Use malloc in some situations.
59016 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59017 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59020 2011-05-21 Ulrich Drepper <drepper@gmail.com>
59022 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59023 and CLOCK_BOOTTIME_ALARM.
59026 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59029 * string/_strerror.c (__strerror_r): Print negative errors as signed
59033 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59034 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59035 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59037 * configure.in: Fix typo in redirection and correct removal of test
59038 files in two cases.
59041 * locale/setlocale.c (new_composite_name): Fix test to check for
59042 identical name of all categories.
59045 * libio/filedoalloc.c (local_isatty): New function.
59046 (_IO_file_doallocate): Use local_isatty.
59047 * stdio-common/perror.c (perror): In case a new stream is used
59048 forward the stream error.
59049 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59052 2011-05-20 Ulrich Drepper <drepper@gmail.com>
59055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59057 * include/alloca.h (extend_alloca_account): Define.
59060 * posix/regex.h: Fix comments with documentation of user-accessible
59061 fields after compilation and describe correct free'ing of pattern
59062 after re_compile_pattern.
59063 Patch by Reuben Thomas <rrt@sc3d.org>.
59065 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59067 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59068 and -mno-altivec to prevent the compiler from using Altivec and/or
59069 VSX instructions when the corresponding registers are not available.
59071 2011-05-19 Andreas Schwab <schwab@redhat.com>
59073 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59075 2011-05-19 Ulrich Drepper <drepper@gmail.com>
59077 * libio/freopen.c (freopen): Use __dup2, not dup2.
59078 * libio/freopen64.c (freopen64): Likewise.
59080 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59083 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59084 * math/Makefile (tests): Add test-powl.
59085 (CFLAGS-test-powl.c): Define.
59086 * math/test-powl.c: New file.
59088 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59090 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59092 2011-05-17 Ulrich Drepper <drepper@gmail.com>
59095 * iconvdata/gb18030.c: Update to GB18020-2005.
59097 2011-05-16 Ulrich Drepper <drepper@gmail.com>
59099 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59100 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59101 Patch by Aharon Robbins <arnold@skeeve.com>.
59104 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59108 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59109 through underflows.
59112 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59113 point to strings before performing equality test for error_one_per_line
59117 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59120 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59121 (struct user_fpregs_struct): Avoid __uint*_t types.
59124 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59125 symbol info. Use it instead of calling _dl_addr locally.
59126 (lock_and_info): New function.
59127 (tr_freehook): Call lock_and_info and pass symbol info as additional
59128 parameter to tr_where.
59129 (tr_mallochook): Likewise.
59130 (tr_reallochook): Likewise.
59131 (tr_memalignhook): Likewise.
59133 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59134 used and couldn't be at all thread-safe.
59136 2011-05-15 Ulrich Drepper <drepper@gmail.com>
59138 * libio/freopen.c (freopen): Don't close old file descriptor
59139 before the new one is opened. Instead dup the new file descriptor
59140 to the old one after the new stream is created.
59141 * libio/freopen64.c (freopen64): Likewise.
59142 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59143 * libio/fileops.c (_IO_new_file_close_it): Handle new
59144 _IO_FLAGS2_NOCLOSE flag.
59145 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59146 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59147 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59148 _IO_FLAGS2_NOCLOSE flag.
59149 * include/unistd.h: Add hidden_proto for dup3.
59150 Define __have_dup3.
59151 * io/dup3.c: Define hidden symbol.
59152 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59155 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59156 when an incomplete long option is used.
59157 * posix/tst-getopt_long1.c: New file.
59158 * posix/Makefile (tests): Add tst-getopt_long1.
59161 * scripts/config.guess: Update from autoconf-2.68.
59162 * scripts/config.sub: Likewise.
59165 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59167 (has_cpuclock): ...this. New function.
59168 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59169 macro here based on has_cpuclock code.
59172 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59173 First byte (not low byte) is now always NUL.
59174 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59176 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59177 Use non-cancelable interfaces.
59180 * locale/iso-639.def: Add entry for Sorani.
59183 * include/stdlib.h: Move include protection to the right place.
59184 Define abort_msg_s. Declare __abort_msg with it.
59185 * stdlib/abort.c (__abort_msg): Adjust type.
59186 * assert/assert.c (__assert_fail_base): New function. Majority
59187 of code from __assert_fail. Allocate memory for __abort_msg with
59189 (__assert_fail): Now call __assert_fail_base.
59190 * assert/assert-perr.c: Remove bulk of implementation. Use
59191 __assert_fail_base.
59192 * include/assert.hL Declare __assert_fail_base.
59193 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59195 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59197 2011-05-14 Ulrich Drepper <drepper@gmail.com>
59201 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59202 until all modules are registered in the DTV.
59203 * elf/Makefile: Add rules to build and run tst-tls19.
59204 * elf/tst-tls19.c: New file.
59205 * elf/tst-tls19mod1.c: New file.
59206 * elf/tst-tls19mod2.c: New file.
59207 * elf/tst-tls19mod3.c: New file.
59208 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59211 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59215 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59216 two-byte sequence errors.
59217 * iconvdata/Makefile (tests): Add bug-iconv8.
59218 * iconvdata/bug-iconv8.c: New file.
59221 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59224 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59227 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59228 (dummy_getcfa): New function.
59229 (init): Get _Unwind_GetCFA address, use dummy if not found.
59230 (backtrace_helper): In recursion check, also check whether CFA changes.
59231 (__backtrace): Completely initialize arg.
59233 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59234 storing incomplete byte sequence in state object. Avoid testing for
59235 guaranteed too small input if we know there is enough data available.
59237 2011-05-11 Andreas Schwab <schwab@redhat.com>
59239 * Makeconfig (+link-pie): Indent.
59240 * Rules (binaries-pie): Define if $(have-fpie) and
59242 (binaries-shared): Also filter out $(binaries-pie).
59243 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59244 * nscd/Makefile (others-pie): Add nscd.
59245 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59246 ($(objpfx)nscd): Remove command override.
59247 * login/Makefile (others-pie): Add pt_chown.
59248 ($(objpfx)pt_chown): Remove command override.
59249 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59250 remove command overrides.
59252 2011-05-13 Ulrich Drepper <drepper@gmail.com>
59254 * libio/tst_putwc.c: Fix error messages.
59257 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59258 currently writing and seek to current position when not.
59259 * libio/Makefile (tests): Add bug-fclose1.
59260 * libio/bug-fclose1.c: New file.
59262 2011-05-12 Ulrich Drepper <drepper@gmail.com>
59265 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59266 don't set DF_1_NODELETE here.
59267 (do_lookup_x): When entering new entry test for copy relocation
59268 and if necessary set DF_1_NODELETE flag.
59269 * elf/tst-unique4.cc: New file.
59270 * elf/tst-unique4.h: New file.
59271 * elf/tst-unique4lib.cc: New file.
59272 * elf/Makefile: Add rules to build and run tst-unique4.
59273 Patch by Piotr Bury <pbury@goahead.com>.
59275 2011-05-11 Ulrich Drepper <drepper@gmail.com>
59278 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59281 * misc/mntent_r.c (addmntent): Flush the stream after the output
59284 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59285 (is_trusted_path_normalize): Skip initial colon. Append slash
59286 to empty buffer. Duplicate is_trusted_path code but allow
59287 constructed patch to be prefix.
59288 (is_dst): Allow $ORIGIN followed by /.
59289 (_dl_dst_substitute): Correct clearing of check_for_trusted.
59290 Correct testing of result of is_trusted_path_normalize
59291 (decompose_rpath): Fix warning.
59293 2011-05-10 Ulrich Drepper <drepper@gmail.com>
59296 * grp/initgroups.c (internal_getgrouplist): When we found the service
59297 list through the initgroups entry in nsswitch.conf do not always
59298 continue on a successful lookup. Don't always use the
59299 __nss_group_database value if it is set.
59300 * nss/nsswitch.conf (initgroups): Change action for successful db
59301 lookup to continue for compatibility.
59303 2011-05-09 Ulrich Drepper <drepper@gmail.com>
59306 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59308 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59310 * iconvdata/tst-tables.sh: Likewise.
59311 * iconvdata/cp770.c: New file.
59312 * iconvdata/cp771.c: New file.
59313 * iconvdata/cp772.c: New file.
59314 * iconvdata/cp773.c: New file.
59315 * iconvdata/cp774.c: New file.
59316 * iconvdata/testdata/CP770: New file.
59317 * iconvdata/testdata/CP770..UTF8: New file.
59318 * iconvdata/testdata/CP771: New file.
59319 * iconvdata/testdata/CP771..UTF8: New file.
59320 * iconvdata/testdata/CP772: New file.
59321 * iconvdata/testdata/CP772..UTF8: New file.
59322 * iconvdata/testdata/CP773: New file.
59323 * iconvdata/testdata/CP773..UTF8: New file.
59324 * iconvdata/testdata/CP774: New file.
59325 * iconvdata/testdata/CP774..UTF8: New file.
59327 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59329 * iconvdata/gen-8bit-gap.sh: Likewise.
59330 * iconvdata/gen-8bit.sh: Likewise.
59332 * locale/iso-639.def: Add ary entry.
59335 * locale/C-translit.h.in: Add U20A1 transliteration.
59338 * locale/iso-639.def: Add wae entry.
59339 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59342 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59346 * locale/C-translit.h.in: Add entry for U20B9.
59347 Patch by pravin.d.s@gmail.com.
59349 2011-05-08 Ulrich Drepper <drepper@gmail.com>
59352 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59353 ENAMETOOLONG use generic getcwd.
59354 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59355 in rtld. Use *stat64.
59356 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59357 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59358 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59359 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59360 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59361 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59362 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59363 __fstatat64 macros.
59364 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59365 * dirent/rewinddir.c: Add libc_hidden_def.
59366 * sysdeps/mach/hurd/rewinddir.c: Likewise.
59367 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
59369 * include/dirent.h (__alloc_dir): Add flags parameter.
59370 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59371 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59373 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59374 from fdopendir if O_CLOEXEC is already set.
59376 2011-03-15 Alan Modra <amodra@gmail.com>
59378 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59379 l_tls_firstbyte_offset non-zero. Save padding offset in
59380 l_tls_firstbyte_offset for later use.
59381 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59382 freeing static tls block.
59384 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59386 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59387 where #ifdef was intended. The intent is to prevent ARG_MAX from
59388 being defined by the kernel headers.
59390 2011-05-07 Ulrich Drepper <drepper@gmail.com>
59393 * resolv/resolv.h: Define RES_NOTLDQUERY.
59394 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59395 no-tld-query and set RES_NOTLDQUERY.
59396 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59397 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59398 modern BIND to search name as TLD unless forbidden.
59400 2011-05-07 Petr Baudis <pasky@suse.cz>
59401 Ulrich Drepper <drepper@gmail.com>
59404 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59405 (is_trusted_path): ...to here.
59406 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59407 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59408 using is_trusted_path_normalize() in setuid scripts.
59410 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59412 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59413 __BEGIN/__END_DECLS.
59415 2011-05-06 Ulrich Drepper <drepper@gmail.com>
59417 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59418 NSS_STATUS_NOTFOUND if no record was found.
59420 2011-05-05 Andreas Schwab <schwab@redhat.com>
59422 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59423 (headers-not-in-tirpc): Remove rpc/netdb.h
59424 * resolv/netdb.h: Revert last change.
59426 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59428 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59429 circular dependency between libgcc.a and libc.a.
59431 2011-05-05 Andreas Schwab <schwab@redhat.com>
59433 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59434 * nis/Makefile: Don't install rpcsvc/*.
59435 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59436 instead of <rpc/types.h>.
59437 (MAXHOSTNAMELEN): Define.
59439 2011-05-03 Andreas Schwab <schwab@redhat.com>
59441 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59443 2011-04-28 Maciej Babinski <mbabinski@google.com>
59446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59447 gethostbyname4_r when IPv6 results are possible.
59449 2011-05-02 Ulrich Drepper <drepper@gmail.com>
59452 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59453 _PC_PIPE_BUF handling.
59455 2011-04-30 Bruno Haible <bruno@clisp.org>
59458 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59459 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59461 * inet/getnameinfo.c (getnameinfo): Likewise.
59463 2011-04-29 Ulrich Drepper <drepper@gmail.com>
59465 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59466 to groups setting in database lookup.
59467 * nss/nsswitch.conf: Add initgroups entry.
59469 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59472 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59474 Patch by Eric Blake <eblake@redhat.com>.
59476 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59478 * sunrpc/Makefile (need-export-routines): Add svc_run.
59479 (routines): Remove svc_run.
59480 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59481 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59482 * sunrpc/svc_run.c (svc_run): Likewise.
59483 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59485 2011-04-21 Ulrich Drepper <drepper@gmail.com>
59487 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59488 problem in reallocation in last patch.
59490 2011-04-20 Ulrich Drepper <drepper@gmail.com>
59492 * sunrpc/Makefile: Move inclusion of Rules.
59494 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59496 * nss/nss_files/files-initgroups.c: New file.
59497 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59498 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59499 _nss_files_initgroups_dyn.
59501 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59503 * elf/elf.h (R_ARM_IRELATIVE): Define.
59505 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59507 * po/ru.po: Update from translation team.
59509 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59511 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59514 2011-02-06 Mike Frysinger <vapier@gentoo.org>
59517 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59518 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59519 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59520 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59521 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59523 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59525 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59527 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59528 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59529 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59531 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59534 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59536 * stdlib/bug-getcontext.c: New file.
59537 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59539 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59541 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59542 instructions into .machine "z9-109".
59543 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59544 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59546 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59548 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59549 between environment variables and auxiliary vector.
59551 2011-04-16 Ulrich Drepper <drepper@gmail.com>
59553 * Makefile: Add rules to build linkobj/libc.so.
59554 * include/libc-symbols.h: Define libc_hidden_nolink.
59555 * include/rpc/auth.h: Mark functions which are to be hidden.
59556 * include/rpc/auth_des.h: Likewise.
59557 * include/rpc/auth_unix.h: Likewise.
59558 * include/rpc/clnt.h: Likewise.
59559 * include/rpc/des_crypt.h: Likewise.
59560 * include/rpc/key_prot.h: Likewise.
59561 * include/rpc/pmap_clnt.h: Likewise.
59562 * include/rpc/pmap_prot.h: Likewise.
59563 * include/rpc/pmap_rmt.h: Likewise.
59564 * include/rpc/rpc_msg.h: Likewise.
59565 * include/rpc/svc.h: Likewise.
59566 * include/rpc/svc_auth.h: Likewise.
59567 * include/rpc/xdr.h: Likewise.
59568 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59569 * nss/Makefile: Likewise.
59570 * sunrpc/Makefile: Don't install headers. Build library with normal
59571 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59572 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59573 for the compat linking library. Remove use of INTDEF/INTUSE.
59574 * sunrpc/auth_none.c: Likewise.
59575 * sunrpc/auth_unix.c: Likewise.
59576 * sunrpc/authdes_prot.c: Likewise.
59577 * sunrpc/authuxprot.c: Likewise.
59578 * sunrpc/clnt_gen.c: Likewise.
59579 * sunrpc/clnt_perr.c: Likewise.
59580 * sunrpc/clnt_raw.c: Likewise.
59581 * sunrpc/clnt_simp.c: Likewise.
59582 * sunrpc/clnt_tcp.c: Likewise.
59583 * sunrpc/clnt_udp.c: Likewise.
59584 * sunrpc/clnt_unix.c: Likewise.
59585 * sunrpc/des_crypt.c: Likewise.
59586 * sunrpc/des_soft.c: Likewise.
59587 * sunrpc/get_myaddr.c: Likewise.
59588 * sunrpc/key_call.c: Likewise.
59589 * sunrpc/key_prot.c: Likewise.
59590 * sunrpc/netname.c: Likewise.
59591 * sunrpc/pm_getmaps.c: Likewise.
59592 * sunrpc/pm_getport.c: Likewise.
59593 * sunrpc/pmap_clnt.c: Likewise.
59594 * sunrpc/pmap_prot.c: Likewise.
59595 * sunrpc/pmap_prot2.c: Likewise.
59596 * sunrpc/pmap_rmt.c: Likewise.
59597 * sunrpc/publickey.c: Likewise.
59598 * sunrpc/rpc_cmsg.c: Likewise.
59599 * sunrpc/rpc_common.c: Likewise.
59600 * sunrpc/rpc_dtable.c: Likewise.
59601 * sunrpc/rpc_prot.c: Likewise.
59602 * sunrpc/rpc_thread.c: Likewise.
59603 * sunrpc/rtime.c: Likewise.
59604 * sunrpc/svc.c: Likewise.
59605 * sunrpc/svc_auth.c: Likewise.
59606 * sunrpc/svc_authux.c: Likewise.
59607 * sunrpc/svc_raw.c: Likewise.
59608 * sunrpc/svc_run.c: Likewise.
59609 * sunrpc/svc_simple.c: Likewise.
59610 * sunrpc/svc_tcp.c: Likewise.
59611 * sunrpc/svc_udp.c: Likewise.
59612 * sunrpc/svc_unix.c: Likewise.
59613 * sunrpc/svcauth_des.c: Likewise.
59614 * sunrpc/xcrypt.c: Likewise.
59615 * sunrpc/xdr.c: Likewise.
59616 * sunrpc/xdr_array.c: Likewise.
59617 * sunrpc/xdr_float.c: Likewise.
59618 * sunrpc/xdr_intXX_t.c: Likewise.
59619 * sunrpc/xdr_mem.c: Likewise.
59620 * sunrpc/xdr_rec.c: Likewise.
59621 * sunrpc/xdr_ref.c: Likewise.
59622 * sunrpc/xdr_sizeof.c: Likewise.
59623 * sunrpc/xdr_stdio.c: Likewise.
59625 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59628 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59629 * sysdeps/ia64/dl-tls.h: Likewise.
59630 * sysdeps/powerpc/dl-tls.h: Likewise.
59631 * sysdeps/s390/dl-tls.h: Likewise.
59632 * sysdeps/sh/dl-tls.h: Likewise.
59633 * sysdeps/sparc/dl-tls.h: Likewise.
59634 * sysdeps/x86_64/dl-tls.h: Likewise.
59635 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59637 2011-03-14 Andreas Schwab <schwab@redhat.com>
59639 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59640 rpath element also skip the following colon.
59641 (expand_dynamic_string_token): Add is_path parameter and pass
59642 down to DL_DST_REQUIRED and _dl_dst_substitute.
59643 (decompose_rpath): Call expand_dynamic_string_token with
59644 non-zero is_path. Ignore empty rpaths.
59645 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59648 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59653 2011-04-09 Ulrich Drepper <drepper@gmail.com>
59656 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59657 Patch by Filipe David Manana <fdmanana@apache.org>.
59659 2011-04-07 Andreas Schwab <schwab@redhat.com>
59661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59662 Maintain aligned stack.
59663 (CHECK_RSP): Remove unused macro.
59665 2011-04-03 Ulrich Drepper <drepper@gmail.com>
59667 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59668 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59670 2011-04-02 Ulrich Drepper <drepper@gmail.com>
59672 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59674 * include/features.h: Mention __USE_XOPEN2K8 in comment.
59676 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59679 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59680 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59681 * sysdeps/x86_64/memmove.c: New file.
59682 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59683 (memcpy): Renamed to ...
59684 (__new_memcpy): This.
59685 (memcpy): Provide GLIBC_2_14 memcpy.
59686 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59687 (memcpy): Provide GLIBC_2_2_5 memcpy.
59689 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59692 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59694 2011-03-30 Andreas Schwab <schwab@redhat.com>
59696 * misc/syncfs.c: New file.
59697 * misc/Makefile (routines): Add syncfs.
59698 * posix/unistd.h: Declare syncfs.
59699 * sysdeps/unix/syscalls.list: Add syncfs.
59701 2011-04-01 Andreas Schwab <schwab@redhat.com>
59703 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59706 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59708 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59710 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59713 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59715 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59716 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59717 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59718 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59719 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59721 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59723 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59724 sync_file_range.c with -fexceptions.
59725 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59726 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59727 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59728 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59729 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59730 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59731 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59732 sync_file_range as cancellation point
59733 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59734 now a wrapper around __call_sync_file_range with cancellation handling.
59735 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59736 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59737 function name to __call_sync_file_range.
59738 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59739 Add call_sync_file_range.
59741 2011-04-01 Andreas Schwab <schwab@redhat.com>
59743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59746 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59748 * iconv/iconv.h: Fix typo in comment.
59749 * io/fcntl.h: Likewise.
59750 * libio/stdio.h: Likewise.
59751 * posix/spawn.h: Likewise.
59752 * posix/unistd.h: Likewise.
59753 * stdlib/stdlib.h: Likewise.
59754 * time/time.h: Likewise.
59755 * wcsmbs/wchar.h: Likewise.
59757 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59758 open_by_handle): Add.
59759 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59760 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59761 Augment a few comments.
59762 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59763 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59764 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59766 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59767 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59770 * io/fcntl.h (AT_EMPTY_PATH): Define.
59772 2011-03-30 Ulrich Drepper <drepper@gmail.com>
59774 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59775 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59776 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59778 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
59779 * Versions.def: Add GLIBC_2.14.
59780 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59783 2011-03-22 Ulrich Drepper <drepper@gmail.com>
59785 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59787 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59789 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59792 * string/test-strncmp.c (do_page_test): New function.
59793 (check2): Likewise.
59794 (test_main): Call check2.
59795 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59797 2011-03-20 Ulrich Drepper <drepper@gmail.com>
59800 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59801 Handle cache information in CPU leaf 4.
59802 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59804 2011-03-18 Ulrich Drepper <drepper@gmail.com>
59807 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59808 character representation.
59809 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59811 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
59813 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59814 END(__isnan) to END(__isnanf) to match function entry point/label
59815 EALIGN(__isnanf,...).
59817 2011-03-10 Jakub Jelinek <jakub@redhat.com>
59819 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59821 2011-03-10 Ulrich Drepper <drepper@gmail.com>
59824 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59825 copy from the symbol referenced in the relocation to initialize the
59827 Patch by Piotr Bury <pbury@goahead.com>.
59828 * elf/Makefile: Add rules to build and tst-unique3.
59829 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59830 * elf/tst-unique3.cc: New file.
59831 * elf/tst-unique3.h: New file.
59832 * elf/tst-unique3lib.cc: New file.
59833 * elf/tst-unique3lib2.cc: New file.
59835 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59837 2011-03-10 Mike Frysinger <vapier@gentoo.org>
59839 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59840 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
59843 2011-03-06 Ulrich Drepper <drepper@gmail.com>
59845 * elf/dl-load.c (_dl_map_object): If we are looking for the first
59846 to-be-loaded object along a path to loader is ld.so.
59848 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59849 Ulrich Drepper <drepper@gmail.com>
59851 * sysdeps/x86_64/memset.S: After aligning destination, code
59852 branches to different locations depending on the value of
59853 misalignment, when multiarch is enabled. Fix this.
59855 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59857 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59858 Set _x86_64_preferred_memory_instruction for AMD processsors.
59859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59860 Set bit_Prefer_SSE_for_memop for AMD processors.
59862 2011-03-04 Ulrich Drepper <drepper@gmail.com>
59864 * libio/fmemopen.c (fmemopen): Optimize a bit.
59866 2011-03-03 Andreas Schwab <schwab@redhat.com>
59868 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59870 2011-03-03 Roland McGrath <roland@redhat.com>
59872 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59874 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
59876 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59877 __bzero_ultra1 instead of __memset_ultra1.
59879 2011-02-23 Andreas Schwab <schwab@redhat.com>
59880 Ulrich Drepper <drepper@gmail.com>
59883 * include/link.h (struct link_map): Add l_orig_initfini.
59884 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59885 returning unsuccessfully.
59886 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59887 close of a file loaded at startup, restore the original l_initfini
59889 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59890 list, store the pointer.
59891 * elf/Makefile ($(objpfx)noload-mem): New rule.
59892 (noload-ENV): Define.
59893 (tests): Add $(objpfx)noload-mem.
59894 * elf/noload.c: Include <memcheck.h>.
59895 (main): Call mtrace. Close all opened handles.
59897 2011-02-17 Andreas Schwab <schwab@redhat.com>
59900 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59901 dependencies are missing.
59903 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
59905 Fix __if_freereq crash: Unlike the generic version which uses free,
59907 * sysdeps/mach/hurd/ifreq.h: New file.
59909 2011-01-27 Petr Baudis <pasky@suse.cz>
59910 Ulrich Drepper <drepper@gmail.com>
59913 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59914 to extend_alloca().
59915 * stdio-common/bug23.c: New file.
59916 * stdio-common/Makefile (tests): Add bug23.
59918 2010-09-28 Andreas Schwab <schwab@redhat.com>
59919 Ulrich Drepper <drepper@gmail.com>
59922 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59923 before performing relro protection. At old place add assertion
59924 to make sure nothing changed.
59926 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
59927 Glauber de Oliveira Costa <glommer@gmail.com>
59929 * elf/elf.h: Add new ARM TLS relocs.
59931 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
59933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59934 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59936 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
59938 * sysdeps/wordsize-64/tst-writev.c: New file.
59940 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
59942 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59943 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59944 insns in _dl_start to prevent a TOC reference before relocs are
59947 2011-02-15 Ulrich Drepper <drepper@gmail.com>
59950 * Makeconfig: Remove RANLIB definition.
59951 * Makerules: Don't use RANLIB.
59952 * aclocal.m4: Remove ranlib test.
59953 * configure.in: No need to check for ranlib.
59954 * elf/rtld-Rules: Don't use RANLIB.
59956 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
59958 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59960 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59961 inclusion protection macro.
59963 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59964 SIGRTMIN and SIGRTMAX and print information in that case only when
59965 SIGRTMIN is defined.
59967 2011-02-11 Jakub Jelinek <jakub@redhat.com>
59969 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59970 arginfo fn returning -1.
59972 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59973 and thousands string is zero terminated.
59975 2011-02-03 Andreas Schwab <schwab@redhat.com>
59977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59978 sysdeps/unix/sysv/linux/bits/socket.h.
59980 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
59982 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59983 (__CPU_COUNT): Remove old macros.
59984 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59985 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59986 (__CPU_ALLOC, __CPU_FREE): Add macros.
59987 (__sched_cpualloc, __sched_cpufree): Add declarations.
59989 2011-02-05 Ulrich Drepper <drepper@gmail.com>
59991 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59992 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59993 * nscd/aicache.c (addhstaiX): Return timeout of added value.
59994 (readdhstai): Return value of addhstaiX call.
59995 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59996 (addgrbyX): Return value returned by cache_addgr.
59997 (readdgrbyname): Return value returned by addgrbyX.
59998 (readdgrbygid): Likewise.
59999 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60000 (addpwbyX): Return value returned by cache_addpw.
60001 (readdpwbyname): Return value returned by addhstbyX.
60002 (readdpwbyuid): Likewise.
60003 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60004 (addservbyX): Return value returned by cache_addserv.
60005 (readdservbyname): Return value returned by addservbyX:
60006 (readdservbyport): Likewise.
60007 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60008 (addhstbyX): Return value returned by cache_addhst.
60009 (readdhstbyname): Return value returned by addhstbyX.
60010 (readdhstbyaddr): Likewise.
60011 (readdhstbynamev6): Likewise.
60012 (readdhstbyaddrv6): Likewise.
60013 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60014 (readdinitgroups): Return value returned by addinitgroupsX.
60015 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60016 (prune_cache): Keep track of timeout value of re-added entries.
60017 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60018 * nscd/nscd.h: Adjust prototypes of readd* functions.
60020 2011-02-04 Roland McGrath <roland@redhat.com>
60022 * nis/nis_server.c (nis_servstate): Use the right name for 0.
60023 (nis_stats): Likewise.
60024 * nis/nis_modify.c (nis_modify): Likewise.
60025 * nis/nis_remove.c (nis_remove): Likewise.
60026 * nis/nis_add.c (nis_add): Likewise.
60028 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60030 * posix/fnmatch_loop.c: Add some consts.
60032 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60034 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60037 * config.make.in (config-cflags-novzeroupper): Define.
60038 * configure.in: Substitute libc_cv_cc_novzeroupper.
60039 * elf/Makefile (AVX-CFLAGS): Define.
60040 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60041 (CFLAGS-tst-auditmod4a.c): Likewise.
60042 (CFLAGS-tst-auditmod4b.c): Likewise.
60043 (CFLAGS-tst-auditmod6b.c): Likewise.
60044 (CFLAGS-tst-auditmod6c.c): Likewise.
60045 (CFLAGS-tst-auditmod7b.c): Likewise.
60046 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60048 2011-02-02 Ulrich Drepper <drepper@gmail.com>
60050 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60051 function to the callback.
60052 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60054 2011-02-02 Andreas Schwab <schwab@redhat.com>
60056 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60059 2011-01-19 Ulrich Drepper <drepper@gmail.com>
60062 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60064 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60066 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60069 * elf/Makefile: Add rules to build and run new test.
60070 * elf/tst-initorder.c: New file.
60071 * elf/tst-initorder.exp: New file.
60072 * elf/tst-initordera1.c: New file.
60073 * elf/tst-initordera2.c: New file.
60074 * elf/tst-initordera3.c: New file.
60075 * elf/tst-initordera4.c: New file.
60076 * elf/tst-initorderb1.c: New file.
60077 * elf/tst-initorderb2.c: New file.
60078 * elf/tst-order-a1.c: New file.
60079 * elf/tst-order-a2.c: New file.
60080 * elf/tst-order-a3.c: New file.
60081 * elf/tst-order-a4.c: New file.
60082 * elf/tst-order-b1.c: New file.
60083 * elf/tst-order-b2.c: New file.
60084 * elf/tst-order-main.c: New file.
60085 New test case by George Gensure <werkt0@gmail.com>.
60087 2010-10-01 Andreas Schwab <schwab@redhat.com>
60089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60090 decoding ACE if AI_CANONIDN.
60092 2011-01-18 Ulrich Drepper <drepper@gmail.com>
60094 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60096 2011-01-17 Ulrich Drepper <drepper@gmail.com>
60098 * version.h (RELEASE): Bump for 2.13 release.
60099 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60101 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60103 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60105 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60106 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60107 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60108 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60109 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60110 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60112 * posix/getconf.c: Update copyright year.
60113 * catgets/gencat.c: Likewise.
60114 * csu/version.c: Likewise.
60115 * debug/catchsegv.sh: Likewise.
60116 * debug/xtrace.sh: Likewise.
60117 * elf/ldconfig.c: Likewise.
60118 * elf/ldd.bash.in: Likewise.
60119 * elf/sprof.c (print_version): Likewise.
60120 * iconv/iconv_prog.c: Likewise.
60121 * iconv/iconvconfig.c: Likewise.
60122 * locale/programs/locale.c: Likewise.
60123 * locale/programs/localedef.c: Likewise.
60124 * malloc/memusage.sh: Likewise.
60125 * malloc/mtrace.pl: Likewise.
60126 * nscd/nscd.c (print_version): Likewise.
60127 * nss/getent.c: Likewise.
60129 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60130 PF_CAIF, and PF_ALG.
60131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60133 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60135 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60136 (modules-names): Use them.
60137 (ifunc-test-modules, ifunc-pie-tests): Define.
60138 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60139 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60140 (test-extras): Likewise.
60141 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60142 $(compile-command.c).
60143 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60144 (all-built-dso): Define.
60145 (check-textrel.out, check-execstack.out): Depend on it.
60147 * configure.in: Don't override --enable-multi-arch.
60149 2011-01-15 Ulrich Drepper <drepper@gmail.com>
60152 * nscd/hstcache.c (tryagain): Define.
60153 (cache_addhst): Return tryagain not notfound for temporary errors.
60154 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60157 2011-01-14 Ulrich Drepper <drepper@gmail.com>
60160 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60161 to make the syscall.
60162 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60165 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60166 and fall back to matching as normal character if the string ends before
60167 the matching ']' is found. This is what POSIX requires.
60168 * posix/testfnm.c: Adjust test result.
60169 * posix/globtest.sh: Adjust test result. Add new test.
60170 * posix/tst-fnmatch.input: Likewise.
60171 * posix/tst-fnmatch2.c: Add new test.
60173 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60175 * elf/Makefile (check-execstack): Revert last change. Depend on
60177 (check-execstack.h): New target.
60178 (generated): Add check-execstack.h.
60179 * elf/check-execstack.c: Include "check-execstack.h".
60180 (main): Revert last change.
60181 (handle_file): Return zero if GNU_STACK is absent and
60182 DEFAULT_STACK_PERMS doesn't include PF_X.
60184 2011-01-13 Ulrich Drepper <drepper@gmail.com>
60186 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60187 in child fails because the descriptor is already closed.
60188 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60189 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60190 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60193 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60197 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60198 temporary buffer used to handle multi lookups locally.
60199 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60201 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60203 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60206 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60208 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60209 alignment for SSE2.
60211 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60214 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60215 characters. When rounding increased number of integer digits recompute
60217 * stdio-common/tst-grouping.c: New file.
60218 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60220 2011-01-09 Ulrich Drepper <drepper@gmail.com>
60222 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60223 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60225 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60227 * bits/select.h: Likewise.
60229 2011-01-08 Ulrich Drepper <drepper@gmail.com>
60231 * po/ja.po: Update from translation team.
60233 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
60236 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60237 implementation just like for lxstat, fxstatat, et al.
60239 2010-12-27 Jim Meyering <meyering@redhat.com>
60242 * posix/regexec.c (build_trtable): Return failure indication upon
60243 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60245 2010-12-25 Ulrich Drepper <drepper@gmail.com>
60248 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60249 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60250 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60251 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60254 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60257 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60258 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60260 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60262 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60263 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60264 script has SORT_BY_INIT_PRIORITY.
60265 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60266 NO_CTORS_DTORS_SECTIONS is defined.
60267 * elf/soinit.c: Likewise.
60268 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60269 NO_CTORS_DTORS_SECTIONS is defined.
60270 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60271 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60272 * sysdeps/sh/init-first.c: Likewise.
60273 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60275 2010-12-24 Ulrich Drepper <drepper@gmail.com>
60277 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60278 always use the slow path.
60280 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
60282 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60283 similar rule which adds the sysdep directories to the header search in
60284 order to pick up the correct platform stackinfo.h.
60285 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60286 perform test if it is, otherwise return successfully without testing.
60287 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60288 DEFAULT_STACK_PERMS define in stackinfo.h.
60289 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60290 defined in stackinfo.h.
60291 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60292 DEFAULT_STACK_PERMS defined in stackinfo.h.
60293 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60294 * sysdeps/ia64/stackinfo.h: Likewise.
60295 * sysdeps/s390/stackinfo.h: Likewise.
60296 * sysdeps/sh/stackinfo.h: Likewise.
60297 * sysdeps/sparc/stackinfo.h: Likewise.
60298 * sysdeps/x86_64/stackinfo.h: Likewise.
60299 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60300 PF_X for powerpc64. Retain PF_X for powerpc32.
60302 2010-12-19 Ulrich Drepper <drepper@gmail.com>
60304 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60306 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60307 GETDENTS_64BIT_ALIGNED.
60309 2010-12-14 Ulrich Drepper <dreper@gmail.com>
60311 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60313 2010-12-10 Andreas Schwab <schwab@redhat.com>
60315 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60318 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60319 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60321 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60322 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60324 2010-12-09 Ulrich Drepper <drepper@gmail.com>
60327 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60330 2010-12-09 Jakub Jelinek <jakub@redhat.com>
60332 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60334 2010-12-03 Ulrich Drepper <drepper@gmail.com>
60336 * po/it.po: Update from translation team.
60338 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60343 2010-11-30 Ulrich Drepper <drepper@gmail.com>
60345 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60347 2010-11-24 Andreas Schwab <schwab@redhat.com>
60349 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60351 (gaih_getanswer_slice): Likewise.
60353 2010-10-20 Jakub Jelinek <jakub@redhat.com>
60355 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60357 2010-05-31 Petr Baudis <pasky@suse.cz>
60360 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60361 silently even in the chroot mode.
60363 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60365 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60366 last patch a bit. Pretty printing
60368 2010-05-31 Petr Baudis <pasky@suse.cz>
60371 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60372 initialization of skip_initgroups_dyn.
60374 2010-11-19 Ulrich Drepper <drepper@gmail.com>
60376 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60377 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60379 2010-11-16 Ulrich Drepper <drepper@gmail.com>
60381 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60383 2010-11-11 Andreas Schwab <schwab@redhat.com>
60385 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60386 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60387 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60388 ($(objpfx)tst-fnmatch-mem): New rule.
60389 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60390 * posix/tst-fnmatch.c (main): Call mtrace.
60392 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60395 Support Intel processor model 6 and model 0x2c.
60397 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
60399 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60402 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60405 * string/test-strncasecmp.c (check_result): New function.
60406 (do_one_test): Use it.
60407 (check1): New function.
60408 (test_main): Use it.
60409 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60410 Support strcasecmp and strncasecmp.
60412 2010-11-08 Ulrich Drepper <drepper@gmail.com>
60415 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60416 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60418 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60420 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60424 * sysdeps/x86_64/multiarch/bzero.S: New file.
60425 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60426 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60427 * sysdeps/x86_64/multiarch/memset.S: New file.
60428 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60430 Set bit_Prefer_SSE_for_memop for Intel processors.
60431 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60433 (index_Prefer_SSE_for_memop): Define.
60434 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60436 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
60438 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60439 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60441 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60444 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60445 (__x86_64_raw_data_cache_size_half): Likewise.
60446 (__x86_64_raw_shared_cache_size): Likewise.
60447 (__x86_64_raw_shared_cache_size_half): Likewise.
60449 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60450 (__x86_64_raw_data_cache_size_half): Likewise.
60451 (__x86_64_raw_shared_cache_size): Likewise.
60452 (__x86_64_raw_shared_cache_size_half): Likewise.
60453 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60454 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60455 and __x86_64_raw_shared_cache_size_half. Round
60456 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60457 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60458 to multiple of 256 bytes.
60460 2010-11-03 Ulrich Drepper <drepper@gmail.com>
60463 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60464 of inacessible symlinks. Verify result of symlink before returning it.
60465 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60466 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60468 2010-10-28 Erich Ritz <erichritz@gmail.com>
60470 * math/math.h (isinf): Fix typo in comment.
60472 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60474 * po/da.po: Update from translation team.
60476 2010-10-26 Ulrich Drepper <drepper@gmail.com>
60478 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60479 is added to the list.
60481 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60482 Ulrich Drepper <drepper@gmail.com>
60484 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60485 the global list here. Move code to...
60486 (_dl_add_to_namespace_list): ...here. New function.
60487 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60488 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60489 * elf/dl-load.c (lose): Don't remove the element from the list.
60490 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60491 (_dl_map_object): Likewise.
60493 2010-10-25 Ulrich Drepper <drepper@gmail.com>
60496 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60497 into all bytes of SSE register.
60498 Patch by Richard Li <richardpku@gmail.com>.
60500 2010-10-24 Ulrich Drepper <drepper@gmail.com>
60503 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60506 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60508 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60509 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60510 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60511 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60516 2010-10-22 Andreas Schwab <schwab@redhat.com>
60518 * include/dlfcn.h (__RTLD_SECURE): Define.
60519 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60520 mode & __RTLD_SECURE instead.
60521 (open_path): Rename preloaded parameter to secure.
60522 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60523 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60524 * elf/dl-deps.c (openaux): Likewise.
60525 * elf/rtld.c (struct map_args): Remove is_preloaded.
60526 (map_doit): Don't use it.
60527 (dl_main): Likewise.
60528 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60529 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60531 2010-09-09 Andreas Schwab <schwab@redhat.com>
60533 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60534 (sysd-rules-targets): Remove duplicates.
60535 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60536 rtld-%.$o dependency.
60538 2010-10-18 Andreas Schwab <schwab@redhat.com>
60540 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60541 _dl_map_object do it.
60543 2010-10-19 Ulrich Drepper <drepper@gmail.com>
60545 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60546 fast fma builtins, define the macros in the C99 standard.
60547 (FP_FAST_FMAF): Likewise.
60548 (FP_FAST_FMAL): Likewise.
60549 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60551 * bits/mathdef.h: Update copyright year.
60552 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60554 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60556 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60557 builtins, define the macros in the C99 standard.
60558 (FP_FAST_FMAF): Likewise.
60559 (FP_FAST_FMAL): Likewise.
60560 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60562 (FP_FAST_FMAF): Likewise.
60564 2010-10-15 Jakub Jelinek <jakub@redhat.com>
60567 * math/libm-test.inc (fma_test): Some new testcases.
60568 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60569 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60570 y and infinite z. Do multiplication by C already in long double.
60571 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60573 y and infinite z. Do bitwise or of inexact bit into u.d.
60574 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60575 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60576 * sysdeps/i386/fpu/s_fma.S: Removed.
60577 * sysdeps/i386/fpu/s_fmal.S: Removed.
60579 2010-10-16 Jakub Jelinek <jakub@redhat.com>
60582 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60583 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60584 computation is not scheduled after fetestexcept. Fix value
60585 of minimum denormal long double.
60587 2010-10-14 Jakub Jelinek <jakub@redhat.com>
60590 * math/libm-test.inc (fma_test): Add some more tests.
60591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60594 2010-10-15 Andreas Schwab <schwab@redhat.com>
60596 * scripts/data/localplt-s390-linux-gnu.data: New file.
60597 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60599 2010-10-13 Jakub Jelinek <jakub@redhat.com>
60602 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60603 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60605 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60607 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60609 if one of x and y is very large and the other is subnormal.
60610 * sysdeps/s390/fpu/s_fmaf.c: New file.
60611 * sysdeps/s390/fpu/s_fma.c: New file.
60612 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60613 * sysdeps/powerpc/fpu/s_fma.S: New file.
60614 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60615 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60616 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60618 2010-10-12 Jakub Jelinek <jakub@redhat.com>
60621 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60623 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60624 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60625 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60626 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60627 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60628 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60629 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60631 2010-10-12 Ulrich Drepper <drepper@redhat.com>
60634 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60635 * posix/bug-regex31.input: Add test case.
60637 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60639 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60640 * posix/bug-regex31.input: New file.
60643 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60644 (parse_sub_exp): Fix last change, use postorder.
60646 * posix/bug-regex31.c: New file.
60647 * posix/Makefile: Add rules to build and run bug-regex31.
60649 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60652 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60655 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60656 to have entries in sys_siglist.
60659 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60662 2010-10-07 Jakub Jelinek <jakub@redhat.com>
60665 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60666 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60667 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60668 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60669 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60670 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60671 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60672 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60673 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60674 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60675 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60676 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60677 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60678 * math/ftestexcept.c (fetestexcept): Likewise.
60679 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60680 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60681 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60682 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60683 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60684 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60685 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60687 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60690 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60693 2010-10-06 Ulrich Drepper <drepper@gmail.com>
60695 * string/bug-strstr1.c: New file.
60696 * string/Makefile: Add rules to build and run bug-strstr1.
60698 2010-10-05 Eric Blake <eblake@redhat.com>
60701 * string/str-two-way.h (two_way_long_needle): Always clear memory
60702 when skipping input due to the shift table.
60704 2010-10-03 Ulrich Drepper <drepper@gmail.com>
60707 * malloc/mcheck.c: Handle large requests.
60710 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60711 for strncmp and strncasecmp.
60712 * string/stratcliff.c: Add tests for strcmp and strncmp.
60713 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60715 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60717 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60720 2010-09-30 Andreas Jaeger <aj@suse.de>
60722 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60723 (CGROUP_SUPER_MAGIC): Define.
60724 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60725 Handle btrfs and cgroup file systems.
60726 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60729 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
60731 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60732 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60734 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60737 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60738 trying to locate the ELF header.
60740 2010-09-27 Andreas Schwab <schwab@redhat.com>
60743 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60744 Mask out sign-bit copies when constructing f_fsid.
60746 2010-09-24 Petr Baudis <pasky@suse.cz>
60748 * debug/stack_chk_fail_local.c: Add missing licence exception.
60749 * debug/warning-nop.c: Likewise.
60751 2010-09-15 Joseph Myers <joseph@codesourcery.com>
60753 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60754 implementing getdents64 using getdents syscall, set d_type if
60755 __ASSUME_GETDENTS32_D_TYPE.
60757 2010-09-16 Andreas Schwab <schwab@redhat.com>
60759 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60760 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60762 2010-09-21 Ulrich Drepper <drepper@redhat.com>
60765 * posix/unistd.h: Undo change of feature selection for ftruncate from
60768 2010-09-20 Ulrich Drepper <drepper@redhat.com>
60770 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60773 2010-09-20 Andreas Schwab <schwab@redhat.com>
60775 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60777 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60779 2010-09-14 Andreas Schwab <schwab@redhat.com>
60781 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60782 variables after CHECK_SP call.
60783 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60785 2010-09-13 Andreas Schwab <schwab@redhat.com>
60786 Ulrich Drepper <drepper@redhat.com>
60788 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60789 re-relocationg ld.so.
60790 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60791 _dl_init_paths call.
60792 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
60795 2010-09-14 Ulrich Drepper <drepper@redhat.com>
60797 * resolv/res_init.c (__res_vinit): Count the default server we added.
60799 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
60800 Ulrich Drepper <drepper@redhat.com>
60803 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60804 (____longjmp_chk): Use %ebx for saving value across system call.
60807 2010-09-06 Andreas Schwab <schwab@redhat.com>
60809 * manual/Makefile: Don't mix pattern rules with normal rules.
60811 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
60813 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60815 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60816 * libio/iofopncook.c (_IO_cookie_init): Likewise.
60817 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60818 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60819 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60822 2010-09-04 Ulrich Drepper <drepper@redhat.com>
60825 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60826 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60828 2010-09-02 Ulrich Drepper <drepper@redhat.com>
60830 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60831 * sysdeps/x86_64/addmul_1.S: Likewise.
60832 * sysdeps/x86_64/lshift.S: Likewise.
60833 * sysdeps/x86_64/mul_1.S: Likewise.
60834 * sysdeps/x86_64/rshift.S: Likewise.
60835 * sysdeps/x86_64/sub_n.S: Likewise.
60836 * sysdeps/x86_64/submul_1.S: Likewise.
60838 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
60840 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60841 Define __sched_param instead of SCHED_* and sched_param when
60842 <bits/sched.h> is included with __need_schedparam defined.
60843 * bits/sched.h [__need_schedparam]
60844 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60845 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60846 (__defined_schedparam): Define to 1.
60847 (__sched_param): New structure, identical to sched_param.
60848 (__need_schedparam): Undefine.
60850 2010-08-31 Mike Frysinger <vapier@gentoo.org>
60852 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60853 (epoll_create1): Declare.
60855 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60857 2010-08-31 Andreas Schwab <schwab@redhat.com>
60860 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60861 shifting retval into place.
60863 2010-09-01 Ulrich Drepper <drepper@redhat.com>
60865 * nis/rpcsvc/nis.h: Update copyright notice.
60866 * nis/rpcsvc/nis.x: Likewise.
60867 * nis/rpcsvc/nis_callback.h: Likewise.
60868 * nis/rpcsvc/nis_callback.x: Likewise.
60869 * nis/rpcsvc/nis_object.x: Likewise.
60870 * nis/rpcsvc/nis_tags.h: Likewise.
60871 * nis/rpcsvc/yp.h: Likewise.
60872 * nis/rpcsvc/yp.x: Likewise.
60873 * nis/rpcsvc/ypupd.h: Likewise.
60874 * nis/yp_xdr.c: Likewise.
60875 * nis/ypupdate_xdr.c: Likewise.
60877 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
60878 mainly the body of pmap_getport. Add parameters to specify timeouts.
60879 (pmap_getport): Use __libc_rpc_getport.
60880 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60881 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60882 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60884 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
60886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60889 2010-08-27 Roland McGrath <roland@redhat.com>
60891 * sysdeps/i386/i686/multiarch/Makefile
60892 (CFLAGS-varshift.c): New variable.
60894 2010-08-27 Ulrich Drepper <drepper@redhat.com>
60896 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60897 * sysdeps/i386/i686/multiarch/varshift.c: New file.
60899 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60901 * sysdeps/x86_64/strlen.S: Minimal code improvement.
60903 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
60905 * sysdeps/x86_64/strlen.S: Unroll the loop.
60906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60907 strlen-sse2 strlen-sse2-bsf.
60908 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60909 __strlen_no_bsf if bit_Slow_BSF is set.
60910 (__strlen_sse42): Removed.
60911 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60912 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60914 2010-08-25 Roland McGrath <roland@redhat.com>
60916 * sysdeps/x86_64/multiarch/varshift.S: File removed.
60917 * sysdeps/x86_64/multiarch/varshift.c: New file.
60918 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60919 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60920 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60921 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60923 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
60925 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60926 strlen-sse2 strlen-sse2-bsf.
60927 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60928 __strlen_sse2_bsf if bit_Slow_BSF is unset.
60929 (__strlen_sse2): Removed.
60930 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60931 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60933 bit_Slow_BSF for Atom.
60934 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60935 (index_Slow_BSF): Define.
60936 (HAS_SLOW_BSF): Define.
60938 2010-08-25 Ulrich Drepper <drepper@redhat.com>
60941 * resolv/res_init.c (__res_vinit): When no server address at all
60942 is given default to loopback.
60944 2010-08-24 Roland McGrath <roland@redhat.com>
60946 * configure.in: Remove config-name.h generation.
60947 * configure: Regenerated.
60948 * config-name.in: File removed.
60949 * scripts/config-uname.sh: New file.
60950 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60951 ($(objdir)config-name.h): New target.
60953 * sunrpc/rpc_parse.h: Avoid nested comment.
60955 2010-08-24 Richard Henderson <rth@redhat.com>
60956 Ulrich Drepper <drepper@redhat.com>
60957 H.J. Lu <hongjiu.lu@intel.com>
60959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60961 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60962 Replace _mm_srli_si128 with __m128i_shift_right. Replace
60963 _mm_alignr_epi8 with _mm_loadu_si128.
60964 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60965 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60966 (__m128i_shift_right): Removed.
60967 * sysdeps/i386/i686/multiarch/varshift.h: New file.
60968 * sysdeps/i386/i686/multiarch/varshift.S: New file.
60969 * sysdeps/x86_64/multiarch/varshift.h: New file.
60970 * sysdeps/x86_64/multiarch/varshift.S: New file.
60972 2010-08-21 Mike Frysinger <vapier@gentoo.org>
60974 * configure.in: Move assembler checks to before sysdep dir checking.
60976 2010-08-20 Petr Baudis <pasky@suse.cz>
60978 * LICENSES: Sync the sunrpc license.
60980 2010-08-19 Ulrich Drepper <drepper@redhat.com>
60982 * sunrpc/auth_des.c: Update copyright notice once again.
60983 * sunrpc/auth_none.c: Likewise.
60984 * sunrpc/auth_unix.c: Likewise.
60985 * sunrpc/authdes_prot.c: Likewise.
60986 * sunrpc/authuxprot.c: Likewise.
60987 * sunrpc/bindrsvprt.c: Likewise.
60988 * sunrpc/clnt_gen.c: Likewise.
60989 * sunrpc/clnt_perr.c: Likewise.
60990 * sunrpc/clnt_raw.c: Likewise.
60991 * sunrpc/clnt_simp.c: Likewise.
60992 * sunrpc/clnt_tcp.c: Likewise.
60993 * sunrpc/clnt_udp.c: Likewise.
60994 * sunrpc/clnt_unix.c: Likewise.
60995 * sunrpc/des_crypt.c: Likewise.
60996 * sunrpc/des_soft.c: Likewise.
60997 * sunrpc/get_myaddr.c: Likewise.
60998 * sunrpc/getrpcport.c: Likewise.
60999 * sunrpc/key_call.c: Likewise.
61000 * sunrpc/key_prot.c: Likewise.
61001 * sunrpc/openchild.c: Likewise.
61002 * sunrpc/pm_getmaps.c: Likewise.
61003 * sunrpc/pm_getport.c: Likewise.
61004 * sunrpc/pmap_clnt.c: Likewise.
61005 * sunrpc/pmap_prot.c: Likewise.
61006 * sunrpc/pmap_prot2.c: Likewise.
61007 * sunrpc/pmap_rmt.c: Likewise.
61008 * sunrpc/rpc/auth.h: Likewise.
61009 * sunrpc/rpc/auth_unix.h: Likewise.
61010 * sunrpc/rpc/clnt.h: Likewise.
61011 * sunrpc/rpc/des_crypt.h: Likewise.
61012 * sunrpc/rpc/key_prot.h: Likewise.
61013 * sunrpc/rpc/netdb.h: Likewise.
61014 * sunrpc/rpc/pmap_clnt.h: Likewise.
61015 * sunrpc/rpc/pmap_prot.h: Likewise.
61016 * sunrpc/rpc/pmap_rmt.h: Likewise.
61017 * sunrpc/rpc/rpc.h: Likewise.
61018 * sunrpc/rpc/rpc_des.h: Likewise.
61019 * sunrpc/rpc/rpc_msg.h: Likewise.
61020 * sunrpc/rpc/svc.h: Likewise.
61021 * sunrpc/rpc/svc_auth.h: Likewise.
61022 * sunrpc/rpc/types.h: Likewise.
61023 * sunrpc/rpc/xdr.h: Likewise.
61024 * sunrpc/rpc_clntout.c: Likewise.
61025 * sunrpc/rpc_cmsg.c: Likewise.
61026 * sunrpc/rpc_common.c: Likewise.
61027 * sunrpc/rpc_cout.c: Likewise.
61028 * sunrpc/rpc_dtable.c: Likewise.
61029 * sunrpc/rpc_hout.c: Likewise.
61030 * sunrpc/rpc_main.c: Likewise.
61031 * sunrpc/rpc_parse.c: Likewise.
61032 * sunrpc/rpc_parse.h: Likewise.
61033 * sunrpc/rpc_prot.c: Likewise.
61034 * sunrpc/rpc_sample.c: Likewise.
61035 * sunrpc/rpc_scan.c: Likewise.
61036 * sunrpc/rpc_scan.h: Likewise.
61037 * sunrpc/rpc_svcout.c: Likewise.
61038 * sunrpc/rpc_tblout.c: Likewise.
61039 * sunrpc/rpc_util.c: Likewise.
61040 * sunrpc/rpc_util.h: Likewise.
61041 * sunrpc/rpcinfo.c: Likewise.
61042 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61043 * sunrpc/rpcsvc/key_prot.x: Likewise.
61044 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61045 * sunrpc/rpcsvc/mount.x: Likewise.
61046 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61047 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61048 * sunrpc/rpcsvc/rex.x: Likewise.
61049 * sunrpc/rpcsvc/rstat.x: Likewise.
61050 * sunrpc/rpcsvc/rusers.x: Likewise.
61051 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61052 * sunrpc/rpcsvc/spray.x: Likewise.
61053 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61054 * sunrpc/rtime.c: Likewise.
61055 * sunrpc/svc.c: Likewise.
61056 * sunrpc/svc_auth.c: Likewise.
61057 * sunrpc/svc_authux.c: Likewise.
61058 * sunrpc/svc_raw.c: Likewise.
61059 * sunrpc/svc_run.c: Likewise.
61060 * sunrpc/svc_simple.c: Likewise.
61061 * sunrpc/svc_tcp.c: Likewise.
61062 * sunrpc/svc_udp.c: Likewise.
61063 * sunrpc/svc_unix.c: Likewise.
61064 * sunrpc/svcauth_des.c: Likewise.
61065 * sunrpc/xcrypt.c: Likewise.
61066 * sunrpc/xdr.c: Likewise.
61067 * sunrpc/xdr_array.c: Likewise.
61068 * sunrpc/xdr_float.c: Likewise.
61069 * sunrpc/xdr_mem.c: Likewise.
61070 * sunrpc/xdr_rec.c: Likewise.
61071 * sunrpc/xdr_ref.c: Likewise.
61072 * sunrpc/xdr_sizeof.c: Likewise.
61073 * sunrpc/xdr_stdio.c: Likewise.
61075 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61078 2010-08-19 Andreas Schwab <schwab@redhat.com>
61080 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61082 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
61084 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61085 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61086 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61087 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61088 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61089 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61090 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61091 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61092 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61093 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61094 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61095 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61096 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61097 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61099 2010-07-26 Anton Blanchard <anton@samba.org>
61101 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61102 * malloc/arena.c (heap_trim): Likewise.
61104 2010-08-16 Ulrich Drepper <drepper@redhat.com>
61106 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61108 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61109 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61111 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61113 * sysdeps/i386/elf/Makefile: New file.
61115 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61117 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61118 from fanotify_init.
61119 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61120 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61122 2010-08-15 Ulrich Drepper <drepper@redhat.com>
61124 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61126 * sysdeps/multiarch/strcmp.S: Likewise.
61128 2010-08-14 Ulrich Drepper <drepper@redhat.com>
61130 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61131 strncase_l-nonascii.
61132 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61133 Add strncase_l-ssse3.
61134 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61135 * sysdeps/x86_64/strcmp.S: Likewise.
61136 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61137 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61138 * sysdeps/x86_64/strncase.S: New file.
61139 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61140 * sysdeps/x86_64/strncase_l.S: New file.
61141 * string/Makefile (strop-tests): Add strncasecmp.
61142 * string/test-strncasecmp.c: New file.
61144 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61147 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61148 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61150 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61152 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61154 2010-08-12 Ulrich Drepper <drepper@redhat.com>
61156 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61157 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61158 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61160 2010-05-01 Alan Modra <amodra@gmail.com>
61162 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61163 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61164 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61165 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61166 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61167 tidying. Don't tail-call __sigjmp_save for static lib.
61168 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61170 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61171 (CALL_MCOUNT): Add eh info, and nop after bl.
61172 (TAIL_CALL_SYSCALL_ERROR): New macro.
61173 (PSEUDO_RET): Use it.
61174 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61175 Correct save location of integer regs and cr.
61176 (_dl_profile_resolve): Correct cr save location. Delete nops
61177 after bl when SHARED. Reduce cfi size a little by better
61178 placement of cfi directives.
61179 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61180 make a stack frame. Instead use parm save area as a temp.
61181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61182 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61184 Don't make a stack frame for parent, use parm save area.
61185 Increase child stack frame to 112 bytes. Don't save unused reg,
61186 and adjust reg usage. Set up cfi on error recovery and
61187 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61189 (__makecontext): Add dummy nop after jump to exit.
61190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61191 Use correct parm save area and cr save, reduce stack frame.
61192 Correct cfi for possible PSEUDO_RET frame setup.
61193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61194 Branch to local label emitted by PSEUDO_RET rather than
61197 2010-08-12 Andreas Schwab <schwab@redhat.com>
61200 * locale/programs/locale.c (print_assignment): New function.
61201 (show_locale_vars): Use it.
61203 2010-08-11 Ulrich Drepper <drepper@redhat.com>
61205 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61207 (struct statfs64): Likewise.
61208 (_STATFS_F_FLAGS): Define.
61209 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61210 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61211 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61212 (ST_VALID): Define locally.
61213 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61214 __statvfs_getflags, use the provided value.
61215 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61216 __ASSUME_STATFS_F_FLAGS.
61218 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61220 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61221 Add sys/fanotify.h.
61222 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61223 fanotify_mask for GLIBC_2.13.
61224 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61225 fanotify_init and fanotify_mark.
61226 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61227 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61229 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61231 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61232 prlimit64 for GLIBC_2.13.
61233 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61235 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61238 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61239 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61240 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61241 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61243 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61246 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61247 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61249 * nss/Makefile: Add rules to build and run tst-nss-test1.
61250 * shlib-versions: Add entry for libnss_test1.
61251 * nss/nss_test1.c: New file.
61252 * nss/tst-nss-test1.c: New file.
61254 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61255 (__nss_configure_lookup): Set appropriate entry in
61256 __nss_configure_lookup to true.
61257 * nss/nsswitch.h: Define enum with indeces of databases in
61258 databases and __nss_database_custom arrays. Declare
61259 __nss_database_custom.
61260 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61261 to avoid using nscd when custom rules are installed.
61262 * nss/getXXbyYY_r.c: Likewise.
61263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61265 * nss/nss_files/files-parse.c: Whitespace fixes.
61267 2010-08-09 Ulrich Drepper <drepper@redhat.com>
61270 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61271 * posix/fnmatch_loop.c: Likewise.
61273 2010-07-17 Andi Kleen <ak@linux.intel.com>
61275 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61276 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61277 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61278 * Versions.def [GLIBC_2.13]: Add.
61280 2010-08-06 Ulrich Drepper <drepper@redhat.com>
61282 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61283 Also fail if tpwd after pwuid call is NULL.
61285 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61287 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61288 when converting to ms.
61290 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61292 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61293 EOPNOTSUPP errors with ENOTTY.
61294 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61295 EOPNOTSUPP errors with ENOTTY.
61297 2010-07-31 Ulrich Drepper <drepper@redhat.com>
61299 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61300 Add strcasecmp_l-ssse3.
61301 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61303 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61304 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61305 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61307 2010-07-30 Ulrich Drepper <drepper@redhat.com>
61309 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61311 * string/Makefile (strop-tests): Add strcasecmp.
61312 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61313 strcasecmp_l-nonascii.
61314 (gen-as-const-headers): Add locale-defines.sym.
61315 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61316 * sysdeps/x86_64/strcasecmp.S: New file.
61317 * sysdeps/x86_64/strcasecmp_l.S: New file.
61318 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61319 * sysdeps/x86_64/locale-defines.sym: New file.
61320 * string/test-strcasecmp.c: New file.
61322 * string/test-strcasestr.c: Test both ends of the range of characters.
61323 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61325 2010-07-29 Roland McGrath <roland@redhat.com>
61328 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61330 2010-07-27 Ulrich Drepper <drepper@redhat.com>
61332 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61335 2010-07-27 Andreas Schwab <schwab@redhat.com>
61337 * manual/memory.texi (Malloc Tunable Parameters): Document
61340 2010-07-26 Roland McGrath <roland@redhat.com>
61343 * configure.in (-fgnu89-inline check): Set and substitute
61344 gnu89_inline, not libc_cv_gnu89_inline.
61345 * configure: Regenerated.
61346 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61348 2010-07-26 Ulrich Drepper <drepper@redhat.com>
61350 * string/test-strnlen.c: New file.
61351 * string/Makefile (strop-tests): Add strnlen.
61352 * string/tester.c (test_strnlen): Add a few more test cases.
61353 * string/tst-strlen.c: Better error reporting.
61355 * sysdeps/x86_64/strnlen.S: New file.
61357 2010-07-24 Ulrich Drepper <drepper@redhat.com>
61359 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61360 lower-latency instructions.
61362 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61364 * string/test-strcasestr.c: New file.
61365 * string/test-strstr.c: New file.
61366 * string/Makefile (strop-tests): Add strstr and strcasestr.
61367 * string/str-two-way.h: Don't undefine MAX.
61368 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61370 2010-07-21 Andreas Schwab <schwab@redhat.com>
61372 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61373 strcasestr-nonascii.
61374 (CFLAGS-strcasestr-nonascii.c): Define.
61375 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61376 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61377 Remove unused attribute.
61379 2010-07-20 Roland McGrath <roland@redhat.com>
61381 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61382 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61383 ld.so.cache was broken. With it, there is no way to disable dsocaps
61384 like LD_HWCAP_MASK can disable hwcaps.
61386 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61388 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61390 2010-07-16 Ulrich Drepper <drepper@redhat.com>
61392 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61393 call in strcasestr.
61394 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61395 __strcasestr_sse42_nonascii.
61396 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61397 strcasestr-nonascii.c.
61398 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61400 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
61402 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61403 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61404 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61405 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61407 2010-07-09 Ulrich Drepper <drepper@redhat.com>
61409 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61412 2010-07-06 Andreas Schwab <schwab@redhat.com>
61415 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61418 2010-07-06 Ulrich Drepper <drepper@redhat.com>
61420 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61421 _PC_PIPE_BUF using F_GETPIPE_SZ.
61423 2010-07-05 Roland McGrath <roland@redhat.com>
61425 * manual/arith.texi (Rounding Functions): Fix rint description
61426 implicit in round description.
61428 2010-07-02 Ulrich Drepper <drepper@redhat.com>
61430 * elf/Makefile: Fix linking for a few tests to make recent linker
61433 2010-06-30 Andreas Schwab <schwab@redhat.com>
61435 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61436 $(common-objpfx)libc_nonshared.a.
61438 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
61440 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61441 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61442 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61443 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61444 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61445 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61446 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61447 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61462 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61463 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61464 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61465 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61466 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61467 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61468 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61469 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61470 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61471 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61472 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61473 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61489 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61491 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61492 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61493 * string/memmove.c (memmove): Renamed to ...
61494 (MEMMOVE): ...this. Default to memmove.
61495 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61496 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61499 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61500 mempcpy-ssse3-back memmove-ssse3-back.
61501 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61502 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61503 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61504 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61505 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61506 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61507 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61508 * sysdeps/x86_64/multiarch/memmove.c: New file.
61509 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61510 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61511 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61512 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61513 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61514 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61516 (index_Fast_Copy_Backward): Define.
61517 (HAS_ARCH_FEATURE): Define.
61518 (HAS_FAST_REP_STRING): Define.
61519 (HAS_FAST_COPY_BACKWARD): Define.
61521 2010-06-21 Andreas Schwab <schwab@redhat.com>
61523 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61524 Restore proper fallback handling.
61526 2010-06-19 Ulrich Drepper <drepper@redhat.com>
61529 * posix/group_member.c (__group_member): Correct checking loop.
61531 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61532 OOM in getpwuid_r correctly. Return error number when the caller
61533 should return, otherwise -1.
61534 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61535 call returning > 0 value.
61536 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61538 2010-06-07 Andreas Schwab <schwab@redhat.com>
61540 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61541 libc_nonshared.a from targets in modules-names.
61543 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61545 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61548 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
61550 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61551 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61552 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61553 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61555 2010-06-02 Andreas Schwab <schwab@redhat.com>
61557 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61559 2010-06-14 Ulrich Drepper <drepper@redhat.com>
61561 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61563 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61564 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61567 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61568 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61570 2010-06-14 Roland McGrath <roland@redhat.com>
61572 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61574 2010-06-07 Jakub Jelinek <jakub@redhat.com>
61576 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61577 __REDIRECT followed by __THROW.
61578 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61579 * posix/getopt.h (getopt): Likewise.
61581 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61583 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61584 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61585 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61587 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61588 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61590 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
61592 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61594 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61598 Properly check family and model.
61600 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61602 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61604 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
61606 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61608 2010-05-21 Ulrich Drepper <drepper@redhat.com>
61610 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61613 2010-05-19 Andreas Schwab <schwab@redhat.com>
61615 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61618 2010-05-21 Andreas Schwab <schwab@redhat.com>
61620 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61621 and internal_recvmmsg.
61622 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61623 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61624 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61625 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61627 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61628 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61629 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61631 2010-05-20 Andreas Schwab <schwab@redhat.com>
61633 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61635 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
61637 POWER7 optimizations.
61638 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61639 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61641 2010-05-19 Ulrich Drepper <drepper@redhat.com>
61643 * version.h: Update for 2.13 development version.
61645 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
61647 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61648 exceptions. Return 0.
61650 2010-05-07 Roland McGrath <roland@redhat.com>
61652 * elf/ldconfig.c (main): Add a const.
61654 2010-05-06 Ulrich Drepper <drepper@redhat.com>
61656 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61657 (args_options): Add no-idn option.
61658 (ahosts_keys_int): Add idn_flags to ai_flags.
61659 (parse_option): Handle 'i' option to clear idn_flags.
61661 * malloc/malloc.c (_int_free): Possible race in the most recently
61662 added check. Only act on the data if no current modification
61665 See ChangeLog.17 for earlier changes.