1 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4 * math/s_clog10.c (M_PI_LOG10E): New macro.
5 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12 imaginary parts are 0.
13 * math/libm-test.inc (clog10_test_data): Update expected results
14 for when real and imaginary parts are 0.
16 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
18 * elf/dl-load.c: Finish conversion of __builtin_expect into
21 2014-03-27 Joseph Myers <joseph@codesourcery.com>
24 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
25 1+x for argument with exponent below -67.
26 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
28 * math/auto-libm-test-in: Add more tests of exp.
29 * math/auto-libm-test-out: Regenerated.
31 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34 * inet/getnetgrent_r.c (get_nonempty_val): New function.
35 (nscd_getnetgrent): Use it.
38 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
41 2014-03-27 Andi Kleen <ak@linux.intel.com>
43 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
44 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
45 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
46 Remove out of line section. Use cfi intrinsics.
47 (LLL_STUB_UNWIND_INFO*): Remove.
48 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
49 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
50 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
51 Remove out of line section. Use cfi intrinsics.
52 (LLL_STUB_UNWIND_INFO*): Remove.
54 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
57 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
60 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
62 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
64 2014-03-26 Joseph Myers <joseph@codesourcery.com>
67 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
69 * math/test-fenv-preserve.c: New file.
70 * math/Makefile (tests): Add test-fenv-preserve.
72 2014-03-26 Will Newton <will.newton@linaro.org>
74 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
76 2014-03-25 Roland McGrath <roland@hack.frob.com>
78 * scripts/versionlist.awk: Partition the version sets and emit all
79 GLIBC_* (sorted) before all others (sorted).
81 2014-03-25 Joseph Myers <joseph@codesourcery.com>
83 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
86 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
91 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
93 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
96 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
98 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
100 2014-03-25 Andreas Schwab <schwab@suse.de>
102 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
103 label to be used after in6ailist is initialized.
105 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
107 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
108 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
110 2014-03-25 Joseph Myers <joseph@codesourcery.com>
114 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
116 (fp_formats): Update initializers.
117 (init_fp_formats): Initialize new field.
118 (output_for_one_input_case): Allow underflow for results up to
120 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
121 * math/auto-libm-test-in: Don't mark some underflows from asin and
123 * math/auto-libm-test-out: Regenerated.
124 * sysdeps/i386/fpu/libm-test-ulps: Update.
125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
127 2014-03-25 Andreas Schwab <schwab@suse.de>
129 * libio/Makefile (tst-ftell-partial-wide-ENV)
130 (tst-ftell-active-handler-ENV): Define.
132 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
134 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
136 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
138 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
140 2014-03-24 Joseph Myers <joseph@codesourcery.com>
142 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
143 * sysdeps/x86_64/fpu/multiarch/e_exp.c
144 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
146 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
149 * elf/dl-load.c (open_verify): Add mode parameter.
150 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
151 (open_path): Change from boolean 'secure' to complete flag 'mode'
152 (_dl_map_object): Adjust.
153 * elf/Makefile (tests): Add tst-dlopen-aout.
154 * elf/tst-dlopen-aout.c: New test.
156 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
159 * sysdeps/unix/sysv/linux/s390/bits/stat.h
160 (struct stat): Rename member pad0 to __glibc_reserved0.
162 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
165 * sysdeps/s390/s390-32/bits/wordsize.h
166 (__WORDSIZE32_SIZE_ULONG): New define.
167 * sysdeps/s390/s390-64/bits/wordsize.h
168 (__WORDSIZE32_SIZE_ULONG): Likewise.
169 * sysdeps/generic/stdint.h (SIZE_MAX):
170 Define as UL if __WORDSIZE32_SIZE_ULONG.
172 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
175 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
176 (__glibc_reserved0): New variable.
177 (sa_flags): Change type to int.
179 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
181 * posix/Makefile (before-compile): Use += before-compile instead
184 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
186 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
187 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
189 2014-03-20 Andreas Schwab <schwab@suse.de>
192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
193 non-matching result from nscd.
195 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
197 * scripts/bench.py: Moved to ...
198 * benchtests/scripts/bench.py: ... here.
199 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
201 2014-03-24 Andreas Schwab <schwab@suse.de>
204 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
205 alloca_account and account alloca use for struct in6ailist.
207 2014-03-24 Joseph Myers <joseph@codesourcery.com>
210 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
211 rounding mode to recompute results that overflow to infinity or
213 * math/auto-libm-test-in: Don't mark tests as expected to fail for
215 * math/auto-libm-test-out: Regenerated.
216 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
217 (ccosh_test): Likewise.
218 (csin_test_data): Use plus_oflow.
219 (csin_test): Use ALL_RM_TEST.
220 (csinh_test_data): Use plus_oflow.
221 (csinh_test): Use ALL_RM_TEST.
222 * sysdeps/i386/fpu/libm-test-ulps: Update.
223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
225 2014-03-21 Joseph Myers <joseph@codesourcery.com>
227 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
228 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
229 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
232 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
234 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
235 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
236 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
237 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
239 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
240 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
242 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
243 * sysdeps/i386/fpu/libm-test-ulps: Update.
244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
246 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
248 * scripts/bench.pl: Remove file.
249 * scripts/bench.py: New benchmark script.
250 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
251 * benchtests/README: Mention python dependency.
252 * scripts/pylintrc: New file.
253 * scripts/pylint: New file.
255 * bits/mathdef.h: Use #ifdef instead of #if.
256 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
257 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
258 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
259 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
260 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
261 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
263 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
264 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
266 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
268 and strpbrk-ppc64 objects.
269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
270 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
271 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
272 multiarch strpbrk for POWER7.
273 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
274 multiarch strpbrk for PPC64.
275 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
277 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
280 2014-03-20 Joseph Myers <joseph@codesourcery.com>
282 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
283 (atan_test): Likewise.
284 (atanh_test_data): Use NO_TEST_INLINE for two tests.
285 (atanh_test): Use ALL_RM_TEST.
286 (atan2_test_data): Likewise.
287 (cabs_test): Likewise.
288 (cacosh_test): Likewise.
289 (carg_test): Likewise.
290 (casin_test): Likewise.
291 (casinh_test): Likewise.
292 (cbrt_test): Likewise.
293 (csqrt_test): Likewise.
294 (erf_test): Likewise.
295 (erfc_test): Likewise.
296 (pow10_test): Likewise.
297 (exp2_test): Likewise.
298 (hypot_test): Likewise.
301 (lgamma_test): Likewise.
302 (gamma_test): Likewise.
303 (sincos_test): Likewise.
304 (tanh_test): Likewise.
307 * sysdeps/i386/fpu/libm-test-ulps: Update.
308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
310 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
312 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
314 and strcspn-ppc64 objects.
315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
316 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
317 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
318 multiarch strcspn for POWER7.
319 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
320 multiarch strcspn for PPC64.
321 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
323 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
326 2014-03-20 Joseph Myers <joseph@codesourcery.com>
328 * math/gen-libm-test.pl (generate_testfile): Expect only function
329 name as argument to AUTO_TESTS_* and pass results for all rounding
331 (parse_auto_input): Separate inputs of automatic tests from
332 outputs before storing in %auto_tests.
333 * math/libm-test.inc (acos_test_data): Update call to
335 (acos_test): Use ALL_RM_TEST.
336 (acos_tonearest_test_data): Remove.
337 (acos_test_tonearest): Likewise.
338 (acos_towardzero_test_data): Likewise.
339 (acos_test_towardzero): Likewise.
340 (acos_downward_test_data): Likewise.
341 (acos_test_downward): Likewise.
342 (acos_upward_test_data): Likewise.
343 (acos_test_upward): Likewise.
344 (acosh_test_data): Update call to AUTO_TESTS_f_f.
345 (asin_test_data): Likewise.
346 (asin_test): Use ALL_RM_TEST.
347 (asin_tonearest_test_data): Remove.
348 (asin_test_tonearest): Likewise.
349 (asin_towardzero_test_data): Likewise.
350 (asin_test_towardzero): Likewise.
351 (asin_downward_test_data): Likewise.
352 (asin_test_downward): Likewise.
353 (asin_upward_test_data): Likewise.
354 (asin_test_upward): Likewise.
355 (asinh_test_data): Update call to AUTO_TESTS_f_f.
356 (atan_test_data): Likewise.
357 (atanh_test_data): Likewise.
358 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
359 (cabs_test_data): Update call to AUTO_TESTS_c_f.
360 (carg_test_data): Likewise.
361 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
362 (ccos_test_data): Update call to AUTO_TESTS_c_c.
363 (ccosh_test_data): Likewise.
364 (cexp_test_data): Likewise.
365 (clog_test_data): Likewise.
366 (clog10_test_data): Likewise.
367 (cos_test_data): Update call to AUTO_TESTS_f_f.
368 (cos_test): Use ALL_RM_TEST.
369 (cos_tonearest_test_data): Remove.
370 (cos_test_tonearest): Likewise.
371 (cos_towardzero_test_data): Likewise.
372 (cos_test_towardzero): Likewise.
373 (cos_downward_test_data): Likewise.
374 (cos_test_downward): Likewise.
375 (cos_upward_test_data): Likewise.
376 (cos_test_upward): Likewise.
377 (cosh_test_data): Update call to AUTO_TESTS_f_f.
378 (cosh_test): Use ALL_RM_TEST.
379 (cosh_tonearest_test_data): Remove.
380 (cosh_test_tonearest): Likewise.
381 (cosh_towardzero_test_data): Likewise.
382 (cosh_test_towardzero): Likewise.
383 (cosh_downward_test_data): Likewise.
384 (cosh_test_downward): Likewise.
385 (cosh_upward_test_data): Likewise.
386 (cosh_test_upward): Likewise.
387 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
388 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
389 (ctan_test_data): Likewise.
390 (ctan_test): Use ALL_RM_TEST.
391 (ctan_tonearest_test_data): Remove.
392 (ctan_test_tonearest): Likewise.
393 (ctan_towardzero_test_data): Likewise.
394 (ctan_test_towardzero): Likewise.
395 (ctan_downward_test_data): Likewise.
396 (ctan_test_downward): Likewise.
397 (ctan_upward_test_data): Likewise.
398 (ctan_test_upward): Likewise.
399 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
400 (ctanh_test): Use ALL_RM_TEST.
401 (ctanh_tonearest_test_data): Remove.
402 (ctanh_test_tonearest): Likewise.
403 (ctanh_towardzero_test_data): Likewise.
404 (ctanh_test_towardzero): Likewise.
405 (ctanh_downward_test_data): Likewise.
406 (ctanh_test_downward): Likewise.
407 (ctanh_upward_test_data): Likewise.
408 (ctanh_test_upward): Likewise.
409 (erf_test_data): Update call to AUTO_TESTS_f_f.
410 (erfc_test_data): Likewise.
411 (exp_test_data): Likewise.
412 (exp_test): Use ALL_RM_TEST.
413 (exp_tonearest_test_data): Remove.
414 (exp_test_tonearest): Likewise.
415 (exp_towardzero_test_data): Likewise.
416 (exp_test_towardzero): Likewise.
417 (exp_downward_test_data): Likewise.
418 (exp_test_downward): Likewise.
419 (exp_upward_test_data): Likewise.
420 (exp_test_upward): Likewise.
421 (exp10_test_data): Update call to AUTO_TESTS_f_f.
422 (exp10_test): Use ALL_RM_TEST.
423 (exp10_tonearest_test_data): Remove.
424 (exp10_test_tonearest): Likewise.
425 (exp10_towardzero_test_data): Likewise.
426 (exp10_test_towardzero): Likewise.
427 (exp10_downward_test_data): Likewise.
428 (exp10_test_downward): Likewise.
429 (exp10_upward_test_data): Likewise.
430 (exp10_test_upward): Likewise.
431 (exp2_test_data): Update call to AUTO_TESTS_f_f.
432 (expm1_test_data): Likewise.
433 (expm1_test): Use ALL_RM_TEST.
434 (expm1_tonearest_test_data): Remove.
435 (expm1_test_tonearest): Likewise.
436 (expm1_towardzero_test_data): Likewise.
437 (expm1_test_towardzero): Likewise.
438 (expm1_downward_test_data): Likewise.
439 (expm1_test_downward): Likewise.
440 (expm1_upward_test_data): Likewise.
441 (expm1_test_upward): Likewise.
442 (fma_test_data): Update call to AUTO_TESTS_fff_f.
443 (fma_test): Use ALL_RM_TEST.
444 (fma_towardzero_test_data): Remove.
445 (fma_test_towardzero): Likewise.
446 (fma_downward_test_data): Likewise.
447 (fma_test_downward): Likewise.
448 (fma_upward_test_data): Likewise.
449 (fma_test_upward): Likewise.
450 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
451 (j0_test_data): Update call to AUTO_TESTS_f_f.
452 (j1_test_data): Likewise.
453 (jn_test_data): Update call to AUTO_TESTS_if_f.
454 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
455 (log_test_data): Update call to AUTO_TESTS_f_f.
456 (log10_test_data): Likewise.
457 (log1p_test_data): Likewise.
458 (log2_test_data): Likewise.
459 (pow_test_data): Update call to AUTO_TESTS_ff_f.
460 (pow_tonearest_test_data): Likewise.
461 (sin_test_data): Update call to AUTO_TESTS_f_f.
462 (sin_test): Use ALL_RM_TEST.
463 (sin_tonearest_test_data): Remove.
464 (sin_test_tonearest): Likewise.
465 (sin_towardzero_test_data): Likewise.
466 (sin_test_towardzero): Likewise.
467 (sin_downward_test_data): Likewise.
468 (sin_test_downward): Likewise.
469 (sin_upward_test_data): Likewise.
470 (sin_test_upward): Likewise.
471 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
472 (sinh_test_data): Update call to AUTO_TESTS_f_f.
473 (sinh_test): Use ALL_RM_TEST.
474 (sinh_tonearest_test_data): Remove.
475 (sinh_test_tonearest): Likewise.
476 (sinh_towardzero_test_data): Likewise.
477 (sinh_test_towardzero): Likewise.
478 (sinh_downward_test_data): Likewise.
479 (sinh_test_downward): Likewise.
480 (sinh_upward_test_data): Likewise.
481 (sinh_test_upward): Likewise.
482 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
483 (sqrt_test): Use ALL_RM_TEST.
484 (sqrt_tonearest_test_data): Remove.
485 (sqrt_test_tonearest): Likewise.
486 (sqrt_towardzero_test_data): Likewise.
487 (sqrt_test_towardzero): Likewise.
488 (sqrt_downward_test_data): Likewise.
489 (sqrt_test_downward): Likewise.
490 (sqrt_upward_test_data): Likewise.
491 (sqrt_test_upward): Likewise.
492 (tan_test_data): Update call to AUTO_TESTS_f_f.
493 (tan_test): Use ALL_RM_TEST.
494 (tan_tonearest_test_data): Remove.
495 (tan_test_tonearest): Likewise.
496 (tan_towardzero_test_data): Likewise.
497 (tan_test_towardzero): Likewise.
498 (tan_downward_test_data): Likewise.
499 (tan_test_downward): Likewise.
500 (tan_upward_test_data): Likewise.
501 (tan_test_upward): Likewise.
502 (tanh_test_data): Update call to AUTO_TESTS_f_f.
503 (tgamma_test_data): Likewise.
504 (y0_test_data): Likewise.
505 (y1_test_data): Likewise.
506 (yn_test_data): Update call to AUTO_TESTS_if_f.
507 (main): Do not call removed functions.
509 2014-03-19 Joseph Myers <joseph@codesourcery.com>
511 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
512 (ldexp_test_data): Remove.
513 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
515 (scalb_test): Use ALL_RM_TEST.
517 2014-03-19 Andreas Schwab <schwab@suse.de>
519 * nscd/nscd.service: Also invalidate netgroup cache on reload.
521 2014-03-19 Joseph Myers <joseph@codesourcery.com>
524 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
525 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
526 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
527 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
528 (__ASSUME_PREADV): Undefine.
529 (__ASSUME_PWRITEV): Likewise.
531 2014-03-18 Roland McGrath <roland@hack.frob.com>
533 * bits/mman-linux.h: Add comment about non-Linux use.
534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
535 bits/mman-linux.h resting place.
537 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
538 * bits/mman-linux.h: ... here.
540 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
542 * conform/conformtest.pl: Add standard definition when calling C
543 preprocessor on data files.
544 (checknamespace): Remove unused variable.
546 2014-03-18 Joseph Myers <joseph@codesourcery.com>
548 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
549 minus_oflow, plus_uflow and minus_uflow in expected results.
550 * math/libm-test.inc (scalbn_test_data): Add more tests of
551 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
553 (scalbn_test): Use ALL_RM_TEST.
554 (scalbln_test_data): Add more tests of negative arguments. Use
555 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
556 (scalbln_test): Use ALL_RM_TEST.
558 2014-03-18 Roland McGrath <roland@hack.frob.com>
560 * scripts/abilist.awk: Ignore symbols marked with .hidden.
562 2014-03-18 Will Newton <will.newton@linaro.org>
564 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
567 2014-03-18 Joseph Myers <joseph@codesourcery.com>
569 * Makerules [!subdir] (check-abi): Exit with error status if a
572 2014-03-17 Joseph Myers <joseph@codesourcery.com>
574 * math/libm-test.inc (nearbyint_test_data): Include all tests used
575 for rint. Include results for all rounding modes.
576 (nearbyint_test): Use ALL_RM_TEST.
577 (rint_test_data): Include all tests used for nearbyint.
579 2014-03-17 Will Newton <will.newton@linaro.org>
581 * nptl/sysdeps/pthread/pthread.h: Revert previous
584 * sysdeps/generic/ldsodefs.h: Revert previous
587 * libio/genops.c: Revert previous change.
588 * libio/libioP.h: Likewise.
589 * stdio-common/vfprintf.c: Likewise.
591 * sysdeps/generic/math_private.h: Revert previous
594 * sysdeps/generic/math_private.h: Check whether
595 HAVE_RM_CTX is defined with #ifdef rather
598 * argp/argp-fmtstream.h: Check whether
599 __STRICT_ANSI__ is defined with #ifdef rather
601 * argp/argp.h: Likewise.
603 * libio/genops.c: Check whether
604 _IO_JUMPS_OFFSET is defined with #ifdef rather
606 * libio/libioP.h: Likewise.
607 * stdio-common/vfprintf.c: Likewise.
609 * sysdeps/generic/ldsodefs.h: Check whether
610 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
613 * nptl/sysdeps/pthread/pthread.h: Check
614 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
617 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
619 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
621 * libio/tst-ftell-active-handler.c (do_append_test): Add a
625 * libio/fileops.c (_IO_file_open): Seek to end of file but
626 don't cache the offset.
627 (get_file_offset): Remove function.
628 (do_ftell): Use cached offset when available.
629 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
630 don't cache the offset.
631 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
633 (do_one_test): Call it.
634 (do_ftell_test): Fix up expected old offset for a+ mode.
635 * libio/wfileops.c (do_ftell_wide): Used cached offset when
638 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
639 up test status with function return status.
640 (do_write_test): Likewise.
641 (do_append_test): Likewise.
643 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
644 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
647 2014-03-17 Joseph Myers <joseph@codesourcery.com>
649 * math/gen-libm-test.pl (parse_args): Handle results specified for
650 each rounding mode separately.
651 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
652 tests and results from lrint_tonearest_test_data,
653 lrint_towardzero_test_data, lrint_downward_test_data and
654 lrint_upward_test_data.
655 (lrint_test): Use ALL_RM_TEST.
656 (lrint_tonearest_test_data): Remove.
657 (lrint_test_tonearest): Likewise.
658 (lrint_towardzero_test_data): Likewise.
659 (lrint_test_towardzero): Likewise.
660 (lrint_downward_test_data): Likewise.
661 (lrint_test_downward): Likewise.
662 (lrint_upward_test_data): Likewise.
663 (lrint_test_upward): Likewise.
664 (llrint_test_data): Merge in per-rounding-mode tests and results
665 from llrint_tonearest_test_data, llrint_towardzero_test_data,
666 llrint_downward_test_data and llrint_upward_test_data.
667 (llrint_test): Use ALL_RM_TEST.
668 (llrint_tonearest_test_data): Remove.
669 (llrint_test_tonearest): Likewise.
670 (llrint_towardzero_test_data): Likewise.
671 (llrint_test_towardzero): Likewise.
672 (llrint_downward_test_data): Likewise.
673 (llrint_test_downward): Likewise.
674 (llrint_upward_test_data): Likewise.
675 (llrint_test_upward): Likewise.
676 (rint_test_data): Merge in per-rounding-mode tests and results
677 from rint_tonearest_test_data, rint_towardzero_test_data,
678 rint_downward_test_data and rint_upward_test_data. Add
679 per-rounding-mode results for tests not in those arrays.
680 (rint_test): Use ALL_RM_TEST.
681 (rint_tonearest_test_data): Remove.
682 (rint_test_tonearest): Likewise.
683 (rint_towardzero_test_data): Likewise.
684 (rint_test_towardzero): Likewise.
685 (rint_downward_test_data): Likewise.
686 (rint_test_downward): Likewise.
687 (rint_upward_test_data): Likewise.
688 (rint_test_upward): Likewise.
689 (main): Don't call removed functions.
691 2014-03-14 Roland McGrath <roland@hack.frob.com>
693 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
694 "Compiled on ..." crapola. It is anti-useful.
696 2014-03-14 Joseph Myers <joseph@codesourcery.com>
698 * scripts/evaluate-test.sh: Handle fourth argument to determine
699 whether test run should stop on failure.
700 * Makeconfig (stop-on-test-failure): New variable.
701 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
702 $(stop-on-test-failure).
703 * Makefile (tests): Give a summary of results from testing and
704 exit with failure status if they include an ERROR or FAIL.
706 * manual/install.texi (Configuring and compiling): Mention
707 stop-on-test-failure=y.
708 * INSTALL: Regenerated.
710 2014-03-14 Roland McGrath <roland@hack.frob.com>
712 * scripts/versionlist.awk: New file.
713 * Makerules [$(build-shared) = yes]
714 (postclean-generated): Add Versions.def, not Versions.def.v and
716 ($(common-objpfx)Versions.def.v.i): Target removed.
717 ($(common-objpfx)Versions.def): New target.
718 ($(common-objpfx)Versions.all): Depend on that rather that
719 $(common-objpfx)Versions.def.v.
720 * Versions.def: File removed.
722 * Makeconfig (+gccwarn): Add -Wundef.
723 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
724 a dl-sysdep.h breaking its contract.
725 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
726 * include/stackinfo.h: New file.
727 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
728 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
729 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
730 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
731 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
732 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
733 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
734 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
735 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
736 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
737 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
738 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
739 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
740 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
741 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
743 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
746 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
748 * math/libm-test.inc (round_test_data): Add more tests.
750 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
753 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
755 * math/libm-test.inc (nearbyint_test_data): Add more tests.
757 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
760 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
762 * math/libm-test.inc (ceil_test_data): Add more tests.
764 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
766 * math/libm-test.inc (trunc_test_data): Add more tests related to
769 2014-03-14 Roland McGrath <roland@hack.frob.com>
771 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
772 with #if rather than #ifdef.
773 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
775 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
777 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
778 first. Disable AVX-512 GCC support if assembler doesn't support
780 * sysdeps/x86_64/configure: Regenerated.
782 2014-03-13 Carlos O'Donell <carlos@redhat.com>
784 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
785 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
786 (__old_pthread_attr_setstack): Likewise.
787 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
788 [!_STACK_GROWS_DOWN]: Likewise.
790 2014-03-13 Mike Frysinger <vapier@gentoo.org>
792 * config.make.in (have-bash2): Delete.
793 * configure.ac (libc_cv_have_bash2): Delete.
794 * configure: Regenerate.
795 * elf/Makefile (common-ldd-rewrite): Rename to ...
796 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
797 (sh-ldd-rewrite): Delete.
798 (bash-ldd-rewrite): Delete.
799 (have-bash2): Delete checks.
800 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
802 2014-03-13 Mike Frysinger <vapier@gentoo.org>
804 * config.make.in (have-ksh): Delete.
806 * configure.ac (libc_cv_have_ksh): Delete.
807 * configure: Regenerate.
809 2014-03-13 Mike Frysinger <vapier@gentoo.org>
811 * elf/Makefile: Delete $(have-ksh) check.
812 ($(objpfx)sotruss): Change KSH to BASH.
813 * elf/sotruss.ksh: Rename to ...
814 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
815 function style to match POSIX. Drop ksh vim mode setting.
817 2014-03-13 Mike Frysinger <vapier@gentoo.org>
819 * manual/time.texi (Specifying the Time Zone with TZ): Change
822 2014-03-13 Mike Frysinger <vapier@gentoo.org>
824 * debug/tst-longjmp_chk2.c: Update header comment.
825 (stackoverflow_handler): Add comment. Call assert on pass value.
827 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
829 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
830 (HAVE_AVX512_ASM_SUPPORT): Likewise.
831 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
832 (La_x86_64_vector): Add zmm.
833 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
834 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
835 ($(objpfx)tst-audit10): New target.
836 ($(objpfx)tst-audit10.out): Likewise.
837 (tst-audit10-ENV): New.
838 (AVX512-CFLAGS): Likewise.
839 (CFLAGS-tst-audit10.c): Likewise.
840 (CFLAGS-tst-auditmod10a.c): Likewise.
841 (CFLAGS-tst-auditmod10b.c): Likewise.
842 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
843 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
844 * sysdeps/x86_64/configure: Regenerated.
845 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
846 AVX-512 zmm register support.
847 (_dl_x86_64_save_sse): Likewise.
848 (_dl_x86_64_restore_sse): Likewise.
849 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
850 size vector registers.
851 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
852 (ZMM_SIZE): Likewise.
853 * sysdeps/x86_64/tst-audit10.c: New file.
854 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
855 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
857 2014-03-13 Roland McGrath <roland@hack.frob.com>
859 * configure.ac (HAVE_EHDR_START): New check.
860 * configure: Regenerated.
861 * config.h.in (HAVE_EHDR_START): New #undef.
862 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
863 assuming the lowest-addressed segment maps the start of the file.
865 2014-03-13 Joseph Myers <joseph@codesourcery.com>
867 * INSTALL: Regenerated.
869 2014-03-13 Will Newton <will.newton@linaro.org>
871 * manual/setjmp.texi (System V contexts): Improve
872 clarity and grammar of documentation.
874 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
877 * elf/Makefile (tests): Add tst-pie2.
878 (tests-pie): Add tst-pie2.
879 * elf/tst-pie2.c: New file.
880 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
882 * elf/rtld.c (map_doit): Load executable as lt_executable.
885 2014-03-12 Joseph Myers <joseph@codesourcery.com>
888 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
889 (__ASSUME_PSELECT): Undefine.
891 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
894 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
895 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
897 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
898 selector for static builds.
900 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
903 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
906 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
908 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
909 selector for static builds.
911 2014-03-11 Joseph Myers <joseph@codesourcery.com>
913 * sysdeps/mips/math_private.h [__mips_hard_float]
914 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
915 libc_feresetround_mips_ctx.
916 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
917 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
918 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
921 * math/s_nextafter.c (__nextafter): Do not return value from
922 overflowing computation.
923 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
924 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
925 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
927 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
929 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
930 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
932 2014-03-11 Roland McGrath <roland@hack.frob.com>
934 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
935 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
936 Move sfi_sp use from the load-multiple (that no longer sets sp) to
937 the new mov targetting sp.
939 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
942 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
943 Define it for static builds as well.
944 (NO_BZERO_IMPL): Likewise.
946 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
948 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
949 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
950 multiarch strspn for PPC64.
951 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
952 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
954 (__libc_ifunc_impl_list): Likewise.
955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
956 multiarch optimizations
957 * string/strspn.c (strspn): Using macro to redefine symbol name.
959 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
960 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
962 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
963 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
964 multiarch strncat for PPC64.
965 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
966 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
968 (__libc_ifunc_impl_list): Likewise.
969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
970 multiarch optimizations
972 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
975 * nscd/nscd.service: Make service type forking.
977 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
979 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
980 sign in non default rounding modes.
981 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
983 2014-03-08 Joseph Myers <joseph@codesourcery.com>
985 * math/libm-test.inc (ALL_RM_TEST): New macro.
986 (ceil_test): Use ALL_RM_TEST.
987 (cimag_test): Likewise.
988 (conj_test): Likewise.
989 (copysign_test): Likewise.
990 (cproj_test): Likewise.
991 (creal_test): Likewise.
992 (fabs_test): Likewise.
993 (floor_test): Likewise.
994 (fmax_test): Likewise.
995 (fmin_test): Likewise.
996 (fmod_test): Likewise.
997 (fpclassify_test): Likewise.
998 (frexp_test): Likewise.
999 (ilogb_test): Likewise.
1000 (isfinite_test): Likewise.
1001 (finite_test): Likewise.
1002 (isgreater_test): Likewise.
1003 (isgreaterequal_test): Likewise.
1004 (isinf_test): Likewise.
1005 (isless_test): Likewise.
1006 (islessequal_test): Likewise.
1007 (islessgreater_test): Likewise.
1008 (isnan_test): Likewise.
1009 (isnormal_test): Likewise.
1010 (issignaling_test): Likewise.
1011 (isunordered_test): Likewise.
1012 (logb_test): Likewise.
1013 (logb_downward_test_data): Remove.
1014 (logb_test_downward): Likewise.
1015 (lround_test): Use ALL_RM_TEST.
1016 (llround_test): Likewise.
1017 (modf_test): Likewise.
1018 (nexttoward_test): Likewise.
1019 (remainder_test): Likewise.
1020 (drem_test): Likewise.
1021 (remainder_tonearest_test_data): Likewise.
1022 (remainder_test_tonearest): Likewise.
1023 (drem_test_tonearest): Likewise.
1024 (remainder_towardzero_test_data): Likewise.
1025 (remainder_test_towardzero): Likewise.
1026 (drem_test_towardzero): Likewise.
1027 (remainder_downward_test_data): Likewise.
1028 (remainder_test_downward): Likewise.
1029 (drem_test_downward): Likewise.
1030 (remainder_upward_test_data): Likewise.
1031 (remainder_test_upward): Likewise.
1032 (drem_test_upward): Likewise.
1033 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1034 (round_test): Use ALL_RM_TEST.
1035 (signbit_test): Likewise.
1036 (trunc_test): Likewise.
1037 (significand_test): Likewise.
1038 (main): Don't call removed functions.
1040 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1043 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1045 (ILL_ILLOPN): Likewise.
1046 (ILL_ILLADR): Likewise.
1047 (ILL_ILLTRP): Likewise.
1048 (ILL_PRVOPC): Likewise.
1049 (ILL_PRVREG): Likewise.
1050 (ILL_COPROC): Likewise.
1051 (ILL_BADSTK): Likewise.
1052 (FPE_INTDIV): Likewise.
1053 (FPE_INTOVF): Likewise.
1054 (FPE_FLTDIV): Likewise.
1055 (FPE_FLTOVF): Likewise.
1056 (FPE_FLTUND): Likewise.
1057 (FPE_FLTRES): Likewise.
1058 (FPE_FLTINV): Likewise.
1059 (FPE_FLTSUB): Likewise.
1060 (SEGV_MAPERR): Likewise.
1061 (SEGV_ACCERR): Likewise.
1062 (BUS_ADRALN): Likewise.
1063 (BUS_ADRERR): Likewise.
1064 (BUS_OBJERR): Likewise.
1065 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1066 (TRAP_TRACE): Likewise.
1067 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1069 (CLD_KILLED): Likewise.
1070 (CLD_DUMPED): Likewise.
1071 (CLD_TRAPPED): Likewise.
1072 (CLD_STOPPED): Likewise.
1073 (CLD_CONTINUED): Likewise.
1074 (POLL_IN): Likewise.
1075 (POLL_OUT): Likewise.
1076 (POLL_MSG): Likewise.
1077 (POLL_ERR): Likewise.
1078 (POLL_PRI): Likewise.
1079 (POLL_HUP): Likewise.
1080 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1082 (ILL_ILLOPN): Likewise.
1083 (ILL_ILLADR): Likewise.
1084 (ILL_ILLTRP): Likewise.
1085 (ILL_PRVOPC): Likewise.
1086 (ILL_PRVREG): Likewise.
1087 (ILL_COPROC): Likewise.
1088 (ILL_BADSTK): Likewise.
1089 (FPE_INTDIV): Likewise.
1090 (FPE_INTOVF): Likewise.
1091 (FPE_FLTDIV): Likewise.
1092 (FPE_FLTOVF): Likewise.
1093 (FPE_FLTUND): Likewise.
1094 (FPE_FLTRES): Likewise.
1095 (FPE_FLTINV): Likewise.
1096 (FPE_FLTSUB): Likewise.
1097 (SEGV_MAPERR): Likewise.
1098 (SEGV_ACCERR): Likewise.
1099 (BUS_ADRALN): Likewise.
1100 (BUS_ADRERR): Likewise.
1101 (BUS_OBJERR): Likewise.
1102 (BUS_MCEERR_AR): Likewise.
1103 (BUS_MCEERR_AO): Likewise.
1104 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1105 (TRAP_TRACE): Likewise.
1106 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1108 (CLD_KILLED): Likewise.
1109 (CLD_DUMPED): Likewise.
1110 (CLD_TRAPPED): Likewise.
1111 (CLD_STOPPED): Likewise.
1112 (CLD_CONTINUED): Likewise.
1113 (POLL_IN): Likewise.
1114 (POLL_OUT): Likewise.
1115 (POLL_MSG): Likewise.
1116 (POLL_ERR): Likewise.
1117 (POLL_PRI): Likewise.
1118 (POLL_HUP): Likewise.
1119 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1120 (ILL_ILLOPN): Likewise.
1121 (ILL_ILLADR): Likewise.
1122 (ILL_ILLTRP): Likewise.
1123 (ILL_PRVOPC): Likewise.
1124 (ILL_PRVREG): Likewise.
1125 (ILL_COPROC): Likewise.
1126 (ILL_BADSTK): Likewise.
1127 (FPE_INTDIV): Likewise.
1128 (FPE_INTOVF): Likewise.
1129 (FPE_FLTDIV): Likewise.
1130 (FPE_FLTOVF): Likewise.
1131 (FPE_FLTUND): Likewise.
1132 (FPE_FLTRES): Likewise.
1133 (FPE_FLTINV): Likewise.
1134 (FPE_FLTSUB): Likewise.
1135 (SEGV_MAPERR): Likewise.
1136 (SEGV_ACCERR): Likewise.
1137 (BUS_ADRALN): Likewise.
1138 (BUS_ADRERR): Likewise.
1139 (BUS_OBJERR): Likewise.
1140 (BUS_MCEERR_AR): Likewise.
1141 (BUS_MCEERR_AO): Likewise.
1142 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1143 (TRAP_TRACE): Likewise.
1144 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1146 (CLD_KILLED): Likewise.
1147 (CLD_DUMPED): Likewise.
1148 (CLD_TRAPPED): Likewise.
1149 (CLD_STOPPED): Likewise.
1150 (CLD_CONTINUED): Likewise.
1151 (POLL_IN): Likewise.
1152 (POLL_OUT): Likewise.
1153 (POLL_MSG): Likewise.
1154 (POLL_ERR): Likewise.
1155 (POLL_PRI): Likewise.
1156 (POLL_HUP): Likewise.
1157 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1159 (ILL_ILLOPN): Likewise.
1160 (ILL_ILLADR): Likewise.
1161 (ILL_ILLTRP): Likewise.
1162 (ILL_PRVOPC): Likewise.
1163 (ILL_PRVREG): Likewise.
1164 (ILL_COPROC): Likewise.
1165 (ILL_BADSTK): Likewise.
1166 (ILL_BADIADDR): Likewise.
1167 (ILL_BREAK): Likewise.
1168 (FPE_INTDIV): Likewise.
1169 (FPE_INTOVF): Likewise.
1170 (FPE_FLTDIV): Likewise.
1171 (FPE_FLTOVF): Likewise.
1172 (FPE_FLTUND): Likewise.
1173 (FPE_FLTRES): Likewise.
1174 (FPE_FLTINV): Likewise.
1175 (FPE_FLTSUB): Likewise.
1176 (FPE_DECOVF): Likewise.
1177 (FPE_DECDIV): Likewise.
1178 (FPE_DECERR): Likewise.
1179 (FPE_INVASC): Likewise.
1180 (FPE_INVDEC): Likewise.
1181 (SEGV_MAPERR): Likewise.
1182 (SEGV_ACCERR): Likewise.
1183 (SEGV_PSTKOVF): Likewise.
1184 (BUS_ADRALN): Likewise.
1185 (BUS_ADRERR): Likewise.
1186 (BUS_OBJERR): Likewise.
1187 (BUS_MCEERR_AR): Likewise.
1188 (BUS_MCEERR_AO): Likewise.
1189 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1190 (TRAP_TRACE): Likewise.
1191 (TRAP_BRANCH): Likewise.
1192 (TRAP_HWBKPT): Likewise.
1193 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1195 (CLD_KILLED): Likewise.
1196 (CLD_DUMPED): Likewise.
1197 (CLD_TRAPPED): Likewise.
1198 (CLD_STOPPED): Likewise.
1199 (CLD_CONTINUED): Likewise.
1200 (POLL_IN): Likewise.
1201 (POLL_OUT): Likewise.
1202 (POLL_MSG): Likewise.
1203 (POLL_ERR): Likewise.
1204 (POLL_PRI): Likewise.
1205 (POLL_HUP): Likewise.
1206 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1207 (ILL_ILLOPN): Likewise.
1208 (ILL_ILLADR): Likewise.
1209 (ILL_ILLTRP): Likewise.
1210 (ILL_PRVOPC): Likewise.
1211 (ILL_PRVREG): Likewise.
1212 (ILL_COPROC): Likewise.
1213 (ILL_BADSTK): Likewise.
1214 (FPE_INTDIV): Likewise.
1215 (FPE_INTOVF): Likewise.
1216 (FPE_FLTDIV): Likewise.
1217 (FPE_FLTOVF): Likewise.
1218 (FPE_FLTUND): Likewise.
1219 (FPE_FLTRES): Likewise.
1220 (FPE_FLTINV): Likewise.
1221 (FPE_FLTSUB): Likewise.
1222 (SEGV_MAPERR): Likewise.
1223 (SEGV_ACCERR): Likewise.
1224 (BUS_ADRALN): Likewise.
1225 (BUS_ADRERR): Likewise.
1226 (BUS_OBJERR): Likewise.
1227 (BUS_MCEERR_AR): Likewise.
1228 (BUS_MCEERR_AO): Likewise.
1229 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1230 (TRAP_TRACE): Likewise.
1231 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1233 (CLD_KILLED): Likewise.
1234 (CLD_DUMPED): Likewise.
1235 (CLD_TRAPPED): Likewise.
1236 (CLD_STOPPED): Likewise.
1237 (CLD_CONTINUED): Likewise.
1238 (POLL_IN): Likewise.
1239 (POLL_OUT): Likewise.
1240 (POLL_MSG): Likewise.
1241 (POLL_ERR): Likewise.
1242 (POLL_PRI): Likewise.
1243 (POLL_HUP): Likewise.
1244 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1245 (ILL_ILLOPN): Likewise.
1246 (ILL_ILLADR): Likewise.
1247 (ILL_ILLTRP): Likewise.
1248 (ILL_PRVOPC): Likewise.
1249 (ILL_PRVREG): Likewise.
1250 (ILL_COPROC): Likewise.
1251 (ILL_BADSTK): Likewise.
1252 (FPE_INTDIV): Likewise.
1253 (FPE_INTOVF): Likewise.
1254 (FPE_FLTDIV): Likewise.
1255 (FPE_FLTOVF): Likewise.
1256 (FPE_FLTUND): Likewise.
1257 (FPE_FLTRES): Likewise.
1258 (FPE_FLTINV): Likewise.
1259 (FPE_FLTSUB): Likewise.
1260 (SEGV_MAPERR): Likewise.
1261 (SEGV_ACCERR): Likewise.
1262 (BUS_ADRALN): Likewise.
1263 (BUS_ADRERR): Likewise.
1264 (BUS_OBJERR): Likewise.
1265 (BUS_MCEERR_AR): Likewise.
1266 (BUS_MCEERR_AO): Likewise.
1267 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1268 (TRAP_TRACE): Likewise.
1269 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1271 (CLD_KILLED): Likewise.
1272 (CLD_DUMPED): Likewise.
1273 (CLD_TRAPPED): Likewise.
1274 (CLD_STOPPED): Likewise.
1275 (CLD_CONTINUED): Likewise.
1276 (POLL_IN): Likewise.
1277 (POLL_OUT): Likewise.
1278 (POLL_MSG): Likewise.
1279 (POLL_ERR): Likewise.
1280 (POLL_PRI): Likewise.
1281 (POLL_HUP): Likewise.
1282 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1283 (ILL_ILLOPN): Likewise.
1284 (ILL_ILLADR): Likewise.
1285 (ILL_ILLTRP): Likewise.
1286 (ILL_PRVOPC): Likewise.
1287 (ILL_PRVREG): Likewise.
1288 (ILL_COPROC): Likewise.
1289 (ILL_BADSTK): Likewise.
1290 (FPE_INTDIV): Likewise.
1291 (FPE_INTOVF): Likewise.
1292 (FPE_FLTDIV): Likewise.
1293 (FPE_FLTOVF): Likewise.
1294 (FPE_FLTUND): Likewise.
1295 (FPE_FLTRES): Likewise.
1296 (FPE_FLTINV): Likewise.
1297 (FPE_FLTSUB): Likewise.
1298 (SEGV_MAPERR): Likewise.
1299 (SEGV_ACCERR): Likewise.
1300 (BUS_ADRALN): Likewise.
1301 (BUS_ADRERR): Likewise.
1302 (BUS_OBJERR): Likewise.
1303 (BUS_MCEERR_AR): Likewise.
1304 (BUS_MCEERR_AO): Likewise.
1305 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1306 (TRAP_TRACE): Likewise.
1307 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1309 (CLD_KILLED): Likewise.
1310 (CLD_DUMPED): Likewise.
1311 (CLD_TRAPPED): Likewise.
1312 (CLD_STOPPED): Likewise.
1313 (CLD_CONTINUED): Likewise.
1314 (POLL_IN): Likewise.
1315 (POLL_OUT): Likewise.
1316 (POLL_MSG): Likewise.
1317 (POLL_ERR): Likewise.
1318 (POLL_PRI): Likewise.
1319 (POLL_HUP): Likewise.
1320 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1321 (ILL_ILLOPN): Likewise.
1322 (ILL_ILLADR): Likewise.
1323 (ILL_ILLTRP): Likewise.
1324 (ILL_PRVOPC): Likewise.
1325 (ILL_PRVREG): Likewise.
1326 (ILL_COPROC): Likewise.
1327 (ILL_BADSTK): Likewise.
1328 (ILL_DBLFLT): Likewise.
1329 (ILL_HARDWALL): Likewise.
1330 (FPE_INTDIV): Likewise.
1331 (FPE_INTOVF): Likewise.
1332 (FPE_FLTDIV): Likewise.
1333 (FPE_FLTOVF): Likewise.
1334 (FPE_FLTUND): Likewise.
1335 (FPE_FLTRES): Likewise.
1336 (FPE_FLTINV): Likewise.
1337 (FPE_FLTSUB): Likewise.
1338 (SEGV_MAPERR): Likewise.
1339 (SEGV_ACCERR): Likewise.
1340 (BUS_ADRALN): Likewise.
1341 (BUS_ADRERR): Likewise.
1342 (BUS_OBJERR): Likewise.
1343 (BUS_MCEERR_AR): Likewise.
1344 (BUS_MCEERR_AO): Likewise.
1345 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1346 (TRAP_TRACE): Likewise.
1347 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1349 (CLD_KILLED): Likewise.
1350 (CLD_DUMPED): Likewise.
1351 (CLD_TRAPPED): Likewise.
1352 (CLD_STOPPED): Likewise.
1353 (CLD_CONTINUED): Likewise.
1354 (POLL_IN): Likewise.
1355 (POLL_OUT): Likewise.
1356 (POLL_MSG): Likewise.
1357 (POLL_ERR): Likewise.
1358 (POLL_PRI): Likewise.
1359 (POLL_HUP): Likewise.
1360 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1361 (ILL_ILLOPN): Likewise.
1362 (ILL_ILLADR): Likewise.
1363 (ILL_ILLTRP): Likewise.
1364 (ILL_PRVOPC): Likewise.
1365 (ILL_PRVREG): Likewise.
1366 (ILL_COPROC): Likewise.
1367 (ILL_BADSTK): Likewise.
1368 (FPE_INTDIV): Likewise.
1369 (FPE_INTOVF): Likewise.
1370 (FPE_FLTDIV): Likewise.
1371 (FPE_FLTOVF): Likewise.
1372 (FPE_FLTUND): Likewise.
1373 (FPE_FLTRES): Likewise.
1374 (FPE_FLTINV): Likewise.
1375 (FPE_FLTSUB): Likewise.
1376 (SEGV_MAPERR): Likewise.
1377 (SEGV_ACCERR): Likewise.
1378 (BUS_ADRALN): Likewise.
1379 (BUS_ADRERR): Likewise.
1380 (BUS_OBJERR): Likewise.
1381 (BUS_MCEERR_AR): Likewise.
1382 (BUS_MCEERR_AO): Likewise.
1383 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1384 (TRAP_TRACE): Likewise.
1385 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1387 (CLD_KILLED): Likewise.
1388 (CLD_DUMPED): Likewise.
1389 (CLD_TRAPPED): Likewise.
1390 (CLD_STOPPED): Likewise.
1391 (CLD_CONTINUED): Likewise.
1392 (POLL_IN): Likewise.
1393 (POLL_OUT): Likewise.
1394 (POLL_MSG): Likewise.
1395 (POLL_ERR): Likewise.
1396 (POLL_PRI): Likewise.
1397 (POLL_HUP): Likewise.
1398 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1399 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1402 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1403 before #include of <time.h>.
1404 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1405 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1406 (test-xfail-UNIX98/sched.h/conform): Likewise.
1408 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1410 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1411 error absence of trapping exception support.
1412 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1414 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1416 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1417 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1418 * timezone/Makefile (testdata): Move definition above include of
1420 (test-zones): New variable.
1421 (tests-special): Add zone files.
1422 (build-testdata): Use $(evaluate-test).
1424 * elf/Makefile (tests-special): Rename tests to end with .out.
1425 ($(objpfx)noload-mem): Likewise.
1426 ($(objpfx)tst-leaks1-mem): Likewise.
1427 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1428 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1429 $(objpfx)test-iconvconfig.out.
1430 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1431 set -e inside subshell and redirect output to file.
1432 * iconvdata/Makefile (generated): Rename tests to end with .out.
1434 (tests-special): Rename tests to end with .out.
1435 ($(objpfx)mtrace-tst-loading): Likewise.
1436 * intl/Makefile (generated): Likewise.
1437 (tests-special): Likewise.
1438 ($(objpfx)mtrace-tst-gettext): Likewise.
1439 * misc/Makefile (generated): Likewise.
1440 (tests-special): Likewise.
1441 ($(objpfx)tst-error1-mem): Likewise.
1442 * nptl/Makefile (tests-special): Likewise.
1443 ($(objpfx)tst-stack3-mem): Likewise.
1444 (generated): Likewise.
1445 * posix/Makefile (generated): Likewise.
1446 (tests-special): Likewise.
1447 (xtests-special): Likewise.
1448 ($(objpfx)tst-fnmatch-mem): Likewise.
1449 ($(objpfx)bug-regex2-mem): Likewise.
1450 ($(objpfx)bug-regex14-mem): Likewise.
1451 ($(objpfx)bug-regex21-mem): Likewise.
1452 ($(objpfx)bug-regex31-mem): Likewise.
1453 ($(objpfx)tst-vfork3-mem): Likewise.
1454 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1455 ($(objpfx)tst-pcre-mem): Likewise.
1456 ($(objpfx)tst-boost-mem): Likewise.
1457 ($(objpfx)bug-ga2-mem): Likewise.
1458 ($(objpfx)bug-glob2-mem): Likewise.
1459 * resolv/Makefile (generate): Likewise.
1460 (tests-special): Likewise.
1461 (xtests-special): Likewise.
1462 (generated): Likewise.
1463 ($(objpfx)mtrace-tst-leaks): Likewise.
1464 ($(objpfx)mtrace-tst-leaks2): Likewise.
1466 * scripts/merge-test-results.sh: New file.
1467 * Makefile (tests-special-notdir): New variable.
1468 (tests): Run merge-test-results.sh.
1470 * Rules (tests-special-notdir): New variable.
1471 (xtests-special-notdir): Likewise.
1472 (tests): Run merge-test-results.sh
1475 * Makeconfig (test-xfail-name): New variable.
1476 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1477 compute variable name for expected failures.
1478 * conform/Makefile (conformtest-headers-data): New variable.
1479 (conformtest-standards): Likewise.
1480 (conformtest-headers-ISO): Likewise.
1481 (conformtest-headers-ISO99): Likewise.
1482 (conformtest-headers-ISO11): Likewise.
1483 (conformtest-headers-POSIX): Likewise.
1484 (conformtest-headers-XPG3): Likewise.
1485 (conformtest-headers-XPG4): Likewise.
1486 (conformtest-headers-UNIX98): Likewise.
1487 (conformtest-headers-XOPEN2K): Likewise.
1488 (conformtest-headers-POSIX2008): Likewise.
1489 (conformtest-headers-XOPEN2K8): Likewise.
1490 (conformtest-header-list-base): Likewise.
1491 (conformtest-header-list-tests): Likewise.
1492 (conformtest-header-base): Likewise.
1493 (conformtest-header-tests): Likewise.
1494 (tests-special): Add $(conformtest-header-list-tests). If
1495 [$(fast-check) && !$(cross-compiling)], add
1496 $(conformtest-header-tests) instead of
1497 $(objpfx)run-conformtest.out.
1498 (generated): Add $(conformtest-header-list-base). If
1499 [$(fast-check) && !$(cross-compiling)], add
1500 $(conformtest-header-base). Remove previous setting.
1501 ($(conformtest-header-list-tests)): New target.
1502 (test-xfail-run-conformtest): Remove variable.
1503 ($(objpfx)run-conformtest.out): Remove target.
1504 (test-xfail-ISO11/complex.h/conform): New variable.
1505 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1506 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1507 (test-xfail-XPG3/varargs.h/conform): Likewise.
1508 (test-xfail-XPG4/varargs.h/conform): Likewise.
1509 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1510 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1511 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1512 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1513 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1514 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1515 (test-xfail-XPG3/ftw.h/conform): Likewise.
1516 (test-xfail-XPG3/grp.h/conform): Likewise.
1517 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1518 (test-xfail-XPG3/limits.h/conform): Likewise.
1519 (test-xfail-XPG3/pwd.h/conform): Likewise.
1520 (test-xfail-XPG3/search.h/conform): Likewise.
1521 (test-xfail-XPG3/signal.h/conform): Likewise.
1522 (test-xfail-XPG3/stdio.h/conform): Likewise.
1523 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1524 (test-xfail-XPG3/string.h/conform): Likewise.
1525 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1526 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1527 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1528 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1529 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1530 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1531 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1532 (test-xfail-XPG3/termios.h/conform): Likewise.
1533 (test-xfail-XPG3/time.h/conform): Likewise.
1534 (test-xfail-XPG3/unistd.h/conform): Likewise.
1535 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1536 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1537 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1538 (test-xfail-XPG4/netdb.h/conform): Likewise.
1539 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1540 (test-xfail-XPG4/signal.h/conform): Likewise.
1541 (test-xfail-XPG4/stdio.h/conform): Likewise.
1542 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1543 (test-xfail-XPG4/stropts.h/conform): Likewise.
1544 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1545 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1546 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1547 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1548 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1549 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1550 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1551 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1552 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1553 (test-xfail-XPG4/termios.h/conform): Likewise.
1554 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1555 (test-xfail-XPG4/unistd.h/conform): Likewise.
1556 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1557 (test-xfail-POSIX/sched.h/conform): Likewise.
1558 (test-xfail-POSIX/signal.h/conform): Likewise.
1559 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1560 (test-xfail-POSIX/tar.h/conform): Likewise.
1561 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1562 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1563 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1564 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1565 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1566 (test-xfail-UNIX98/sched.h/conform): Likewise.
1567 (test-xfail-UNIX98/signal.h/conform): Likewise.
1568 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1569 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1570 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1571 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1572 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1573 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1574 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1575 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1576 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1577 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1578 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1579 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1580 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1581 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1582 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1583 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1584 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1585 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1586 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1587 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1588 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1589 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1590 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1591 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1592 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1593 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1594 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1595 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1596 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1597 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1598 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1599 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1600 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1601 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1602 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1603 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1604 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1605 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1606 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1607 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1608 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1609 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1610 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1611 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1612 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1613 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1614 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1615 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1616 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1617 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1618 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1619 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1620 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1621 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1622 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1623 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1624 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1625 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1626 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1627 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1628 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1629 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1630 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1631 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1632 (conformtest-cc-flags): Likewise.
1633 ($(conformtest-header-tests): New target.
1634 * conform/check-header-lists.sh: New file.
1635 * conform/run-conformtest.sh: Remove.
1637 * conform/conformtest.pl: Allow ' and \ in values given for
1639 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1641 [POSIX] (sys/types.h): Likewise.
1642 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1644 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1646 * conform/data/signal.h-data (SIGIO): Remove expectation.
1647 [XPG3] (SIGBUS): Do not expect.
1648 [POSIX || XPG3] (SIGPOLL): Likewise.
1649 [POSIX || XPG3] (SIGPROF): Likewise.
1650 [POSIX || XPG3] (SIGSYS): Likewise.
1651 [XPG3] (SIGTRAP): Likewise.
1652 [POSIX || XPG3] (SIGURG): Likewise.
1653 [POSIX || XPG3] (SIGVTALRM): Likewise.
1654 [POSIX || XPG3] (SIGXCPU): Likewise.
1655 [POSIX || XPG3] (SIGXFSZ): Likewise.
1656 [POSIX] (SA_SIGINFO): Expect.
1657 [XPG3] (siginfo_t): Do not expect type or contents.
1658 [POSIX] (si_pid): Do not expect element.
1659 [POSIX] (si_uid): Likewise.
1660 [POSIX] (si_addr): Likewise.
1661 [POSIX] (si_status): Likewise.
1662 [POSIX] (si_band): Likewise.
1663 [XPG4] (si_value): Likewise.
1664 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1665 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1666 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1667 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1668 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1669 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1670 [POSIX || XPG3] (ILL_COPROC): Likewise.
1671 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1672 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1673 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1674 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1675 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1676 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1677 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1678 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1679 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1680 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1681 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1682 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1683 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1684 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1685 [POSIX || XPG3] (CLD_EXITED): Likewise.
1686 [POSIX || XPG3] (CLD_KILLED): Likewise.
1687 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1688 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1689 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1690 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1691 [POSIX || XPG3] (POLL_IN): Likewise.
1692 [POSIX || XPG3] (POLL_OUT): Likewise.
1693 [POSIX || XPG3] (POLL_MSG): Likewise.
1694 [POSIX || XPG3] (POLL_ERR): Likewise.
1695 [POSIX || XPG3] (POLL_PRI): Likewise.
1696 [POSIX || XPG3] (POLL_HUP): Likewise.
1697 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1698 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1699 (SIG*): Do not allow.
1700 [XPG3] (si_*): Likewise.
1701 [XPG3] (SI_*): Likewise.
1702 [XPG3 || XPG4] (sigev_*): Likewise.
1703 [XPG3 || XPG4] (SIGEV_*): Likewise.
1704 [XPG3 || XPG4] (sival_*): Likewise.
1705 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1706 [POSIX || XPG3] (BUS_*): Likewise.
1707 [POSIX || XPG3] (CLD_*): Likewise.
1708 [POSIX || XPG3] (FPE_*): Likewise.
1709 [POSIX || XPG3] (ILL_*): Likewise.
1710 [POSIX || XPG3] (POLL_*): Likewise.
1711 [POSIX || XPG3] (SEGV_*): Likewise.
1712 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1713 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1714 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1715 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1716 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1717 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1718 Specify type and value.
1719 (TVERSLEN): Likewise.
1720 (REGTYPE): Likewise.
1721 (AREGTYPE): Likewise.
1722 (LNKTYPE): Likewise.
1723 (SYMTYPE): Likewise.
1724 (CHRTYPE): Likewise.
1725 (BLKTYPE): Likewise.
1726 (DIRTYPE): Likewise.
1727 (FIFOTYPE): Likewise.
1728 (CONTTYPE): Likewise.
1733 (TUWRITE): Likewise.
1736 (TGWRITE): Likewise.
1739 (TOWRITE): Likewise.
1741 [POSIX] (TSVTX): Expect constant.
1743 2014-03-06 Joseph Myers <joseph@codesourcery.com>
1745 * Makefile (tests): Change dependencies to ....
1746 (tests-special): ... additions to this variable.
1747 (tests): Depend on $(tests-special).
1748 * Makerules (check-abi-list): New variable.
1749 (check-abi): Depend on $(check-abi-list).
1750 [$(subdir) = elf] (tests-special): Add
1751 $(objpfx)check-abi-libc.out.
1752 [$(build-shared) = yes && subdir] (tests-special): Add
1754 [$(build-shared) = yes && subdir] (tests): Do not depend on
1756 * Rules (tests): Depend on $(tests-special).
1757 (xtests): Depend on $(xtests-special).
1758 * catgets/Makefile (tests): Change dependencies to ....
1759 (tests-special): ... additions to this variable.
1760 * conform/Makefile (tests): Change dependencies to ....
1761 (tests-special): ... additions to this variable.
1762 * elf/Makefile (tests): Change dependencies to ....
1763 (tests-special): ... additions to this variable.
1764 * grp/Makefile (tests): Change dependencies to ....
1765 (tests-special): ... additions to this variable.
1766 * iconv/Makefile (xtests): Change dependencies to ....
1767 (xtests-special): ... additions to this variable.
1768 * iconvdata/Makefile (tests): Change dependencies to ....
1769 (tests-special): ... additions to this variable.
1770 * intl/Makefile (tests): Change dependencies to ....
1771 (tests-special): ... additions to this variable. Also add
1772 $(objpfx)tst-gettext.out.
1773 * io/Makefile (tests): Change dependencies to ....
1774 (tests-special): ... additions to this variable.
1775 * libio/Makefile (tests): Change dependencies to ....
1776 (tests-special): ... additions to this variable.
1777 * malloc/Makefile (tests): Change dependencies to ....
1778 (tests-special): ... additions to this variable.
1779 * misc/Makefile (tests): Change dependencies to ....
1780 (tests-special): ... additions to this variable.
1781 * nptl/Makefile (tests): Change dependencies to ....
1782 (tests-special): ... additions to this variable.
1783 * nptl_db/Makefile (tests): Change dependencies to ....
1784 (tests-special): ... additions to this variable.
1785 * posix/Makefile (tests): Change dependencies to ....
1786 (tests-special): ... additions to this variable.
1787 (xtests): Change dependencies to ....
1788 (xtests-special): ... additions to this variable.
1789 * resolv/Makefile (tests): Change dependencies to ....
1790 (tests-special): ... additions to this variable.
1791 (xtests): Change dependencies to ....
1792 (xtests-special): ... additions to this variable.
1793 * stdio-common/Makefile (tests): Change dependencies to ....
1794 (tests-special): ... additions to this variable.
1795 (do-tst-unbputc): Remove target.
1796 (do-tst-printf): Likewise.
1797 * stdlib/Makefile (tests): Change dependencies to ....
1798 (tests-special): ... additions to this variable.
1799 * string/Makefile (tests): Change dependencies to ....
1800 (tests-special): ... additions to this variable.
1801 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1802 (tests-special): ... additions to this variable.
1804 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1806 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1808 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1809 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1811 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1812 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1813 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1814 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1815 * conform/data/libgen.h-data [XPG3]: Likewise.
1816 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1817 * conform/data/ndbm.h-data [XPG3]: Likewise.
1818 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1819 * conform/data/netdb.h-data [XPG3]: Likewise.
1820 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1821 * conform/data/poll.h-data [XPG3]: Likewise.
1822 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1823 * conform/data/strings.h-data [XPG3]: Likewise.
1824 * conform/data/stropts.h-data [XPG3]: Likewise.
1825 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1826 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1827 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1829 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1830 * conform/data/sys/time.h-data [XPG3]: Likewise.
1831 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1832 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1833 * conform/data/sys/un.h-data [XPG3]: Likewise.
1834 * conform/data/syslog.h-data [XPG3]: Likewise.
1835 * conform/data/ucontext.h-data [XPG3]: Likewise.
1836 * conform/data/utmpx.h-data [XPG3]: Likewise.
1837 * conform/data/varargs.h-data [UNIX98]: Enable file.
1839 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1841 * math/libm-test.inc (struct test_f_f_data): Move expected results
1842 into structure for each rounding mode.
1843 (struct test_ff_f_data): Likewise.
1844 (struct test_ff_f_data_nexttoward): Likewise.
1845 (struct test_fi_f_data): Likewise.
1846 (struct test_fl_f_data): Likewise.
1847 (struct test_if_f_data): Likewise.
1848 (struct test_fff_f_data): Likewise.
1849 (struct test_c_f_data): Likewise.
1850 (struct test_f_f1_data): Likewise.
1851 (struct test_fF_f1_data): Likewise.
1852 (struct test_ffI_f1_data): Likewise.
1853 (struct test_c_c_data): Likewise.
1854 (struct test_cc_c_data): Likewise.
1855 (struct test_f_i_data): Likewise.
1856 (struct test_ff_i_data): Likewise.
1857 (struct test_f_l_data): Likewise.
1858 (struct test_f_L_data): Likewise.
1859 (struct test_fFF_11_data): Likewise.
1861 (RM_FE_DOWNWARD): Likewise.
1862 (RM_FE_TONEAREST): Likewise.
1863 (RM_FE_TOWARDZERO): Likewise.
1864 (RM_FE_UPWARD): Likewise.
1865 (RUN_TEST_LOOP_f_f): Update references to expected results.
1866 (RUN_TEST_LOOP_2_f): Likewise.
1867 (RUN_TEST_LOOP_fff_f): Likewise.
1868 (RUN_TEST_LOOP_c_f): Likewise.
1869 (RUN_TEST_LOOP_f_f1): Likewise.
1870 (RUN_TEST_LOOP_fF_f1): Likewise.
1871 (RUN_TEST_LOOP_fI_f1): Likewise.
1872 (RUN_TEST_LOOP_ffI_f1): Likewise.
1873 (RUN_TEST_LOOP_c_c): Likewise.
1874 (RUN_TEST_LOOP_cc_c): Likewise.
1875 (RUN_TEST_LOOP_f_i): Likewise.
1876 (RUN_TEST_LOOP_f_i_tg): Likewise.
1877 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1878 (RUN_TEST_LOOP_f_b): Likewise.
1879 (RUN_TEST_LOOP_f_b_tg): Likewise.
1880 (RUN_TEST_LOOP_f_l): Likewise.
1881 (RUN_TEST_LOOP_f_L): Likewise.
1882 (RUN_TEST_LOOP_fFF_11): Likewise.
1883 * math/gen-libm-test.pl (parse_args): Output four copies of
1884 expected results for each test.
1886 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1887 (__ASSUME_UTIMES): Remove.
1888 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1889 (__ASSUME_UTIMES): Likewise.
1891 * math/gen-auto-libm-tests.c: Update comment on output format.
1892 (output_for_one_input_case): Generate before-rounding and
1893 after-rounding information as conditions on output flags not
1894 floating-point format.
1895 * math/auto-libm-test-out: Regenerated.
1896 * math/gen-libm-test.pl (cond_value): New function.
1897 (or_cond_value): Use cond_value.
1898 (generate_testfile): Handle conditional exceptions.
1900 2014-03-05 Joseph Myers <joseph@codesourcery.com>
1902 * math/libm-test.inc (max_valid_error): New variable.
1903 (init_max_error): Take new argument specifying whether function
1904 results are exactly determined. Set max_valid_error and bound
1905 other variables for errors based on this argument.
1906 (set_max_error): Do not record results above max_valid_error.
1907 (check_float_internal): Only accept errors of up to 0.5ulps if
1908 also at most max_valid_error.
1909 (START): Take new argument EXACT and pass it to init_max_error.
1910 (acos_test): Update call to START.
1911 (acos_test_tonearest): Likewise.
1912 (acos_test_towardzero): Likewise.
1913 (acos_test_downward): Likewise.
1914 (acos_test_upward): Likewise.
1915 (acosh_test): Likewise.
1916 (asin_test): Likewise.
1917 (asin_test_tonearest): Likewise.
1918 (asin_test_towardzero): Likewise.
1919 (asin_test_downward): Likewise.
1920 (asin_test_upward): Likewise.
1921 (asinh_test): Likewise.
1922 (atan_test): Likewise.
1923 (atanh_test): Likewise.
1924 (atan2_test): Likewise.
1925 (cabs_test): Likewise.
1926 (cacos_test): Likewise.
1927 (cacosh_test): Likewise.
1928 (carg_test): Likewise.
1929 (casin_test): Likewise.
1930 (casinh_test): Likewise.
1931 (catan_test): Likewise.
1932 (catanh_test): Likewise.
1933 (cbrt_test): Likewise.
1934 (ccos_test): Likewise.
1935 (ccosh_test): Likewise.
1936 (ceil_test): Likewise.
1937 (cexp_test): Likewise.
1938 (cimag_test): Likewise.
1939 (clog_test): Likewise.
1940 (clog10_test): Likewise.
1941 (conj_test): Likewise.
1942 (copysign_test): Likewise.
1943 (cos_test): Likewise.
1944 (cos_test_tonearest): Likewise.
1945 (cos_test_towardzero): Likewise.
1946 (cos_test_downward): Likewise.
1947 (cos_test_upward): Likewise.
1948 (cosh_test): Likewise.
1949 (cosh_test_tonearest): Likewise.
1950 (cosh_test_towardzero): Likewise.
1951 (cosh_test_downward): Likewise.
1952 (cosh_test_upward): Likewise.
1953 (cpow_test): Likewise.
1954 (cproj_test): Likewise.
1955 (creal_test): Likewise.
1956 (csin_test): Likewise.
1957 (csinh_test): Likewise.
1958 (csqrt_test): Likewise.
1959 (ctan_test): Likewise.
1960 (ctan_test_tonearest): Likewise.
1961 (ctan_test_towardzero): Likewise.
1962 (ctan_test_downward): Likewise.
1963 (ctan_test_upward): Likewise.
1964 (ctanh_test): Likewise.
1965 (ctanh_test_tonearest): Likewise.
1966 (ctanh_test_towardzero): Likewise.
1967 (ctanh_test_downward): Likewise.
1968 (ctanh_test_upward): Likewise.
1969 (erf_test): Likewise.
1970 (erfc_test): Likewise.
1971 (exp_test): Likewise.
1972 (exp_test_tonearest): Likewise.
1973 (exp_test_towardzero): Likewise.
1974 (exp_test_downward): Likewise.
1975 (exp_test_upward): Likewise.
1976 (exp10_test): Likewise.
1977 (exp10_test_tonearest): Likewise.
1978 (exp10_test_towardzero): Likewise.
1979 (exp10_test_downward): Likewise.
1980 (exp10_test_upward): Likewise.
1981 (pow10_test): Likewise.
1982 (exp2_test): Likewise.
1983 (expm1_test): Likewise.
1984 (expm1_test_tonearest): Likewise.
1985 (expm1_test_towardzero): Likewise.
1986 (expm1_test_downward): Likewise.
1987 (expm1_test_upward): Likewise.
1988 (fabs_test): Likewise.
1989 (fdim_test): Likewise.
1990 (floor_test): Likewise.
1991 (fma_test): Likewise.
1992 (fma_test_towardzero): Likewise.
1993 (fma_test_downward): Likewise.
1994 (fma_test_upward): Likewise.
1995 (fmax_test): Likewise.
1996 (fmin_test): Likewise.
1997 (fmod_test): Likewise.
1998 (fpclassify_test): Likewise.
1999 (frexp_test): Likewise.
2000 (hypot_test): Likewise.
2001 (ilogb_test): Likewise.
2002 (isfinite_test): Likewise.
2003 (finite_test): Likewise.
2004 (isgreater_test): Likewise.
2005 (isgreaterequal_test): Likewise.
2006 (isinf_test): Likewise.
2007 (isless_test): Likewise.
2008 (islessequal_test): Likewise.
2009 (islessgreater_test): Likewise.
2010 (isnan_test): Likewise.
2011 (isnormal_test): Likewise.
2012 (issignaling_test): Likewise.
2013 (isunordered_test): Likewise.
2014 (j0_test): Likewise.
2015 (j1_test): Likewise.
2016 (jn_test): Likewise.
2017 (ldexp_test): Likewise.
2018 (lgamma_test): Likewise.
2019 (gamma_test): Likewise.
2020 (lrint_test): Likewise.
2021 (lrint_test_tonearest): Likewise.
2022 (lrint_test_towardzero): Likewise.
2023 (lrint_test_downward): Likewise.
2024 (lrint_test_upward): Likewise.
2025 (llrint_test): Likewise.
2026 (llrint_test_tonearest): Likewise.
2027 (llrint_test_towardzero): Likewise.
2028 (llrint_test_downward): Likewise.
2029 (llrint_test_upward): Likewise.
2030 (log_test): Likewise.
2031 (log10_test): Likewise.
2032 (log1p_test): Likewise.
2033 (log2_test): Likewise.
2034 (logb_test): Likewise.
2035 (logb_test_downward): Likewise.
2036 (lround_test): Likewise.
2037 (llround_test): Likewise.
2038 (modf_test): Likewise.
2039 (nearbyint_test): Likewise.
2040 (nextafter_test): Likewise.
2041 (nexttoward_test): Likewise.
2042 (pow_test): Likewise.
2043 (pow_test_tonearest): Likewise.
2044 (pow_test_towardzero): Likewise.
2045 (pow_test_downward): Likewise.
2046 (pow_test_upward): Likewise.
2047 (remainder_test): Likewise.
2048 (drem_test): Likewise.
2049 (remainder_test_tonearest): Likewise.
2050 (drem_test_tonearest): Likewise.
2051 (remainder_test_towardzero): Likewise.
2052 (drem_test_towardzero): Likewise.
2053 (remainder_test_downward): Likewise.
2054 (drem_test_downward): Likewise.
2055 (remainder_test_upward): Likewise.
2056 (drem_test_upward): Likewise.
2057 (remquo_test): Likewise.
2058 (rint_test): Likewise.
2059 (rint_test_tonearest): Likewise.
2060 (rint_test_towardzero): Likewise.
2061 (rint_test_downward): Likewise.
2062 (rint_test_upward): Likewise.
2063 (round_test): Likewise.
2064 (scalb_test): Likewise.
2065 (scalbn_test): Likewise.
2066 (scalbln_test): Likewise.
2067 (signbit_test): Likewise.
2068 (sin_test): Likewise.
2069 (sin_test_tonearest): Likewise.
2070 (sin_test_towardzero): Likewise.
2071 (sin_test_downward): Likewise.
2072 (sin_test_upward): Likewise.
2073 (sincos_test): Likewise.
2074 (sinh_test): Likewise.
2075 (sinh_test_tonearest): Likewise.
2076 (sinh_test_towardzero): Likewise.
2077 (sinh_test_downward): Likewise.
2078 (sinh_test_upward): Likewise.
2079 (sqrt_test): Likewise.
2080 (sqrt_test_tonearest): Likewise.
2081 (sqrt_test_towardzero): Likewise.
2082 (sqrt_test_downward): Likewise.
2083 (sqrt_test_upward): Likewise.
2084 (tan_test): Likewise.
2085 (tan_test_tonearest): Likewise.
2086 (tan_test_towardzero): Likewise.
2087 (tan_test_downward): Likewise.
2088 (tan_test_upward): Likewise.
2089 (tanh_test): Likewise.
2090 (tgamma_test): Likewise.
2091 (trunc_test): Likewise.
2092 (y0_test): Likewise.
2093 (y1_test): Likewise.
2094 (yn_test): Likewise.
2095 (significand_test): Likewise.
2097 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2098 individual tests in comment.
2099 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2100 (prev_max_error): New variable.
2101 (prev_real_max_error): Likewise.
2102 (prev_imag_max_error): Likewise.
2103 (compare_ulp_data): Don't refer to test names in comment.
2104 (find_test_ulps): Remove function.
2105 (find_function_ulps): Likewise.
2106 (find_complex_function_ulps): Likewise.
2107 (init_max_error): Take function name as argument. Look up ulps
2109 (print_ulps): Remove function.
2110 (print_max_error): Use prev_max_error instead of calling
2112 (print_complex_max_error): Use prev_real_max_error and
2113 prev_imag_max_error instead of calling find_complex_function_ulps.
2114 (check_float_internal): Take max_ulp parameter instead of calling
2115 find_test_ulps. Don't call print_ulps.
2116 (check_float): Update call to check_float_internal.
2117 (check_complex): Update calls to check_float_internal.
2118 (START): Pass argument to init_max_error.
2119 * math/gen-libm-test.pl (%results): Don't include "kind"
2121 (parse_ulps): Don't handle ulps of individual tests.
2122 (print_ulps_file): Likewise.
2123 (output_ulps): Likewise.
2124 * math/README.libm-test: Update.
2125 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2127 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2128 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2129 * sysdeps/arm/libm-test-ulps: Likewise.
2130 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2131 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2132 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2133 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2134 * sysdeps/microblaze/libm-test-ulps: Likewise.
2135 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2136 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2137 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2138 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2139 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2140 * sysdeps/sh/libm-test-ulps: Likewise.
2141 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2142 * sysdeps/tile/libm-test-ulps: Likewise.
2143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2145 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2147 * math/libm-test.inc (print_complex_max_error): Check separately
2148 whether real and imaginary errors are within allowed range and
2149 pass 0 to print_complex_function_ulps instead of value within
2152 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2154 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2156 (get_handles_fopen): Likewise.
2157 (do_write_test): Likewise.
2159 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2161 * libio/fileops.c (do_ftell): Use cached offset when
2163 * libio/iofwide.c (do_ftell_wide): Likewise.
2164 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2166 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2169 * libio/libioP.h (get_file_offset): New function.
2170 * libio/fileops.c (get_file_offset): Likewise.
2171 (do_ftell): Likewise.
2172 (_IO_new_file_seekoff): Split out ftell logic.
2173 * libio/wfileops.c (do_ftell_wide): Likewise.
2174 (_IO_wfile_seekoff): Split out ftell logic.
2175 * libio/tst-ftell-active-handler.c: New test case.
2176 * libio/Makefile (tests): Add it.
2178 2014-03-03 Roland McGrath <roland@hack.frob.com>
2180 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2181 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2183 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2186 * nscd/connections.c (nscd_init): Call do_exit.
2187 (start_threads): Call do_exit and notify_parent.
2188 (begin_drop_privileges): Call do_exit.
2189 (finish_drop_privileges): Likewise.
2190 * nscd/selinux.c (preserve_capabilities): Likewise.
2191 (install_real_capabilities): Likewise.
2192 (nscd_selinux_enabled): Likewise.
2193 (avc_create_thread): Likewise.
2194 (avc_alloc_lock): Likewise.
2195 (nscd_avc_init): Likewise.
2196 * nscd/nscd.c (parent_fd): New static variable.
2197 (main): Create a pipe between parent and child processes.
2198 Skip closing parent_fd.
2199 (monitor_child): New function.
2200 (do_exit): Likewise.
2201 (notify_parent): Likewise.
2202 * nscd/nscd.h (notify_parent): Likewise.
2203 (do_exit): Likewise.
2205 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2207 * malloc/malloc.c (__libc_calloc): Revert last change.
2209 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2213 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2215 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2219 (__libc_ifunc_impl_list): Likewise.
2220 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2221 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2222 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2223 * string/strrchr.c: Define STRRCHR.
2225 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2227 * benchtest/bench-strtok.c (simple_strtok): Delete.
2228 (strtok_string): Use as benchmark.
2229 * string/strtok (STRTOK): New macro.
2231 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2233 * manual/threads.texi: Add header and standard comments to all
2236 * elf/dl-lookup.c (check_match): New function.
2237 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2238 (do_lookup_x): Remove nested function check_match. Use non-nested
2239 function check_match.
2241 2014-02-28 Roland McGrath <roland@hack.frob.com>
2243 * csu/Makefile (generated, before-compile): Use += rather than =.
2244 * catgets/Makefile (generated, generated-dirs): Likewise.
2245 * debug/Makefile (generated): Likewise.
2246 * dlfcn/Makefile (generated): Likewise.
2247 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2248 * iconvdata/Makefile (before-compile, generated): Likewise.
2249 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2250 * libio/Makefile (generated): Likewise.
2251 * malloc/Makefile (generated): Likewise.
2252 * manual/Makefile (generated, generated-dirs): Likewise.
2253 * misc/Makefile (generated): Likewise.
2254 * posix/Makefile (generated): Likewise.
2255 * resolv/Makefile (generated): Likewise.
2256 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2257 * timezone/Makefile (generated, generated-dirs): Likewise.
2259 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2261 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2263 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2266 POWER8 llround ifunc implementation.
2267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2268 POWER8 implementation.
2269 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2270 POWER8 llround implementation.
2272 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2277 POWER8 llrint ifunc implementation.
2278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2279 POWER8 implementation.
2280 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2281 POWER8 llrint implementation.
2283 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2288 POWER8 finite ifunc implementation.
2289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2290 POWER8 implementation.
2291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2293 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2294 POWER8 finite implementation.
2295 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2297 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2302 POWER8 isinf ifunc implementation.
2303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2304 POWER8 implementation.
2305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2307 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2308 POWER8 isinf implementation.
2309 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2311 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2313 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2314 Add hwcap2 initialization.
2315 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2318 POWER8 isnan ifunc implementation.
2319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2320 POWER8 implementation.
2321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2323 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2324 POWER8 isnan implementation.
2325 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2327 2014-02-27 Joey Ye <joey.ye@arm.com>
2329 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2330 (_FP_NANFRAC_Q): Set to zero.
2332 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2335 * math/auto-libm-test-in: New test inputs.
2336 * math/auto-libm-test-out: Regenerate.
2337 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2340 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2342 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2344 * scripts/evaluate-test.sh: Take new argument indicating whether
2345 failure is expected.
2346 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2347 indicating whether failure is expected.
2348 * conform/Makefile (test-xfail-run-conformtest): New variable.
2349 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2351 * posix/Makefile (test-xfail-annexc): New variable.
2352 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2354 2014-02-26 Joseph Myers <joseph@codesourcery.com>
2356 * argp/Makefile: Include Makeconfig immediately after defining
2358 * assert/Makefile: Likewise.
2359 * benchtests/Makefile: Likewise.
2360 * catgets/Makefile: Likewise.
2361 * conform/Makefile: Likewise.
2362 * crypt/Makefile: Likewise.
2363 * csu/Makefile: Likewise.
2364 (all): Remove target.
2365 * ctype/Makefile: Include Makeconfig immediately after defining
2367 * debug/Makefile: Likewise.
2368 * dirent/Makefile: Likewise.
2369 * dlfcn/Makefile: Likewise.
2370 * gmon/Makefile: Likewise.
2371 * gnulib/Makefile: Likewise.
2372 * grp/Makefile: Likewise.
2373 * gshadow/Makefile: Likewise.
2374 * hesiod/Makefile: Likewise.
2375 * hurd/Makefile: Likewise.
2376 (all): Remove target.
2377 * iconvdata/Makefile: Include Makeconfig immediately after
2379 * inet/Makefile: Likewise.
2380 * intl/Makefile: Likewise.
2381 * io/Makefile: Likewise.
2382 * libio/Makefile: Likewise.
2383 (all): Remove target.
2384 * locale/Makefile: Include Makeconfig immediately after defining
2386 * login/Makefile: Likewise.
2387 * mach/Makefile: Likewise.
2388 (all): Remove target.
2389 * malloc/Makefile: Include Makeconfig immediately after defining
2391 (all): Remove target.
2392 * manual/Makefile: Include Makeconfig immediately after defining
2394 * math/Makefile: Likewise.
2395 * misc/Makefile: Likewise.
2396 * nis/Makefile: Likewise.
2397 * nss/Makefile: Likewise.
2398 * po/Makefile: Likewise.
2399 (all): Remove target.
2400 * posix/Makefile: Include Makeconfig immediately after defining
2402 * pwd/Makefile: Likewise.
2403 * resolv/Makefile: Likewise.
2404 * resource/Makefile: Likewise.
2405 * rt/Makefile: Likewise.
2406 * setjmp/Makefile: Likewise.
2407 * shadow/Makefile: Likewise.
2408 * signal/Makefile: Likewise.
2409 * socket/Makefile: Likewise.
2410 * soft-fp/Makefile: Likewise.
2411 * stdio-common/Makefile: Likewise.
2412 * stdlib/Makefile: Likewise.
2413 * streams/Makefile: Likewise.
2414 * string/Makefile: Likewise.
2415 * sunrpc/Makefile: Likewise.
2416 (all): Remove target.
2417 * sysvipc/Makefile: Include Makeconfig immediately after defining
2419 * termios/Makefile: Likewise.
2420 * time/Makefile: Likewise.
2421 * timezone/Makefile: Likewise.
2422 (all): Remove target.
2423 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2425 * wctype/Makefile: Likewise.
2427 2014-02-26 Steve Ellcey <sellcey@mips.com>
2429 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2430 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2431 (libc_feholdexcept_setround_mips): Ditto.
2432 (libc_feholdsetround): New.
2433 (libc_feholdsetroundf): New.
2434 (libc_feholdsetroundl): New.
2435 (libc_feupdateenv_test_mips): New.
2436 (libc_feupdateenv_test): New.
2437 (libc_feupdateenv_testf): New.
2438 (libc_feupdateenv_testl): New.
2439 (libc_feresetround): New.
2440 (libc_feresetroundf): New.
2441 (libc_feresetroundl): New.
2442 (libc_fetestexcept_mips): New.
2443 (libc_fetestexcept): New.
2444 (libc_fetestexceptf): New.
2445 (libc_fetestexceptl): New.
2447 (libc_feholdexcept_setround_mips_ctx): New.
2448 (libc_feholdexcept_setround_ctx): New.
2449 (libc_feholdexcept_setroundf_ctx): New.
2450 (libc_feholdexcept_setroundl_ctx): New.
2451 (libc_fesetenv_mips_ctx): New.
2452 (libc_fesetenv_ctx): New.
2453 (libc_fesetenv_ctxf): New.
2454 (libc_fesetenv_ctxl): New.
2455 (libc_feupdateenv_mips_ctx): New.
2456 (libc_feupdateenv_ctx): New.
2457 (libc_feupdateenvf_ctx): New.
2458 (libc_feupdateenvl_ctx): New.
2459 (libc_feholdsetround_mips_ctx): New.
2460 (libc_feholdsetround_ctx): New.
2461 (libc_feholdsetroundf_ctx): New.
2462 (libc_feholdsetroundl_ctx): New.
2463 (libc_feresetround_mips_ctx): New.
2464 (libc_feresetround_ctx): New.
2465 (libc_feresetroundf_ctx): New.
2466 (libc_feresetroundl_ctx): New.
2468 2014-02-26 Carlos O'Donell <carlos@redhat.com>
2470 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2472 * manual/ipc.texi: New file.
2473 * manual/Makefile (chapters): Add ipc.
2474 * manual/job.texi: Add "Inter-Process Communication" to next.
2475 * manual/process.texi: Add "Inter-Process Communication" to prev.
2477 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2481 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
2483 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2485 * manual/arith.texi: Fix spaces after sentences.
2486 * manual/charset.texi: Likewise.
2487 * manual/errno.texi: Likewise.
2488 * manual/install.texi: Likewise.
2489 * manual/llio.texi: Likewise.
2490 * manual/locale.texi: Likewise.
2491 * manual/maint.texi: Likewise.
2492 * manual/math.texi: Likewise.
2493 * manual/memory.texi: Likewise.
2494 * manual/message.texi: Likewise.
2495 * manual/probes.texi: Likewise.
2496 * manual/resource.texi: Likewise.
2497 * manual/signal.texi: Likewise.
2498 * manual/socket.texi: Likewise.
2499 * manual/stdio.texi: Likewise.
2500 * manual/string.texi: Likewise.
2501 * manual/time.texi: Likewise.
2502 * manual/users.texi: Likewise.
2504 2014-02-25 Carlos O'Donell <carlos@redhat.com>
2507 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2508 _DEFAULT_SOURCE is defined.
2510 2014-02-25 Ulrich Drepper <drepper@gmail.com>
2511 Carlos O'Donell <carlos@redhat.com>
2514 * elf/dl-tls.c (_dl_count_modids): New function.
2515 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2516 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2517 audit library and increment generation counter.
2518 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2519 * elf/tst-audit9.c: New file.
2520 * elf/tst-auditmod9a.c: New file.
2521 * elf/tst-auditmod9b.c: New file.
2522 * elf/Makefile: Add rules to build and run tst-audit9.
2524 2014-02-25 Florian Weimer <fweimer@redhat.com>
2527 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2529 2014-02-25 Will Newton <will.newton@linaro.org>
2531 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2532 (__longjmp): Restore sp and lr before restoring callee
2533 saved registers. Add longjmp and longjmp_target
2534 SystemTap probe point.
2535 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2536 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2537 Define to zero to match jmpbuf layout.
2538 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2539 (__sigsetjmp): Save sp and lr before saving callee
2540 saved registers. Add setjmp SystemTap probe point.
2542 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2544 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2546 2014-02-24 Andreas Schwab <schwab@suse.de>
2549 * elf/pldd.c (wait_for_ptrace_stop): New function.
2550 (main): Call it after attaching.
2552 2014-02-22 Roland McGrath <roland@hack.frob.com>
2554 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2555 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2556 Versions files is now verboten.
2557 * hurd/Versions (libc: GLIBC_2.0):
2558 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2559 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2560 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2561 * mach/Versions: Likewise.
2563 * csu/Versions: Remove unused %include.
2564 * resolv/Versions: Likewise.
2566 2014-02-21 Joseph Myers <joseph@codesourcery.com>
2568 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2569 ($(objpfx)check-local-headers.out): Likewise.
2570 ($(objpfx)begin-end-check.out): Likewise.
2571 * Makerules (check-abi-%.out): Likewise.
2572 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2573 ($(objpfx)test2.cat): Likewise.
2574 ($(objpfx)de/libc.cat): Likewise.
2575 ($(objpfx)test-gencat.out): Likewise.
2576 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2577 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2578 ($(objpfx)noload-mem): Likewise.
2579 ($(objpfx)tst-pathopt.out): Likewise.
2580 ($(objpfx)tst-rtld-load-self.out): Likewise.
2581 ($(objpfx)tst-array1-cmp.out): Likewise.
2582 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2583 ($(objpfx)tst-array2-cmp.out): Likewise.
2584 ($(objpfx)tst-array3-cmp.out): Likewise.
2585 ($(objpfx)tst-array4-cmp.out): Likewise.
2586 ($(objpfx)tst-array5-cmp.out): Likewise.
2587 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2588 ($(objpfx)check-textrel.out): Likewise.
2589 ($(objpfx)check-execstack.out): Likewise.
2590 ($(objpfx)check-localplt.out): Likewise.
2591 ($(objpfx)order2-cmp.out): Likewise.
2592 ($(objpfx)tst-leaks1-mem): Likewise.
2593 ($(objpfx)tst-leaks1-static-mem): Likewise.
2594 ($(objpfx)tst-initorder-cmp.out): Likewise.
2595 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2596 ($(objpfx)tst-unused-dep.out): Likewise.
2597 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2598 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2599 * iconv/Makefile (test-iconvconfig): Likewise.
2600 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2601 ($(objpfx)iconv-test.out): Likewise.
2602 ($(objpfx)tst-tables.out): Likewise.
2603 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2604 ($(objpfx)tst-gettext.out): Likewise.
2605 ($(objpfx)tst-translit.out): Likewise.
2606 ($(objpfx)tst-gettext2.out): Likewise.
2607 ($(objpfx)tst-gettext4.out): Likewise.
2608 ($(objpfx)tst-gettext6.out): Likewise.
2609 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2610 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2611 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2612 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2613 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2614 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2615 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2616 ($(objpfx)wordexp-tst.out): Likewise.
2617 ($(objpfx)annexc.out): Likewise.
2618 ($(objpfx)tst-fnmatch-mem): Likewise.
2619 ($(objpfx)bug-regex2-mem): Likewise.
2620 ($(objpfx)bug-regex14-mem): Likewise.
2621 ($(objpfx)bug-regex21-mem): Likewise.
2622 ($(objpfx)bug-regex31-mem): Likewise.
2623 ($(objpfx)tst-vfork3-mem): Likewise.
2624 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2625 ($(objpfx)tst-pcre-mem): Likewise.
2626 ($(objpfx)tst-boost-mem): Likewise.
2627 ($(objpfx)tst-getconf.out): Likewise.
2628 ($(objpfx)bug-ga2-mem): Likewise.
2629 ($(objpfx)bug-glob2-mem): Likewise.
2630 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2631 ($(objpfx)mtrace-tst-leaks2): Likewise.
2632 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2633 ($(objpfx)tst-printf.out): Likewise.
2634 ($(objpfx)tst-setvbuf1.out): Likewise.
2635 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2636 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2637 ($(objpfx)tst-fmtmsg.out): Likewise.
2638 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2639 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2641 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2642 * bits/sigaction.h [__USE_MISC]: Likewise.
2643 * bits/waitstatus.h: Update #endif comments.
2644 * ctype/ctype.h: Likewise.
2645 * dirent/dirent.h: Likewise.
2646 [__USE_MISC]: Remove redundant conditionals.
2647 * grp/grp.h: Update #endif comments.
2648 [__USE_GNU]: Remove redundant conditionals.
2649 [__USE_MISC]: Likewise.
2650 * inet/netinet/in.h [__USE_GNU]: Likewise.
2651 * io/sys/stat.h [__USE_MISC]: Likewise.
2652 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2653 * libio/bits/stdio.h: Update #endif comments.
2654 [__USE_MISC]: Remove redundant conditionals.
2655 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2656 * libio/stdio.h: Update #endif comments.
2657 [__USE_MISC]: Remove redundant conditionals.
2658 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2659 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2660 * math/math.h: Update #else and #endif comments.
2661 [__USE_MISC]: Remove redundant conditionals.
2662 * misc/sys/uio.h: Update #endif comments.
2663 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2664 * posix/glob.h [__USE_MISC]: Likewise.
2665 * posix/sys/types.h: Update #endif comments.
2666 [__USE_MISC]: Remove redundant conditionals.
2667 * posix/sys/wait.h: Update #endif comments.
2668 [__USE_MISC]: Remove redundant conditionals.
2669 * posix/unistd.h: Update #endif comments.
2670 [__USE_MISC]: Remove redundant conditionals.
2671 * pwd/pwd.h [__USE_GNU]: Likewise.
2672 [__USE_MISC]: Likewise.
2673 * resolv/netdb.h [__USE_GNU]: Likewise.
2674 * signal/signal.h: Update #endif comments.
2675 [__USE_MISC]: Remove redundant conditionals.
2676 * stdlib/stdlib.h: Update #else and #endif comments.
2677 [__USE_MISC]: Remove redundant conditionals.
2678 [__USE_GNU]: Likewise.
2679 * string/bits/string2.h [__USE_MISC]: Likewise.
2680 * string/string.h: Update #endif comments.
2681 [__USE_MISC]: Remove redundant conditionals.
2682 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2684 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2685 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2686 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2688 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2690 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2692 [__USE_MISC]: Remove redundant conditionals.
2693 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2694 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2695 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2696 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2697 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2699 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2700 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2702 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2703 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2705 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2707 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2708 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2710 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2712 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2713 * sysdeps/x86/bits/string.h: Update #endif comments.
2714 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2716 * time/sys/time.h: Update #endif comments.
2717 * time/time.h: Likewise.
2718 [__USE_MISC]: Remove redundant conditionals.
2720 2014-02-21 Yury Gribov <y.gribov@samsung.com>
2723 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2725 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2727 * Versions.def (librt): Add GLIBC_2.17.
2729 2014-02-21 Adam Conrad <adconrad@0c3.net>
2731 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2732 synonym for _SYS_AUXV_H to allow direct inclusion.
2733 * sysdeps/sparc/bits/hwcap.h: Likewise.
2734 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2735 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2736 * sysdeps/sparc/sysdep.h: Likewise.
2738 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2740 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2742 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2744 * benchtests/bench-strrchr.c: Print length instead of position.
2746 2014-02-20 Joseph Myers <joseph@codesourcery.com>
2749 * sysdeps/unix/sysv/linux/kernel-features.h
2750 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2751 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2752 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2753 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2755 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2756 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2757 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2758 (__ASSUME_SENDMMSG): Define instead of using previous
2759 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2760 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2761 (__ASSUME_SENDMMSG_SYSCALL): Define.
2762 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2763 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2765 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2766 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2768 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2769 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2771 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2772 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2773 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2774 [__ASSUME_SENDMMSG]: Change conditionals to
2775 [__ASSUME_SENDMMSG_SOCKETCALL].
2776 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2777 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2779 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2780 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2782 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2783 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2784 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2785 [!__ASSUME_SENDMMSG]: Change conditional to
2786 [!__ASSUME_SENDMMSG_SOCKETCALL].
2787 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2788 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2792 * sysdeps/unix/sysv/linux/kernel-features.h
2793 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2794 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2795 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2796 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2797 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2798 [__i386__ || __sparc__]
2799 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2800 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2801 (__ASSUME_RECVMMSG): Define instead of using previous
2802 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2803 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2804 (__ASSUME_RECVMMSG_SYSCALL): Define.
2805 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2806 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2808 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2809 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2811 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2812 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2814 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2815 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2816 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2817 [__ASSUME_RECVMMSG]: Change condition to
2818 [__ASSUME_RECVMMSG_SOCKETCALL].
2819 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2820 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2822 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2823 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2824 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2826 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2827 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2828 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2829 [!__ASSUME_RECVMMSG]: Change condition to
2830 [!__ASSUME_RECVMMSG_SOCKETCALL].
2831 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2832 (__ASSUME_RECVMMSG_SYSCALL): Define.
2835 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2836 __powerpc__ || __s390__ || __sh__ || __sparc__]
2837 (__ASSUME_SOCKETCALL): Define.
2838 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2839 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2840 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2841 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2842 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2843 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2844 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2845 (__ASSUME_ACCEPT4): Define instead of using previous
2846 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2847 __powerpc__ || __sparc__ || __s390__)] condition.
2848 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2849 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2850 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2851 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2852 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2853 [!__ASSUME_ACCEPT4]: Change condition to
2854 [!__ASSUME_ACCEPT4_SOCKETCALL].
2855 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2856 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2857 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2858 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2859 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2860 __ASSUME_ACCEPT4_SYSCALL.
2861 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2862 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2863 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2864 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2865 __ASSUME_ACCEPT4_SYSCALL.
2866 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2867 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2868 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2869 [__ASSUME_ACCEPT4]: Change condition to
2870 [__ASSUME_ACCEPT4_SOCKETCALL].
2871 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2872 (__ASSUME_SOCKETCALL): Define.
2873 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2874 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2875 (__ASSUME_SOCKETCALL): Define.
2876 (__ASSUME_ACCEPT4): Remove.
2877 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2879 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2880 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2882 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2883 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2885 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2887 (HWCAP_ARM_LPAE): Likewise.
2888 (HWCAP_ARM_EVTSTRM): Likewise.
2889 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2890 Add vpfd32, lpae and evtstrm.
2891 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2894 2014-02-19 Joseph Myers <joseph@codesourcery.com>
2896 * math/auto-libm-test-in: Add tests of clog10.
2897 * math/auto-libm-test-out: Regenerated.
2898 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2899 * sysdeps/i386/fpu/libm-test-ulps: Update.
2900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2902 2014-02-18 Andreas Schwab <schwab@suse.de>
2905 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2906 Store non-zero if the second buffer was newly allocated.
2907 (send_dg): Likewise.
2908 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2909 to send_vc and send_dg.
2910 (res_nsend): Pass NULL for ansp2_malloced.
2911 * resolv/res_query.c (__libc_res_nquery): Add parameter
2912 answerp2_malloced and pass it down to __libc_res_nsend.
2913 (res_nquery): Pass additional NULL to __libc_res_nquery.
2914 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2915 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2916 second answer buffer if answerp2_malloced was set.
2917 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2918 (__libc_res_nquerydomain): Add parameter
2919 answerp2_malloced and pass it down to __libc_res_nquery.
2920 (res_nquerydomain): Pass additional NULL to
2921 __libc_res_nquerydomain.
2922 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2923 additional NULL to __libc_res_nsend and __libc_res_nquery.
2924 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2925 additional NULL to __libc_res_nsearch.
2926 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2927 parameter of __libc_res_nsearch to check for separately allocated
2929 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2931 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2932 additional NULL to __libc_res_nquery.
2933 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2935 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2936 * include/resolv.h: Update prototypes of __libc_res_nquery,
2937 __libc_res_nsearch, __libc_res_nsend.
2939 2014-02-18 Joseph Myers <joseph@codesourcery.com>
2941 * math/auto-libm-test-in: Add tests of fma.
2942 * math/auto-libm-test-out: Regenerated.
2943 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2944 (fma_towardzero_test_data): Likewise.
2945 (fma_downward_test_data): Likewise.
2946 (fma_upward_test_data): Likewise.
2947 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2949 (rounding_modes): Add values for new field.
2950 (func_calc_method): Add value mpfr_fff_f.
2951 (func_calc_desc): Add mpfr_fff_f union field.
2952 (test_function): Add field exact_args.
2953 (FUNC): Add macro argument EXACT_ARGS.
2954 (FUNC_mpfr_f_f): Update call to FUNC.
2955 (FUNC_mpfr_f_f): Likewise.
2956 (FUNC_mpfr_ff_f): Likewise.
2957 (FUNC_mpfr_if_f): Likewise.
2958 (FUNC_mpc_c_f): Likewise.
2959 (FUNC_mpc_c_c): Likewise.
2960 (test_functions): Add fma. Update calls to FUNC.
2961 (handle_input_arg): Add argument exact_args.
2962 (add_test): Update call to handle_input_arg.
2963 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2964 (output_for_one_input_case): Update call to calc_generic_results.
2965 Recalculate exact zero results in each rounding mode.
2967 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2968 non-negative before setting low bit.
2969 * math/auto-libm-test-in: Mark one asin test possibly having
2971 * math/auto-libm-test-out: Regenerated.
2972 * sysdeps/i386/fpu/libm-test-ulps: Update.
2973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2975 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2977 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2978 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2979 ports/sysdeps/unix/sysv/linux/microblaze.
2980 * README: Add missing listing for microblaze*-*-linux-gnu.
2982 2014-02-16 Mike Frysinger <vapier@gentoo.org>
2984 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2985 * sysdeps/unix/sysv/linux/ia64: Move directory from
2986 ports/sysdeps/unix/sysv/linux/ia64.
2987 * README: Update listing for ia64-*-linux-gnu.
2989 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2990 Joseph Myers <joseph@codesourcery.com>
2992 * Makeconfig (test-name): New variable.
2993 (evaluate-test): Likewise.
2994 * Makerules (do-test-clean): Remove .test-result files.
2995 (common-mostlyclean): Likewise.
2996 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2997 * scripts/evaluate-test.sh: New file.
2999 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3001 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3002 separate $(objpfx)tst-fopenloc-cmp.out and
3003 $(objpfx)tst-fopenloc-mem.out targets.
3004 (tests): Update dependencies.
3005 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3006 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3007 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3008 (tst-rxspencer-no-utf8-ARGS): New variable.
3009 (tst-rxspencer-no-utf8-ENV): Likewise.
3010 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3011 instead of $(objpfx)tst-rxspencer-mem.
3012 ($(objpfx)tst-rxspencer-mem): Change target to
3013 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3014 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3015 * posix/tst-rxspencer-no-utf8.c: New file.
3017 * elf/Makefile ($(objpfx)order.out): Remove rule.
3018 [$(run-built-tests) = yes] (tests): Depend on
3019 $(objpfx)order-cmp.out.
3020 ($(objpfx)order-cmp.out): New rule.
3021 [$(run-built-tests) = yes] (tests): Depend on
3022 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3023 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3024 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3025 $(objpfx)tst-array5-static-cmp.out.
3026 ($(objpfx)tst-array1.out): Remove rule.
3027 ($(objpfx)tst-array1-cmp.out): New rule.
3028 ($(objpfx)tst-array1-static.out): Remove rule.
3029 ($(objpfx)tst-array1-static-cmp.out): New rule.
3030 ($(objpfx)tst-array2.out): Remove rule.
3031 ($(objpfx)tst-array2-cmp.out): New rule.
3032 ($(objpfx)tst-array3.out): Remove rule.
3033 ($(objpfx)tst-array3-cmp.out): New rule.
3034 ($(objpfx)tst-array4.out): Remove rule.
3035 ($(objpfx)tst-array4-cmp.out): New rule.
3036 ($(objpfx)tst-array5.out): Remove rule.
3037 ($(objpfx)tst-array5-cmp.out): New rule.
3038 ($(objpfx)tst-array5-static.out): Remove rule.
3039 ($(objpfx)tst-array5-static-cmp.out): New rule.
3040 [$(run-built-tests) = yes] (tests): Depend on
3041 $(objpfx)order2-cmp.out.
3042 ($(objpfx)order2.out): Remove rule.
3043 ($(objpfx)order2-cmp.out): New rule.
3044 ($(objpfx)tst-initorder.out): Remove rule.
3045 [$(run-built-tests) = yes] (tests): Depend on
3046 $(objpfx)tst-initorder-cmp.out.
3047 ($(objpfx)tst-initorder-cmp.out): New rule.
3048 ($(objpfx)tst-initorder2.out): Remove rule.
3049 [$(run-built-tests) = yes] (tests): Depend on
3050 $(objpfx)tst-initorder2-cmp.out.
3051 ($(objpfx)tst-initorder2-cmp.out): New rule.
3052 [$(run-built-tests) = yes] (tests): Depend on
3053 $(objpfx)tst-unused-dep-cmp.out.
3054 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3055 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3056 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3057 on $(objpfx)tst-setvbuf1-cmp.out.
3058 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3059 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3060 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3061 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3062 ($(objpfx)tst-svc.out): Remove rule.
3063 ($(objpfx)tst-svc-cmp.out): New rule.
3065 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3067 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3068 * ctype/ctype.h [__USE_MISC]: Likewise.
3069 * dirent/dirent.h [__USE_MISC]: Likewise.
3070 * grp/grp.h [__USE_MISC]: Likewise.
3071 * io/fcntl.h [__USE_MISC]: Likewise.
3072 * io/sys/stat.h [__USE_MISC]: Likewise.
3073 * libio/stdio.h [__USE_MISC]: Likewise.
3074 * posix/unistd.h [__USE_MISC]: Likewise.
3075 * pwd/pwd.h [__USE_MISC]: Likewise.
3076 * stdlib.h [__USE_MISC]: Likewise.
3077 * string/bits/string2.h [__USE_MISC]: Likewise.
3078 * string/string.h [__USE_MISC]: Likewise.
3079 * time/time.h [__USE_MISC]: Likewise.
3081 2014-02-13 Andreas Schwab <schwab@suse.de>
3084 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3085 second answer buffer if it was separately allocated.
3087 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3089 * sysdeps/mips/math-tests.h: Include <features.h>.
3090 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3091 (ROUNDING_TESTS_long_double): Do not define.
3092 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3093 (EXCEPTION_TESTS_long_double): Likewise.
3094 * sysdeps/mips/mips64/libm-test-ulps: Update.
3096 * include/features.h (__USE_BSD): Remove macro definitions.
3097 (__USE_SVID): Likewise.
3098 (_BSD_SOURCE): Likewise.
3099 (_SVID_SOURCE): Likewise.
3100 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3101 from definition of _DEFAULT_SOURCE.
3102 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3104 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3105 * bits/mman.h [__USE_BSD]: Likewise.
3106 * bits/termios.h [__USE_BSD]: Likewise.
3107 * bits/waitstatus.h [__USE_BSD]: Likewise.
3108 * ctype/ctype.h [__USE_SVID]: Likewise.
3109 * dirent/dirent.h [__USE_BSD]: Likewise.
3110 * grp/grp.h [__USE_SVID]: Likewise.
3111 [__USE_BSD]: Likewise.
3112 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3113 * io/fcntl.h [__USE_BSD]: Likewise.
3114 * io/ftw.h [__USE_BSD]: Likewise.
3115 * io/sys/stat.h [__USE_BSD]: Likewise.
3116 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3117 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3118 * libio/stdio.h [__USE_SVID]: Likewise.
3119 [__USE_BSD]: Likewise.
3120 * math/math.h [__USE_SVID]: Likewise.
3121 [__USE_BSD]: Likewise.
3122 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3123 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3124 * misc/search.h [__USE_SVID]: Likewise.
3125 * misc/sys/mman.h [__USE_BSD]: Likewise.
3126 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3127 * misc/sys/uio.h [__USE_BSD]: Likewise.
3128 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3129 * posix/glob.h [__USE_BSD]: Likewise.
3130 * posix/regex.h [__USE_BSD]: Likewise.
3131 * posix/sys/types.h [__USE_BSD]: Likewise.
3132 [__USE_SVID]: Likewise.
3133 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3134 * posix/sys/wait.h [__USE_BSD]: Likewise.
3135 [__USE_SVID]: Likewise.
3136 * posix/unistd.h [__USE_BSD]: Likewise.
3137 [__USE_SVID]: Likewise.
3138 * pwd/pwd.h [__USE_SVID]: Likewise.
3139 * resolv/netdb.h [__USE_BSD]: Likewise.
3140 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3141 * signal/signal.h [__USE_BSD]: Likewise.
3142 [__USE_SVID]: Likewise.
3143 * socket/sys/socket.h [__USE_BSD]: Likewise.
3144 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3145 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3146 [__USE_SVID]: Likewise.
3147 * string/bits/string2.h [__USE_BSD]: Likewise.
3148 [__USE_SVID]: Likewise.
3149 * string/bits/string3.h [__USE_BSD]: Likewise.
3150 * string/endian.h [__USE_BSD]: Likewise.
3151 * string/string.h [__USE_SVID]: Likewise.
3152 [__USE_BSD]: Likewise.
3153 * string/strings.h [__USE_BSD]: Likewise.
3154 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3155 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3156 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3157 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3158 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3159 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3161 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3163 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3164 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3166 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3167 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3169 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3171 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3172 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3173 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3175 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3177 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3178 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3179 * termios/termios.h [__USE_BSD]: Likewise.
3180 * time/sys/time.h [__USE_BSD]: Likewise.
3181 * time/time.h [__USE_BSD]: Likewise.
3182 [__USE_SVID]: Likewise.
3184 * Makefile (subdir_targets): Remove subdir_lint.out.
3186 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3187 (do-tst-printf): Likewise.
3188 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3189 $(objpfx)tst-printf.out.
3191 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3193 * Makerules (check-abi-%): Change target to
3194 $(objpfx)check-abi-%.out.
3195 (check-abi target): Update dependencies.
3196 (check-abi-pattern variable): Redirect output of diff to $@.
3197 (check-abi variable): Likewise.
3198 * elf/Makefile (check-abi): Update dependencies.
3200 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3202 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3203 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3205 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3206 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3207 value has largest subnormal exponent.
3208 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3209 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3210 * sysdeps/aarch64/soft-fp/sfp-machine.h
3211 (_FP_TININESS_AFTER_ROUNDING): New macro.
3212 * sysdeps/alpha/soft-fp/sfp-machine.h
3213 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3214 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3216 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3217 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3218 * sysdeps/mips/soft-fp/sfp-machine.h
3219 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3220 * sysdeps/powerpc/soft-fp/sfp-machine.h
3221 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3222 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3224 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3225 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3226 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3227 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3228 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3231 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3234 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3237 2014-02-12 Richard Henderson <rth@redhat.com>
3239 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3240 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3241 * sysdeps/unix/sysv/linux/alpha: Move directory from
3242 ports/sysdeps/unix/sysv/linux/alpha.
3243 * README: Update listing for alpha-*-linux-gnu.
3245 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3247 * include/features.h: Update comment documenting feature test
3249 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3251 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3252 (_SVID_SOURCE): Likewise.
3253 (_DEFAULT_SOURCE): Update description of default features.
3254 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3256 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3257 (S_ISVTX): Likewise.
3258 * manual/math.texi (Mathematical Constants): Likewise.
3259 * manual/signal.texi (Interrupted Primitives): Likewise.
3260 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3261 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3262 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3263 Don't refer to _SVID_SOURCE in warning text.
3265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3267 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3269 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3270 * sysdeps/mips/dl-lookup.c: Remove.
3271 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3273 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3276 * math/auto-libm-test-in: Add testcase for expl.
3277 * math/auto-libm-test-out: Regenerate.
3278 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3279 calculation of unsafe.
3280 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3282 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3284 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3285 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3286 ports/sysdeps/unix/sysv/linux/aarch64.
3287 * README: Update listing for aarch64*-*-linux-gnu.
3289 2014-02-11 Will Newton <will.newton@linaro.org>
3291 * manual/probes.texi (Mathematical Function Probes): Use
3292 "triggered" instead of "hit".
3294 2014-02-11 Will Newton <will.newton@linaro.org>
3296 * manual/probes.texi (Internal Probes): Add documentation
3297 of setjmp, longjmp and longjmp_target probes.
3299 2014-02-11 Will Newton <will.newton@linaro.org>
3301 * include/stap-probe.h: Add comment about probe argument
3304 2014-02-11 Will Newton <will.newton@linaro.org>
3306 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3307 definition. (tr_where, tr_freehook, tr_mallochook,
3308 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3310 2014-02-11 David S. Miller <davem@davemloft.net>
3312 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3313 processing int_tests.
3315 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3317 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3318 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3319 * sysdeps/unix/sysv/linux/mips: Move directory from
3320 ports/sysdeps/unix/sysv/linux/mips.
3321 * README: Update listing for mips-*-linux-gnu and
3324 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3326 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3327 * sysdeps/unix/sysv/linux/m68k: Move directory from
3328 ports/sysdeps/unix/sysv/linux/m68k.
3329 * README: Update listing for m68k-*-linux-gnu.
3331 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3333 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3334 * sysdeps/unix/sysv/linux/generic: Move directory from
3335 ports/sysdeps/unix/sysv/linux/generic.
3336 * sysdeps/unix/sysv/linux/tile: Move directory from
3337 ports/sysdeps/unix/sysv/linux/tile.
3338 * README: Update listing for tile*-*-linux-gnu.
3340 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3342 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3343 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3344 * catgets/open_catalog.c (__open_catalog): Likewise.
3345 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3346 * debug/confstr_chk.c: Likewise.
3347 * debug/fread_chk.c (__fread_chk): Likewise.
3348 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3349 * debug/getgroups_chk.c: Likewise.
3350 * debug/mbsnrtowcs_chk.c: Likewise.
3351 * debug/mbsrtowcs_chk.c: Likewise.
3352 * debug/mbstowcs_chk.c: Likewise.
3353 * debug/memcpy_chk.c: Likewise.
3354 * debug/memmove_chk.c: Likewise.
3355 * debug/mempcpy_chk.c: Likewise.
3356 * debug/memset_chk.c: Likewise.
3357 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3358 * debug/strcat_chk.c (__strcat_chk): Likewise.
3359 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3360 * debug/strncat_chk.c (__strncat_chk): Likewise.
3361 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3362 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3363 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3364 * debug/wcpncpy_chk.c: Likewise.
3365 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3366 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3367 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3368 * debug/wcsncpy_chk.c: Likewise.
3369 * debug/wcsnrtombs_chk.c: Likewise.
3370 * debug/wcsrtombs_chk.c: Likewise.
3371 * debug/wcstombs_chk.c: Likewise.
3372 * debug/wmemcpy_chk.c: Likewise.
3373 * debug/wmemmove_chk.c: Likewise.
3374 * debug/wmempcpy_chk.c: Likewise.
3375 * debug/wmemset_chk.c: Likewise.
3376 * dirent/scandirat.c (SCANDIRAT): Likewise.
3377 * dlfcn/dladdr1.c (dladdr1): Likewise.
3378 * dlfcn/dladdr.c (dladdr): Likewise.
3379 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3380 * dlfcn/dlerror.c (__dlerror): Likewise.
3381 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3382 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3383 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3384 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3385 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3386 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3387 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3388 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3390 * elf/dl-conflict.c: Likewise.
3391 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3392 * elf/dl-dst.h: Likewise.
3393 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3394 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3395 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3396 * elf/dl-init.c (call_init, _dl_init): Likewise.
3397 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3398 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3399 _dl_map_object_from_fd, open_verify, open_path,
3400 _dl_map_object): Likewise.
3401 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3403 * elf/dl-minimal.c (__libc_memalign): Likewise.
3404 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3405 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3406 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3407 * elf/dl-sym.c (do_sym): Likewise.
3408 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3409 _dl_tls_get_addr_soft): Likewise.
3410 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3411 * elf/dl-writev.h (_dl_writev): Likewise.
3412 * elf/ldconfig.c (search_dir): Likewise.
3413 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3415 * elf/setup-vdso.h (setup_vdso): Likewise.
3416 * grp/compat-initgroups.c (compat_call): Likewise.
3417 * grp/fgetgrent.c (fgetgrent): Likewise.
3418 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3419 * grp/putgrent.c (putgrent): Likewise.
3420 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3422 * hurd/hurdinit.c: Likewise.
3423 * iconvdata/8bit-gap.c (struct): Likewise.
3424 * iconvdata/ansi_x3.110.c : Likewise.
3425 * iconvdata/big5.c : Likewise.
3426 * iconvdata/big5hkscs.c : Likewise.
3427 * iconvdata/cp1255.c: Likewise.
3428 * iconvdata/cp1258.c : Likewise.
3429 * iconvdata/cp932.c : Likewise.
3430 * iconvdata/euc-cn.c: Likewise.
3431 * iconvdata/euc-jisx0213.c : Likewise.
3432 * iconvdata/euc-jp.c: Likewise.
3433 * iconvdata/euc-jp-ms.c : Likewise.
3434 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3435 * iconvdata/gb18030.c : Likewise.
3436 * iconvdata/gbbig5.c (const): Likewise.
3437 * iconvdata/gbgbk.c: Likewise.
3438 * iconvdata/gbk.c : Likewise.
3439 * iconvdata/ibm1364.c : Likewise.
3440 * iconvdata/ibm930.c : Likewise.
3441 * iconvdata/ibm932.c: Likewise.
3442 * iconvdata/ibm933.c : Likewise.
3443 * iconvdata/ibm935.c : Likewise.
3444 * iconvdata/ibm937.c : Likewise.
3445 * iconvdata/ibm939.c : Likewise.
3446 * iconvdata/ibm943.c: Likewise.
3447 * iconvdata/iso_11548-1.c: Likewise.
3448 * iconvdata/iso-2022-cn.c : Likewise.
3449 * iconvdata/iso-2022-cn-ext.c : Likewise.
3450 * iconvdata/iso-2022-jp-3.c: Likewise.
3451 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3452 * iconvdata/iso-2022-kr.c : Likewise.
3453 * iconvdata/iso646.c (gconv_end): Likewise.
3454 * iconvdata/iso_6937-2.c : Likewise.
3455 * iconvdata/iso_6937.c : Likewise.
3456 * iconvdata/iso8859-1.c: Likewise.
3457 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3458 * iconvdata/shift_jisx0213.c : Likewise.
3459 * iconvdata/sjis.c : Likewise.
3460 * iconvdata/t.61.c : Likewise.
3461 * iconvdata/tcvn5712-1.c : Likewise.
3462 * iconvdata/tscii.c: Likewise.
3463 * iconvdata/uhc.c : Likewise.
3464 * iconvdata/unicode.c (gconv_end): Likewise.
3465 * iconvdata/utf-16.c (gconv_end): Likewise.
3466 * iconvdata/utf-32.c (gconv_end): Likewise.
3467 * iconvdata/utf-7.c (base64): Likewise.
3468 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3469 * iconv/gconv_close.c (__gconv_close): Likewise.
3470 * iconv/gconv_open.c (__gconv_open): Likewise.
3471 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3472 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3473 internal_ucs4le_loop_single, ucs4le_internal_loop,
3474 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3475 * iconv/iconv.c (iconv): Likewise.
3476 * iconv/iconv_close.c: Likewise.
3477 * iconv/loop.c (SINGLE): Likewise.
3478 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3479 * include/atomic.h: Likewise.
3480 * inet/inet6_option.c (option_alloc): Likewise.
3481 * intl/bindtextdom.c (set_binding_values): Likewise.
3482 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3483 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3484 * intl/localealias.c (read_alias_file): Likewise.
3485 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3486 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3487 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3488 * libio/fmemopen.c (fmemopen): Likewise.
3489 * libio/iofgets.c (_IO_fgets): Likewise.
3490 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3491 * libio/iofgetws.c (fgetws): Likewise.
3492 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3493 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3494 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3495 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3496 * locale/findlocale.c (_nl_find_locale): Likewise.
3497 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3498 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3500 * locale/setlocale.c (setlocale): Likewise.
3501 * login/programs/pt_chown.c (main): Likewise.
3502 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3503 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3504 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3505 mmap, mmap64, mremap, munmap): Likewise.
3506 * math/e_exp2l.c: Likewise.
3507 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3508 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3509 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3510 * math/s_catan.c (__catan): Likewise.
3511 * math/s_catanf.c (__catanf): Likewise.
3512 * math/s_catanh.c (__catanh): Likewise.
3513 * math/s_catanhf.c (__catanhf): Likewise.
3514 * math/s_catanhl.c (__catanhl): Likewise.
3515 * math/s_catanl.c (__catanl): Likewise.
3516 * math/s_ccosh.c (__ccosh): Likewise.
3517 * math/s_ccoshf.c (__ccoshf): Likewise.
3518 * math/s_ccoshl.c (__ccoshl): Likewise.
3519 * math/s_cexp.c (__cexp): Likewise.
3520 * math/s_cexpf.c (__cexpf): Likewise.
3521 * math/s_cexpl.c (__cexpl): Likewise.
3522 * math/s_clog10.c (__clog10): Likewise.
3523 * math/s_clog10f.c (__clog10f): Likewise.
3524 * math/s_clog10l.c (__clog10l): Likewise.
3525 * math/s_clog.c (__clog): Likewise.
3526 * math/s_clogf.c (__clogf): Likewise.
3527 * math/s_clogl.c (__clogl): Likewise.
3528 * math/s_csin.c (__csin): Likewise.
3529 * math/s_csinf.c (__csinf): Likewise.
3530 * math/s_csinh.c (__csinh): Likewise.
3531 * math/s_csinhf.c (__csinhf): Likewise.
3532 * math/s_csinhl.c (__csinhl): Likewise.
3533 * math/s_csinl.c (__csinl): Likewise.
3534 * math/s_csqrt.c (__csqrt): Likewise.
3535 * math/s_csqrtf.c (__csqrtf): Likewise.
3536 * math/s_csqrtl.c (__csqrtl): Likewise.
3537 * math/s_ctan.c (__ctan): Likewise.
3538 * math/s_ctanf.c (__ctanf): Likewise.
3539 * math/s_ctanh.c (__ctanh): Likewise.
3540 * math/s_ctanhf.c (__ctanhf): Likewise.
3541 * math/s_ctanhl.c (__ctanhl): Likewise.
3542 * math/s_ctanl.c (__ctanl): Likewise.
3543 * math/w_pow.c: Likewise.
3544 * math/w_powf.c: Likewise.
3545 * math/w_powl.c: Likewise.
3546 * math/w_scalb.c (sysv_scalb): Likewise.
3547 * math/w_scalbf.c (sysv_scalbf): Likewise.
3548 * math/w_scalbl.c (sysv_scalbl): Likewise.
3549 * misc/error.c (error_tail): Likewise.
3550 * misc/pselect.c (__pselect): Likewise.
3551 * nis/nis_callback.c (__nis_create_callback): Likewise.
3552 * nis/nis_call.c (__nisfind_server): Likewise.
3553 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3554 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3555 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3556 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3557 * nis/nis_lookup.c (nis_lookup): Likewise.
3558 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3559 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3560 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3561 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3562 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3563 internal_getgrgid_r): Likewise.
3564 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3566 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3567 internal_getpwuid_r): Likewise.
3568 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3569 internal_getspnam_r): Likewise.
3570 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3571 _nss_nis_getaliasbyname_r): Likewise.
3572 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3573 _nss_nis_getntohost_r): Likewise.
3574 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3575 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3577 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3578 internal_nis_gethostent_r, internal_gethostbyname2_r,
3579 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3580 _nss_nis_gethostbyname4_r): Likewise.
3581 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3582 initgroups_netid): Likewise.
3583 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3584 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3585 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3586 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3587 _nss_nis_getprotobynumber_r): Likewise.
3588 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3589 _nss_nis_getsecretkey): Likewise.
3590 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3591 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3593 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3594 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3595 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3596 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3597 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3598 _nss_nis_getspnam_r): Likewise.
3599 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3601 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3602 _nss_nisplus_getntohost_r): Likewise.
3603 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3604 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3605 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3606 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3607 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3609 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3610 _nss_nisplus_getnetbyaddr_r): Likewise.
3611 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3612 _nss_nisplus_getprotobynumber_r): Likewise.
3613 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3614 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3615 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3617 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3618 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3619 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3620 _nss_nisplus_getspnam_r): Likewise.
3621 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3622 * nscd/aicache.c (addhstaiX): Likewise.
3623 * nscd/cache.c (cache_search, prune_cache): Likewise.
3624 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3625 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3626 * nscd/grpcache.c (addgrbyX): Likewise.
3627 * nscd/hstcache.c (addhstbyX): Likewise.
3628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3629 * nscd/mem.c (gc, mempool_alloc): Likewise.
3630 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3632 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3634 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3635 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3636 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3638 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3639 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3640 * nscd/nscd_helper.c (__readvall, open_socket,
3641 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3642 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3643 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3644 * nscd/pwdcache.c (addpwbyX): Likewise.
3645 * nscd/selinux.c (preserve_capabilities): Likewise.
3646 * nscd/servicescache.c (addservbyX): Likewise.
3647 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3648 * posix/fnmatch.c (fnmatch): Likewise.
3649 * posix/getopt.c (_getopt_internal_r): Likewise.
3650 * posix/glob.c (glob, glob_in_dir): Likewise.
3651 * posix/wordexp.c (exec_comm_child): Likewise.
3652 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3653 gaih_getanswer_slice): Likewise.
3654 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3655 * resolv/res_init.c: Likewise.
3656 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3657 * resolv/res_query.c (__libc_res_nquery): Likewise.
3658 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3660 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3661 * stdio-common/perror.c (perror): Likewise.
3662 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3663 * stdio-common/tmpnam.c (tmpnam): Likewise.
3664 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3665 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3666 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3667 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3668 * stdlib/putenv.c (putenv): Likewise.
3669 * stdlib/setenv.c (__add_to_environ): Likewise.
3670 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3671 * stdlib/strtol_l.c (INTERNAL): Likewise.
3672 * string/memmem.c (memmem): Likewise.
3673 * string/strerror.c (strerror): Likewise.
3674 * string/strnlen.c (__strnlen): Likewise.
3675 * string/test-memmem.c (simple_memmem): Likewise.
3676 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3677 * sunrpc/pm_getport.c (__get_socket): Likewise.
3678 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3679 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3680 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3681 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3683 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3684 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3685 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3686 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3687 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3688 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3689 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3690 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3691 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3692 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3693 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3694 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3696 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3697 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3698 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3699 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3700 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3701 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3703 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3705 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3707 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3708 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3709 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3710 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3711 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3712 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3713 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3714 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3715 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3716 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3717 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3718 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3719 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3722 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3723 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3725 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3727 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3729 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3730 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3731 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3733 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3734 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3735 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3736 * sysdeps/posix/sleep.c: Likewise.
3737 * sysdeps/posix/tempname.c: Likewise.
3738 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3739 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3741 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3742 elf_machine_rela): Likewise.
3743 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3744 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3745 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3746 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3748 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3749 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3750 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3751 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3752 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3753 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3754 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3755 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3756 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3757 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3758 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3759 elf_machine_lazy_rel): Likewise.
3760 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3761 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3762 elf_machine_lazy_rel): Likewise.
3763 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3764 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3765 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3766 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3767 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3768 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3769 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3770 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3772 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3773 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3774 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3775 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3776 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3777 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3778 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3779 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3780 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3781 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3782 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3784 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3785 (__posix_fallocate64_l64): Likewise.
3786 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3787 (posix_fallocate): Likewise.
3788 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3790 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3791 getifaddrs_internal): Likewise.
3792 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3793 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3794 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3795 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3796 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3797 (__posix_fallocate64_l64): Likewise.
3798 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3800 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3801 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3803 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3804 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3805 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3806 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3807 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3808 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3809 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3810 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3812 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3813 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3814 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3815 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3816 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3817 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3818 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3820 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3821 (posix_fallocate): Likewise.
3822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3823 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3824 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3825 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3826 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3828 * time/asctime.c (asctime_internal): Likewise.
3829 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3830 * time/tzset.c (__tzset_parse_tz): Likewise.
3831 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3832 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3833 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3834 * wcsmbs/wcsmbsload.h: Likewise.
3836 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3839 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3841 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3843 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3844 arena_get2): Remove THREAD_STATS conditionals.
3845 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3846 __malloc_stats, int): Likewise.
3848 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3850 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3851 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3853 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3855 * manual/setjmp.texi: Fix typos/grammar errors.
3857 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3859 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3860 Only return early when n is <= 0. Delete unused return statement.
3862 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3864 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3865 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3866 * debug/tst-longjmp_chk3.c: New file.
3868 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3870 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3871 (test_main): Replace code with set_fortify_handler call.
3872 * debug/test-strcpy_chk.c: Likewise.
3873 * debug/tst-chk1.c: Likewise.
3874 * debug/tst-longjmp_chk.c: Likewise.
3875 * test-skeleton.c: Include fcntl.h & paths.h
3876 (set_fortify_handler): Define.
3878 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3880 * debug/tst-longjmp_chk.c: Add header comment and include
3882 (do_test): Mark static.
3883 (TEST_FUNCTION): Define.
3885 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3887 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3888 (IP_PMTUDISC_INTERFACE): Likewise.
3889 (IP_MULTICAST_IF): Likewise.
3890 (IP_MULTICAST_TTL): Likewise.
3891 (IP_MULTICAST_LOOP): Likewise.
3892 (IP_ADD_MEMBERSHIP): Likewise.
3893 (IP_DROP_MEMBERSHIP): Likewise.
3894 (IP_UNBLOCK_SOURCE): Likewise.
3895 (IP_BLOCK_SOURCE): Likewise.
3896 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3897 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3898 (IP_MSFILTER): Likewise.
3899 (MCAST_JOIN_GROUP): Likewise.
3900 (MCAST_BLOCK_SOURCE): Likewise.
3901 (MCAST_UNBLOCK_SOURCE): Likewise.
3902 (MCAST_LEAVE_GROUP): Likewise.
3903 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3904 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3905 (MCAST_MSFILTER): Likewise.
3906 (IP_MULTICAST_ALL): Likewise.
3907 (IP_UNICAST_IF): Likewise.
3909 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3911 * timezone/Makefile: Delete $(have-ksh) check.
3912 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3913 * timezone/tzselect.ksh: Add +x mode bits.
3915 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3917 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3918 (ANON_INODE_FS_MAGIC): Likewise.
3919 (BDEVFS_MAGIC): Likewise.
3920 (BINFMTFS_MAGIC): Likewise.
3921 (BTRFS_TEST_MAGIC): Likewise.
3922 (CRAMFS_MAGIC_WEND): Likewise.
3923 (DEBUGFS_MAGIC): Likewise.
3924 (ECRYPTFS_SUPER_MAGIC): Likewise.
3925 (EXT3_SUPER_MAGIC): Likewise.
3926 (EXT4_SUPER_MAGIC): Likewise.
3927 (FUTEXFS_SUPER_MAGIC): Likewise.
3928 (HOSTFS_SUPER_MAGIC): Likewise.
3929 (HUGETLBFS_MAGIC): Likewise.
3930 (MINIX3_SUPER_MAGIC): Likewise.
3931 (MTD_INODE_FS_MAGIC): Likewise.
3932 (NILFS_SUPER_MAGIC): Likewise.
3933 (OPENPROM_SUPER_MAGIC): Likewise.
3934 (PIPEFS_MAGIC): Likewise.
3935 (PSTOREFS_MAGIC): Likewise.
3936 (QNX6_SUPER_MAGIC): Likewise.
3937 (RAMFS_MAGIC): Likewise.
3938 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3939 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3940 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3941 (SECURITYFS_MAGIC): Likewise.
3942 (SELINUX_MAGIC): Likewise.
3943 (SMACK_MAGIC): Likewise.
3944 (SOCKFS_MAGIC): Likewise.
3945 (SQUASHFS_MAGIC): Likewise.
3946 (STACK_END_MAGIC): Likewise.
3947 (TMPFS_MAGIC): Likewise.
3948 (USBDEVICE_SUPER_MAGIC): Likewise.
3949 (V9FS_MAGIC): Likewise.
3950 (XENFS_SUPER_MAGIC): Likewise.
3951 (CRAMFS_MAGIC): Fix typo in comment.
3952 (EXT2_SUPER_MAGIC): Update comment.
3953 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3955 2014-02-08 Joseph Myers <joseph@codesourcery.com>
3957 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3958 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3959 * sysdeps/unix/sysv/linux/arm: Move directory from
3960 ports/sysdeps/unix/sysv/linux/arm.
3961 * README: Update listing for arm-*-linux-gnueabi.
3963 * README: Remove mention of am33.
3965 2014-02-07 Roland McGrath <roland@hack.frob.com>
3967 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3968 than the comma operator, to avoid "rhs of comma has no effect"
3970 (__sigfillset, __sigandset, __sigorset): Likewise.
3971 * include/signal.h (__sigemptyset): Likewise.
3972 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3974 2014-02-07 Allan McRae <allan@archlinux.org>
3976 * version.h (RELEASE): Set to "development".
3977 (VERSION): Set to "2.19.90"
3978 * NEWS: Add 2.20 section.
3980 2014-02-06 Carlos O'Donell <carlos@redhat.com>
3983 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3985 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3987 * manual/contrib.texi: Update entry for Carlos O'Donell,
3988 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3990 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
3992 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3994 * sysdeps/unix/sysv/linux/kernel-features.h
3995 [__LINUX_KERNEL_VERSION >= 0x020621]
3996 (__ASSUME_PROC_PID_TASK_COMM): Define.
3998 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4001 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4002 conversion when destination buffer does not have enough space.
4003 * libio/tst-ftell-partial-wide.c: New test case.
4004 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4006 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4007 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4008 Leonard and Allan McRae.
4010 2014-02-04 David S. Miller <davem@davemloft.net>
4012 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4015 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4044 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4046 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4047 * shlib-versions: Likewise.
4049 2014-02-04 Roland McGrath <roland@hack.frob.com>
4050 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4052 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4053 (abilist-pattern): New variable, set to %-le.abilist.
4055 * Makerules (abilist-pattern): New variable.
4056 (vpath): Use $(abilist-pattern) in place of %.abilist.
4057 (check-abi-% pattern rule): Likewise.
4058 (check-abi, update-abi): Likewise.
4060 2014-02-04 Eric Wong <normalperson@yhbt.net>
4062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4064 2014-02-04 Eric Wong <normalperson@yhbt.net>
4066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4068 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4070 * manual/startup.texi: Add next, previous, and top entries for
4071 the `Program Arguments' and `Environment Variables' nodes.
4073 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4075 * manual/macros.texi: Add comments before MTASC-safety macros.
4077 * manual/users.texi: Document MTASC-safety properties.
4079 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4080 pthread_getspecific, pthread_setspecific): Format with
4081 @deftypefun, and add @safety note.
4082 * manual/signal.texi: Move comments that analyze the above
4083 functions to their home place.
4085 2014-02-03 Allan McRae <allan@archlinux.org>
4087 * po/sl.po: Update Slovenian translation from translation project.
4089 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4091 * manual/time.texi (timegm): Add missing blank after @c.
4092 Reported by Joseph Myers <joseph@codesourcery.com>.
4094 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4096 * manual/check-safety.sh: New.
4097 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4099 * manual/terminal.texi: Document MTASC-safety properties.
4101 * manual/filesys.texi: Document MTASC-safety properties.
4103 * manual/errno.texi: Document MTASC-safety properties.
4105 * manual/intro.texi: Document safety identifiers and
4108 * manual/string.texi (wcstok): Fix prototype.
4109 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4111 * manual/time.texi: Document MTASC-safety properties.
4113 * manual/string.texi: Document MTASC-safety properties.
4115 * manual/threads.texi: Document MTASC-safety properties.
4117 * manual/stdio.texi: Document MTASC-safety properties.
4119 * manual/syslog.texi: Document MTASC-safety properties.
4121 * manual/sysinfo.texi: Document MTASC-safety properties.
4123 * manual/startup.texi: Document MTASC-safety properties.
4125 * manual/socket.texi: Document MTASC-safety properties.
4127 * manual/signal.texi: Document MTASC-safety properties.
4129 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4131 * manual/setjmp.texi: Document MTASC-safety properties.
4133 * manual/search.texi: Document MTASC-safety properties.
4135 * manual/resource.texi: Document MTASC-safety properties.
4137 * manual/process.texi: Document MTASC-safety properties.
4139 * manual/platform.texi: Document MTASC-safety properties.
4141 * manual/pipe.texi: Document MTASC-safety properties.
4143 * manual/pattern.texi: Document MTASC-safety properties.
4145 * manual/message.texi: Document MTASC-safety properties.
4148 * manual/memory.texi: Document MTASC-safety properties.
4150 * manual/math.texi: Document MTASC-safety properties.
4152 * manual/locale.texi: Document MTASC-safety properties.
4154 * manual/llio.texi: Document MTASC-safety properties.
4156 * manual/libdl.texi: New.
4158 * manual/lang.texi: Document MTASC-safety properties.
4160 * manual/job.texi: Document MTASC-safety properties.
4162 * manual/getopt.texi: Document MTASC-safety properties.
4164 * manual/ctype.texi: Document MTASC-safety properties.
4166 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4169 * csu/libc-tls.c (static_map): Remove variable.
4170 (__libc_setup_tls): Use main executable's link map for TLS data.
4171 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4172 casing for LM_ID_BASE and GL(dl_nns).
4173 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4174 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4175 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4176 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4177 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4179 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4182 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4184 * manual/debug.texi: Document MTASC-safety properties.
4186 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4189 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4190 of __x86_64__ when disabling x87 inline functions.
4192 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4194 * manual/charset.texi: Document MTASC-safety properties.
4196 * manual/crypt.texi: Document MTASC-safety properties.
4198 * manual/conf.texi: Document MTASC-safety properties.
4200 * manual/arith.texi: Document MTASC-safety properties.
4202 * manual/argp.texi: Document MTASC-safety properties.
4204 * manual/macros.texi: Introduce macros to document multi
4205 thread, asynchronous signal and asynchronous cancellation
4207 * manual/intro.texi: Introduce the properties themselves.
4209 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4211 * sysdeps/sh/sh4/Makefile: New file.
4213 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4215 * math/gen-libm-test.pl ($srcdir): New variable.
4216 ($auto_input): Use it.
4218 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4221 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4222 access beyond array bounds when parsing netgroups file.
4224 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4225 the old buffer before realloc.
4227 2014-01-27 Allan McRae <allan@archlinux.org>
4229 * po/fr.po: Update French translation from translation project.
4231 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4233 * sysdeps/sh/libm-test-ulps: Regenerate.
4235 2014-01-24 David S. Miller <davem@davemloft.net>
4237 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4239 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4241 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4242 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4244 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4247 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4248 string pointers after reallocation.
4250 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4252 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4253 __SH4A__ instead of __SH_FPU_ANY__.
4255 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4257 * sysdeps/sh/fpu_control.h: New file.
4258 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4259 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4260 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4261 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4262 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4263 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4264 * sysdeps/sh/sys/ucontext.h: Remove.
4265 * sysdeps/sh/sys: Remove directory.
4267 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4269 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4270 s390/sys/ucontext.h.
4271 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4272 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4274 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4277 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4279 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4282 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4283 Adjust the vDSO correctly for internal calls.
4284 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4286 2014-01-20 Allan McRae <allan@archlinux.org>
4288 * po/ca.po: Update Catalan translation from translation project.
4290 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4292 * sysdeps/s390/sotruss-lib.c: New file.
4294 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4297 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4298 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4299 local calls issues by not having a PLT stub required for IFUNC calls.
4300 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4302 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4304 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4305 * math/test-fpucw-static.c: Likewise.
4307 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4310 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4312 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4314 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4315 implementation for powerpc.
4317 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4320 * sysdeps/posix/system.c (__libc_system): Do not enable
4321 asynchronous cancellation.
4323 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4326 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4327 handling only for numbers special also in the IEEE case.
4329 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4331 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4333 2014-01-11 Allan McRae <allan@archlinux.org>
4335 * po/bg.po: Update Bulgarian translation from translation project.
4337 * po/de.po: Update German translation from translation project.
4339 2014-01-10 Roland McGrath <roland@hack.frob.com>
4341 * sysdeps/generic/gcc-compat.h: New file.
4343 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4345 * benchtests/asin-inputs: Correct slow inputs.
4346 * benchtests/acos-inputs: Likewise.
4348 2014-01-10 Allan McRae <allan@archlinux.org>
4350 * po:sv.po: Update Swedish translation from translation project.
4352 * po/vi.po: Update Vietnamese translation from translation project.
4354 * po/eo.po: Update Esperanto translation from translation project.
4356 * po/cs.po: Update Czech translation from translation project.
4358 * po/nl.po: Update Dutch translation from translation project.
4360 * po/pl.po: Update Polish translation from translation project.
4362 * po/ru.po: Update Russian translation from translation project.
4364 * po/uk.po: Update Ukrainian translation from translation project.
4366 2014-01-08 Brooks Moses <bmoses@google.com>
4368 * elf/dl-load.c: Fix comment typo.
4370 2014-01-08 Carlos O'Donell <carlos@redhat.com>
4372 * po/header.pot: Rename to...
4373 * po/pot.header: ... this.
4374 * po/Makefile: Use pot.header.
4376 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4377 Maxim Kuvyrkov <maxim@kugelworks.com>
4380 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4381 SRC and DEST against LEN.
4383 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4386 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4388 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4390 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4394 2014-01-08 Joseph Myers <joseph@codesourcery.com>
4397 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4398 for large positive arguments.
4400 2014-01-07 Joseph Myers <joseph@codesourcery.com>
4402 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4404 * math/auto-libm-test-in: Mark various tests with
4405 xfail-rounding:ldbl-128ibm.
4406 * math/auto-libm-test-out: Regenerated.
4409 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4410 Increase overflow threshold.
4412 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
4415 * stdio-common/vfprintf.c: Check for integer overflow.
4417 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4419 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4420 the first argument and return value of __tls_get_addr_internal.
4422 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4424 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4425 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4427 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4429 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4430 * sysdeps/s390/rtld-global-offsets.sym: New file.
4431 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4433 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4434 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4435 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4437 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4438 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4444 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4445 halfs of GPRs for high_gprs contexts.
4446 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4447 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4449 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4451 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4453 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4454 for high GPRs (uc_high_gprs) and for future extensions
4456 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4457 for future extensions (__reserved).
4458 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4460 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4461 SC_HIGHGPRS offset definition.
4462 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4463 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4465 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4467 * Versions.def: Add GLIBC_2.19 for libpthread.
4468 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4469 siglongjmp for libpthread with GLIBC_2.19 symver.
4470 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4471 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4472 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4473 * sysdeps/s390/__longjmp.c: New file.
4474 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4475 * sysdeps/s390/longjmp.c: New file.
4476 * sysdeps/s390/setjmp.S: New file.
4477 * sysdeps/s390/sigjmp.S: New file.
4478 * sysdeps/s390/v1-longjmp.c: New file.
4479 * sysdeps/s390/v1-setjmp.h: New file.
4480 * sysdeps/s390/v1-sigjmp.c: New file.
4481 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4482 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4484 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4485 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4486 versioned symbols for ____longjmp_chk.
4487 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4497 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4498 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4499 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4500 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4501 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4502 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4503 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4504 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4505 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4506 * sysdeps/s390/rtld-__longjmp.c: New file.
4507 * sysdeps/s390/rtld-setjmp.S: New file.
4509 2014-01-06 Joseph Myers <joseph@codesourcery.com>
4512 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4513 Return -__logl (x) for small positive arguments without evaluating
4516 2014-01-06 Mike Frysinger <vapier@gentoo.org>
4518 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4520 (__ptrace_peeksiginfo_args): ... this.
4521 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4522 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4523 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4525 2014-01-06 Allan McRae <allan@archlinux.org>
4527 * inet/netinet/in.h: Fix typo in comment.
4529 2014-01-05 Andreas Jaeger <aj@suse.de>
4531 * sysdeps/i386/fpu/libm-test-ulps: Update.
4533 2014-01-05 Allan McRae <allan@archlinux.org>
4535 * po/libc.pot: Regenerated.
4537 * malloc/memusagestat.c: Fix gettext call formatting.
4539 2014-01-04 Sami Kerola <kerolasa@iki.fi>
4541 * nscd/nscd.c: Improve usage() output.
4543 2014-01-04 Mike Frysinger <vapier@gentoo.org>
4545 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4546 * sysdeps/unix/sysv/linux/configure: Regenerated.
4547 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4548 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4550 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4553 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4554 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4556 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4558 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4559 extra tokens at end of #undef directive.
4560 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4561 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4562 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4564 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4566 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4568 * math/auto-libm-test-in: Mark various tests with
4569 xfail-rounding:ldbl-128ibm.
4570 * math/auto-libm-test-out: Regenerated.
4572 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4575 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4576 numbers with subnormal high part when calculating exponent.
4579 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4583 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4585 (__ieee754_acoshl): Use __log1pl not __log1p.
4587 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
4589 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4590 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4591 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4592 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4593 Convert to GNU style.
4594 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4595 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4596 memalign_check, __malloc_set_state): Likewise.
4597 * malloc/mallocbug.c (main): Likewise.
4598 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4599 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4600 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4601 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4602 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4603 * malloc/malloc.h: Likewise.
4604 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4605 memalignhook, reallochook, mabort): Likewise.
4606 * malloc/mcheck.h: Likewise.
4607 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4608 mmap64, mremap, munmap, dest): Likewise.
4609 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4610 * malloc/morecore.c (__default_morecore): Likewise.
4611 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4612 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4613 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4614 print_and_abort): Likewise.
4615 * malloc/obstack.h: Likewise.
4616 * malloc/set-freeres.c (__libc_freeres): Likewise.
4617 * malloc/tst-mallocstate.c (main): Likewise.
4618 * malloc/tst-mtrace.c (main): Likewise.
4619 * malloc/tst-realloc.c (do_test): Likewise.
4621 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4624 * nscd/netgroupcache.c (do_notfound): New function.
4625 (addgetnetgrentX): Use it.
4628 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4629 NSS_STATUS_NOTFOUND.
4631 2014-01-01 Joseph Myers <joseph@codesourcery.com>
4633 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4636 2014-01-01 Allan McRae <allan@archlinux.org>
4638 * scripts/update-copyrights: Update configure input file suffix.
4640 * NEWS: Update copyright year.
4641 * catgets/gencat.c: Likewise.
4642 * csu/version.c: Likewise.
4643 * debug/catchsegv.sh: Likewise.
4644 * debug/pcprofiledump.c: Likewise.
4645 * debug/xtrace.sh: Likewise.
4646 * elf/ldconfig.c: Likewise.
4647 * elf/ldd.bash.in: Likewise.
4648 * elf/pldd.c: Likewise.
4649 * elf/sotruss.ksh: Likewise.
4650 * elf/sprof.c: Likewise.
4651 * iconv/iconv_prog.c: Likewise.
4652 * iconv/iconvconfig.c: Likewise.
4653 * locale/programs/locale.c: Likewise.
4654 * locale/programs/localedef.c: Likewise.
4655 * login/programs/pt_chown.c: Likewise.
4656 * malloc/memusage.sh: Likewise.
4657 * malloc/memusagestat.c: Likewise.
4658 * malloc/mtrace.pl: Likewise.
4659 * manual/libc.texinfo: Likewise.
4660 * nscd/nscd.c: Likewise.
4661 * nss/getent.c: Likewise.
4662 * nss/makedb.c: Likewise.
4663 * posix/getconf.c: Likewise.
4664 * scripts/test-installation.pl: Likewise.
4666 * All files with FSF copyright notices: Update copyright dates
4667 using scripts/update-copyrights.
4668 * intl/plural.c: Regenerated.
4669 * locale/programs/charmap-kw.h: Likewise.
4670 * locale/programs/locfile-kw.h: Likewise.
4672 2013-12-31 Mike Frysinger <vapier@gentoo.org>
4674 * sysdeps/unix/sysv/linux/configure: Regenerated.
4675 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4676 the linux/fanotify.h header.
4677 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4678 HAVE_LINUX_FANOTIFY_H is defined.
4680 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4682 * benchtests/cos-inputs: New inputs.
4683 * benchtests/sin-inputs: Likewise.
4685 * benchtests/atan-inputs: New inputs. Fix name of multiple
4686 precision fallback inputs.
4688 * benchtests/atanh-inputs: New inputs.
4689 * benchtests/tanh-inputs: Likewise.
4691 * benchtests/acosh-inputs: New inputs.
4692 * benchtests/asinh-inputs: Likewise.
4694 * benchtests/cosh-inputs: New inputs.
4695 * benchtests/sinh-inputs: Likewise.
4697 * benchtests/acos-inputs: Add more inputs.
4698 * benchtests/asin-inputs: Likewise.
4700 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
4703 * manual/arith.texi: Fix spelling.
4704 * manual/charset.texi: Likewise.
4705 * manual/errno.texi: Likewise.
4706 * manual/filesys.texi: Likewise.
4707 * manual/lang.texi: Likewise.
4708 * manual/llio.texi: Likewise.
4709 * manual/locale.texi: Likewise.
4710 * manual/message.texi: Likewise.
4711 * manual/resource.texi: Likewise.
4712 * manual/search.texi: Likewise.
4713 * manual/setjmp.texi: Likewise.
4714 * manual/stdio.texi: Likewise.
4715 * manual/string.texi: Likewise.
4716 * manual/sysinfo.texi: Likewise.
4717 * manual/time.texi: Likewise.
4719 2013-12-27 Carlos O'Donell <carlos@redhat.com>
4721 * po/sl.po: New file.
4723 2013-12-27 Mike Frysinger <vapier@gentoo.org>
4725 * .gitignore: Add core/.gdbinit/.gdb_history.
4727 2013-12-27 Allan McRae <allan@archlinux.org>
4730 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4731 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4733 2013-12-24 Brooks Moses <bmoses@google.com>
4735 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4736 all compilers that claim C++98 compliance, not just GCC.
4737 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4740 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4742 * NEWS: Restore accidentally deleted bug-fix entries.
4744 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4745 Ondřej Bílka <neleai@seznam.cz>
4748 * malloc/malloc.c (_int_free): Perform sanity check only if we
4751 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
4754 * manual/stdio.texi (String Input Conversions): Clarify that character
4755 classes are not supported.
4757 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4761 2013-12-22 Joseph Myers <joseph@codesourcery.com>
4764 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4765 Calculate results for small negative arguments directly rather
4766 than using reflection formula with special underflow handling.
4768 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4769 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4770 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4771 (fchflags): Likewise.
4773 (setlogin): Likewise.
4774 (sigaltstack): Likewise.
4777 (sigsetmask): Likewise.
4779 (waitpid): Likewise.
4780 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4781 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4783 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4784 * sysdeps/unix/bsd/Makefile: ... here.
4785 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4786 * sysdeps/unix/bsd/Versions: ... here.
4787 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4788 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4789 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4790 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4791 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4792 * sysdeps/unix/bsd/sigblock.c: ... here.
4793 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4794 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4795 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4796 * sysdeps/unix/bsd/sigvec.c: ... here.
4797 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4798 * sysdeps/unix/bsd/tcdrain.c: ... here.
4799 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4800 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4801 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4802 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4803 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4804 * sysdeps/unix/bsd/wait.c: ... here.
4805 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4806 * sysdeps/unix/bsd/wait3.c: ... here.
4807 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4808 * sysdeps/unix/bsd/waitpid.c: ... here.
4810 2013-12-21 Joseph Myers <joseph@codesourcery.com>
4813 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4814 round-to-nearest for [!USE_AS_EXPM1L].
4815 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4816 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4817 more tests of exp and exp10. Expect some exp10 tests to miss
4818 exceptions or fail in directed rounding modes.
4819 * math/auto-libm-test-out: Regenerated.
4820 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4821 (exp10_test_tonearest): New function.
4822 (exp10_towardzero_test_data): New array.
4823 (exp10_test_towardzero): New function.
4824 (exp10_downward_test_data): New array.
4825 (exp10_test_downward): New function.
4826 (exp10_upward_test_data): New array.
4827 (exp10_test_upward): New function.
4828 (main): Call the new functions.
4829 * sysdeps/i386/fpu/libm-test-ulps: Update.
4830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4832 2013-12-20 Joseph Myers <joseph@codesourcery.com>
4834 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4835 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4836 * math/auto-libm-test-out: Regenerated.
4837 * math/libm-test.inc (acosh_test_data): Add more tests.
4838 (atanh_test_data): Likewise.
4839 (ceil_test_data): Likewise.
4840 (copysign_test_data): Likewise.
4841 * sysdeps/i386/fpu/libm-test-ulps: Update.
4842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4844 * timezone/checktab.awk: Update from tzcode 2013i.
4845 * timezone/private.h: Likewise.
4846 * timezone/scheck.c: Likewise.
4847 * timezone/tzfile.h: Likewise.
4848 * timezone/tzselect.ksh: Likewise.
4849 * timezone/zdump.c: Likewise.
4850 * timezone/zic.c: Likewise.
4852 * math/auto-libm-test-in: Add tests of cpow.
4853 * math/auto-libm-test-out: Regenerated.
4854 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4855 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4857 (func_calc_desc): Add mpc_cc_c union field.
4858 (test_functions): Add cpow.
4859 (special_fill_2pi): New function.
4860 (special_real_inputs): Add 2pi.
4861 (calc_generic_results): Handle mpc_cc_c.
4862 * sysdeps/i386/fpu/libm-test-ulps: Update.
4863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4865 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4866 csqrt, ctan and ctanh.
4867 * math/auto-libm-test-out: Regenerated.
4868 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4869 (TEST_COND_x86): Likewise.
4870 (ccos_test_data): Use AUTO_TESTS_c_c.
4871 (ccosh_test_data): Likewise.
4872 (cexp_test_data): Likewise.
4873 (clog_test_data): Likewise.
4874 (csqrt_test_data): Likewise.
4875 (ctan_test_data): Likewise.
4876 (ctan_tonearest_test_data): Likewise.
4877 (ctan_towardzero_test_data): Likewise.
4878 (ctan_downward_test_data): Likewise.
4879 (ctan_upward_test_data): Likewise.
4880 (ctanh_test_data): Likewise.
4881 (ctanh_tonearest_test_data): Likewise.
4882 (ctanh_towardzero_test_data): Likewise.
4883 (ctanh_downward_test_data): Likewise.
4884 (ctanh_upward_test_data): Likewise.
4885 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4887 (func_calc_desc): Add mpc_c_c union field.
4888 (FUNC_mpc_c_c): New macro.
4889 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4890 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4892 (special_fill_min_subnorm_p120): New function.
4893 (special_real_inputs): Add min_subnorm_p120.
4894 (calc_generic_results): Handle mpc_c_c.
4895 * sysdeps/i386/fpu/libm-test-ulps: Update.
4896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4898 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4900 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4901 do_sin_slow): New functions.
4902 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4903 cslow2, csloww1, csloww2): Use the new functions.
4905 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4906 Use M to change sign of result instead of X. Assume X is
4908 (csloww1): Likewise.
4912 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4917 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4919 (sloww1): Don't adjust sign of DX.
4920 (csloww1): Likewise.
4921 (sloww2): Use X directly and don't adjust sign of DX.
4922 (csloww2): Likewise.
4924 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4926 * math/auto-libm-test-in: Add tests of cabs and carg.
4927 * math/auto-libm-test-out: Regenerated.
4928 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4929 (carg_test_data): Likewise.
4930 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4932 (func_calc_desc): Add mpc_c_f union field.
4933 (test_functions): Add cabs and carg.
4934 (calc_generic_results): Handle mpc_c_f.
4936 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4937 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4938 as a macro and a compat symbol.
4939 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4940 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4941 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4942 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4943 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4944 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4946 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4948 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4950 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4952 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4954 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4956 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4957 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4960 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4964 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4966 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4967 trailing whitespace removed.
4968 * scripts/config.guess: Update to version 2013-11-29.
4969 * scripts/config.sub: Update to version 2013-10-01.
4971 * math/auto-libm-test-in: Add tests of sincos.
4972 * math/auto-libm-test-out: Regenerated.
4973 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4974 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4976 (func_calc_desc): Add mpfr_f_11 union field.
4977 (test_functions): Add sincos.
4978 (calc_generic_results): Handle mpfr_f_11.
4979 * sysdeps/i386/fpu/libm-test-ulps: Update.
4980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4982 2013-12-19 Andreas Schwab <schwab@suse.de>
4984 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4986 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4987 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4988 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4990 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4992 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4993 * sysdeps/i386/fpu/libm-test-ulps: Update.
4994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4997 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4998 round-to-nearest mode when using frndint.
4999 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5000 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5001 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5003 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5005 * math/auto-libm-test-out: Regenerated.
5006 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5007 (TEST_COND_x86): Likewise.
5008 (expm1_tonearest_test_data): New array.
5009 (expm1_test_tonearest): New function.
5010 (expm1_towardzero_test_data): New array.
5011 (expm1_test_towardzero): New function.
5012 (expm1_downward_test_data): New array.
5013 (expm1_test_downward): New function.
5014 (expm1_upward_test_data): New array.
5015 (expm1_test_upward): New function.
5016 (main): Run the new test functions.
5017 * sysdeps/i386/fpu/libm-test-ulps: Update.
5018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5020 * include/features.h: Update comment documenting feature test
5021 macros. Mention _DEFAULT_SOURCE in comment.
5022 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5023 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5024 _BSD_SOURCE and _SVID_SOURCE.
5025 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5026 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5027 !_SVID_SOURCE]: Likewise.
5028 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5029 (__USE_POSIX_IMPLICITLY): Define.
5030 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5031 (_POSIX_SOURCE): Undefine and redefine.
5032 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5033 (_POSIX_C_SOURCE): Likewise.
5034 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5035 (Feature Test Macros): Update documentation of default features.
5037 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5039 * benchtests/Makefile: Add bench-strtok.
5040 * benchtests/bench-strtok.c: New file: strtok benchtest.
5042 2013-12-19 Allan McRae <allan@archlinux.org>
5044 * manual/install.texi: Suppress menu for plain text output.
5045 * INSTALL: Regenerated.
5047 2013-12-18 Brooks Moses <bmoses@google.com>
5050 * misc/getauxval.c: Include errno.h.
5051 (__getauxval): Set errno to ENOENT if the requested type is not
5053 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5054 don't declare with __attribute_const__.
5055 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5056 * manual/startup.texi: Document that getauxval sets errno.
5058 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5060 * math/auto-libm-test-in: Add tests of jn and yn.
5061 * math/auto-libm-test-out: Regenerated.
5062 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5063 (yn_test_data): Likewise.
5064 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5066 (func_calc_desc): Add mpfr_if_f union field.
5067 (FUNC_mpfr_if_f): New macro.
5068 (test_functions): Add jn and yn.
5069 (calc_generic_results): Assert type of second input for
5070 mpfr_ff_f. Handle mpfr_if_f.
5071 (output_for_one_input_case): Disable all checking for arguments
5072 fitting floating-point types in case of an integer argument.
5073 * sysdeps/i386/fpu/libm-test-ulps: Update.
5074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5077 Don't expect fegetround reference in libm.so.
5079 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5081 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5082 $(config-cflags-nofma).
5084 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5086 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5087 * math/auto-libm-test-out: Regenerated.
5090 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5091 to determine exponent and adjust argument to have exponent of -1.
5092 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5094 * math/auto-libm-test-out: Regenerated.
5095 * sysdeps/i386/fpu/libm-test-ulps: Update.
5096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5098 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5100 * manual/probes.texi: Remove cases when per-thread arenas are
5103 2013-12-18 Andreas Schwab <schwab@suse.de>
5105 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5106 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5107 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5108 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5109 * sysdeps/i386/i686/multiarch/Makefile: Update.
5110 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5112 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5114 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5115 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5117 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5120 Support TZ transition times < 00:00:00.
5121 This is needed for version-3 tz-format files; it supports time
5122 stamps past 2037 for America/Godthab (the only entry in the tz
5123 database for which this change is relevant).
5124 * manual/time.texi (TZ Variable): Document transition times
5125 from -167:59:59 through -00:00:01.
5126 * time/tzset.c (tz_rule): Time of day is now signed.
5127 (__tzset_parse_tz): Parse negative time of day.
5129 Document TZ transition times >= 25:00:00.
5130 * manual/time.texi (TZ Variable): Document transition times from
5131 25:00:00 through 167:59:59. These are already supported, and this
5132 support will help with version-3 tz-format files.
5134 * manual/time.texi (TZ Variable): Modernize North America example
5135 to reflect current (i.e., 2007-and-later) daylight saving rules.
5137 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5139 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5141 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5142 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5144 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5145 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5146 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5147 * sysdeps/unix/bsd/clock.c: Likewise.
5148 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5149 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5150 * sysdeps/unix/bsd/init-posix.c: Likewise.
5151 * sysdeps/unix/bsd/poll.c: Likewise.
5152 * sysdeps/unix/bsd/ptsname.c: Likewise.
5153 * sysdeps/unix/bsd/seekdir.c: Likewise.
5154 * sysdeps/unix/bsd/setegid.c: Likewise.
5155 * sysdeps/unix/bsd/seteuid.c: Likewise.
5156 * sysdeps/unix/bsd/setgid.c: Likewise.
5157 * sysdeps/unix/bsd/setrgid.c: Likewise.
5158 * sysdeps/unix/bsd/setruid.c: Likewise.
5159 * sysdeps/unix/bsd/setsid.c: Likewise.
5160 * sysdeps/unix/bsd/setuid.c: Likewise.
5161 * sysdeps/unix/bsd/sigaction.c: Likewise.
5162 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5163 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5164 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5165 * sysdeps/unix/bsd/telldir.c: Likewise.
5166 * sysdeps/unix/bsd/times.c: Likewise.
5167 * sysdeps/unix/bsd/usleep.c: Likewise.
5169 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5170 ($(objpfx)libbsd-compat.a): Remove rule.
5172 * include/features.h (__FAVOR_BSD): Do not define.
5173 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5174 features conflicting with POSIX.
5175 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5176 (_BSD_SOURCE): Remove description of not being a subset of other
5177 feature test macros.
5178 * manual/job.texi (getpgrp): Do not document BSD version.
5179 (getpgid): Do not document by reference to BSD getpgrp.
5180 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5181 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5182 * signal/signal.h [__FAVOR_BSD]: Likewise.
5183 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5184 instead of making contents conditional on [__FAVOR_BSD].
5185 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5187 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5191 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5194 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5195 values below 2**-450, not 2**-500.
5196 * math/auto-libm-test-in: Don't allow spurious underflow from
5198 * math/auto-libm-test-out: Regenerated.
5202 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5203 values of ha and hb and sort them after adjusting subnormal
5205 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5207 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5208 values of ea and eb and sort them after adjusting subnormal
5210 * math/auto-libm-test-in: Do not expect some hypot tests of
5211 subnormals to fail. Add more hypot tests.
5212 * math/auto-libm-test-out: Regenerated.
5214 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5217 * sysdeps/sh/s_fma.c: New file.
5218 * sysdeps/sh/s_fmaf.c: New file.
5219 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5221 * sysdeps/sh/Implies: Add sh/soft-fp.
5223 2013-12-16 Roland McGrath <roland@hack.frob.com>
5225 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5226 level of indirection to members `objname', `errstring', `malloced'.
5227 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5228 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5229 it as the __longjmp argument (just pass 1 instead).
5230 (_dl_catch_error): Initialize C with argument pointers and address of
5231 volatile local ERRCODE rather than copying values out of C at return.
5233 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5235 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5236 * math/auto-libm-test-out: Regenerated.
5237 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5238 (hypot_test_data): Likewise.
5239 (pow_test_data): Likewise.
5240 (pow_tonearest_test_data): Likewise.
5241 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5243 (func_calc_desc): Add mpfr_ff_f union field.
5244 (FUNC_mpfr_ff_f): New macro.
5245 (test_functions): Add atan2, hypot and pow.
5246 (special_fill_min): New function.
5247 (special_fill_minus_min): Likewise.
5248 (special_fill_min_subnorm): Likewise.
5249 (special_fill_minus_min_subnorm): Likewise.
5250 (special_real_inputs): Add min, -min, min_subnorm and
5252 (calc_generic_results): Handle mpfr_ff_f.
5253 * sysdeps/i386/fpu/libm-test-ulps: Update.
5254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5256 2013-12-16 Will Newton <will.newton@linaro.org>
5258 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5259 (Aligned Memory Blocks): Add documentation for aligned_alloc
5260 and suggest it as an alternative to posix_memalign.
5261 (Hooks for Malloc): Document __memalign_hook is also called
5262 for aligned_alloc. (Summary of Malloc): Add summary for
5263 aligned alloc. Document __memalign_hook is also called
5266 2013-12-16 Will Newton <will.newton@linaro.org>
5268 * manual/memory.texi (Malloc Examples): Clarify default
5269 alignment documentation. Suggest posix_memalign rather
5270 than memalign or valloc.
5271 (Aligned Memory Blocks): Remove suggestion to use memalign
5272 or valloc. Remove obsolete comment about BSD.
5273 Document memalign errno values and mark the function obsolete.
5274 Document posix_memalign returned error codes. Mark valloc
5275 as obsolete. (Hooks for Malloc): __memalign_hook is also
5276 called for posix_memalign and valloc.
5277 (Summary of Malloc): Add posix_memalign to function summary.
5278 __memalign_hook is also called for posix_memalign and valloc.
5280 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5282 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5286 (sloww): Use mynumber union. Expand ternary operator into
5288 (cslow): use mynumber union.
5290 2013-12-16 Allan McRae <allan@archlinux.org>
5292 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5293 * configure: Regenerated.
5295 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5298 * configure.ac: Added --enable-maintainer-mode. Check for
5299 autoconf when enabled.
5300 * configure: Regenerated.
5302 * nscd/nscd.service: New file.
5303 * nscd/nscd.tmpfiles: New file.
5305 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5308 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5309 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5310 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5311 (strstr): Add __strstr_sse2_unaligned ifunc.
5312 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5313 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5314 (strcasestr): Remove __strcasestr_sse42 ifunc.
5315 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5319 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5321 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5322 * sysdeps/sh/bits/fenv.h: ... here.
5323 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5325 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5327 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5329 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5332 hypotf multiarch implementations.
5333 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5334 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5335 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5336 multiarch hypot for PPC64.
5337 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5338 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5339 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5340 multiarch hypotf for PPC64.
5342 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5345 modff multiarch implementations.
5346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5349 multiarch modf for PPC64.
5350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5353 multiarch modff for PPC64.
5355 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5358 and logl multiarch implementations.
5359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5362 multiarch logb for PPC64.
5363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5366 multiarch logb for PPC64.
5367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5370 multiarch logb for PPC64.
5372 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5375 isinff multiarch implementation.
5376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5380 multiarch isinf for PPC64.
5381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5384 multiarch isinff for PPC64.
5386 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5389 finitef multiarch implementation.
5390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5394 multiarch finite for PPC64.
5395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5398 multiarch finitef for PPC64.
5400 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5402 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5403 lrint multiarch implementation.
5404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5408 multiarch llrint for PPC64.
5409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5410 multiarch lrint for PPC64.
5412 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5415 copysignf multiarch implementation.
5416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5421 multiarch copysign for PPC64.
5422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5423 multiarch copysignf for PPC64.
5425 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5428 multiarch implementation.
5429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5437 multiarch llround for PPC64.
5438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5439 multiarch trunc for PPC64.
5440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5441 multiarch truncf for PPC64.
5443 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5445 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5446 multiarch implementation.
5447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5455 multiarch llround for PPC64.
5456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5457 multiarch round for PPC64.
5458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5459 multiarch roundf for PPC64.
5461 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5463 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5464 multiarch implementation.
5465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5473 multiarch llround for PPC64.
5474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5475 multiarch floor for PPC64.
5476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5477 multiarch floorf for PPC64.
5479 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5482 multiarch implementation.
5483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5491 multiarch llround for PPC64.
5492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5493 multiarch ceil for PPC64.
5494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5495 multiarch ceilf for PPC64.
5497 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5499 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5500 multiarch implementation.
5501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5508 multiarch llround for PPC64.
5509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5510 multiarch lround for PPC64.
5512 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5515 multiarch implementation.
5516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5523 multiarch isnan for PPC64.
5524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5525 multiarch isnanf for PPC64.
5527 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5529 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5530 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5531 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5532 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5533 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5536 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5538 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5539 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5540 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5541 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5543 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5546 multiarch implementations.
5547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5548 (__libc_ifunc_impl_list): Likewise.
5549 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5550 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5551 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5552 multiarch stpcpy for PPC64.
5554 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5557 multiarch implementations.
5558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5559 (__libc_ifunc_impl_list): Likewise.
5560 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5561 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5562 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5563 multiarch strcpy for PPC64.
5565 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5567 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5568 redefine function name.
5569 (_wordcopy_fwd_dest_aligned): Likewise.
5570 (_wordcopy_bwd_aligned): Likewise.
5571 (_wordcopy_bwd_dest_aligned): Likewise.
5572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5573 multiarch implementations.
5574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5575 (__libc_ifunc_impl_list): Likewise.
5576 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5577 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5578 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5579 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5580 multiarch wcscpy for PPC64.
5582 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5585 multiarch implementations.
5586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5587 (__libc_ifunc_impl_list): Likewise.
5588 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5589 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5590 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5591 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5592 multiarch wcscpy for PPC64.
5594 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5597 multiarch implementations.
5598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5599 (__libc_ifunc_impl_list): Likewise.
5600 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5601 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5602 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5603 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5604 multiarch wcsrchr for PPC64.
5606 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5609 multiarch implementations.
5610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5611 (__libc_ifunc_impl_list): Likewise.
5612 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5613 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5614 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5615 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5616 multiarch wcschr for PPC64.
5618 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5621 multiarch implementations.
5622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5623 (__libc_ifunc_impl_list): Likewise.
5624 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5625 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5626 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5627 multiarch strchrnul for PPC64.
5629 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5634 (__libc_ifunc_impl_list): Likewise.
5635 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5636 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5637 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5638 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5641 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5646 (__libc_ifunc_impl_list): Likewise.
5647 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5648 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5649 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5650 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5653 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5656 multiarch implementations.
5657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5658 (__libc_ifunc_impl_list): Likewise.
5659 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5660 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5661 strncasecmp for PPC64.
5662 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5663 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5664 multiarch strncasecmp_l for PPC64.
5666 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5669 multiarch implementations.
5670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5671 (__libc_ifunc_impl_list): Likewise.
5672 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5673 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5674 multiarch strcasecmp for PPC64.
5675 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5677 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5678 multiarch strcasecmp_l for PPC64.
5680 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5685 (__libc_ifunc_impl_list): Likewise.
5686 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5687 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5688 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5691 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5696 (__libc_ifunc_impl_list): Likewise.
5697 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5698 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5699 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5702 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5707 (__libc_ifunc_impl_list): Likewise.
5708 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5709 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5710 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5711 rawmemrchr for PPC64.
5713 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5718 (__libc_ifunc_impl_list): Likewise.
5719 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5720 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5721 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5724 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5726 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5728 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5729 (__libc_ifunc_impl_list): Likewise.
5730 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5731 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5732 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5735 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5737 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5740 (__libc_ifunc_impl_list): Likewise.
5741 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5742 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5743 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5746 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5748 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5749 avoid cretion of __bzero symbol.
5750 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5752 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5754 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5757 multiarch implementations.
5758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5759 (__libc_ifunc_impl_list): Likewise.
5760 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5761 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5762 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5763 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5765 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5766 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5767 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5768 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5769 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5771 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5773 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5775 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5779 (__libc_ifunc_impl_list): Likewise.
5780 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5781 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5782 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5783 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5786 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5788 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5789 multiarch for POWER/PPC64.
5790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5791 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5792 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5793 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5794 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5795 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5796 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5797 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5798 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5801 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5803 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5804 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5805 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5806 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5807 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5808 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5809 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5810 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5811 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5812 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5813 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5814 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5815 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5816 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5817 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5826 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5828 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5830 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5832 * benchtests/Makefile (bench): Add exp2 and log2.
5833 (LDLIBS-bench-exp2): Add -lm.
5834 (LDLIBS-bench-log2): Likewise.
5835 * benchtests/exp2-inputs: New inputs file.
5836 * benchtests/log2-inputs: New inputs file.
5837 * benchtests/log-inputs: Add new inputs.
5838 * benchtests/tan-inputs: Likewise.
5840 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5842 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5844 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5845 csloww1, csloww2): ... from here.
5847 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5848 instead of structures.
5849 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5850 (POLYNOMIAL): Likewise.
5851 (TAYLOR_SLOW): Likewise.
5859 (bsloww1): Likewise.
5860 (bsloww2): Likewise.
5863 (csloww1): Likewise.
5864 (csloww2): Likewise.
5866 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5868 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5869 (__malloc_assert, __libc_realloc, __libc_calloc,
5870 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5872 * malloc/hooks.c (realloc_check): Likewise.
5874 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5876 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5877 * malloc/arena.c: Remove PER_THREAD conditional.
5878 [!PER_THREAD]: Remove code.
5879 (ptmalloc_unlock_all2): Likewise.
5880 (ptmalloc_init): Likewise.
5881 (_int_new_arena): Likewise.
5882 (arena_get2): Likewise.
5883 * malloc/hooks.c (__malloc_get_state): Likewise.
5884 (__malloc_set_state): Likewise.
5885 * malloc/malloc.c: Likewise.
5886 (struct malloc_state): Likewise.
5887 (struct malloc_par): Likewise.
5888 (__libc_realloc): Likewise.
5889 (__libc_mallopt): Likewise.
5891 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5893 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5895 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5897 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5898 macro to a function. Check for zero perturb_byte.
5899 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5901 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5903 * malloc/malloc.c: (force_reg): Remove.
5904 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5905 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5906 force_reg by atomic_forced_read.
5907 * malloc/arena.c (ptmalloc_init): Likewise.
5908 * malloc/hooks.c (top_check): Likewise.
5910 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5914 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5918 2013-12-08 Joseph Myers <joseph@codesourcery.com>
5920 * math/auto-libm-test-in: Add tests of lgamma.
5921 * math/auto-libm-test-out: Regenerated.
5922 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5923 (M_LOG_2_SQRT_PIl): Likewise.
5924 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5925 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5927 (func_calc_desc): Add mpfr_f_f1 union field.
5936 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5937 (test_functions): Add lgamma.
5938 (calc_generic_results): Handle mpfr_f_f1.
5939 * sysdeps/i386/fpu/libm-test-ulps: Update.
5940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5942 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5944 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5945 __mpn_add_n for PowerPC64/POWER7.
5946 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5947 __mpn_sub_n for PowerPC64/POWER7.
5949 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5951 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5952 __mpn_addmul_1 for PowerPC64.
5953 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5954 __mpn_submul_1 for PowerPC64.
5955 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5957 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5960 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5963 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5965 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5967 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5969 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5971 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5972 add multiarch folders.
5973 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5974 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5975 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5976 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5977 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5978 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5979 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5980 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5981 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5982 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5983 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5991 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5994 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6000 multiarch __ieee754_hypot for PowerPC32.
6001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6006 multiarch __ieee754_hypotf for PowerPC32.
6008 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6010 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6011 long_double_symbol only if __logbl is defined.
6012 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6013 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6014 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6015 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6016 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6017 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6018 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6019 path for implementation.
6020 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6021 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6023 logb, and logbl multiarch implementations for PowerPC32.
6024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6029 multiarch logb for PowerPC32.
6030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6035 multiarch logbf for PowerPC32.
6036 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6040 multiarch logbl implementation for PowerPC32.
6042 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6045 and modff multiarch implementations.
6046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6051 multiarch modf for PowerPC32.
6052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6057 multiarch modff for PowerPC32.
6059 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6062 and lrintf multiarch implementations.
6063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6068 multiarch lrint for PowerPC32.
6069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6070 file: multiarch lrintf for PowerPC32.
6072 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6075 and lroundf multiarch implementations.
6076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6083 multiarch lround for PowerPC32.
6084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6085 file: multiarch lroundf for PowerPC32.
6087 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6090 copysign and copysignf multiarch implementations.
6091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6096 file: multiarch copysign for PowerPC32.
6097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6098 file: multiarch copysignf for PowerPC32.
6100 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6103 and truncf multiarch implementations.
6104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6109 multiarch trunc for PowerPC32.
6110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6115 multiarch truncf for PowerPC32.
6117 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6120 and roundf multiarch implementations.
6121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6126 multiarch round for PowerPC32.
6127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6132 multiarch roundf for PowerPC32.
6134 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6137 and floorf multiarch implementations.
6138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6143 multiarch floor for PowerPC32.
6144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6149 multiarch floorf for PowerPC32.
6151 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6154 and ceilf multiarch implementations.
6155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6160 multiarch ceil for PowerPC32.
6161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6166 multiarch ceilf for PowerPC32.
6168 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6170 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6172 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6175 and finitef multiarch implementations.
6176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6181 multiarch finite for PowerPC32.
6182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6185 file: multiarch finitef for PowerPC32.
6187 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6190 and isinff multiarch implementations.
6191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6196 multiarch isinf for PowerPC32.
6197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6200 multiarch isinff for PowerPC32.
6202 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6204 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6205 alias when __isnan is defined.
6206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6207 and isnanf multiarch implementations.
6208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6217 multiarch isnan for PowerPC32.
6218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6223 multiarch isnanf for PowerPC32.
6225 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6228 and sqrtf multiarch implementations.
6229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6234 multiarch sqrt for PowerPC32.
6235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6240 multiarch sqrtf for PowerPC32.
6242 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6245 and llroundf multiarch implementations.
6246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6253 file: multiarch llround for PowerPC32.
6254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6255 file: multiarch llroundf for PowerPC32.
6257 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6260 multiarch PowerPC32 fpu implementations.
6261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6266 multiarch llrint for PowerPC32.
6267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6274 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6278 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6280 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6282 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6284 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6286 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6287 multiarch wordcopy for PPC32.
6288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6291 (__libc_ifunc_impl_list): Likewise.
6292 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6293 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6294 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6295 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6296 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6297 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6299 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6301 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6309 multiarch wcscpy for PPC32.
6310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6313 (__libc_ifunc_impl_list): Likewise.
6314 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6315 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6316 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6317 sysdeps/powerpc/power6/wcscpy.c.
6319 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6321 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6322 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6324 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6328 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6329 multiarch wcsrchr for PPC32.
6330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6333 (__libc_ifunc_impl_list): Likewise.
6334 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6335 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6336 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6337 sysdeps/powerpc/power6/wcsrchr.c.
6339 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6341 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6343 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6345 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6346 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6347 multiarch wcschr for PPc32.
6348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6351 (__libc_ifunc_impl_list): Likewise.
6352 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6353 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6354 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6355 sysdeps/powerpc/power6/wcschr.c.
6357 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6359 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6360 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6362 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6363 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6364 file: multiarch strchr for PPC32.
6365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6368 (__libc_ifunc_impl_list): Likewise.
6370 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6372 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6374 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6376 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6378 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6379 multiarch strchrnul for PPC32.
6380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6383 (__libc_ifunc_impl_list): Likewise.
6385 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6387 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6389 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6390 multiarch strncasecmp for PPC32.
6391 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6393 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6394 multiarch strncasecmp_l for PPC32.
6395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6396 strncasecmp multiarch objects.
6397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6398 (__libc_ifunc_impl_list): Likewise.
6400 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6402 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6404 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6405 multiarch strncasecmp for PPC32.
6406 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6408 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6409 multiarch strcasecmp_l for PPC32.
6410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6413 (__libc_ifunc_impl_list): Likewise.
6415 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6417 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6419 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6421 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6422 multiarch strncmp for PPC32.
6423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6426 (__libc_ifunc_impl_list): Likewise.
6428 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6430 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6431 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6433 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6434 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6438 (__libc_ifunc_impl_list): Likewise.
6440 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6442 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6444 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6446 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6450 (__libc_ifunc_impl_list): Likewise.
6452 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6454 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6456 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6458 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6459 multiarch rawmemchr for PPC32.
6460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6463 (__libc_ifunc_impl_list): Likewise.
6465 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6467 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6469 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6471 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6472 file: memrchr multiarch for PPC32.
6473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6476 (__libc_ifunc_impl_list): Likewise.
6478 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6481 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6483 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6484 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6485 multiarch memchr for PPC32.
6486 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6488 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6489 (__libc_ifunc_impl_list): Likewise.
6491 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6493 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6494 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6496 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6498 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6499 file: multiarch mempcpy for PPC32.
6500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6503 (__libc_ifunc_impl_list): Likewise.
6505 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6507 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6508 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6509 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6510 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6511 multiarch bzero for PPC32.
6512 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6514 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6516 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6517 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6518 file: multiarch memset for PPC32.
6519 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6520 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6521 memset multiarch objects.
6522 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6523 (__libc_ifunc_impl_list): Likewise.
6525 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6527 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6529 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6530 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6532 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6535 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6536 (__libc_ifunc_impl_list): Likewise.
6538 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6540 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6541 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6542 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6544 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6546 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6548 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6549 multiarch memcpy for PPC32.
6550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6553 (__libc_ifunc_impl_list): Likewise.
6555 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6557 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6558 support multiarch for POWER/PPC32.
6559 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6561 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6563 Implies file to make multiarch folder appers before the fpu and
6564 default folder for power4 configuration.
6566 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6568 * scripts/bench.pl: Append volatile keyword to type.
6570 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6572 * sysdeps/sh/sotruss-lib.c: New file.
6573 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6575 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6579 2013-12-05 Joseph Myers <joseph@codesourcery.com>
6582 * math/w_tgamma.c: Include <errno.h>.
6583 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6584 * math/w_tgammaf.c: Include <errno.h>.
6585 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6586 * math/w_tgammal.c: Include <errno.h>.
6587 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6588 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6589 underflow. Add more tgamma tests.
6590 * math/auto-libm-test-out: Regenerated.
6591 * sysdeps/i386/fpu/libm-test-ulps: Update.
6592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6594 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6595 sin, sinh, tan, tanh, tgamma, y0 and y1.
6596 * math/auto-libm-test-out: Regenerated.
6597 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6598 (TEST_COND_x86): Likewise.
6599 (M_E2l): Remove macro.
6601 (M_2_SQRT_PIl): Likewise.
6602 (M_SQRT_PIl): Likewise.
6603 (M_1_DIV_El): Likewise.
6604 (log_test_data): Use AUTO_TESTS_f_f.
6605 (log10_test_data): Likewise.
6606 (log1p_test_data): Likewise.
6607 (log2_test_data): Likewise.
6608 (sin_test_data): Likewise.
6609 (sin_tonearest_test_data): Likewise.
6610 (sin_towardzero_test_data): Likewise.
6611 (sin_downward_test_data): Likewise.
6612 (sin_upward_test_data): Likewise.
6613 (sinh_test_data): Likewise.
6614 (sinh_tonearest_test_data): Likewise.
6615 (sinh_towardzero_test_data): Likewise.
6616 (sinh_downward_test_data): Likewise.
6617 (sinh_upward_test_data): Likewise.
6618 (tan_test_data): Likewise.
6619 (tan_tonearest_test_data): Likewise.
6620 (tan_towardzero_test_data): Likewise.
6621 (tan_downward_test_data): Likewise.
6622 (tan_upward_test_data): Likewise.
6623 (tanh_test_data): Likewise.
6624 (tgamma_test_data): Likewise.
6625 (y0_test_data): Likewise.
6626 (y1_test_data): Likewise.
6627 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6628 (special_real_inputs): Add pi/4.
6629 * sysdeps/i386/fpu/libm-test-ulps: Update.
6630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6632 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6634 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6635 "longjmp_target" static probes.
6636 (__longjmp): Rename to __longjmp_symbol.
6637 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6638 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6639 on which longjmp to generate.
6640 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6641 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6643 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6644 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6645 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6646 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6647 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6648 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6650 __longjmp_symbol based on which __longjmp to generate.
6651 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6653 (setjmp): Rename to setjmp_symbol.
6654 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6655 (_setjmp): Rename to _setjmp_symbol.
6656 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6657 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6658 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6659 which setjmp to generate.
6660 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6661 "longjmp_target" static probes.
6663 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6665 * benchtests/README: Add note about output arguments.
6666 * benchtests/bench-sincos.c: Remove file.
6667 * benchtests/sincos-inputs: New file.
6668 * scripts/bench.pl: Identify output arguments and define
6669 static variables for them.
6671 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6674 * Makefile (INSTALL): Add install-plain.texi as the primary
6676 * manual/install-plain.texi: New file.
6677 * manual/install.texi: Include node directive only for
6678 non-plaintext output.
6680 2013-12-04 Joseph Myers <joseph@codesourcery.com>
6682 * stdlib/longlong.h: Update from GCC.
6686 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6687 * math/w_j0f.c (y0f): Likewise.
6688 * math/w_j0l.c (__y0l): Likewise.
6689 * math/w_j1.c (y1): Likewise.
6690 * math/w_j1f.c (y1f): Likewise.
6691 * math/w_j1l.c (__y1l): Likewise
6692 * math/w_jn.c (yn): Likewise.
6693 * math/w_jnf.c (ynf): Likewise.
6694 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6695 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6696 value for Bessel function domain errors outside _SVID_ mode.
6697 Adjust sign of return value for yn (negative integer, 0).
6698 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6699 by zero in return for negative x and set sign appropriately for
6701 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6702 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6703 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6704 expectations in error cases.
6705 (y1_test_data): Likewise.
6706 (yn_test_data): Likewise.
6707 * sysdeps/i386/fpu/libm-test-ulps: Update.
6708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6710 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6712 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6713 "64" to "64-v1". Add "64-v2".
6714 (abi-64-options): Rename to ...
6715 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6716 (abi-64-condition): Rename to ...
6717 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6718 (abi-64-ld-soname): Rename to ...
6719 (abi-64-v1-ld-soname): ... this.
6720 (abi-64-v2-options): Define.
6721 (abi-64-v2-condition): Likewise.
6722 (abi-64-v2-ld-soname): Likewise.
6723 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6724 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6729 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6730 Alan Modra <amodra@gmail.com>
6732 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6733 New versions for use with the ELFv2 ABI.
6734 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6735 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6737 (struct La_ppc64v2_retval): Likewise.
6738 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6739 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6740 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6741 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6742 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6743 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6744 Do not save or restore CR.
6745 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6746 (_dl_profile_resolve): Do no save or restore CR. Support extended
6747 return values for ELFv2 ABI. Fix location of FPR return registers.
6748 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6749 updated values for _CALL_ELF == 2.
6750 (La_regs, La_retval, int_retval): Likewise.
6752 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6754 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6755 (FRAME_MIN_SIZE_PARM): Likewise.
6756 (FRAME_BACKCHAIN): Likewise.
6757 (FRAME_CR_SAVE): Likewise.
6758 (FRAME_LR_SAVE): Likewise.
6759 (FRAME_TOC_SAVE): Likewise.
6760 (FRAME_PARM_SAVE): Likewise.
6761 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6762 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6763 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6764 (call_mcount_parm_offset): New macro.
6765 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6766 (PROF): Use symbolic stack frame offsets.
6767 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6768 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6769 Redefine in terms of FRAME_MIN_SIZE.
6770 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6771 (_dl_profile_resolve): Likewise. Update comment.
6772 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6773 symbols stack frame offsets.
6774 (__sigsetjmp): Likewise.
6775 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6776 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6777 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6778 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6781 (FRAME_BACKCHAIN): Remove.
6782 (FRAME_CR_SAVE): Likewise.
6783 (FRAME_LR_SAVE): Likewise.
6784 (FRAME_COMPILER_DW): Likewise.
6785 (FRAME_LINKER_DW): Likewise.
6786 (FRAME_TOC_SAVE): Likewise.
6787 (FRAME_PARM_SAVE): Likewise.
6788 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6789 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6790 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6792 (CHECK_SP): Use symbolic stack frame offsets.
6793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6794 zone" instead of caller's parameter save area for temp storage.
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6796 Likewise. Also, use symbolic stack frame offsets.
6797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6798 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6799 our own stack frame instead of the caller's.
6800 (__socket): Use symbolic stack frame offsets.
6802 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6803 Alan Modra <amodra@gmail.com>
6805 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6807 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6808 PPC64_LOCAL_ENTRY_OFFSET): Define.
6809 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6811 (elf_machine_fixup_plt): Call it.
6812 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6814 (elf_machine_rela): Update call to elf_machine_plt_conflict.
6815 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6816 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6817 r2 before calling target.
6819 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6820 Alan Modra <amodra@gmail.com>
6822 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6823 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6824 versions of macros to support ELFv2 ABI.
6825 (LOCALENTRY): New macro.
6826 (ENTRY, EALIGN): Use it.
6827 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6828 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6829 fall through into ENTRY entry point.
6830 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6831 Only define if _CALL_ELF != 2.
6833 (elf_machine_matches_host): Verify ABI version matches.
6834 (RTLD_START): Use LOCALENTRY.
6835 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6836 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6837 (PLT_ENTRY_WORDS): New macro.
6838 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6839 (elf_machine_runtime_setup): Support ELFv2 ABI.
6840 (elf_machine_fixup_plt): Likewise.
6841 (elf_machine_plt_conflict): Likewise.
6842 (resolve_ifunc): Likewise.
6843 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6844 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6847 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6849 (makecontext): Support ELFv2 ABI.
6850 * elf/elf.h (EF_PPC64_ABI): Define.
6852 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6854 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6855 New assembler macro.
6856 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6857 [ASSEMBLER] (ENTRY): ... but instead here ...
6858 [ASSEMBLER] (EALIGN): ... and here.
6859 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6860 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6861 [!ASSEMBLER] (ENTRY_2): Use it.
6862 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6863 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6864 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6865 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6866 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6868 Use PPC64_LOAD_FUNCPTR.
6870 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6872 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6874 2013-12-04 Alan Modra <amodra@gmail.com>
6876 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6877 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6878 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6879 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6881 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6882 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6883 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6884 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6885 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6886 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6888 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6891 (__makecontext): Fix incorrect CFI when backtracing out of
6892 context created via makecontext.
6893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6894 (__setcontext): Fix incorrect CFI during switch to new context.
6895 (__novec_setcontext): Likewise.
6897 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6900 * time/strptime_l.c (__strptime_internal): Allow modifiers
6902 * time/tst-strptime.c (day_tests): Add testcase.
6905 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6907 * scripts/bench.pl: Skip over blank lines.
6909 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6912 * manual/time.texi (Calendar Time): Clarify what timezone functions
6915 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6919 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6921 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6923 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6924 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6925 * debug/memset_chk.c (__memset_chk): Likewise.
6926 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6927 * debug/strncpy_chk.c: Likewise.
6929 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6933 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6934 (__ieee754_exp): For possibly underflowing results, check size of
6935 result and force underflow exception if required.
6936 * math/auto-libm-test-in: Add more tests of exp.
6937 * math/auto-libm-test-out: Regenerated.
6938 * sysdeps/i386/fpu/libm-test-ulps: Update.
6939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6942 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6943 * math/w_exp2f.c (__exp2f): Likewise.
6944 * math/w_exp2l.c (__exp2l): Likewise.
6945 * math/auto-libm-test-in: Do not allow missing errno on exp2
6947 * math/auto-libm-test-out: Regenerated.
6949 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
6952 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6953 handle filename validation.
6954 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6957 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6960 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6961 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6962 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6964 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6965 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6966 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6967 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6968 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6969 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6970 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6971 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6972 Add more erfc tests.
6973 * math/auto-libm-test-out: Regenerated.
6974 * sysdeps/i386/fpu/libm-test-ulps: Update.
6975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6977 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6978 exp2, expm1, j0 and j1.
6979 * math/auto-libm-test-out: Regenerated.
6980 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6981 (erfc_test_data): Likewise.
6982 (exp_test_data): Likewise.
6983 (exp_tonearest_test_data): Likewise.
6984 (exp_towardzero_test_data): Likewise.
6985 (exp_downward_test_data): Likewise.
6986 (exp_upward_test_data): Likewise.
6987 (exp10_test_data): Likewise.
6988 (exp2_test_data): Likewise.
6989 (expm1_test_data): Likewise.
6990 (j0_test_data): Likewise.
6991 (j1_test_data): Likewise.
6992 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6993 (input_flag_type): Add flag_xfail_rounding.
6994 (input_flags): Add xfail-rounding.
6995 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6996 (output_for_one_input_case): Handle flag_xfail_rounding.
6997 * sysdeps/i386/fpu/libm-test-ulps: Update.
6998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7000 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7003 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7006 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7009 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7010 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7011 (STAP_PROBE0): New macro.
7012 (STAP_PROBE1): Likewise.
7013 (STAP_PROBE2): Likewise.
7014 (STAP_PROBE3): Likewise.
7015 (STAP_PROBE4): Likewise.
7017 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7019 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7021 2013-12-02 Steve Ellcey <sellcey@mips.com>
7023 * benchtests/Makefile (bench): Add sqrt.
7024 (LDLIBS-bench-sqrt): New.
7025 * benchtests/sqrt-input: New.
7027 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7029 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7030 (GAIH_EAI): Likewise.
7031 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7032 (gaih_inet): Likewise.
7033 (getaddrinfo): Don't use GAIH_EAI.
7035 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7036 (struct gaih): Remove definition.
7038 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7040 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7041 Use HERRNOP directly.
7043 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7047 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7049 * math/gen-auto-libm-tests.c (test_functions): Add more
7050 single-argument functions.
7051 (special_fill_pi_2): New function.
7052 (special_fill_minus_pi_2): Likewise.
7053 (special_fill_pi_6): Likewise.
7054 (special_fill_minus_pi_6): Likewise.
7055 (special_fill_pi_3): Likewise.
7056 (special_fill_2pi_3): Likewise.
7057 (special_fill_e): Likewise.
7058 (special_fill_1_e): Likewise.
7059 (special_fill_e_minus_1): Likewise.
7060 (special_real_inputs): Add more special inputs.
7061 (output_for_one_input_case): Do not require ERANGE on underflow to
7062 zero if round-to-nearest result does not underflow to zero, unless
7063 exact results required.
7064 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7065 atan, atanh, cbrt, cos and cosh.
7066 * math/auto-libm-test-out: Regenerated.
7067 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7068 (acos_tonearest_test_data): Likewise.
7069 (acos_towardzero_test_data): Likewise.
7070 (acos_downward_test_data): Likewise.
7071 (acos_upward_test_data): Likewise.
7072 (acosh_test_data): Likewise.
7073 (asin_test_data): Likewise.
7074 (asin_tonearest_test_data): Likewise.
7075 (asin_towardzero_test_data): Likewise.
7076 (asin_upward_test_data): Likewise.
7077 (asinh_test_data): Likewise.
7078 (atan_test_data): Likewise.
7079 (atanh_test_data): Likewise.
7080 (cbrt_test_data): Likewise.
7081 (cos_test_data): Likewise.
7082 (cos_tonearest_test_data): Likewise.
7083 (cos_towardzero_test_data): Likewise.
7084 (cos_downward_test_data): Likewise.
7085 (cos_upward_test_data): Likewise.
7086 (cosh_test_data): Likewise.
7087 (cosh_tonearest_test_data): Likewise.
7088 (cosh_towardzero_test_data): Likewise.
7089 (cosh_downward_test_data): Likewise.
7090 (cosh_upward_test_data): Likewise.
7091 * sysdeps/i386/fpu/libm-test-ulps: Update.
7092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7094 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7097 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7098 * math/w_exp10f.c (__exp10f): Likewise.
7099 * math/w_exp10l.c (__exp10l): Likewise.
7100 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7101 errno settings in existing tests.
7104 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7105 precision control set to double precision.
7106 * sysdeps/i386/fpu/w_sqrt.c: New file.
7107 * math/auto-libm-test-in: Add more tests.
7108 * math/auto-libm-test-out: Update.
7110 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7111 (sqrt_test_tonearest): New function.
7112 (sqrt_towardzero_test_data): New variable.
7113 (sqrt_test_towardzero): New function.
7114 (sqrt_downward_test_data): New variable.
7115 (sqrt_test_downward): New function.
7116 (sqrt_upward_test_data): New variable.
7117 (sqrt_test_upward): New function.
7118 (main): Call the new functions.
7120 * math/gen-auto-libm-tests.c: New file.
7121 * math/auto-libm-test-in: Likewise.
7122 * math/auto-libm-test-out: New generated file.
7123 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7125 (%beautify): Add generated representations of zero.
7126 (top level): Set $auto_input and call parse_auto_input.
7127 (beautify): Remove trailing "f" from hex float constants.
7128 (parse_args): Handle XFAIL_TEST.
7129 (convert_condition): New function.
7130 (or_value): Likewise.
7131 (or_cond_value): Likewise.
7132 (generate_testfile): Handle AUTO_TESTS_* lines.
7133 (parse_auto_input): New function.
7134 * math/libm-test.inc (XFAIL_TEST): New macro.
7135 (ERRNO_UNCHANGED): Update value.
7136 (ERRNO_EDOM): Likewise.
7137 (ERRNO_ERANGE): Likewise.
7138 (IGNORE_RESULT): Likewise.
7139 (TEST_COND_flt_32): New macro.
7140 (TEST_COND_dbl_64): Likewise.
7141 (TEST_COND_ldbl_96_intel): Likewise.
7142 (TEST_COND_ldbl_96_m68k): Likewise.
7143 (TEST_COND_ldbl_128): Likewise.
7144 (TEST_COND_ldbl_128ibm): Likewise.
7145 (TEST_COND_long32): Likewise.
7146 (TEST_COND_long64): Likewise.
7147 (TEST_COND_before_rounding): Likewise.
7148 (TEST_COND_after_rounding): Likewise.
7149 (enable_test): Handle XFAIL_TEST flag.
7150 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7151 with finite results.
7152 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7155 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7156 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7159 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7160 __tls_get_addr_internal instead of __tls_get_offset in order to
7161 avoid GOT pointer dependency. Make rtld export
7162 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7163 __tls_get_addr since we are a __tls_get_offset platform.
7164 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7165 GOT pointer being set up before.
7166 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7168 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7170 * manual/math.texi (Errors in Math Functions): Document accuracy
7174 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7175 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7176 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7178 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7180 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7186 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7191 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7192 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7193 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7194 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7195 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7197 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7199 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7201 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7202 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7203 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7204 atomic-feupdateenv and flt-rounds.
7205 * sysdeps/powerpc/nofpu/Versions (libc): Add
7206 __atomic_feholdexcept, __atomic_feclearexcept,
7207 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7208 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7209 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7210 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7211 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7216 * manual/arith.texi (FP Exceptions): Document that exceptions may
7217 not be raised when matherr is used.
7218 (Math Error Reporting): Document overflow in directed rounding
7219 modes. Document that errno may not be set when finite values are
7220 returned on overflow. Document intent to set errno on underflow
7221 only for underflow to zero.
7224 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7225 round-to-nearest then adjust result for other rounding modes.
7226 * include/fenv.h (fegetround): Use libm_hidden_proto.
7227 * math/fegetround.c (fegetround): Use libm_hidden_def.
7228 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7229 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7230 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7231 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7233 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7234 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7235 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7236 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7238 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7241 * nss/Versions (libnss_files): Add
7242 _nss_files_gethostbyname3_r.
7243 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7245 (HOST_DB_LOOKUP): Remove macro.
7246 (_nss_files_gethostbyname_r): Implement function without the
7247 HOST_DB_LOOKUP macro.
7248 (_nss_files_gethostbyname2_r): Likewise.
7250 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7252 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7254 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7256 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7257 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7260 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7262 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7263 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7264 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7265 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7266 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7267 __fe_nomask_env_priv and attribute_hidden.
7268 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7269 (libc_feupdateenv_test_ppc): Likewise.
7270 (libc_feresetround_ppc): Likewise.
7271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7272 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7273 compat_symbol macro.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7275 (__fe_nomask_env): Likewise.
7276 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7278 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7280 * string/Makefile: Remove ifunc tests.
7281 * string/test-string.h: Define TEST_IFUNC.
7282 * string/test-bcopy-ifunc.c: Remove.
7283 * string/test-bzero-ifunc.c: Likewise.
7284 * string/test-memccpy-ifunc.c: Likewise.
7285 * string/test-memchr-ifunc.c: Likewise.
7286 * string/test-memcmp-ifunc.c: Likewise.
7287 * string/test-memcpy-ifunc.c: Likewise.
7288 * string/test-memmem-ifunc.c: Likewise.
7289 * string/test-memmove-ifunc.c: Likewise.
7290 * string/test-mempcpy-ifunc.c: Likewise.
7291 * string/test-memrchr-ifunc.c: Likewise.
7292 * string/test-memset-ifunc.c: Likewise.
7293 * string/test-rawmemchr-ifunc.c: Likewise.
7294 * string/test-stpcpy-ifunc.c: Likewise.
7295 * string/test-stpncpy-ifunc.c: Likewise.
7296 * string/test-strcasecmp-ifunc.c: Likewise.
7297 * string/test-strcasestr-ifunc.c: Likewise.
7298 * string/test-strcat-ifunc.c: Likewise.
7299 * string/test-strchr-ifunc.c: Likewise.
7300 * string/test-strchrnul-ifunc.c: Likewise.
7301 * string/test-strcmp-ifunc.c: Likewise.
7302 * string/test-strcpy-ifunc.c: Likewise.
7303 * string/test-strcspn-ifunc.c: Likewise.
7304 * string/test-strlen-ifunc.c: Likewise.
7305 * string/test-strncasecmp-ifunc.c: Likewise.
7306 * string/test-strncat-ifunc.c: Likewise.
7307 * string/test-strncmp-ifunc.c: Likewise.
7308 * string/test-strncpy-ifunc.c: Likewise.
7309 * string/test-strnlen-ifunc.c: Likewise.
7310 * string/test-strpbrk-ifunc.c: Likewise.
7311 * string/test-strrchr-ifunc.c: Likewise.
7312 * string/test-strspn-ifunc.c: Likewise.
7313 * string/test-strstr-ifunc.c: Likewise.
7315 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7317 * benchtests/Makefile: Remove ifunc tests.
7318 * benchtests/bench-string.h: Define TEST_IFUNC.
7319 * benchtests/bench-bcopy-ifunc.c: Remove.
7320 * benchtests/bench-bzero-ifunc.c: Likewise.
7321 * benchtests/bench-memccpy-ifunc.c: Likewise.
7322 * benchtests/bench-memchr-ifunc.c: Likewise.
7323 * benchtests/bench-memcmp-ifunc.c: Likewise.
7324 * benchtests/bench-memcpy-ifunc.c: Likewise.
7325 * benchtests/bench-memmem-ifunc.c: Likewise.
7326 * benchtests/bench-memmove-ifunc.c: Likewise.
7327 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7328 * benchtests/bench-memrchr-ifunc.c: Likewise.
7329 * benchtests/bench-memset-ifunc.c: Likewise.
7330 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7331 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7332 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7333 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7334 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7335 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7336 * benchtests/bench-strcat-ifunc.c: Likewise.
7337 * benchtests/bench-strchr-ifunc.c: Likewise.
7338 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7339 * benchtests/bench-strcmp-ifunc.c: Likewise.
7340 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7341 * benchtests/bench-strcpy-ifunc.c: Likewise.
7342 * benchtests/bench-strcspn-ifunc.c: Likewise.
7343 * benchtests/bench-strlen-ifunc.c: Likewise.
7344 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7345 * benchtests/bench-strncat-ifunc.c: Likewise.
7346 * benchtests/bench-strncmp-ifunc.c: Likewise.
7347 * benchtests/bench-strncpy-ifunc.c: Likewise.
7348 * benchtests/bench-strnlen-ifunc.c: Likewise.
7349 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7350 * benchtests/bench-strrchr-ifunc.c: Likewise.
7351 * benchtests/bench-strsep-ifunc.c: Likewise.
7352 * benchtests/bench-strspn-ifunc.c: Likewise.
7353 * benchtests/bench-strstr-ifunc.c: Likewise.
7355 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7357 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7359 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7361 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7362 * rt/aio.h: Likewise.
7363 * sysdeps/gnu/bits/utmp.h: Likewise.
7364 * sysdeps/gnu/bits/utmpx.h: Likewise.
7365 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7366 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7367 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7368 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7369 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7370 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7371 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7372 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7373 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7374 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7375 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7376 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7377 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7379 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7380 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7381 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7382 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7383 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7384 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7385 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7386 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7387 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7388 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7389 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7390 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7391 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7392 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7393 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7394 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7395 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7396 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7397 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7398 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7399 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7400 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7401 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7402 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7403 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7404 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7405 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7406 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7408 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7411 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7412 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7414 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7416 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7417 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7420 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7423 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7424 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7425 (__fesetround): Remove define.
7426 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7427 rounding and exceptions handling.
7428 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7429 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7430 (__fe_nomask_env): Likewise.
7431 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7432 __fegetround instead of fegetround.
7433 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7434 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7436 2013-11-21 Roland McGrath <roland@hack.frob.com>
7438 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7441 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7443 2013-11-21 Meador Inge <meadori@codesourcery.com>
7446 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7447 (encrypt_r): Likewise.
7448 * malloc/obstack.h (obstack_free): Likewise.
7449 * posix/unistd.h (encrypt): Likewise.
7451 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7453 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7454 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7455 DL_CALL_DT_FINI() that call the functions directly.
7456 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7457 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7458 * elf/dl-fini.c: Likewise.
7460 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
7462 * malloc/hooks.c (memalign_check): Add alignment rounding.
7463 * malloc/malloc.c (_mid_memalign): New function.
7464 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7465 Implement by calling _mid_memalign.
7466 * manual/probes.texi (Memory Allocation Probes): Remove
7467 memory_valloc_retry and memory_pvalloc_retry.
7469 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7471 * locale/programs/locarchive.c (open_archive): Add const
7472 qualifier to ARCHIVEFNAME and copy default fname to
7476 * libio/tst-widetext.input: Rename Oriya to Odia.
7477 * locale/iso-639.def: Likewise.
7479 * manual/probes.texi (Mathematical Function Probes): Add
7480 documentation for sin, cos, asin and acos probes.
7481 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7482 (__sin32): Add slowasin probe.
7483 (__cos32): Add slowacos probe.
7484 (__mpsin): Add slowsin probe.
7485 (__mpcos): Add slowcos probe.
7487 2013-11-19 Joseph Myers <joseph@codesourcery.com>
7490 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7491 thread-local __sim_exceptions_thread and global
7492 __sim_exceptions_global.
7493 (__sim_disabled_exceptions): Change to thread-local
7494 __sim_disabled_exceptions_thread and global
7495 __sim_disabled_exceptions_global.
7496 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7497 and global __sim_round_mode_global.
7498 (__simulate_exceptions): Use thread-local floating-point state and
7499 set global state from it as needed.
7500 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7501 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7502 __sim_round_mode_thread.
7503 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7504 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7505 and global __sim_exceptions_global.
7506 (__sim_disabled_exceptions): Change to thread-local
7507 __sim_disabled_exceptions_thread and global
7508 __sim_disabled_exceptions_global.
7509 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7510 and global __sim_round_mode_global.
7511 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7512 (SIM_SET_GLOBAL): Likewise.
7513 * sysdeps/powerpc/soft-fp/sfp-machine.h
7514 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7515 __sim_round_mode_thread.
7516 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7517 __sim_disabled_exceptions_thread.
7518 (__sim_exceptions): Change to __sim_exceptions_thread.
7519 (__sim_disabled_exceptions): Change to
7520 __sim_disabled_exceptions_thread.
7521 (__sim_round_mode): Change to __sim_round_mode_thread.
7522 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7523 thread-local floating-point state and set global state from it as
7525 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7526 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7527 (__sim_disabled_exceptions): Remove extern declaration.
7528 (feenableexcept): Use thread-local floating-point state and set
7529 global state from it as needed.
7530 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7532 (__sim_disabled_exceptions): Likewise.
7533 (__sim_round_mode): Likewise.
7534 (__fegetenv): Use thread-local floating-point state.
7535 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7536 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7537 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7538 floating-point state and set global state from it as needed.
7539 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7540 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7541 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7543 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7544 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7546 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7547 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7548 Use __sim_round_mode_thread.
7549 * math/test-fenv-tls.c: New file.
7550 * math/Makefile (tests): Add test-fenv-tls.
7551 ($(objpfx)test-fenv-tls): Depend on
7552 $(common-objpfx)nptl/libpthread.so.
7554 2013-11-19 Andreas Schwab <schwab@suse.de>
7556 * locale/programs/locale.c (show_info): Decode wordarray elements.
7557 * locale/categories.def (LC_MONETARY): Add element for
7558 _NL_MONETARY_CRNCYSTR.
7559 * locale/C-monetary.c (conversion_rate): New variable.
7560 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7563 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7565 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7566 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7568 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7570 * elf/Makefile (tst-auxv): New test.
7571 * elf/tst-auxv.c: New
7572 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7574 2013-11-18 Joseph Myers <joseph@codesourcery.com>
7576 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7577 (hidden_proto): Caller changed.
7578 (hidden_tls_proto): New macro.
7579 (libc_hidden_tls_proto): Likewise.
7580 (rtld_hidden_tls_proto): Likewise.
7581 (libm_hidden_tls_proto): Likewise.
7582 (libresolv_hidden_tls_proto): Likewise.
7583 (librt_hidden_tls_proto): Likewise.
7584 (libdl_hidden_tls_proto): Likewise.
7585 (libnss_files_hidden_tls_proto): Likewise.
7586 (libnsl_hidden_tls_proto): Likewise.
7587 (libnss_nisplus_hidden_tls_proto): Likewise.
7588 (libutil_hidden_tls_proto): Likewise.
7590 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
7593 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7594 (decompose_rpath): Defer expansion to fillin_rpath.
7595 (_dl_init_paths): Pass linkmap to fillin_rpath.
7597 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7599 * benchtests/Makefile: Add strsep.
7600 * benchtests/bench-strsep.c: New file: strsep benchtest.
7601 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7603 2013-11-18 Andreas Schwab <schwab@suse.de>
7605 * locale/programs/locale.c (show_info) [case byte]: Check for
7606 '\377' instead of '\177'.
7607 * locale/C-monetary.c (not_available): Always use "\377".
7608 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7609 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7610 detect unavailable sign_posn locale elements.
7611 * locale/localeconv.c (__localeconv): For grouping and
7612 mon_grouping handle "\177" and "\377" like no grouping.
7613 (INT_ELEM): New macro. Use it to set all numeric members.
7614 * locale/programs/ld-monetary.c (monetary_read)
7615 <tok_mon_grouping>: Normalize single -1 to the empty string.
7616 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7619 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7622 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7623 when we match (nil).
7624 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7626 2013-11-16 Joseph Myers <joseph@codesourcery.com>
7628 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7629 (NO_TEST_INLINE): Update value.
7630 (ERRNO_UNCHANGED): Likewise.
7631 (ERRNO_EDOM): Likewise.
7632 (ERRNO_ERANGE): Likewise.
7633 (IGNORE_RESULT): Likewise.
7634 (check_float_internal): Check signs of NaN results if
7636 (check_complex): Pass TEST_NAN_SIGN flag through to second
7637 check_float_internal call.
7638 (copysign_test_data): Add tests with quiet NaNs as second
7639 argument. Use TEST_NAN_SIGN.
7640 (fabs_test_data): Add test of negative quiet NaN argument. Use
7642 (signbit_test_data): Add tests of quiet NaN argument.
7643 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7645 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7647 (parse_args): Handle function results specified as IGNORE.
7648 * math/libm-test.inc (IGNORE_RESULT): New macro.
7649 (check_float_internal): Do not check numerical result if flag
7651 (check_complex): Pass through IGNORE_RESULT to second
7652 check_float_internal call.
7653 (check_int): Do not check numerical result if flag IGNORE_RESULT
7655 (check_long): Likewise.
7656 (check_bool): Likewise.
7657 (check_longlong): Likewise.
7658 (lrint_test_data): Add tests of infinite and NaN arguments.
7659 (lrint_tonearest_test_data): Likewise.
7660 (lrint_towardzero_test_data): Likewise.
7661 (lrint_downward_test_data): Likewise.
7662 (lrint_upward_test_data): Likewise.
7663 (llrint_test_data): Likewise.
7664 (llrint_tonearest_test_data): Likewise.
7665 (llrint_towardzero_test_data): Likewise.
7666 (llrint_downward_test_data): Likewise.
7667 (llrint_upward_test_data): Likewise.
7668 (lround_test_data): Likewise.
7669 (llround_test_data): Likewise.
7671 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7672 (ERRNO_UNCHANGED): Update value.
7673 (ERRNO_EDOM): Likewise.
7674 (ERRNO_ERANGE): Likewise.
7675 (NO_TEST_INLINE_FLOAT): New macro.
7676 (NO_TEST_INLINE_DOUBLE): Likewise.
7677 (enable_test): New function.
7678 (RUN_TEST_f_f): Check enable_test before running test.
7679 (RUN_TEST_2_f): Likewise.
7680 (RUN_TEST_fff_f): Likewise.
7681 (RUN_TEST_c_f): Likewise.
7682 (RUN_TEST_f_f1): Likewise.
7683 (RUN_TEST_fF_f1): Likewise.
7684 (RUN_TEST_fI_f1): Likewise.
7685 (RUN_TEST_ffI_f1): Likewise.
7686 (RUN_TEST_c_c): Likewise.
7687 (RUN_TEST_cc_c): Likewise.
7688 (RUN_TEST_f_i): Likewise.
7689 (RUN_TEST_f_i_tg): Likewise.
7690 (RUN_TEST_ff_i_tg): Likewise.
7691 (RUN_TEST_f_b): Likewise.
7692 (RUN_TEST_f_b_tg): Likewise.
7693 (RUN_TEST_f_l): Likewise.
7694 (RUN_TEST_f_L): Likewise.
7695 (RUN_TEST_fFF_11): Likewise.
7696 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7698 (cosh_test_data): Likewise.
7699 (exp_test_data): Likewise.
7700 (expm1_test_data): Likewise.
7701 (hypot_test_data): Likewise.
7702 (pow_test_data): Likewise.
7703 (sinh_test_data): Likewise.
7704 (tanh_test_data): Likewise.
7705 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7708 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7709 tests with quiet NaN input and output.
7710 (acosh_test_data): Likewise.
7711 (asin_test_data): Likewise.
7712 (asinh_test_data): Likewise.
7713 (atan_test_data): Likewise.
7714 (atanh_test_data): Likewise.
7715 (atan2_test_data): Likewise.
7716 (cbrt_test_data): Likewise.
7717 (cos_test_data): Likewise.
7718 (cosh_test_data): Likewise.
7719 (erf_test_data): Likewise.
7720 (erfc_test_data): Likewise.
7721 (exp_test_data): Likewise.
7722 (exp10_test_data): Likewise.
7723 (exp2_test_data): Likewise.
7724 (expm1_test_data): Likewise.
7725 (hypot_test_data): Likewise.
7726 (j0_test_data): Likewise.
7727 (j1_test_data): Likewise.
7728 (jn_test_data): Likewise.
7729 (lgamma_test_data): Likewise.
7730 (log_test_data): Likewise.
7731 (log10_test_data): Likewise.
7732 (log1p_test_data): Likewise.
7733 (log2_test_data): Likewise.
7734 (pow_test_data): Likewise.
7735 (scalb_test_data): Likewise.
7736 (sin_test_data): Likewise.
7737 (sincos_test_data): Likewise.
7738 (sinh_test_data): Likewise.
7739 (tan_test_data): Likewise.
7740 (tanh_test_data): Likewise.
7741 (tgamma_test_data): Likewise.
7742 (y0_test_data): Likewise.
7743 (y1_test_data): Likewise.
7744 (yn_test_data): Likewise.
7747 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7748 argument being NaN and avoid computations with second argument in
7750 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7751 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7752 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7754 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7756 * locale/iso-639.def: Add Chitwani Tharu (the).
7758 2013-11-14 Andreas Schwab <schwab@suse.de>
7760 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7761 word instead of empty string.
7763 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7766 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7768 (__fe_nomask_env): Likewise.
7770 2013-11-13 Steve Ellcey <sellcey@mips.com>
7772 * benchtests/bench-timing.h: Include time.h.
7774 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7777 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7779 * sysdeps/unix/sysv/linux/configure: Regenerated.
7781 2013-11-13 Joseph Myers <joseph@codesourcery.com>
7784 * stdlib/strtod_l.c (round_and_return): Do not consider
7785 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7786 exponent one less than half the least subnormal exponent.
7787 * stdlib/test-strtod-round-data: Add more tests.
7788 * stdlib/tst-strtod-round.c (tests): Regenerated.
7790 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7793 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7794 (__fe_mask_env): Likewise.
7795 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7796 libm_hidden_proto and add function prototype.
7797 (__fe_mask_env): Add function prototype.
7798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7799 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7801 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7803 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7805 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7807 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7808 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7810 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7812 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7813 of htab_find_slot().
7815 2013-11-11 David S. Miller <davem@davemloft.net>
7818 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7819 symbol in the non-vis3 case in static builds.
7820 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7821 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7822 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7823 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7825 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7828 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7831 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7833 * benchtests/Makefile: Add bench-strtod.
7834 * benchtests/bench-strtod.c: New file: strtod benchtest
7836 2013-11-11 Andreas Schwab <schwab@suse.de>
7839 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7840 terminating NUL in key length.
7842 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7844 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7845 Add artificial ODP entry for vDSO symbol for PPC64.
7846 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7847 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7849 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7852 * nss/getent.c (services_keys): Recognize services starting with digit.
7854 2013-11-06 David S. Miller <davem@davemloft.net>
7857 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7858 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7860 2013-11-06 Will Newton <will.newton@linaro.org>
7862 * manual/memory.texi (Malloc Examples): Remove register
7863 keyword from examples.
7865 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
7867 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7869 2013-11-04 Joseph Myers <joseph@codesourcery.com>
7872 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7873 depending on [__GCC_IEC_559 > 0].
7874 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7875 depending on [__GCC_IEC_559_COMPLEX > 0].
7877 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
7879 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7882 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
7884 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7886 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
7889 * malloc/malloc (malloc_info): Do not handle first bin as
7892 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
7894 * locale/iso-639.def: Add Central Nahuatl (nhn).
7896 2013-11-01 Bruno Haible <bruno@clisp.org>
7899 * manual/math.texi (BSD Random): Specify range upper bound as
7902 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
7904 * locale/iso-639.def: Add Meadow Mari (mhr).
7906 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
7908 [BZ #14752], [BZ #15763]
7909 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7911 * rt/tst_shm.c: Add test for escaping directory.
7913 2013-10-31 Andreas Schwab <schwab@suse.de>
7916 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7917 followed by 'x' as part of digit sequence.
7918 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7920 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7923 * configure.ac: allow GNU Make 4.0 and greater.
7924 * configure: Regenerated.
7926 2013-10-30 Will Newton <will.newton@linaro.org>
7929 * malloc/hooks.c (memalign_check): Limit alignment to the
7930 maximum representable power of two.
7931 * malloc/malloc.c (__libc_memalign): Likewise.
7932 * malloc/tst-memalign.c (do_test): Add test for very
7933 large alignment values.
7934 * malloc/tst-posix_memalign.c (do_test): Likewise.
7936 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7939 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7940 (munmap_chunk): Likewise.
7941 (mremap_chunk): Likewise.
7943 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7946 * stdlib/div.c (div): Remove obsolete code.
7947 * stdlib/ldiv.c (ldiv): Likewise.
7948 * stdlib/lldiv.c (lldiv): Likewise.
7950 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7953 * nss/nss_files/files-XXX.c (get_contents_ret): New
7955 (get_contents): New function.
7956 (internal_getent): Use it. Expand size of LINEBUFLEN.
7958 2013-10-30 Mike Frysinger <vapier@gentoo.org>
7960 * configure.in: Moved to ...
7961 * configure.ac: ... here. Change reference to configure.in
7963 * sysdeps/arm/preconfigure.ac: ... here.
7964 configure.in to configure.ac.
7965 * sysdeps/gnu/configure.in: Moved to ...
7966 * sysdeps/gnu/configure.ac: ... here.
7967 * sysdeps/i386/configure.in: Moved to ...
7968 * sysdeps/i386/configure.ac: ... here.
7969 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7970 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7971 * sysdeps/mach/configure.in: Moved to ...
7972 * sysdeps/mach/configure.ac: ... here.
7973 * sysdeps/mach/hurd/configure.in: Moved to ...
7974 * sysdeps/mach/hurd/configure.ac: ... here.
7975 * sysdeps/powerpc/configure.in: Moved to ...
7976 * sysdeps/powerpc/configure.ac: ... here.
7977 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7978 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7979 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7980 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7981 * sysdeps/s390/s390-32/configure.in: Moved to ...
7982 * sysdeps/s390/s390-32/configure.ac: ... here.
7983 * sysdeps/s390/s390-64/configure.in: Moved to ...
7984 * sysdeps/s390/s390-64/configure.ac: ... here.
7985 * sysdeps/sh/configure.in: Moved to ...
7986 * sysdeps/sh/configure.ac: ... here.
7987 * sysdeps/sparc/configure.in: Moved to ...
7988 * sysdeps/sparc/configure.ac: ... here.
7989 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7990 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7991 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7992 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7993 * sysdeps/x86_64/configure.in: Moved to ...
7994 * sysdeps/x86_64/configure.ac: ... here.
7995 * sysdeps/x86_64/preconfigure.in: Moved to ...
7996 * sysdeps/x86_64/preconfigure.ac: ... here.
7997 * aclocal.m4: Change reference to configure.in to configure.ac.
7998 * config.h.in: Likewise.
7999 * manual/install.texi: Likewise.
8000 * manual/maint.texi: Likewise.
8001 * Makefile: Likewise.
8002 * malloc/Makefile: Likewise.
8003 * nscd/Makefile: Likewise.
8004 * Makeconfig: Change reference to configure.in and
8005 preconfigure.in to configure.ac and preconfigure.ac
8007 * INSTALL: Regenerated.
8008 * configure: Likewise.
8009 * sysdeps/gnu/configure: Likewise.
8010 * sysdeps/i386/configure: Likewise.
8011 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8012 * sysdeps/mach/configure: Likewise.
8013 * sysdeps/mach/hurd/configure: Likewise.
8014 * sysdeps/powerpc/configure: Likewise.
8015 * sysdeps/powerpc/powerpc32/configure: Likewise.
8016 * sysdeps/powerpc/powerpc64/configure: Likewise.
8017 * sysdeps/s390/s390-32/configure: Likewise.
8018 * sysdeps/s390/s390-64/configure: Likewise.
8019 * sysdeps/sh/configure: Likewise.
8020 * sysdeps/sparc/configure: Likewise.
8021 * sysdeps/unix/sysv/linux/configure: Likewise.
8022 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8023 * sysdeps/x86_64/configure: Likewise.
8024 * sysdeps/x86_64/preconfigure: Likewise.
8026 2013-10-29 Andreas Schwab <schwab@suse.de>
8028 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8030 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8032 * benchtests/pow-inputs: Add new inputs.
8034 * benchtests/exp-inputs: Add new inputs.
8036 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8037 conditional check for return value.
8038 (__cos32): Likewise.
8040 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8042 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8043 to provide a boost for large inputs with word alignment.
8044 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8045 implementation based on optimized PPC64 strcpy.
8046 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8047 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8048 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8049 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8051 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8054 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8056 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8059 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8060 * time/tst-strptime.c (day_tests): Add testcase.
8062 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8065 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8067 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8070 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8071 MAP_FAILED on error.
8073 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8076 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8077 heap for large requests.
8079 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8082 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8083 result if the result has no associated interface.
8084 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8085 interface for all 127.X.Y.Z addresses.
8087 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8089 * locale/iso-639.def: Add Ligurian (lij)
8091 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8094 * sunrpc/rpc_main.c: Document rpcgen -5.
8096 2013-10-19 Michael Stahl <mstahl@redhat.com>
8098 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8100 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8103 * posix/glob.c: Match only directories when trailing slash is present.
8104 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8105 (main): Add testcase.
8107 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8110 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8112 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8114 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8115 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8116 AUTH_DES and cindex for FIPS 140-2.
8117 (DES Encryption): Add cindex FIPS 46-3.
8119 * locale/locarchive.h (struct locarhandle): Add fname.
8120 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8121 if an optional argument was specified to --list-archive,
8123 * locale/programs/locarchive.c (show_archive_content): Take new
8124 argument fname and pass it via ah.fname to open_archive.
8125 * locale/programs/localedef.h: Update decl.
8126 (open_archive): If AH->fname is non-null, open that file
8127 rather than the default file name, and don't ignore ENOENT.
8128 (create_archive): Set AH.fname to NULL.
8129 (delete_locales_from_archive): Likewise.
8130 (add_locales_to_archive): Likewise.
8131 * locale/programs/locfile.c (write_all_categories): Likewise.
8133 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8134 Aldy Hernandez <aldyh@redhat.com>
8136 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8137 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8138 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8139 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8140 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8141 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8142 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8143 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8144 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8145 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8146 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8147 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8148 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8149 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8150 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8152 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8154 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8156 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8158 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8159 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8161 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8162 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8163 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8164 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8166 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8167 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8168 * sysdeps/powerpc/preconfigure: Likewise.
8169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8171 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8172 Replace contents of file by #include of <fenv_libc.h>.
8173 * sysdeps/powerpc/soft-fp/sfp-machine.h
8174 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8176 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8177 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8178 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8179 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8180 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8181 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8183 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8184 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8185 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8186 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8187 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8189 Allow copysignl PLT reference to be missing.
8191 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8192 Joseph Myers <joseph@codesourcery.com
8195 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8197 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8199 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8201 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8202 * elf/tst-tls1.c: Likewise.
8203 * elf/tst-tls10.h: Likewise.
8204 * elf/tst-tls14.c: Likewise.
8205 * elf/tst-tls2.c: Likewise.
8206 * elf/tst-tls3.c: Likewise.
8207 * elf/tst-tls4.c: Likewise.
8208 * elf/tst-tls5.c: Likewise.
8209 * elf/tst-tls6.c: Likewise.
8210 * elf/tst-tls7.c: Likewise.
8211 * elf/tst-tls8.c: Likewise.
8212 * elf/tst-tls9.c: Likewise.
8213 * elf/tst-tlsmod1.c: Likewise.
8214 * elf/tst-tlsmod13.c: Likewise.
8215 * elf/tst-tlsmod13a.c: Likewise.
8216 * elf/tst-tlsmod14a.c: Likewise.
8217 * elf/tst-tlsmod16a.c: Likewise.
8218 * elf/tst-tlsmod16b.c: Likewise.
8219 * elf/tst-tlsmod2.c: Likewise.
8220 * elf/tst-tlsmod3.c: Likewise.
8221 * elf/tst-tlsmod4.c: Likewise.
8222 * elf/tst-tlsmod5.c: Likewise.
8223 * elf/tst-tlsmod6.c: Likewise.
8225 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8228 * malloc/malloc.c: remove checks for statistics.
8230 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8233 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8234 * inet/tst-network.c: Add testcase.
8236 2013-10-17 Andreas Schwab <schwab@suse.de>
8239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8240 to determine canonical name.
8242 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8244 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8245 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8246 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8248 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8249 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8256 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8257 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8258 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8265 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8268 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8269 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8271 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8272 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8274 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8276 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8290 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8299 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8300 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8301 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8303 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8306 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8307 make result into a quiet NaN.
8309 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8311 * soft-fp/adddf3.c: Fix horizontal whitespace.
8312 * soft-fp/addsf3.c: Likewise.
8313 * soft-fp/addtf3.c: Likewise.
8314 * soft-fp/divdf3.c: Likewise.
8315 * soft-fp/divsf3.c: Likewise.
8316 * soft-fp/divtf3.c: Likewise.
8317 * soft-fp/double.h: Likewise.
8318 * soft-fp/eqdf2.c: Likewise.
8319 * soft-fp/eqsf2.c: Likewise.
8320 * soft-fp/eqtf2.c: Likewise.
8321 * soft-fp/extenddftf2.c: Likewise.
8322 * soft-fp/extended.h: Likewise.
8323 * soft-fp/extendsfdf2.c: Likewise.
8324 * soft-fp/extendsftf2.c: Likewise.
8325 * soft-fp/extendxftf2.c: Likewise.
8326 * soft-fp/fixdfdi.c: Likewise.
8327 * soft-fp/fixdfsi.c: Likewise.
8328 * soft-fp/fixdfti.c: Likewise.
8329 * soft-fp/fixsfdi.c: Likewise.
8330 * soft-fp/fixsfsi.c: Likewise.
8331 * soft-fp/fixsfti.c: Likewise.
8332 * soft-fp/fixtfdi.c: Likewise.
8333 * soft-fp/fixtfsi.c: Likewise.
8334 * soft-fp/fixtfti.c: Likewise.
8335 * soft-fp/fixunsdfdi.c: Likewise.
8336 * soft-fp/fixunsdfsi.c: Likewise.
8337 * soft-fp/fixunsdfti.c: Likewise.
8338 * soft-fp/fixunssfdi.c: Likewise.
8339 * soft-fp/fixunssfsi.c: Likewise.
8340 * soft-fp/fixunssfti.c: Likewise.
8341 * soft-fp/fixunstfdi.c: Likewise.
8342 * soft-fp/fixunstfsi.c: Likewise.
8343 * soft-fp/fixunstfti.c: Likewise.
8344 * soft-fp/floatdidf.c: Likewise.
8345 * soft-fp/floatdisf.c: Likewise.
8346 * soft-fp/floatditf.c: Likewise.
8347 * soft-fp/floatsidf.c: Likewise.
8348 * soft-fp/floatsisf.c: Likewise.
8349 * soft-fp/floatsitf.c: Likewise.
8350 * soft-fp/floattidf.c: Likewise.
8351 * soft-fp/floattisf.c: Likewise.
8352 * soft-fp/floattitf.c: Likewise.
8353 * soft-fp/floatundidf.c: Likewise.
8354 * soft-fp/floatundisf.c: Likewise.
8355 * soft-fp/floatunditf.c: Likewise.
8356 * soft-fp/floatunsidf.c: Likewise.
8357 * soft-fp/floatunsisf.c: Likewise.
8358 * soft-fp/floatunsitf.c: Likewise.
8359 * soft-fp/floatuntidf.c: Likewise.
8360 * soft-fp/floatuntisf.c: Likewise.
8361 * soft-fp/floatuntitf.c: Likewise.
8362 * soft-fp/fmadf4.c: Likewise.
8363 * soft-fp/fmasf4.c: Likewise.
8364 * soft-fp/fmatf4.c: Likewise.
8365 * soft-fp/gedf2.c: Likewise.
8366 * soft-fp/gesf2.c: Likewise.
8367 * soft-fp/getf2.c: Likewise.
8368 * soft-fp/ledf2.c: Likewise.
8369 * soft-fp/lesf2.c: Likewise.
8370 * soft-fp/letf2.c: Likewise.
8371 * soft-fp/muldf3.c: Likewise.
8372 * soft-fp/mulsf3.c: Likewise.
8373 * soft-fp/multf3.c: Likewise.
8374 * soft-fp/negdf2.c: Likewise.
8375 * soft-fp/negsf2.c: Likewise.
8376 * soft-fp/negtf2.c: Likewise.
8377 * soft-fp/op-1.h: Likewise.
8378 * soft-fp/op-2.h: Likewise.
8379 * soft-fp/op-4.h: Likewise.
8380 * soft-fp/op-8.h: Likewise.
8381 * soft-fp/op-common.h: Likewise.
8382 * soft-fp/quad.h: Likewise.
8383 * soft-fp/single.h: Likewise.
8384 * soft-fp/soft-fp.h: Likewise.
8385 * soft-fp/sqrtdf2.c: Likewise.
8386 * soft-fp/sqrtsf2.c: Likewise.
8387 * soft-fp/sqrttf2.c: Likewise.
8388 * soft-fp/subdf3.c: Likewise.
8389 * soft-fp/subsf3.c: Likewise.
8390 * soft-fp/subtf3.c: Likewise.
8391 * soft-fp/truncdfsf2.c: Likewise.
8392 * soft-fp/trunctfdf2.c: Likewise.
8393 * soft-fp/trunctfsf2.c: Likewise.
8394 * soft-fp/trunctfxf2.c: Likewise.
8395 * soft-fp/unorddf2.c: Likewise.
8396 * soft-fp/unordsf2.c: Likewise.
8397 * soft-fp/unordtf2.c: Likewise.
8399 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8401 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8402 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8404 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8406 * elf/dl-libc.c: Clear initfini list after freeing.
8408 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8410 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8411 * soft-fp/addsf3.c: Likewise.
8412 * soft-fp/addtf3.c: Likewise.
8413 * soft-fp/divdf3.c: Likewise.
8414 * soft-fp/divsf3.c: Likewise.
8415 * soft-fp/divtf3.c: Likewise.
8416 * soft-fp/double.h: Likewise.
8417 * soft-fp/eqdf2.c: Likewise.
8418 * soft-fp/eqsf2.c: Likewise.
8419 * soft-fp/eqtf2.c: Likewise.
8420 * soft-fp/extenddftf2.c: Likewise.
8421 * soft-fp/extended.h: Likewise.
8422 * soft-fp/extendsfdf2.c: Likewise.
8423 * soft-fp/extendsftf2.c: Likewise.
8424 * soft-fp/extendxftf2.c: Likewise.
8425 * soft-fp/fixdfdi.c: Likewise.
8426 * soft-fp/fixdfsi.c: Likewise.
8427 * soft-fp/fixdfti.c: Likewise.
8428 * soft-fp/fixsfdi.c: Likewise.
8429 * soft-fp/fixsfsi.c: Likewise.
8430 * soft-fp/fixsfti.c: Likewise.
8431 * soft-fp/fixtfdi.c: Likewise.
8432 * soft-fp/fixtfsi.c: Likewise.
8433 * soft-fp/fixtfti.c: Likewise.
8434 * soft-fp/fixunsdfdi.c: Likewise.
8435 * soft-fp/fixunsdfsi.c: Likewise.
8436 * soft-fp/fixunsdfti.c: Likewise.
8437 * soft-fp/fixunssfdi.c: Likewise.
8438 * soft-fp/fixunssfsi.c: Likewise.
8439 * soft-fp/fixunssfti.c: Likewise.
8440 * soft-fp/fixunstfdi.c: Likewise.
8441 * soft-fp/fixunstfsi.c: Likewise.
8442 * soft-fp/fixunstfti.c: Likewise.
8443 * soft-fp/floatdidf.c: Likewise.
8444 * soft-fp/floatdisf.c: Likewise.
8445 * soft-fp/floatditf.c: Likewise.
8446 * soft-fp/floatsidf.c: Likewise.
8447 * soft-fp/floatsisf.c: Likewise.
8448 * soft-fp/floatsitf.c: Likewise.
8449 * soft-fp/floattidf.c: Likewise.
8450 * soft-fp/floattisf.c: Likewise.
8451 * soft-fp/floattitf.c: Likewise.
8452 * soft-fp/floatundidf.c: Likewise.
8453 * soft-fp/floatundisf.c: Likewise.
8454 * soft-fp/floatunsidf.c: Likewise.
8455 * soft-fp/floatunsisf.c: Likewise.
8456 * soft-fp/floatuntidf.c: Likewise.
8457 * soft-fp/floatuntisf.c: Likewise.
8458 * soft-fp/floatuntitf.c: Likewise.
8459 * soft-fp/fmadf4.c: Likewise.
8460 * soft-fp/fmasf4.c: Likewise.
8461 * soft-fp/fmatf4.c: Likewise.
8462 * soft-fp/gedf2.c: Likewise.
8463 * soft-fp/gesf2.c: Likewise.
8464 * soft-fp/getf2.c: Likewise.
8465 * soft-fp/ledf2.c: Likewise.
8466 * soft-fp/lesf2.c: Likewise.
8467 * soft-fp/letf2.c: Likewise.
8468 * soft-fp/muldf3.c: Likewise.
8469 * soft-fp/mulsf3.c: Likewise.
8470 * soft-fp/multf3.c: Likewise.
8471 * soft-fp/negdf2.c: Likewise.
8472 * soft-fp/negsf2.c: Likewise.
8473 * soft-fp/negtf2.c: Likewise.
8474 * soft-fp/op-1.h: Likewise.
8475 * soft-fp/op-2.h: Likewise.
8476 * soft-fp/op-4.h: Likewise.
8477 * soft-fp/op-8.h: Likewise.
8478 * soft-fp/op-common.h: Likewise.
8479 * soft-fp/quad.h: Likewise.
8480 * soft-fp/single.h: Likewise.
8481 * soft-fp/soft-fp.h: Likewise.
8482 * soft-fp/sqrtdf2.c: Likewise.
8483 * soft-fp/sqrtsf2.c: Likewise.
8484 * soft-fp/sqrttf2.c: Likewise.
8485 * soft-fp/subdf3.c: Likewise.
8486 * soft-fp/subsf3.c: Likewise.
8487 * soft-fp/subtf3.c: Likewise.
8488 * soft-fp/truncdfsf2.c: Likewise.
8489 * soft-fp/trunctfdf2.c: Likewise.
8490 * soft-fp/trunctfsf2.c: Likewise.
8491 * soft-fp/trunctfxf2.c: Likewise.
8492 * soft-fp/unorddf2.c: Likewise.
8493 * soft-fp/unordsf2.c: Likewise.
8494 * soft-fp/unordtf2.c: Likewise.
8496 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
8499 * misc/error.c (error_tail): Fix possible buffer overflow.
8501 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8504 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8507 2013-10-14 P. J. McDermott <pj@pehjota.net>
8510 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8511 testing pipefail option.
8513 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8515 * soft-fp/double.h: Indent preprocessor directives inside #if.
8516 * soft-fp/extended.h: Likewise.
8517 * soft-fp/op-2.h: Likewise.
8518 * soft-fp/op-4.h: Likewise.
8519 * soft-fp/op-common.h: Likewise.
8520 * soft-fp/quad.h: Likewise.
8521 * soft-fp/single.h: Likewise.
8522 * soft-fp/soft-fp.h: Likewise.
8524 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8526 * iconv/iconv_prog.c: Fix typos.
8527 * stdio-common/psiginfo-data.h: Likewise.
8529 2013-10-12 Reuben Thomas <rrt@sc3d.org>
8532 * locale/setlocale.c: Fix typo.
8534 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8537 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8538 signaling NaN arguments.
8539 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8540 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8543 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8545 * soft-fp/gesf2.c (__gesf2): Likewise.
8546 * soft-fp/getf2.c (__getf2): Likewise.
8547 * soft-fp/ledf2.c (__ledf2): Likewise.
8548 * soft-fp/lesf2.c (__lesf2): Likewise.
8549 * soft-fp/letf2.c (__letf2): Likewise.
8551 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8552 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8553 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8554 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8555 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8556 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8557 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8558 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8559 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8560 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8561 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8562 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8563 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8564 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8565 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8566 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8567 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8568 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8569 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8570 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8571 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8572 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8573 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8574 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8575 * soft-fp/floattidf.c (__floattidf): Likewise.
8576 * soft-fp/floattisf.c (__floattisf): Likewise.
8577 * soft-fp/floattitf.c (__floattitf): Likewise.
8578 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8579 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8580 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8581 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8582 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8583 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8584 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8585 * soft-fp/gesf2.c (__gesf2): Likewise.
8586 * soft-fp/getf2.c (__getf2): Likewise.
8587 * soft-fp/ledf2.c (__ledf2): Likewise.
8588 * soft-fp/lesf2.c (__lesf2): Likewise.
8589 * soft-fp/letf2.c (__letf2): Likewise.
8591 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8592 Undefine and redefine.
8593 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8594 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8595 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8596 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8597 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8598 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8599 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8600 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8601 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8602 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8603 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8604 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8605 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8606 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8607 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8610 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8611 without decrementing exponent if mantissa >= that for the
8613 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8614 denominator, not >. Decrement exponent in < case instead of
8615 incrementing in >= case.
8616 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8617 without decrementing exponent if mantissa >= that for the
8620 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8621 computing saturated result for unsigned overflow.
8623 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8624 Jeff Law <law@redhat.com>
8626 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8627 (atan2Mp): Add systemtap probe marker.
8628 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8629 (__ieee754_log): Add systemtap probe marker.
8630 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8631 (atanMp): Add systemtap probe marker.
8632 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8633 (tanMp): Add systemtap probe marker.
8634 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8635 (__slowexp): Add systemtap probe marker.
8636 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8637 (__slowpow): Add systemtap probe marker.
8638 * manual/probes.texi: Document probes.
8640 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
8643 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8645 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8647 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8648 written to buffer but not flushed.
8649 * libio/iofwrite_u.c: Likewise.
8650 * libio/iopadn.c: Return bytes returned even if EOF was
8652 * libio/iowpadn.c: Likewise.
8653 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8654 if _IO_padn does not write the whole buffer.
8655 [!COMPILE_WPRINTF] (PAD): Likewise.
8657 2013-10-10 David S. Miller <davem@davemloft.net>
8659 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8662 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8664 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8665 instead of FSF address.
8666 * soft-fp/fixdfti.c: Likewise.
8667 * soft-fp/fixsfti.c: Likewise.
8668 * soft-fp/fixtfti.c: Likewise.
8669 * soft-fp/fixunsdfti.c: Likewise.
8670 * soft-fp/fixunssfti.c: Likewise.
8671 * soft-fp/fixunstfti.c: Likewise.
8672 * soft-fp/floattidf.c: Likewise.
8673 * soft-fp/floattisf.c: Likewise.
8674 * soft-fp/floattitf.c: Likewise.
8675 * soft-fp/floatuntidf.c: Likewise.
8676 * soft-fp/floatuntisf.c: Likewise.
8677 * soft-fp/floatuntitf.c: Likewise.
8678 * soft-fp/trunctfxf2.c: Likewise.
8680 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8681 * soft-fp/fixdfti.c: Likewise.
8682 * soft-fp/fixsfti.c: Likewise.
8683 * soft-fp/fixtfti.c: Likewise.
8684 * soft-fp/fixunsdfti.c: Likewise.
8685 * soft-fp/fixunssfti.c: Likewise.
8686 * soft-fp/fixunstfti.c: Likewise.
8687 * soft-fp/floattidf.c: Likewise.
8688 * soft-fp/floattisf.c: Likewise.
8689 * soft-fp/floattitf.c: Likewise.
8690 * soft-fp/floatuntidf.c: Likewise.
8691 * soft-fp/floatuntisf.c: Likewise.
8692 * soft-fp/floatuntitf.c: Likewise.
8693 * soft-fp/trunctfxf2.c: Likewise.
8695 2013-10-10 David S. Miller <davem@davemloft.net>
8697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8699 2013-10-10 Joseph Myers <joseph@codsourcery.com>
8701 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8702 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8703 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8704 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8705 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8706 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8707 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8709 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8710 for NaNs before doing comparisons on argument.
8711 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8714 2013-10-10 Will Newton <will.newton@linaro.org>
8716 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8717 passed to _int_memalign does not overflow.
8719 2013-10-10 Torvald Riegel <triegel@redhat.com>
8721 * scripts/bench.pl: Add include-sources directive.
8722 * benchtests/README: Update documentation.
8724 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8726 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8727 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8728 instead of FP_INIT_ROUNDMODE.
8729 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8730 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8733 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8734 copy class of input value.
8735 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8736 not handle exceptions.
8737 * soft-fp/negsf2.c (__negsf2): Likewise.
8738 * soft-fp/negtf2.c (__negtf2): Likewise.
8739 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8741 2013-10-09 Joseph Myers <joseph@codesourcery.com>
8743 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8744 semicolon. From Linux kernel.
8746 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8748 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8750 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8753 * manual/socket.texi: Added statement about buffer
8754 for gethostbyname2_r.
8756 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
8758 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8759 Use .p2align directive instead, throughout.
8760 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8761 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8762 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8763 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8764 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8765 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8766 * sysdeps/x86_64/strchr.S: Likewise.
8767 * sysdeps/x86_64/strrchr.S: Likewise.
8769 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8771 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8773 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8775 * sysdeps/generic/math_private.h (__mpsin1): Remove
8777 (__mpcos1): Likewise.
8778 (__mpsin): New argument __range_reduce.
8779 (__mpcos): Likewise.
8780 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8781 (slow): Use __mpsin and __mpcos.
8788 (bsloww1): Likewise.
8789 (bsloww2): Likewise.
8792 (csloww1): Likewise.
8793 (csloww2): Likewise.
8794 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8795 range_reduce. Merge in __mpsin1.
8796 (__mpcos): Likewise.
8798 (__mpcos1): Likewise.
8800 2013-10-07 Joseph Myers <joseph@codesourcery.com>
8802 * locale/loadlocale.c (_nl_intern_locale_data): Use
8804 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8805 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8806 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8807 obstack data is appropriately aligned.
8808 (obstack_int32_grow_fast): Likewise.
8809 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8810 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8811 (add_locale_uint32_array): Likewise.
8813 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8815 * benchtests/Makefile: Remove ARGLIST and RET variables.
8816 ($(objpfx)bench-%.c): Pass only function name to the script.
8817 * benchtests/README: Update documentation.
8818 * benchtests/acos-inputs: Add new directives.
8819 * benchtests/acosh-inputs: Likewise.
8820 * benchtests/asin-inputs: Likewise.
8821 * benchtests/asinh-inputs: Likewise.
8822 * benchtests/atan-inputs: Likewise.
8823 * benchtests/atanh-inputs: Likewise.
8824 * benchtests/cos-inputs: Likewise.
8825 * benchtests/cosh-inputs: Likewise.
8826 * benchtests/exp-inputs: Likewise.
8827 * benchtests/log-inputs: Likewise.
8828 * benchtests/pow-inputs: Likewise.
8829 * benchtests/rint-inputs: Likewise.
8830 * benchtests/sin-inputs: Likewise.
8831 * benchtests/sinh-inputs: Likewise.
8832 * benchtests/tan-inputs: Likewise.
8833 * benchtests/tanh-inputs: Likewise.
8834 * scripts/bench.pl: Add support for new directives.
8836 2013-10-07 Alan Modra <amodra@gmail.com>
8838 * README: Fix careless merge.
8840 2013-10-05 Alan Modra <amodra@gmail.com>
8842 * NEWS: Mention powerpc64le support and bugs fixed.
8843 * README: Both big-endian and little-endian powerpc64 supported.
8845 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8847 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8848 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8849 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8850 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8852 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8854 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8857 2013-10-04 Joseph Myers <joseph@codesourcery.com>
8859 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8860 Move -mhard-float appending from
8861 ports/sysdeps/powerpc/powerpc32/Makefile.
8862 [$(with-fp) = yes] (ASFLAGS): Likewise.
8863 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8864 * sysdeps/powerpc/nofpu: Move directory from
8865 ports/sysdeps/powerpc/nofpu.
8866 * sysdeps/powerpc/soft-fp: Move directory from
8867 ports/sysdeps/powerpc/soft-fp.
8868 * sysdeps/powerpc/powerpc32/405: Move directory from
8869 ports/sysdeps/powerpc/powerpc32/405.
8870 * sysdeps/powerpc/powerpc32/440: Move directory from
8871 ports/sysdeps/powerpc/powerpc32/440.
8872 * sysdeps/powerpc/powerpc32/464: Move directory from
8873 ports/sysdeps/powerpc/powerpc32/464.
8874 * sysdeps/powerpc/powerpc32/476: Move directory from
8875 ports/sysdeps/powerpc/powerpc32/476.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8877 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8879 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8881 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8883 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8885 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8886 * README: Update for powerpc-*-linux-gnu software floating point
8889 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8890 case to powerpc/powerpc32*.
8891 * sysdeps/unix/sysv/linux/configure: Regenerated.
8893 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8894 (_FPU_MASK_OM): Define as 0x04.
8895 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8896 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8898 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8900 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8903 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8906 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8909 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8910 and setcontext_e500.
8912 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8914 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8916 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8918 * manual/threads.texi (Default Thread Attributes): Fix typo.
8920 2013-10-04 Will Newton <will.newton@linaro.org>
8922 * malloc/Makefile: Add tst-memalign.
8923 * malloc/tst-memalign.c: New file.
8925 * malloc/tst-posix_memalign.c: Add comments.
8926 (do_test): Add comments and call free on all potentially
8927 allocated pointers. Add space after cast.
8929 * malloc/tst-pvalloc.c: Add comments.
8930 (do_test): Add comments and call free on all potentially
8931 allocated pointers. Remove duplicate check for NULL pointer.
8932 Add space after cast.
8934 * malloc/tst-valloc.c: Add comments.
8935 (do_test): Add comments and call free on all potentially
8936 allocated pointers. Remove duplicate check for NULL pointer.
8937 Add space after cast.
8939 2013-10-04 Alan Modra <amodra@gmail.com>
8941 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8942 Use stdint types in rather than __attribute__((mode())).
8943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8945 2013-10-04 Alan Modra <amodra@gmail.com>
8947 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8948 Correct handling of unaligned relocs for little-endian.
8949 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8951 2013-10-04 Alan Modra <amodra@gmail.com>
8953 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8954 * configure: Regenerate.
8955 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8956 * shlib-versions: Likewise.
8958 2013-10-04 Alan Modra <amodra@gmail.com>
8960 * string/tester.c (test_memrchr): Increment reported test cycle.
8962 2013-10-04 Alan Modra <amodra@gmail.com>
8964 * string/test-memcpy.c (do_one_test): When reporting errors, print
8965 string address and don't overrun end of string.
8967 2013-10-04 Alan Modra <amodra@gmail.com>
8969 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8970 insrdi. Make better use of reg selection to speed exit slightly.
8971 Schedule entry path a little better. Remove useless "are we done"
8972 checks on entry to main loop. Handle wrapping around zero address.
8973 Correct main loop count. Handle single left-over word from main
8974 loop inline rather than by using loop_small. Remove extra word
8975 case in loop_small caused by wrong loop count. Add little-endian
8977 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8978 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8980 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8981 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8982 support. Avoid rlwimi.
8983 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8985 2013-10-04 Alan Modra <amodra@gmail.com>
8987 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8989 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8990 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8991 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8992 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8993 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8994 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8996 2013-10-04 Alan Modra <amodra@gmail.com>
8998 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8999 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9000 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9001 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9002 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9003 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9004 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9005 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9006 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9007 use of regs. Use power7 mtocrf. Tidy function tails.
9009 2013-10-04 Alan Modra <amodra@gmail.com>
9011 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9012 Formatting. Consistently use rXXX register defines or rN defines.
9013 Use early exit labels that avoid restoring unused non-volatile regs.
9014 Make cr field use more consistent with rWORDn compares. Rename
9015 regs used as shift registers for unaligned loop, using rN defines
9016 for short lifetime/multiple use regs.
9017 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9018 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9019 addi 1,1,64 to pop stack frame. Simplify return value code.
9020 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9022 2013-10-04 Alan Modra <amodra@gmail.com>
9024 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9025 support. Correct typos, formatting. Optimize tail. Use insrdi
9027 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9028 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9029 little-endian support. Correct typos.
9030 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9032 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9033 in loop and entry code to keep "and." results.
9034 (strchr): Add little-endian support. Comment. Move cntlzd
9036 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9038 2013-10-04 Alan Modra <amodra@gmail.com>
9040 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9041 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9042 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9043 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9045 2013-10-04 Alan Modra <amodra@gmail.com>
9047 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9048 (rTMP): Define as r11.
9049 (strcmp): Add little-endian support. Optimise tail.
9050 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9051 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9052 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9053 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9054 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9056 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9058 2013-10-04 Alan Modra <amodra@gmail.com>
9060 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9061 little-endian support. Remove unnecessary "are we done" tests.
9062 Handle "s" wrapping around zero and extremely large "size".
9063 Correct main loop count. Handle single left-over word from main
9064 loop inline rather than by using small_loop. Correct comments.
9065 Delete "zero" tail, use "end_max" instead.
9066 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9068 2013-10-04 Alan Modra <amodra@gmail.com>
9070 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9071 support. Don't branch over align.
9072 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9073 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9074 support. Rearrange tmp reg use to suit. Comment.
9075 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9077 2013-10-04 Alan Modra <amodra@gmail.com>
9079 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9081 2013-10-04 Alan Modra <amodra@gmail.com>
9083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9084 conditional form of branch and link when obtaining pc.
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9087 2013-10-04 Alan Modra <amodra@gmail.com>
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9094 2013-10-04 Alan Modra <amodra@gmail.com>
9096 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9097 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9098 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9099 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9100 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9101 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9102 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9103 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9104 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9105 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9107 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9108 Alistair Popple <alistair@ozlabs.au.ibm.com>
9109 Alan Modra <amodra@gmail.com>
9112 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9113 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9114 _dl_hwcap access for little-endian.
9115 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9116 destroy vmx regs when saving unaligned.
9117 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9118 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9119 destroy vmx regs when saving unaligned.
9121 2013-10-04 Alan Modra <amodra@gmail.com>
9123 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9124 Don't use a union to pack hi/low value.
9126 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9128 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9130 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9131 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9132 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9133 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9134 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9136 2013-10-04 Alan Modra <amodra@gmail.com>
9138 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9139 constants to usual value for .cst8 section, and remove redundant
9141 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9142 constant for 0x1p52. Load little-endian words of double from
9143 correct stack offsets.
9145 2013-10-04 Alan Modra <amodra@gmail.com>
9147 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9148 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9149 words of double from correct stack offsets.
9150 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9151 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9152 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9153 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9154 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9155 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9156 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9157 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9158 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9159 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9160 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9161 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9162 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9163 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9164 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9165 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9166 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9168 2013-10-04 Alan Modra <amodra@gmail.com>
9170 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9171 64-bit int/double union.
9172 (_FPU_SETCW): Likewise.
9173 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9174 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9176 2013-10-04 Alan Modra <amodra@gmail.com>
9178 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9179 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9181 2013-10-04 Alan Modra <amodra@gmail.com>
9183 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9184 use vector int constants.
9185 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9187 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9189 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9190 array with long long.
9191 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9192 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9193 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9194 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9195 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9196 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9197 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9198 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9199 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9200 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9201 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9202 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9203 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9205 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9207 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9208 (__signbit): Likewise. Correct for little-endian.
9209 (__signbitl): Call __signbit.
9210 (lrint): Correct for little-endian.
9211 (lrintf): Call lrint.
9213 2013-10-04 Alan Modra <amodra@gmail.com>
9215 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9216 union 32-bit int array member with 64-bit int array.
9217 (t515, tm256): Double rather than long double.
9218 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9220 2013-10-04 Alan Modra <amodra@gmail.com>
9222 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9224 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9225 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9226 version of math_ldbl.h.
9228 2013-10-04 Alan Modra <amodra@gmail.com>
9230 [BZ #15734], [BZ #15735]
9231 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9232 all uses of ieee875 long double macros and unions. Simplify test
9233 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9234 ldbl_extract_mantissa value for ix,iy exponents. Properly
9235 normalize after ldbl_extract_mantissa, and don't add hidden bit
9236 already handled. Don't treat low word of ieee854 mantissa like
9237 low word of IBM long double and mask off bit when testing for
9239 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9240 all uses of ieee875 long double macros and unions. Simplify tests
9241 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9242 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9243 two1022, instead use their values. Recognise that tests for large
9244 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9245 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9246 Rewrite all uses of ieee875 long double macros and unions. Simplify
9247 test for 0.0L and nan. Correct negation.
9248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9249 ieee875 long double macros and unions. Correct output for large
9250 magnitude x. Correct absolute value calculation.
9251 (__erfcl): Likewise.
9252 * math/libm-test.inc: Add tests for errors discovered in IBM long
9253 double versions of fmodl, remainderl, erfl and erfcl.
9255 2013-10-04 Alan Modra <amodra@gmail.com>
9257 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9258 all uses of ieee854 long double macros and unions. Simplify tests
9259 for long doubles that are fully specified by the high double.
9260 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9262 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9263 Remove dead code too.
9264 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9265 (__ieee754_ynl): Likewise.
9266 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9267 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9268 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9269 Remove dead code too.
9270 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9271 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9272 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9273 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9275 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9277 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9278 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9279 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9280 Comment on variable precision.
9281 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9282 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9284 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9285 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9287 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9288 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9290 2013-10-04 Alan Modra <amodra@gmail.com>
9292 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9293 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9294 all uses of ieee854 long double macros and unions.
9295 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9296 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9297 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9298 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9299 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9300 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9302 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9303 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9304 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9305 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9306 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9307 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9308 Simplify sign and nan test too.
9309 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9310 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9311 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9312 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9314 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9315 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9317 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9318 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9319 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9320 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9321 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9324 2013-10-04 Alan Modra <amodra@gmail.com>
9326 * stdio-common/printf_size.c (__printf_size): Don't use
9327 union ieee854_long_double in fpnum union.
9328 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9329 signbit macro to retrieve sign from long double.
9330 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9331 retrieve sign from long double.
9332 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9333 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9334 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9335 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9336 * math/test-misc.c (main): Don't use union ieee854_long_double.
9338 2013-10-04 Alan Modra <amodra@gmail.com>
9341 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9342 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9343 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9344 calculation. Remove unnecessary test for denormal exponent.
9345 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9346 Correct handling of denormals. Avoid undefined shift behaviour.
9347 Correct normalisation of low mantissa when low double is denormal.
9348 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9349 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9350 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9351 Correct normalisation of low mantissa. Test for overflow of high
9352 mantissa and normalise.
9353 (ldbl_nearbyint): Use more readable constant for two52.
9354 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9355 (__mpn_construct_long_double): Fix test for overflow of high
9356 mantissa and correct normalisation. Avoid undefined shift.
9358 2013-10-04 Alan Modra <amodra@gmail.com>
9360 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9361 (union ibm_extended_long_double): Define as an array of ieee754_double.
9362 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9363 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9364 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9365 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9366 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9368 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9369 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9370 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9371 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9372 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9374 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9376 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9377 page size instead of calling getpagesize.
9379 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9380 (LOCFILE_ALIGN_MASK): Likewise.
9381 (LOCFILE_ALIGN_UP): Likewise.
9382 (LOCFILE_ALIGNED_P): Likewise.
9383 * locale/programs/ld-collate.c (collate_output): Use the new
9384 macros instead of __alignof__ (int32_t).
9385 * locale/weight.h (findidx): Likewise.
9387 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9390 * manual/string.texi: Fix strncat and wcsncat.
9392 2013-10-03 Brooks Moses <bmoses@google.com>
9395 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9396 * Makerules: ...here, and adjust associated comments.
9398 2013-10-02 Will Newton <will.newton@linaro.org>
9400 * malloc/Makefile: Add tst-pvalloc.
9401 * malloc/tst-pvalloc.c: New file.
9403 2013-10-02 Will Newton <will.newton@linaro.org>
9405 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9406 improve test coverage.
9408 2013-10-02 Will Newton <will.newton@linaro.org>
9410 * malloc/Makefile: Add tst-posix_memalign.
9411 * malloc/tst-posix_memalign.c: New file.
9413 2013-10-01 Eric Blake <eblake@redhat.com>
9415 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9416 Use __THROWNL rather than __THROW on static functions.
9418 2013-09-30 Petr Machata <pmachata@redhat.com>
9420 * elf/elf.h (R_AARCH64_ABS16): New macro.
9421 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9422 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9423 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9424 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9425 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9426 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9427 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9428 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9429 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9430 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9431 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9432 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9433 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9434 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9435 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9436 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9437 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9438 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9439 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9440 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9441 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9442 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9443 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9444 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9445 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9446 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9447 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9448 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9449 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9450 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9451 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9452 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9453 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9454 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9455 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9456 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9457 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9458 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9459 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9460 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9461 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9462 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9463 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9464 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9465 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9466 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9467 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9468 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9469 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9470 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9471 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9472 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9473 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9474 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9475 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9476 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9477 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9478 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9479 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9480 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9481 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9482 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9483 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9484 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9485 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9486 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9487 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9488 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9489 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9490 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9491 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9492 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9493 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9494 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9495 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9496 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9497 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9498 (R_AARCH64_TLSDESC_LDR): Likewise.
9499 (R_AARCH64_TLSDESC_ADD): Likewise.
9500 (R_AARCH64_TLSDESC_CALL): Likewise.
9502 2013-09-30 Andreas Schwab <schwab@suse.de>
9505 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9506 the nss database lookup.
9507 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9510 2013-09-28 Mike Frysinger <vapier@gentoo.org>
9512 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9514 2013-09-28 P. J. McDermott <pj@pehjota.net>
9516 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9517 ${Bash-specific parameter/pattern/string} parameter expansion.
9518 * sysdeps/unix/make-syscalls.sh: Likewise.
9520 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9522 * sysdeps/sh/stackguard-macros.h: New file.
9524 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
9526 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9527 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9528 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9529 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9530 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9531 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9533 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9535 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9536 Fix thread ID register.
9538 2013-09-25 Joseph Myers <joseph@codesourcery.com>
9540 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9541 [POSIX || UNIX98]: Require rather than permitting all symbols from
9543 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9544 element of struct sched_param.
9545 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9546 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9547 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9548 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9551 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9553 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9554 argument calculation.
9556 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9558 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9560 [POSIX] (pthread_attr_t): Do not require type.
9561 [POSIX] (pthread_cond_t): Likewise.
9562 [POSIX] (pthread_condattr_t): Likewise.
9563 [POSIX] (pthread_key_t): Likewise.
9564 [POSIX] (pthread_mutex_t): Likewise.
9565 [POSIX] (pthread_mutexattr_t): Likewise.
9566 [POSIX] (pthread_once_t): Likewise.
9567 [POSIX] (pthread_t): Likewise.
9568 [POSIX-based standards] (pthread_atfork): Expect function.
9570 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9571 Richard Sandiford <richard@codesourcery.com>
9573 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9574 (swap_endianness_p): New extern variable.
9575 (set_big_endian): New inline function.
9576 (maybe_swap_uint32): Likewise.
9577 (maybe_swap_uint32_array): Likewise.
9578 (maybe_swap_uint32_obstack): Likewise.
9579 * locale/programs/locfile.c: Include <stdbool.h>.
9580 (swap_endianness_p): New variable.
9581 (add_locale_uint32): Call maybe_swap_uint32.
9582 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9583 (write_locale_data): Call maybe_swap_uint32_array.
9584 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9586 (obstack_int32_grow_fast): Likewise.
9587 (output_weightwc): Call maybe_swap_uint32_obstack.
9588 (collate_output): Likewise.
9589 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9590 (OPT_LITTLE_ENDIAN): Likewise.
9591 (options): Add --little-endian and --big-endian options.
9592 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9593 * locale/programs/locarchive.c: Include "locfile.h".
9597 (create_archive): Use the new macros to access fields of
9598 structures directly mapped from or written to locale archives.
9599 (oldlocrecentcmp): Likewise.
9600 (enlarge_archive): Likewise.
9601 (insert_name): Likewise.
9602 (add_alias): Likewise.
9603 (add_locale): Likewise.
9604 (delete_locales_from_archive): Likewise.
9605 (show_archive_content): Likewise.
9606 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9609 2013-09-24 Roland McGrath <roland@hack.frob.com>
9611 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9612 http://www.gnu.org/doc/freemanuals.texi.
9613 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9615 2013-09-24 Will Newton <will.newton@linaro.org>
9617 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9620 2013-09-23 Joseph Myers <joseph@codesourcery.com>
9622 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9625 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9627 * manual/threads.texi (POSIX Threads): Fix a typo.
9629 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9632 * string/tst-strcoll-overflow.c: New test case.
9633 * string/Makefile (xtests): Add tst-strcoll-overflow.
9634 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9635 cache if string sizes may cause integer overflow.
9638 * string/strcoll_l.c (coll_seq): New members rule, idx,
9639 save_idx and back_us.
9640 (get_next_seq_nocache): New function.
9641 (do_compare_nocache): New function.
9642 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9645 2013-09-23 Carlos O'Donell <carlos@redhat.com>
9648 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9649 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9650 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9653 * elf/Makefile (tests): Add tst-ptrguard1.
9654 (tests-static): Add tst-ptrguard1-static.
9655 (tst-ptrguard1-ARGS): Define.
9656 (tst-ptrguard1-static-ARGS): Define.
9657 * elf/tst-ptrguard1.c: New file.
9658 * elf/tst-ptrguard1-static.c: New file.
9659 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9660 * sysdeps/i386/stackguard-macros.h: Likewise.
9661 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9662 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9663 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9664 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9665 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9666 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9668 2013-09-23 Hector Marco <hecmargi@upv.es>
9669 Ismael Ripoll <iripoll@disca.upv.es>
9670 Carlos O'Donell <carlos@redhat.com>
9673 * sysdeps/generic/stackguard-macros.h: Define
9674 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9675 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9676 Define __pointer_chk_guard_local.
9677 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9678 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9680 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9683 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9685 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9687 * include/string.h (__ffs): Declare as hidden.
9688 * string/ffs.c (__ffs): Define as hidden.
9689 * sysdeps/i386/ffs.c (__ffs): Likewise.
9690 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9691 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9692 * sysdeps/s390/ffs.c (__ffs): Likewise.
9693 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9695 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
9697 * NEWS: Mention malloc probes.
9699 * malloc/arena.c (new_heap): New memory_heap_new probe.
9700 (grow_heap): New memory_heap_more probe.
9701 (shrink_heap): New memory_heap_less probe.
9702 (heap_trim): New memory_heap_free probe.
9703 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9704 (systrim): New memory_sbrk_less probe.
9705 * manual/probes.texi: Document them.
9707 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9708 * manual/probes.texi: Document it.
9710 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9711 (__libc_realloc): Add memory_realloc_retry probe.
9712 (__libc_memalign): Add memory_memalign_retry probe.
9713 (__libc_valloc): Add memory_valloc_retry probe.
9714 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9715 (__libc_calloc): Add memory_calloc_retry probe.
9716 * manual/probes.texi: Document them.
9718 * malloc/arena.c (get_free_list): Add probe
9719 memory_arena_reuse_free_list.
9720 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9721 and memory_arena_reuse.
9722 (arena_get2) [!PER_THREAD]: Likewise.
9723 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9724 memory_arena_reuse_realloc.
9725 * manual/probes.texi: Document them.
9727 * malloc/malloc.c (__libc_free): Add
9728 memory_mallopt_free_dyn_thresholds probe.
9729 (__libc_mallopt): Add multiple memory_mallopt probes.
9730 * manual/probes.texi: Document them.
9732 * malloc/malloc.c: Include stap-probe.h.
9733 (__libc_mallopt): Add memory_mallopt probe.
9734 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9735 * manual/probes.texi: New.
9736 * manual/Makefile (chapters): Add probes.
9737 * manual/threads.texi: Set next node.
9739 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
9742 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9743 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9744 Add `Chinese' to `nan' entry name.
9746 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9748 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9749 (POLYNOMIAL): Likewise.
9750 (TAYLOR_SINCOS): Likewise.
9751 (TAYLOR_SLOW): Likewise.
9752 (__sin): Use TAYLOR_SINCOS.
9754 (slow): Use TAYLOR_SLOW.
9759 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9761 * stdlib/strtod_l.c: Fix buffer overrun.
9763 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9765 * benchtests/Makefile (bench): Add sincos.
9766 * benchtests/bench-sincos.c: New file.
9768 * math/libm-test.inc (cos_test_data): New test inputs.
9769 (sin_test_data): Likewise.
9771 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9779 (bsloww1): Likewise.
9780 (bsloww2): Likewise.
9782 (csloww1): Likewise.
9783 (csloww2): Likewise.
9785 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9790 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9794 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9796 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9797 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9798 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9799 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9800 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9801 * elf/cache.c (print_entry): Handle the new cache flags.
9803 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9804 Aldy Hernandez <aldyh@redhat.com>
9806 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9807 Change condition to [_SOFT_FLOAT].
9808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9820 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9822 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9823 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9826 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9828 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9829 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9830 (__longjmp): Use LOAD_GP to load saved GPRs.
9831 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9832 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9833 (__sigsetjmp): Use SAVE_GP to save GPRs.
9835 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9836 Do not append -msoft-float.
9837 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9839 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9841 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9843 2013-09-17 Joseph Myers <joseph@codesourcery.com>
9846 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9847 (_FPU_GETCW): Use initial "__" on variable and field names but not
9848 on macro parameter name.
9849 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9850 parentheses around reference to macro parameter.
9852 2013-09-13 Richard Sandiford <richard@codesourcery.com>
9854 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9856 (ctype_startup): Use uint32_t in cast and sizeof for
9859 2013-09-11 Jia Liu <proljc@gmail.com>
9861 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9863 [__FreeBSD__]: Likewise.
9865 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
9867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9868 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9869 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9870 (strchr): Remove __strchr_sse42 ifunc selection.
9871 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9872 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9874 2013-09-11 Will Newton <will.newton@linaro.org>
9876 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9877 parameter to RES. Remove hardcoded 1000 value.
9878 * benchtests/bench-skeleton.c (main): Pass RES parameter
9879 to TIMING_INIT and multiply result by 1000.
9881 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9885 2013-09-11 Andreas Schwab <schwab@suse.de>
9887 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9889 (O_TMPFILE) [__USE_GNU]: Define.
9890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9893 2013-09-11 Will Newton <will.newton@linaro.org>
9896 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9899 2013-09-11 Will Newton <will.newton@linaro.org>
9902 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9905 2013-09-11 Will Newton <will.newton@linaro.org>
9908 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9911 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
9913 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9914 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9915 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9916 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9917 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9919 2013-09-10 Allan McRae <allan@archlinux.org>
9922 * manual/arith.texi (Parsing of Floats): Clarify
9926 * manual/install.texi (Running make install): Mention
9928 * INSTALL: Regenerated.
9930 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9932 * csu/init-first.c (_init): Remove the !SHARED condition around
9933 FPU control word initialization.
9934 * elf/dl-support.c (_dl_fpu_control): New variable.
9935 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9936 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9937 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9938 * math/test-fpucw-static.c: New file.
9939 * math/test-fpucw-ieee.c: New file.
9940 * math/test-fpucw-ieee-static.c: New file.
9941 * math/Makefile (tests): Add `test-fpucw-ieee' and
9943 (tests-static): New variable.
9944 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9946 [($(build-shared),yes)]
9947 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9949 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9952 2013-09-09 Allan McRae <allan@archlinux.org>
9955 * manual/string.texi (Collation Functions): Fix typo in
9957 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9960 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9963 * libio/memstream.c (open_memstream): Fix memory leak.
9964 * libio/wmemstream.c (open_wmemstream): Likewise.
9967 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9969 2013-09-09 Will Newton <will.newton@linaro.org>
9971 * malloc/Makefile: Add tst-realloc to tests.
9972 * malloc/tst-realloc.c: New file.
9974 2013-09-09 Allan McRae <allan@archlinux.org>
9977 * COPYING: Update from GNU website to fix FSF address.
9978 * COPYING.LIB: Likewise.
9980 2013-09-06 David S. Miller <davem@davemloft.net>
9982 * po/zh_TW.po: Update Chinese (traditional) translation from
9983 translation project.
9985 2013-09-06 Richard Sandiford <richard@codesourcery.com>
9986 Joseph Myers <joseph@codesourcery.com>
9988 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9990 (obstack_chunk_alloc): New macro.
9991 (obstack_chunk_free): Likewise.
9992 (record_offset): New function.
9993 (init_locale_data): Likewise.
9994 (align_locale_data): Likewise.
9995 (add_locale_empty): Likewise.
9996 (add_locale_raw_data): Likewise.
9997 (add_locale_raw_obstack): Likewise.
9998 (add_locale_string): Likewise.
9999 (add_locale_wstring): Likewise.
10000 (add_locale_uint32): Likewise.
10001 (add_locale_uint32_array): Likewise.
10002 (add_locale_char): Likewise.
10003 (start_locale_structure): Likewise.
10004 (end_locale_structure): Likewise.
10005 (start_locale_prelude): Likewise.
10006 (end_locale_prelude): Likewise.
10007 (write_locale_data): Take locale_file structure rather than an
10009 * locale/programs/locfile.h: Include "obstack.h".
10010 (struct locale_file): Change to store locale file contents instead
10012 (init_locale_data): New prototype.
10013 (align_locale_data): Likewise.
10014 (add_locale_empty): Likewise.
10015 (add_locale_raw_data): Likewise.
10016 (add_locale_raw_obstack): Likewise.
10017 (add_locale_string): Likewise.
10018 (add_locale_wstring): Likewise.
10019 (add_locale_uint32): Likewise.
10020 (add_locale_uint32_array): Likewise.
10021 (add_locale_char): Likewise.
10022 (start_locale_structure): Likewise.
10023 (end_locale_structure): Likewise.
10024 (start_locale_prelude): Likewise.
10025 (end_locale_prelude): Likewise.
10026 (write_locale_data): Update prototype.
10027 * locale/programs/3level.h (struct TABLE): Remove result field.
10028 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10029 Use new locale_file interface.
10030 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10031 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10032 * locale/programs/ld-address.c (address_output): Use new
10033 locale_file interface.
10034 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10036 (collate_finish): Don't call collseq_table_finalize.
10037 (collate_output): Use new locale_file interface.
10038 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10040 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10041 (TABLE): Move defines earlier in file.
10042 (ELEMENT): Likewise.
10043 (DEFAULT): Likewise.
10044 (wctrans_table_add): Move macro and inline function earlier in
10046 (struct wctype_table): Move type earlier in file.
10047 (add_locale_wctype_table): New static prototype.
10048 (struct locale_ctype_t): Use logical types instead of struct iovec
10049 pointers for members.
10050 (ctype_output): Use new locale_file interface.
10051 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10052 new locale_file interface.
10053 (allocate_arrays): Update for use of new locale_file interface.
10054 * locale/programs/ld-identification.c (identification_output): Use
10055 new locale_file interface.
10056 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10057 * locale/programs/ld-messages.c (messages_output): Likewise.
10058 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10059 * locale/programs/ld-name.c (name_output): Likewise.
10060 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10061 * locale/programs/ld-paper.c (paper_output): Likewise.
10062 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10063 * locale/programs/ld-time.c (time_output): Likewise.
10065 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10067 * benchtests/Makefile: Add memrchr benchmark.
10068 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10069 benchmark as memrchr.
10070 * benchtests/bench-memrchr-ifunc.c: New file.
10071 * benchtests/bench-memrchr.c: New file.
10073 2013-09-06 Will Newton <will.newton@linaro.org>
10075 * benchtests/Makefile (string-bench): Add memcpy.
10077 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10078 Cong Wang <amwang@redhat.com>
10081 * sysdeps/unix/sysv/linux/bits/in.h
10082 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10083 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10084 before __USE_KERNEL_IPV6_DEFS uses.
10085 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10087 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10088 sockaddr_in6, or ipv6_mreq.
10090 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10092 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10093 memory access for final bytes in some large inputs.
10094 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10096 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10098 * string/test-memrchr.c: New file.
10099 * string/test-memrchr-ifunc.c: New file.
10100 * string/Makefile: Add new memrchr testcase.
10102 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10104 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10105 fanotify_init returns EPERM.
10107 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10109 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10111 (top level): Treat second token from macro or constant entries for
10112 allowed headers as allowed.
10113 * include/complex.h: Condition internal declarations on
10115 * include/fenv.h: Condition include of <stdbool.h> and internal
10116 declarations on [!_ISOMAC].
10118 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10121 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10123 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10125 * configure.in (--enable-versioning): Remove configure option.
10126 (libc_cv_asm_symver_directive): Remove configure test.
10127 (libc_cv_ld_version_script_option): Likewise.
10128 (VERSIONING): Remove variable and AC_SUBST.
10129 (DO_VERSIONING): Remove AC_DEFINE.
10130 * configure: Regenerated.
10131 * config.h.in (DO_VERSIONING): Remove macro.
10132 * Makerules [$(versioning) = yes]: Change conditionals to
10133 [$(build-shared) = yes].
10134 * config.make.in (versioning): Remove variable.
10135 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10136 [$(build-shared) = yes].
10137 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10138 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10139 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10140 [$(build-shared) = yes].
10141 * extra-lib.mk [$(versioning) = yes]: Likewise.
10142 * hurd/Makefile [$(versioning) = yes]: Likewise.
10143 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10145 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10147 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10148 [SHARED && !NO_HIDDEN].
10149 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10151 [SHARED && DO_VERSIONING]: Likewise..
10152 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10153 [$(build-shared) = yes].
10154 * manual/install.texi (--disable-versioning): Remove
10156 * INSTALL: Regenerated.
10157 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10159 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10160 [$(build-shared) = yes].
10161 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10162 * sysdeps/i386/i686/multiarch/strstr-c.c
10163 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10164 [SHARED && !NO_HIDDEN].
10165 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10166 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10167 * sysdeps/powerpc/powerpc32/dl-machine.c
10168 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10169 * sysdeps/powerpc/powerpc32/sysdep.h
10170 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10171 to [SHARED && PIC && !NO_HIDDEN].
10172 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10173 conditional to [SHARED].
10175 2013-09-04 Will Newton <will.newton@linaro.org>
10177 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10178 * benchtests/bench-string.h: Include bench-timing.h instead
10179 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10180 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10181 call to HP_TIMING_DIFF_INIT.
10182 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10183 instead of hp-timing.h macros.
10184 * benchtests/bench-memchr.c: Likewise.
10185 * benchtests/bench-memcmp.c: Likewise.
10186 * benchtests/bench-memcpy.c: Likewise.
10187 * benchtests/bench-memmem.c: Likewise.
10188 * benchtests/bench-memmove.c: Likewise.
10189 * benchtests/bench-memset.c: Likewise.
10190 * benchtests/bench-rawmemchr.c: Likewise.
10191 * benchtests/bench-strcasecmp.c: Likewise.
10192 * benchtests/bench-strcasestr.c: Likewise.
10193 * benchtests/bench-strcat.c: Likewise.
10194 * benchtests/bench-strchr.c: Likewise.
10195 * benchtests/bench-strcmp.c: Likewise.
10196 * benchtests/bench-strcpy.c: Likewise.
10197 * benchtests/bench-strcpy_chk.c: Likewise.
10198 * benchtests/bench-strlen.c: Likewise.
10199 * benchtests/bench-strncasecmp.c: Likewise.
10200 * benchtests/bench-strncat.c: Likewise.
10201 * benchtests/bench-strncmp.c: Likewise.
10202 * benchtests/bench-strncpy.c: Likewise.
10203 * benchtests/bench-strnlen.c: Likewise.
10204 * benchtests/bench-strpbrk.c: Likewise.
10205 * benchtests/bench-strrchr.c: Likewise.
10206 * benchtests/bench-strspn.c: Likewise.
10207 * benchtests/bench-strstr.c: Likewise.
10209 2013-09-04 Will Newton <will.newton@linaro.org>
10211 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10213 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10216 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10217 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10218 * math/libm-test.inc (lgamma_test_data): Add more tests.
10219 * sysdeps/i386/fpu/libm-test-ulps: Update.
10220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10222 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10224 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10225 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10228 Add strcmp-sse2-unaligned
10229 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10231 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10233 * Versions.def (libc): Add GLIBC_2.19.
10235 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10237 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10238 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10240 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10243 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10244 intermediate calculations in recurrence.
10245 (__ieee754_ynf): Likewise.
10246 * math/libm-test.inc (jn_test_data): Do not allow spurious
10247 underflow exception. Add more tests.
10248 (yn_test_data): Add more tests.
10249 * sysdeps/i386/fpu/libm-test-ulps: Update.
10250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10252 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10254 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10256 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10258 * csu/init-first.c: Fix then/than typos.
10259 * locale/programs/ld-collate.c: Likewise.
10260 * locale/programs/linereader.h: Likewise.
10261 * manual/charset.texi: Likewise.
10262 * manual/filesys.texi: Likewise.
10263 * manual/stdio.texi: Likewise.
10264 * manual/string.texi: Likewise.
10265 * stdlib/fmtmsg.c: Likewise.
10266 * sysdeps/i386/stpncpy.S: Likewise.
10267 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10268 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10269 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10270 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10272 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10274 * elf/dl-open.c: Fix typos.
10275 * iconvdata/gbbig5.c: Likewise.
10276 * iconvdata/iso-2022-jp.c: Likewise.
10277 * iconv/gconv_int.h: Likewise.
10278 * iconv/loop.c: Likewise.
10279 * nis/rpcsvc/nis.h: Likewise.
10280 * resolv/ns_name.c: Likewise.
10281 * stdio-common/vfscanf.c: Likewise.
10282 * streams/stropts.h: Likewise.
10283 * sunrpc/rpc_thread.c: Likewise.
10284 * sysdeps/i386/strpbrk.S: Likewise.
10285 * sysdeps/ieee754/k_standard.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10288 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10289 * sysdeps/mach/hurd/profil.c: Likewise.
10290 * sysdeps/s390/dl-procinfo.h: Likewise.
10291 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10292 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10293 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10294 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10295 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10297 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10299 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10302 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10304 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10305 aix specific files.
10306 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10307 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10308 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10309 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10310 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10311 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10312 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10313 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10315 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10316 Roland McGrath <roland@hack.frob.com>
10318 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10319 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10321 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10323 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10324 __executable_start symbol instead of _start.
10326 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10328 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10329 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10331 * sysdeps/gnu/ldsodefs.h: ... this new file.
10333 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10334 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10335 instead of ELFOSABI_LINUX.
10337 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10338 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10339 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10340 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10342 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10343 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10344 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10346 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10347 (ibm_extended_long_double): Add ieee_nan member.
10348 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10349 (do_test): New function.
10351 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10353 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10354 functions, renamed from truncdfsf_test, trunctfsf_test,
10356 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10358 (do_test): Run all these.
10360 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10362 * argp/argp-help.c: Fix typos.
10363 * argp/argp-parse.c: Likewise.
10364 * debug/backtracesyms.c: Likewise.
10365 * elf/elf.h: Likewise.
10366 * malloc/malloc.c: Likewise.
10367 * nis/nis_print.c: Likewise.
10368 * resolv/res_comp.c: Likewise.
10369 * stdlib/stdlib.h: Likewise.
10370 * sunrpc/clnt_tcp.c: Likewise.
10371 * sunrpc/clnt_udp.c: Likewise.
10372 * sunrpc/clnt_unix.c: Likewise.
10373 * sysdeps/unix/bsd/ptsname.c: Likewise.
10374 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10375 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10382 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10384 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10386 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10389 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10392 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10393 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10394 ($(objpfx)bug-dl-leaf): New rule.
10395 ($(objpfx)bug-dl-leaf.so): Likewise.
10396 ($(objpfx)bug-dl-leaf.out): Likewise.
10397 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10398 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10399 * dlfcn/bug-dl-leaf.c: New test.
10400 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10401 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10402 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10403 (dlclose): Likewise.
10404 (dlmopen): Likewise.
10406 2013-08-27 Roland McGrath <roland@hack.frob.com>
10408 * include/netdb.h [!_ISOMAC]:
10409 Don't include <tls.h>.
10410 (h_errno, __libc_h_errno): Move declaration and macros out of
10413 * include/resolv.h [_RESOLV_H_]:
10414 Don't include <tls.h>.
10415 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10416 * resolv/res_libc.c: Don't include <tls.h>.
10417 (_res): Use __attribute__ ((nocommon)) in place of
10418 __attribute__ ((section (".bss"))).
10420 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10421 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10423 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10425 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10426 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10428 * resolv/res_mkquery.c: Include <sys/time.h>.
10430 * inet/ifreq.c: Moved to ...
10431 * sysdeps/unix/ifreq.c: ... here.
10432 * inet/ifreq.c: New file, true stub version.
10434 * socket/sa_len.c: New file.
10435 * socket/Makefile (aux): Add it.
10436 * sysdeps/unix/sysv/linux/Makefile
10437 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10438 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10439 and #include <socket/sa_len.c>.
10440 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10441 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10443 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10444 * bits/socket.h: ... here.
10446 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10447 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10448 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10450 2013-08-27 Andreas Schwab <schwab@suse.de>
10453 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10454 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10455 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10456 * string/test-strcasecmp.c (test_main): Run tests in several
10458 * string/test-strncasecmp.c (test_main): Likewise.
10460 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10461 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10462 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10464 (__strncasecmp_ssse3) [PIC]: Likewise.
10466 2013-08-26 Roland McGrath <roland@hack.frob.com>
10468 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10470 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10471 instead of explicitly declaring xdecrypt.
10472 * nis/nss_nis/nis-publickey.c: Likewise.
10474 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10477 * nscd/aicache.c: Include res_hconf.h.
10478 (addhstaiX): Initialize res_hconf.
10480 2013-08-26 Andreas Schwab <schwab@suse.de>
10482 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10483 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10485 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10487 * nscd/aicache.c (addhstaiX): Fix indentation.
10489 2013-08-25 Mike Frysinger <vapier@gentoo.org>
10491 * configure.ac: Quote $build_pt_chown test.
10492 * configure: Regenerated.
10494 2013-08-23 Joseph Myers <joseph@codesourcery.com>
10497 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10498 * math/s_cexpf.c (__cexpf): Likewise.
10499 * math/s_cexpl.c (__cexpl): Likewise.
10500 * math/libm-test.inc (cexp_test_data): Correct expected return
10501 value for NaN + i0. Add another test.
10503 2013-08-22 David S. Miller <davem@davemloft.net>
10505 * po/ca.po: Update Catalan translation from translation project.
10506 * po/uk.po: Add Ukrainian translations from translation project.
10508 2013-08-21 Joseph Myers <joseph@codesourcery.com>
10511 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10512 is infinite, not alongside NaN test.
10513 * math/s_fdimf.c (__fdimf): Likewise.
10514 * math/s_fdiml.c (__fdiml): Likewise.
10515 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10516 errno is unchanged.
10518 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
10520 * argp/argp-help.c: Fix typos.
10521 * crypt/speeds.c: Likewise.
10522 * csu/check_fds.c: Likewise.
10523 * elf/dl-load.c: Likewise.
10524 * elf/dl-open.c: Likewise.
10525 * elf/reldep3.c: Likewise.
10526 * elf/reldep.c: Likewise.
10527 * elf/sprof.c: Likewise.
10528 * iconv/iconv_charmap.c: Likewise.
10529 * iconv/skeleton.c: Likewise.
10530 * iconv/strtab.c: Likewise.
10531 * io/lockf64.c: Likewise.
10532 * libio/libioP.h: Likewise.
10533 * resolv/gai_notify.c: Likewise.
10534 * resolv/ns_name.c: Likewise.
10535 * resolv/ns_samedomain.c: Likewise.
10536 * resolv/res_send.c: Likewise.
10537 * stdlib/random.c: Likewise.
10538 * sunrpc/rpc/xdr.h: Likewise.
10539 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10540 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10541 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10542 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10543 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10544 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10545 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10546 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10547 * sysdeps/mach/hurd/check_fds.c: Likewise.
10548 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10549 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10550 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10551 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10552 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10553 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10554 * sysdeps/pthread/aio_notify.c: Likewise.
10555 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10556 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10557 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10558 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10559 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10561 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10563 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10564 version if bit_Slow_SSE4_2 is set.
10565 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10566 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10568 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10571 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10572 trampoline stack frame information.
10573 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10574 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10575 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10576 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10577 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10578 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10579 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10580 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10582 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10583 interrupting a syscall and set with option SA_SIGINFO.
10585 2013-08-20 Joseph Myers <joseph@codesourcery.com>
10588 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10589 argument is infinite.
10590 * math/s_cprojf.c (__cprojf): Likewise.
10591 * math/s_cprojl.c (__cprojl): Likewise.
10592 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10593 * math/libm-test.inc (cproj_test_data): Add more tests.
10595 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10597 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10598 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10599 size. Use __ffs to determine corresponding shift.
10601 2013-08-20 Joseph Myers <joseph@codesourcery.com>
10602 Roland McGrath <roland@hack.frob.com>
10604 * Makefile (INSTALL): Remove trailing blank lines from output of
10607 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10609 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10610 Align 32 bit compat elf_greg to 8 bytes.
10612 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10614 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10616 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10618 * string/strcoll_l.c (coll_seq): New structure.
10619 (get_next_seq_cached): New function.
10620 (get_next_seq): New function.
10621 (do_compare): New function.
10622 (STRCOLL): Use GNU style definition. Simplify implementation
10623 by using get_next_seq, get_next_seq_cached and do_compare.
10625 2013-08-16 Florian Weimer <fweimer@redhat.com>
10629 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10631 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10633 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10634 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10635 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10637 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10638 GETDENTS_64BIT_ALIGNED.
10639 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10640 * manual/filesys.texi (Reading/Closing Directory): Document
10641 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10643 * manual/conf.texi (Limits for Files): Add portability note to
10644 NAME_MAX, PATH_MAX.
10645 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10647 2013-08-13 Andreas Schwab <schwab@suse.de>
10650 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10652 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10653 LDBL_MAX_EXP >= 16384]: Add tests for it.
10655 2013-08-12 David S. Miller <davem@davemloft.net>
10657 * version.h (RELEASE): Set to "development".
10658 (VERSION): Set to "2.18.90".
10659 * NEWS: Add 2.19 section.
10661 2013-08-03 David S. Miller <davem@davemloft.net>
10663 * po/ko.po: Update Korean translation from translation project.
10665 2013-08-01 David S. Miller <davem@davemloft.net>
10667 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10668 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10671 2013-07-30 David S. Miller <davem@davemloft.net>
10673 * po/fr.po: Update French translation from translation project.
10675 2013-07-28 David S. Miller <davem@davemloft.net>
10677 * po/cs.po: Update Czech translation from translation project.
10679 * po/sv.po: Update Swedish translation from translation project.
10681 2013-07-27 David S. Miller <davem@davemloft.net>
10683 * po/eo.po: Update Esperanto translation from translation project.
10685 * po/vi.po: Update Vietnamese translation from translation project.
10687 * po/de.po: Update German translation from translation project.
10689 2013-07-26 David S. Miller <davem@davemloft.net>
10691 * po/bg.po: Update Bulgarian translation from translation project.
10693 * po/nl.po: Update Dutch translation from translation project.
10694 * po/pl.po: Update Polish translation from translation project.
10695 * po/ru.po: Update Russian translation from translation project.
10697 2013-07-24 David S. Miller <davem@davemloft.net>
10699 * po/libc.pot: Update.
10701 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10703 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10704 variable page size.
10705 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10706 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10707 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10709 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10711 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10713 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10714 Andreas Schwab <schwab@suse.de>
10715 Roland McGrath <roland@hack.frob.com>
10716 Joseph Myers <joseph@codesourcery.com>
10717 Carlos O'Donell <carlos@redhat.com>
10720 * config.h.in: Define HAVE_PT_CHOWN.
10721 * config.make.in (build-pt-chown): New variable.
10722 * configure.in (--enable-pt_chown): New configure option.
10723 * configure: Regenerate.
10724 * login/Makefile: Include Makeconfig. Build pt_chown only if
10725 build-pt-chown is enabled.
10726 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10727 pt_chown to fix pty ownership.
10728 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10730 * manual/install.texi (Configuring and compiling): Mention
10731 --enable-pt_chown. Add @findex for grantpt.
10732 * INSTALL: Regenerate.
10734 2013-07-20 David S. Miller <davem@davemloft.net>
10736 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10737 difference between 32-bit and 64-bit.
10739 2013-07-15 Carlos O'Donell <carlos@redhat.com>
10742 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10743 Avoid system header dependency with -ffreestanding.
10744 ($(objpfx)bits/syscall%d): Likewise.
10746 2013-07-13 David S. Miller <davem@davemloft.net>
10748 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10749 underflows from atanl/atan2l due to bug 15319.
10750 (casinh_test_data): Likewise.
10752 2013-07-07 David S. Miller <davem@davemloft.net>
10754 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10756 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10758 * sysdeps/i386/fpu/libm-test-ulps: Update.
10759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10761 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10763 * configure.in (--enable-lock-elision): Fix message text.
10764 * INSTALL: Regenerate.
10765 * configure: Regenerate.
10767 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10771 2013-07-03 Andreas Jaeger <aj@suse.de>
10773 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10775 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10776 (ptrace_peeksiginfo_args): Add.
10777 (__ptrace_peeksiginfo_flags): Add.
10778 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10780 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10782 2013-07-03 Allan McRae <allan@archlinux.org>
10784 * sysdeps/i386/fpu/libm-test-ulps: Update.
10786 2013-07-02 David S. Miller <davem@davemloft.net>
10788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10790 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10794 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10796 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10799 2013-07-02 Andi Kleen <ak@linux.intel.com>
10801 * config.h.in (ENABLE_LOCK_ELISION): Add.
10802 * configure.in (--enable-lock-elision): Add option.
10803 * manual/install.texi: Document --enable lock elision.
10804 * configure: Regenerate
10805 * INSTALL: Regenerate.
10807 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10809 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10810 SSE4.2 strcasecmp for libc.a.
10811 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10813 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10816 * soft-fp/op-common.h (_FP_FMA): New macro.
10817 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10818 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10819 (_FP_MUL_MEAT_1_imm): ... here.
10820 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10821 (_FP_MUL_MEAT_1_wide): ... here.
10822 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10823 (_FP_MUL_MEAT_1_hard): ... here.
10824 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10825 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10826 (_FP_MUL_MEAT_2_wide): ... here.
10827 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10828 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10829 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10830 (_FP_MUL_MEAT_2_gmp): ... here.
10831 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10832 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10833 (_FP_MUL_MEAT_4_wide): ... here.
10834 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10835 (_FP_MUL_MEAT_4_gmp): ... here.
10836 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10837 (_FP_WFRACBITS_DW_S): Likewise.
10838 (_FP_WFRACXBITS_DW_S): Likewise.
10839 (_FP_HIGHBIT_DW_S): Likewise.
10840 (FP_FMA_S): Likewise.
10841 (_FP_FRAC_HIGH_DW_S): Likewise.
10842 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10843 (_FP_WFRACBITS_DW_D): Likewise.
10844 (_FP_WFRACXBITS_DW_D): Likewise.
10845 (_FP_HIGHBIT_DW_D): Likewise.
10846 (FP_FMA_D): Likewise.
10847 (_FP_FRAC_HIGH_DW_D): Likewise.
10848 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10849 (_FP_WFRACBITS_DW_E): Likewise.
10850 (_FP_WFRACXBITS_DW_E): Likewise.
10851 (_FP_HIGHBIT_DW_E): Likewise.
10852 (FP_FMA_E): Likewise.
10853 (_FP_FRAC_HIGH_DW_E): Likewise.
10854 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10855 (_FP_WFRACBITS_DW_Q): Likewise.
10856 (_FP_WFRACXBITS_DW_Q): Likewise.
10857 (_FP_HIGHBIT_DW_Q): Likewise.
10858 (FP_FMA_Q): Likewise.
10859 (_FP_FRAC_HIGH_DW_Q): Likewise.
10860 * soft-fp/fmasf4.c: New file.
10861 * soft-fp/fmadf4.c: Likewise.
10862 * soft-fp/fmatf4.c: Likewise.
10864 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10867 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10869 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10871 (index_Slow_SSE4_2): Likewise.
10872 (index_Prefer_PMINUB_for_stringop): Likewise.
10873 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10874 bit_Slow_SSE4_2 is set.
10875 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10876 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10878 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10880 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10881 rtld_global._dl_hwcap2.
10882 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10884 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10885 POWER8 feature descriptions defined in _dl_hwcap2.
10886 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10887 string handling for POWER8 feature bits.
10888 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10889 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10890 _dl_powerpc_cap_flags.
10891 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10892 * sysdeps/powerpc/rtld-global-offsets.sym
10893 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10894 _dl_hwcap2 in the rtld_global_ro structure.
10896 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10898 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10899 hardware capabilities in support of AT_HWCAP2.
10900 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10901 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10903 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10904 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10905 explicitly the unknown a_type display mechanism is used.
10906 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10907 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10909 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10910 to macro prototype for AT_HWCAP2 support.
10911 * sysdeps/i386/dl-procinfo.h: Likewise.
10912 * sysdeps/s390/dl-procinfo.h: Likewise.
10913 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10914 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10915 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10916 return -1 for unknown a_type display fallback.
10917 * sysdeps/sparc/dl-procinfo.h: Likewise.
10918 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10919 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10921 2013-06-28 Joseph Myers <joseph@codesourcery.com>
10923 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10924 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10926 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10929 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10930 mprotect making __stack_prot writable.
10932 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10933 Joseph Myers <joseph@codesourcery.com>
10935 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10936 as being properly aligned.
10938 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10940 * dlfcn/modstatic5.c: New file.
10941 * dlfcn/tststatic5.c: New file.
10942 * dlfcn/Makefile (tests): Add tststatic5.
10943 (tests-static): Likewise.
10944 (modules-names): Add modstatic5.
10945 (tststatic5-ENV): New variable.
10946 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10949 * elf/dl-support.c (_dl_main_map): New variable.
10950 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10951 (_dl_nns, _dl_load_adds): Set to 1.
10952 (_dl_initial_searchlist): Refer to _dl_main_map.
10953 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10954 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10955 call to _dl_get_origin.
10956 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10958 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10959 * dlfcn/modstatic3.c: New file.
10960 * dlfcn/tststatic3.c: New file.
10961 * dlfcn/tststatic4.c: New file.
10962 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10963 (tests-static): Likewise.
10964 (modules-names): Add modstatic3.
10965 (tststatic3-ENV, tststatic4-ENV): New variables.
10966 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10967 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10969 2013-06-26 Joseph Myers <joseph@codesourcery.com>
10971 * configure.in (CC): Require GCC version 4.4 or later.
10972 * configure: Regenerated.
10973 * manual/install.texi (Tools for Compilation): Update GCC version
10975 * INSTALL: Regenerated.
10977 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10980 * string/test-memcmp.c (check2): New.
10981 (main): Call check2.
10983 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10985 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10988 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10990 (dl_open_worker) [!SHARED]: ... here.
10992 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10994 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10996 2013-06-25 Richard Henderson <rth@redhat.com>
10998 * locale/programs/locarchive.c: Include <libc-internal.h>
11000 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11002 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11003 trailing whitespace removed.
11005 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11008 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11009 * locale/programs/locarchive.c: Include libc-mmap.h.
11010 (prepare_address_space): Take two new outputs (the mmap base and len).
11011 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11013 (create_archive): Declare new mmap base and len values for
11014 prepare_address_space, and store the result in ah.
11015 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11016 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11017 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11018 Declare new mmap base and len values for
11019 prepare_address_space, and store the result in new_ah.
11020 (open_archive): Declare new mmap base and len values for
11021 prepare_address_space, and store the result in ah.
11022 (close_archive): If ah->mmap_base is not NULL, use that and
11023 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11024 * sysdeps/generic/libc-mmap.h: New file.
11026 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11028 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11029 (ALIGN_UP): Likewise.
11030 (PTR_ALIGN_DOWN): Likewise.
11031 (PTR_ALIGN_UP): Likewise.
11033 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11035 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11036 entry mapped to PPC_PLATFORM_POWER8.
11037 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11039 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11040 (_dl_string_platform): Add case for exporting platform position for
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11043 search path to sysdeps/powerpc/powerpc32/power8 directory.
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11045 search path to sysdeps/powerpc/powerpc64/power8 directory.
11046 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11047 power7 directories.
11048 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11049 power7 directories.
11051 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11053 * INSTALL: Regenerate.
11055 * nscd/connections.c (nscd_init): Fix comment.
11057 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11059 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11062 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11063 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11065 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11067 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11069 (DL_DST_REQ_STATIC): Remove macro.
11071 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11074 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11075 with a shift of 0 bits.
11077 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11079 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11082 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11085 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11087 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11089 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11090 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11091 accepts -fno-tree-loop-distribute-patterns.
11092 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11093 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11095 * string/memset.c (memset): Likewise.
11096 * string/test-memmove.c (simple_memmove): Disable loop transformation
11098 * string/test-memset.c (simple_memset): Likewise.
11099 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11100 * benchtests/bench-memset.c (simple_memset): Likewise.
11101 * configure: Regenerated.
11103 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11105 * math/test-misc.c (main): Ignore fesetround failure when failures
11106 of subsequent rounding tests would be ignored.
11109 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11110 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11111 * math/fegetenv.c (__fegetenv): Return 0.
11112 * math/fegetexcept.c (fegetexcept): Return 0.
11113 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11115 * math/feholdexcpt.c (feholdexcept): Return 0.
11116 * math/fesetenv.c (__fesetenv): Return 0.
11117 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11118 argument FE_TONEAREST.
11119 * math/feupdateenv.c (__feupdateenv): Return 0.
11120 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11122 2013-06-18 Roland McGrath <roland@hack.frob.com>
11124 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11125 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11126 ($(objpfx)rtld-%.os rules): Use them.
11128 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11130 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11133 2013-06-17 Roland McGrath <roland@hack.frob.com>
11135 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11136 length of target pattern, then descending length of dependency pattern.
11137 * configure.in (AWK): Require gawk 3.1.2 or newer.
11138 * manual/install.texi (Tools for Compilation): Say that we do.
11139 * configure: Regenerated.
11141 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11142 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11143 * scripts/sysd-rules.awk: ... this new script.
11144 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11145 than a glob-style pattern.
11147 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11149 * math/test-misc.c (main): Do not treat incorrectly rounded
11150 conversions as failure unless ROUNDING_TESTS passes.
11152 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11155 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11156 restore exception state around main square root computation, then
11157 check for inexactness explicitly.
11159 * math/libm-test.inc (fma_test_data): Add another test.
11161 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11163 * manual/threads.texi (Non-POSIX Extensions): New document
11164 node. Document pthread_getattr_default_np and
11165 pthread_setattr_default_np.
11167 * Versions.def (libpthread): Add GLIBC_2.18.
11168 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11177 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11188 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11191 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11193 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11194 H.J. Lu <hjl.tools@gmail.com>
11197 * sysdeps/x86_64/rtld-memset.c: Remove file.
11198 * sysdeps/x86_64/rtld-memset.S: New file.
11200 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11202 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11203 (test_in_one_mode): Take arguments for whether the rounding mode
11204 is supported for each floating-point type.
11205 (do_test): Pass new arguments to test_in_one_mode using
11208 2013-06-13 Roland McGrath <roland@hack.frob.com>
11210 * posix/tst-waitid.c (do_test): Distinguish different instances of
11211 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11212 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11213 before entering the kernel for waitpid.
11215 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11217 * NEWS: Fix note on clock function precision. Text by Roland
11220 2013-06-13 Roland McGrath <roland@hack.frob.com>
11222 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11223 it into place only when and if the sanity check passes.
11225 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11227 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11228 output for whether conversion result is exact. Take argument
11229 indicating whether type is IBM long double.
11230 (round_for_all): Change need_exact field to ibm_ld.
11231 * stdlib/tst-strtod-round.c (struct exactness): New type.
11232 (struct test): Change bool ld_ok field to struct exactness exact.
11233 (TEST): Update all definitions for change to field.
11234 (tests): Regenerate array contents.
11235 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11236 field value. Check for IBM long double here.
11237 (do_test): Update calls to test_in_one_mode.
11239 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11242 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11243 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11245 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11248 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11249 generated by the compiler on loop optimizations.
11250 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11251 general definitions.
11253 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11255 * math/bug-nextafter.c: Include <math-tests.h>.
11256 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11258 * math/bug-nexttoward.c: Include <math-tests.h>.
11259 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11261 * math/test-misc.c: Include <math-tests.h>.
11262 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11265 2013-06-12 Andreas Jaeger <aj@suse.de>
11267 * po/ia.po: Update Interlingua translation from translation
11270 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11272 * include/fenv.h: Include stdbool.h.
11273 (struct rm_ctx): New structure.
11274 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11276 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11277 (SET_RESTORE_ROUNDF): Likewise.
11278 (SET_RESTORE_ROUNDL): Likewise.
11279 (SET_RESTORE_ROUND_NOEX): Likewise.
11280 (SET_RESTORE_ROUND_NOEXF): Likewise.
11281 (SET_RESTORE_ROUND_NOEXL): Likewise.
11282 (SET_RESTORE_ROUND_53BIT): Likewise.
11283 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11284 (libc_feresetround_noexf_ctx): Likewise.
11285 (libc_feresetround_noexl_ctx): Likewise.
11286 (libc_feholdsetround_53bit_ctx): Likewise.
11287 (libc_feresetround_53bit_ctx): Likewise.
11288 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11289 (libc_feholdexcept_setround_sse_ctx): New function.
11290 (libc_fesetenv_sse_ctx): Likewise.
11291 (libc_feupdateenv_sse_ctx): Likewise.
11292 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11293 (libc_feholdexcept_setround_387_ctx): Likewise.
11294 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11295 (libc_feholdsetround_387_prec_ctx): Likewise.
11296 (libc_feholdsetround_387_ctx): Likewise.
11297 (libc_feholdsetround_387_53bit_ctx): Likewise.
11298 (libc_feholdsetround_sse_ctx): Likewise.
11299 (libc_feresetround_sse_ctx): Likewise.
11300 (libc_feresetround_387_ctx): Likewise.
11301 (libc_feupdateenv_387_ctx): Likewise.
11302 (libc_feholdexcept_setroundf_ctx): Define macro.
11303 (libc_fesetenvf_ctx): Likewise.
11304 (libc_feupdateenvf_ctx): Likewise.
11305 (libc_feholdsetroundf_ctx): Likewise.
11306 (libc_feresetroundf_ctx): Likewise.
11307 (libc_feholdexcept_setround_ctx): Likewise.
11308 (libc_fesetenv_ctx): Likewise.
11309 (libc_feupdateenv_ctx): Likewise.
11310 (libc_feholdsetround_ctx): Likewise.
11311 (libc_feresetround_ctx): Likewise.
11312 (libc_feholdexcept_setroundl_ctx): Likewise.
11313 (libc_feupdateenvl_ctx): Likewise.
11314 (libc_feholdsetroundl_ctx): Likewise.
11315 (libc_feresetroundl_ctx): Likewise.
11316 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11317 (libc_feresetround_53bit_ctx): Likewise.
11319 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11321 * locale/iso-639.def: Convert to UTF-8.
11323 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11325 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11326 (EXCEPTION_TESTS_double): Likewise.
11327 (EXCEPTION_TESTS_long_double): Likewise.
11328 (EXCEPTION_TESTS): Likewise.
11329 * math/libm-test.inc (test_exceptions): Only test exceptions if
11330 EXCEPTION_TESTS (FLOAT).
11332 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11334 * benchtests/Makefile (string-bench): Add strcpy_chk and
11336 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11337 * benchtests/bench-stpcpy_chk.c: New file.
11338 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11339 * benchtests/bench-strcpy_chk.c: New file.
11340 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11342 (do_test): Likewise.
11344 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11346 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11347 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11348 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11349 with tabs where appropriate.
11350 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11352 [PPC_PLATFORM_PPC440]: Likewise.
11353 [PPC_PLATFORM_PPC464]: Likewise.
11354 [PPC_PLATFORM_PPC476]: Likewise.
11355 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11356 ppc464, and ppc476 platform strings merging from ports/
11359 2013-06-11 Andreas Schwab <schwab@suse.de>
11362 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11363 (from_ucs4_idx): Regenerate.
11364 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11365 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11366 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11367 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11368 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11369 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11370 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11371 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11372 from FROM_LOOP and TO_LOOP specific macros.
11373 (BODY): Handle combining characters.
11374 * iconvdata/BIG5HKSCS.irreversible: Update.
11375 * iconvdata/BIG5HKSCS.precomposed: New file.
11376 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11378 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11380 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11382 * include/sys/time.h: Fix indentation and add copyright header.
11384 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11385 (do_test): Likewise.
11386 * string/test-memchr.c (do_one_test): Likewise.
11387 (do_test): Likewise.
11388 * string/test-memcmp.c (do_one_test): Likewise.
11389 (do_test): Likewise.
11390 * string/test-memcpy.c (do_one_test): Likewise.
11391 (do_test): Likewise.
11392 * string/test-memmem.c (do_one_test): Likewise.
11393 (do_test): Likewise.
11394 (do_random_tests): Likewise.
11395 * string/test-memmove.c (do_one_test): Likewise.
11396 (do_test): Likewise.
11397 * string/test-memset.c (do_one_test): Likewise.
11398 (do_test): Likewise.
11399 * string/test-rawmemchr.c (do_one_test): Likewise.
11400 (do_test): Likewise.
11401 * string/test-strcasecmp.c (do_one_test): Likewise.
11402 (do_test): Likewise.
11403 * string/test-strcasestr.c (do_one_test): Likewise.
11404 (do_test): Likewise.
11405 * string/test-strcat.c (do_one_test): Likewise.
11406 (do_test): Likewise.
11407 * string/test-strchr.c (do_one_test): Likewise.
11408 (do_test): Likewise.
11409 * string/test-strcmp.c (do_one_test): Likewise.
11410 (do_test): Likewise.
11411 * string/test-strcpy.c (do_one_test): Likewise.
11412 (do_test): Likewise.
11413 * string/test-string.h: Likewise.
11414 (test_init): Likewise.
11415 * string/test-strlen.c (do_one_test): Likewise.
11416 (do_test): Likewise.
11417 * string/test-strncasecmp.c (do_one_test): Likewise.
11418 (do_test): Likewise.
11419 * string/test-strncat.c (do_one_test): Likewise.
11420 (do_test): Likewise.
11421 * string/test-strncmp.c (do_one_test): Likewise.
11422 (do_test_limit): Likewise.
11423 (do_test): Likewise.
11424 * string/test-strncpy.c (do_one_test): Likewise.
11425 (do_test): Likewise.
11426 * string/test-strnlen.c (do_one_test): Likewise.
11427 (do_test): Likewise.
11428 * string/test-strpbrk.c (do_one_test): Likewise.
11429 (do_test): Likewise.
11430 * string/test-strrchr.c (do_one_test): Likewise.
11431 (do_test): Likewise.
11432 * string/test-strspn.c (do_one_test): Likewise.
11433 (do_test): Likewise.
11434 * string/test-strstr.c (do_one_test): Likewise.
11435 (do_test): Likewise.
11437 * benchtests/Makefile (string-bench): Add string benchmarks.
11438 * benchtests/bench-bcopy-ifunc.c: New file.
11439 * benchtests/bench-bcopy.c: New file.
11440 * benchtests/bench-bzero-ifunc.c: New file.
11441 * benchtests/bench-bzero.c: New file.
11442 * benchtests/bench-memccpy-ifunc.c: New file.
11443 * benchtests/bench-memccpy.c: New file.
11444 * benchtests/bench-memchr-ifunc.c: New file.
11445 * benchtests/bench-memchr.c: New file.
11446 * benchtests/bench-memcmp-ifunc.c: New file.
11447 * benchtests/bench-memcmp.c: New file.
11448 * benchtests/bench-memmem-ifunc.c: New file.
11449 * benchtests/bench-memmem.c: New file.
11450 * benchtests/bench-memmove-ifunc.c: New file.
11451 * benchtests/bench-memmove.c: New file.
11452 * benchtests/bench-mempcpy-ifunc.c: New file.
11453 * benchtests/bench-mempcpy.c: New file.
11454 * benchtests/bench-memset-ifunc.c: New file.
11455 * benchtests/bench-memset.c: New file.
11456 * benchtests/bench-rawmemchr-ifunc.c: New file.
11457 * benchtests/bench-rawmemchr.c: New file.
11458 * benchtests/bench-stpcpy-ifunc.c: New file.
11459 * benchtests/bench-stpcpy.c: New file.
11460 * benchtests/bench-stpncpy-ifunc.c: New file.
11461 * benchtests/bench-stpncpy.c: New file.
11462 * benchtests/bench-strcasecmp-ifunc.c: New file.
11463 * benchtests/bench-strcasecmp.c: New file.
11464 * benchtests/bench-strcasestr-ifunc.c: New file.
11465 * benchtests/bench-strcasestr.c: New file.
11466 * benchtests/bench-strcat-ifunc.c: New file.
11467 * benchtests/bench-strcat.c: New file.
11468 * benchtests/bench-strchr-ifunc.c: New file.
11469 * benchtests/bench-strchr.c: New file.
11470 * benchtests/bench-strchrnul-ifunc.c: New file.
11471 * benchtests/bench-strchrnul.c: New file.
11472 * benchtests/bench-strcmp-ifunc.c: New file.
11473 * benchtests/bench-strcmp.c: New file.
11474 * benchtests/bench-strcpy-ifunc.c: New file.
11475 * benchtests/bench-strcpy.c: New file.
11476 * benchtests/bench-strcspn-ifunc.c: New file.
11477 * benchtests/bench-strcspn.c: New file.
11478 * benchtests/bench-strlen-ifunc.c: New file.
11479 * benchtests/bench-strlen.c: New file.
11480 * benchtests/bench-strncasecmp-ifunc.c: New file.
11481 * benchtests/bench-strncasecmp.c: New file.
11482 * benchtests/bench-strncat-ifunc.c: New file.
11483 * benchtests/bench-strncat.c: New file.
11484 * benchtests/bench-strncmp-ifunc.c: New file.
11485 * benchtests/bench-strncmp.c: New file.
11486 * benchtests/bench-strncpy-ifunc.c: New file.
11487 * benchtests/bench-strncpy.c: New file.
11488 * benchtests/bench-strnlen-ifunc.c: New file.
11489 * benchtests/bench-strnlen.c: New file.
11490 * benchtests/bench-strpbrk-ifunc.c: New file.
11491 * benchtests/bench-strpbrk.c: New file.
11492 * benchtests/bench-strrchr-ifunc.c: New file.
11493 * benchtests/bench-strrchr.c: New file.
11494 * benchtests/bench-strspn-ifunc.c: New file.
11495 * benchtests/bench-strspn.c: New file.
11496 * benchtests/bench-strstr-ifunc.c: New file.
11497 * benchtests/bench-strstr.c: New file.
11499 * benchtests/Makefile: Disable parallel execution of targets.
11500 (string-bench): Add memcpy.
11501 (benchset): New variable to store a list of benchmark sets.
11502 (bench-func): Renamed from bench.
11503 (bench-set): New target.
11504 (bench): Depend on bench-func and bench-set.
11505 * benchtests/README: Add section on benchmark sets.
11506 * benchtests/bench-memcpy-ifunc.c: New file.
11507 * benchtests/bench-memcpy.c: New file.
11508 * benchtests/bench-string.h: New file.
11510 2013-06-11 Andreas Schwab <schwab@suse.de>
11513 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11514 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11515 values in the triple.
11516 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11517 terminator in the group key.
11519 2013-06-11 Andreas Jaeger <aj@suse.de>
11521 * po/zh_TW.po: Update Chinese (traditional) translation from
11522 translation project.
11524 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11526 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11527 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11528 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11529 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11530 (clock_getcpuclockid): Likewise.
11531 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11532 Add weak_alias and libc_hidden_def.
11533 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11534 * rt/clock_gettime.c (clock_gettime): Rename to
11535 __clock_gettime. Add weak_alias and libc_hidden_def.
11536 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11537 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11538 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11539 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11540 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11542 * rt/clock_settime.c (clock_settime): Rename to
11543 __clock_settime. Add weak_alias and libc_hidden_def.
11544 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11546 2013-06-10 Joseph Myers <joseph@codesourcery.com>
11548 * mach/err_boot.sub: Remove trailing whitespace.
11549 * mach/err_ipc.sub: Likewise.
11550 * mach/err_mach.sub: Likewise.
11552 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11553 (ROUNDING_TESTS_double): Likewise.
11554 (ROUNDING_TESTS_long_double): Likewise.
11555 (ROUNDING_TESTS): Likewise.
11556 * math/libm-test.inc: Include <math-tests.h>.
11557 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11558 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11559 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11560 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11562 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11564 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11567 2013-06-08 Joseph Myers <joseph@codesourcery.com>
11569 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11570 otherwise empty TRANS lines.
11571 * sysdeps/gnu/errlist.c: Regenerated.
11573 * catgets/gencat.c (error_print): Use (void) in function
11575 * crypt/crypt_util.c (__init_des): Likewise.
11576 * crypt/speeds.c (Stop): Likewise.
11578 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11579 * inet/ruserpass.c (token): Likewise.
11580 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11581 * intl/localealias.c (extend_alias_table): Likewise.
11582 * intl/plural-exp.c (init_germanic_plural): Likewise.
11583 * libio/fcloseall.c (__fcloseall): Likewise.
11584 * libio/genops.c (_IO_flush_all): Likewise.
11585 (_IO_flush_all_linebuffered): Likewise.
11586 (_IO_cleanup): Likewise.
11587 (_IO_iter_begin): Likewise.
11588 (_IO_iter_end): Likewise.
11589 (_IO_list_lock): Likewise.
11590 (_IO_list_unlock): Likewise.
11591 (_IO_list_resetlock): Likewise.
11592 * libio/getchar.c (getchar): Likewise.
11593 * libio/getchar_u.c (getchar_unlocked): Likewise.
11594 * libio/getwchar.c (getwchar): Likewise.
11595 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11596 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11597 * login/getpt.c (__getpt): Likewise.
11598 * login/tst-utmp.c (main): Likewise.
11599 * malloc/hooks.c (__malloc_check_init): Likewise.
11600 * malloc/malloc.c (__malloc_stats): Likewise.
11601 * malloc/mtrace.c (tr_break): Likewise.
11602 (mtrace): Likewise.
11603 (muntrace): Likewise.
11604 * misc/fstab.c (endfsent): Likewise.
11605 * misc/getclktck.c (__getclktck): Likewise.
11606 * misc/getdtsz.c (__getdtablesize): Likewise.
11607 * misc/gethostid.c (gethostid): Likewise.
11608 * misc/getpagesize.c (__getpagesize): Likewise.
11609 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11610 (__get_nprocs): Likewise.
11611 (__get_phys_pages): Likewise.
11612 (__get_avphys_pages): Likewise.
11613 * misc/getttyent.c (getttyent): Likewise.
11614 (setttyent): Likewise.
11615 (endttyent): Likewise.
11616 * misc/getusershell.c (getusershell): Likewise.
11617 (endusershell): Likewise.
11618 (setusershell): Likewise.
11619 (initshells): Likewise.
11620 * misc/hsearch.c (__hdestroy): Likewise.
11621 * misc/sync.c (sync): Likewise.
11622 * misc/syslog.c (closelog_internal): Likewise.
11623 (closelog): Likewise.
11624 * misc/ttyslot.c (ttyslot): Likewise.
11625 * misc/vhangup.c (vhangup): Likewise.
11626 * posix/fork.c (__fork): Likewise.
11627 * posix/getegid.c (__getegid): Likewise.
11628 * posix/geteuid.c (__geteuid): Likewise.
11629 * posix/getgid.c (__getgid): Likewise.
11630 * posix/getpid.c (__getpid): Likewise.
11631 * posix/getppid.c (__getppid): Likewise.
11632 * posix/getuid.c (__getuid): Likewise.
11633 * posix/pause.c (pause): Likewise.
11634 * posix/setpgrp.c (setpgrp): Likewise.
11635 * posix/setsid.c (__setsid): Likewise.
11636 * posix/test-vfork.c (noop): Likewise.
11637 * resolv/gethnamaddr.c (_endhtent): Likewise.
11638 (_gethtent): Likewise.
11639 (ht_endhostent): Likewise.
11640 (gethostent): Likewise.
11641 (dns_service): Likewise.
11642 * stdlib/drand48.c (drand48): Likewise.
11643 * stdlib/lrand48.c (lrand48): Likewise.
11644 * stdlib/mrand48.c (mrand48): Likewise.
11645 * stdlib/rand.c (rand): Likewise.
11646 * stdlib/random.c (__random): Likewise.
11647 * stdlib/setenv.c (clearenv): Likewise.
11648 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11649 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11650 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11651 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11652 (__get_nprocs): Likewise.
11653 (__get_phys_pages): Likewise.
11654 (__get_avphys_pages): Likewise.
11655 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11656 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11657 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11658 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11659 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11660 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11661 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11662 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11663 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11664 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11665 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11666 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11667 * sysdeps/posix/clock.c (clock): Likewise.
11668 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11669 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11670 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11671 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11672 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11673 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11674 (__get_nprocs_conf): Likewise.
11675 (__get_phys_pages): Likewise.
11676 (__get_avphys_pages): Likewise.
11677 * time/clock.c (clock): Likewise.
11678 * time/tzset.c (__tzname_max): Likewise.
11680 2013-06-07 Joseph Myers <joseph@codesourcery.com>
11682 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11683 (__bswap_32): Do not use "register".
11684 * crypt/crypt.c (_ufc_doit_r): Likewise.
11685 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11686 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11687 * gmon/gmon.c (__monstartup): Likewise.
11688 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11689 * hurd/hurdmalloc.c (more_memory): Likewise.
11690 (malloc): Likewise.
11692 (realloc): Likewise.
11693 (malloc_fork_prepare): Likewise.
11694 (malloc_fork_parent): Likewise.
11695 (malloc_fork_child): Likewise.
11696 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11697 (_svcauth_des): Likewise.
11698 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11699 * inet/inet_net.c (inet_network): Likewise.
11700 * inet/inet_netof.c (inet_netof): Likewise.
11701 * inet/rcmd.c (__validuser2_sa): Likewise.
11702 * io/fts.c (fts_open): Likewise.
11703 (fts_load): Likewise.
11704 (fts_close): Likewise.
11705 (fts_read): Likewise.
11706 (fts_children): Likewise.
11707 (fts_build): Likewise.
11708 (fts_stat): Likewise.
11709 (fts_sort): Likewise.
11710 (fts_alloc): Likewise.
11711 (fts_lfree): Likewise.
11712 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11713 (_IO_file_xsgetn): Likewise.
11714 (_IO_file_xsgetn_mmap): Likewise.
11715 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11716 (_IO_cookie_write): Likewise.
11717 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11718 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11719 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11720 * malloc/obstack.c (_obstack_begin): Likewise.
11721 (_obstack_begin_1): Likewise.
11722 (_obstack_newchunk): Likewise.
11723 (_obstack_allocated_p): Likewise.
11724 (obstack_free): Likewise.
11725 (_obstack_memory_used): Likewise.
11726 * misc/getttyent.c (getttynam): Likewise.
11727 (getttyent): Likewise.
11730 * misc/getusershell.c (initshells): Likewise.
11731 * misc/syslog.c (__vsyslog_chk): Likewise.
11732 * misc/ttyslot.c (ttyslot): Likewise.
11733 * nis/nis_hash.c (__nis_hash): Likewise.
11734 * posix/fnmatch_loop.c (FCT): Likewise.
11735 * posix/getconf.c (print_all): Likewise.
11737 * posix/getopt.c (exchange): Likewise.
11738 * posix/glob.c (globfree): Likewise.
11739 (prefix_array): Likewise.
11740 (__glob_pattern_type): Likewise.
11741 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11742 (NS_GET32): Likewise.
11743 (NS_PUT16): Likewise.
11744 (NS_PUT32): Likewise.
11745 * resolv/gethnamaddr.c (getanswer): Likewise.
11746 (gethostbyname2): Likewise.
11747 (gethostbyaddr): Likewise.
11748 (_gethtent): Likewise.
11749 (_gethtbyname2): Likewise.
11750 (_gethtbyaddr): Likewise.
11751 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11752 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11753 * resolv/res_init.c (__res_vinit): Likewise.
11754 (net_mask): Likewise.
11755 * resolv/res_mkquery.c (outchar): Likewise.
11757 * stdio-common/printf_fp.c (outchar): Likewise.
11759 * stdio-common/printf_fphex.c (outchar): Likewise.
11761 * stdio-common/printf_size.c (outchar): Likewise.
11763 * stdio-common/test_rdwr.c (main): Likewise.
11764 * stdio-common/tfformat.c (matches): Likewise.
11765 * stdio-common/vfprintf.c (outchar): Likewise.
11766 (printf_unknown): Likewise.
11767 (buffered_vfprintf): Likewise.
11768 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11769 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11770 (ReadFile): Likewise.
11771 * stdlib/qsort.c (SWAP): Likewise.
11772 (_quicksort): Likewise.
11773 * stdlib/setenv.c (__add_to_environ): Likewise.
11774 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11775 * stdlib/strtol_l.c (__strtol_l): Likewise.
11776 * stdlib/tst-strtod.c (main): Likewise.
11777 * stdlib/tst-strtol.c (main): Likewise.
11778 * stdlib/tst-strtoll.c (main): Likewise.
11779 * string/bits/string2.h (__strcmp_cc): Likewise.
11780 (__strcmp_cg): Likewise.
11781 (__strcspn_c1): Likewise.
11782 (__strcspn_c2): Likewise.
11783 (__strcspn_c3): Likewise.
11784 (__strspn_c1): Likewise.
11785 (__strspn_c2): Likewise.
11786 (__strspn_c3): Likewise.
11787 (__strsep_1c): Likewise.
11788 (__strsep_2c): Likewise.
11789 (__strsep_3c): Likewise.
11790 * string/memccpy.c (__memccpy): Likewise.
11791 * string/stpcpy.c (__stpcpy): Likewise.
11792 * string/strcmp.c (strcmp): Likewise.
11793 * string/strrchr.c (strrchr): Likewise.
11794 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11796 * sysdeps/mach/hurd/getcwd.c
11797 (_hurd_canonicalize_directory_name_internal): Likewise.
11798 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11799 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11800 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11801 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11802 Likewise, in both definitions.
11803 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11805 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11806 64] (__bswap_64): Likewise.
11807 * time/test_time.c (main): Likewise.
11808 * time/tzfile.c (__tzfile_read): Likewise.
11809 (__tzfile_compute): Likewise.
11810 * time/tzset.c (__tzset_parse_tz): Likewise.
11811 (tzset_internal): Likewise.
11812 (compute_change): Likewise.
11813 * wcsmbs/wcscat.c (__wcscat): Likewise.
11814 * wcsmbs/wcschr.c (wcschr): Likewise.
11815 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11816 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11817 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11818 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11819 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11820 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11821 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11822 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11823 * wcsmbs/wmemset.c (wmemset): Likewise.
11825 2013-06-06 Joseph Myers <joseph@codesourcery.com>
11827 * scripts/config.guess: Update to version 2013-05-16.
11828 * scripts/config.sub: Update to version 2013-04-24.
11829 * scripts/install-sh: Update to version 2011-11-20.07.
11830 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11831 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11833 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
11835 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11836 * elf/sln.c: Likewise.
11837 * hurd/hurd/ioctl.h: Likewise.
11838 * hurd/hurdmalloc.c: Likewise.
11839 * hurd/xattr.c: Likewise.
11840 * include/shlib-compat.h: Likewise.
11841 * inet/ruserpass.c: Likewise.
11842 * libio/iofgets_u.c: Likewise.
11843 * libio/iofgetws_u.c: Likewise.
11844 * locale/programs/ld-identification.c: Likewise.
11845 * locale/programs/ld-time.c: Likewise.
11846 * mach/msg-destroy.c: Likewise.
11847 * nss/nss_files/files-netgrp.c: Likewise.
11848 * resolv/res_data.c: Likewise.
11849 * soft-fp/op-1.h: Likewise.
11850 * soft-fp/op-2.h: Likewise.
11851 * soft-fp/op-4.h: Likewise.
11852 * soft-fp/op-common.h: Likewise.
11853 * stdio-common/printf_fphex.c: Likewise.
11854 * stdlib/strtod_l.c: Likewise.
11855 * sunrpc/rpc/clnt.h: Likewise.
11856 * sysdeps/generic/framestate.c: Likewise.
11857 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11858 * sysdeps/i386/bsd-setjmp.S: Likewise.
11859 * sysdeps/i386/__longjmp.S: Likewise.
11860 * sysdeps/i386/setjmp.S: Likewise.
11861 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11862 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11863 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11864 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11865 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11866 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11867 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11868 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11869 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11870 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11871 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11872 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11873 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11874 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11875 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11876 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11877 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11878 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11879 * sysdeps/ieee754/support.c: Likewise.
11880 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11881 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11882 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11883 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11884 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11885 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11886 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11887 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11888 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11889 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11890 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11891 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11892 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11893 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11894 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11895 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11896 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11899 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
11901 * posix/transbug.c: Remove executable mode.
11903 2013-06-05 Joseph Myers <joseph@codesourcery.com>
11905 * crypt/speeds.c: Remove trailing whitespace.
11906 * dlfcn/default.c: Likewise.
11907 * elf/ifuncdep2.c: Likewise.
11908 * elf/ifuncmain1.c: Likewise.
11909 * elf/ifuncmain1vis.c: Likewise.
11910 * elf/testobj.h: Likewise.
11911 * elf/tst-stackguard1.c: Likewise.
11912 * gmon/sys/gmon.h: Likewise.
11913 * hurd/hurdmsg.c: Likewise.
11914 * hurd/new-fd.c: Likewise.
11915 * hurd/ports-get.c: Likewise.
11916 * iconvdata/ibm1008_420.c: Likewise.
11917 * inet/tst-getni1.c: Likewise.
11918 * inet/tst-getni2.c: Likewise.
11919 * libio/ioungetc.c: Likewise.
11920 * libio/wfiledoalloc.c: Likewise.
11921 * manual/libm-err-tab.pl: Likewise.
11922 * math/w_dremf.c: Likewise.
11923 * misc/ftruncate.c: Likewise.
11924 * posix/bug-glob2.c: Likewise.
11925 * posix/tst-pcre.c: Likewise.
11926 * posix/wait4.c: Likewise.
11927 * resolv/README: Likewise.
11928 * resolv/res_debug.h: Likewise.
11929 * resolv/tst-inet_ntop.c: Likewise.
11930 * setjmp/bug269-setjmp.c: Likewise.
11931 * soft-fp/extended.h: Likewise.
11932 * soft-fp/op-1.h: Likewise.
11933 * soft-fp/op-2.h: Likewise.
11934 * soft-fp/op-4.h: Likewise.
11935 * soft-fp/op-8.h: Likewise.
11936 * soft-fp/testit.c: Likewise.
11937 * stdio-common/bug16.c: Likewise.
11938 * stdlib/random.c: Likewise.
11939 * sunrpc/rpcsvc/rquota.x: Likewise.
11940 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11941 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11942 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11943 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11944 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11945 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11946 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11947 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11948 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11949 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11950 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11951 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11952 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11953 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11954 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11955 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11956 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11957 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11958 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11959 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11961 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11962 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11963 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11964 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11965 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11966 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11967 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11968 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11969 * sysdeps/ieee754/s_lib_version.c: Likewise.
11970 * sysdeps/mach/hurd/check_fds.c: Likewise.
11971 * sysdeps/mach/hurd/getsockname.c: Likewise.
11972 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11973 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11974 * sysdeps/powerpc/bits/link.h: Likewise.
11975 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11976 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11977 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11978 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11979 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11980 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11981 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11982 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11983 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11984 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11985 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11986 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11987 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11988 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11989 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11990 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11991 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11992 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11993 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11994 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11995 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11996 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11997 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11998 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11999 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12000 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12001 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12002 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12003 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12004 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12005 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12006 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12007 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12008 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12009 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12010 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12011 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12012 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12013 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12014 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12015 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12016 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12017 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12018 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12019 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12020 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12021 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12022 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12023 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12024 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12025 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12026 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12027 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12028 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12029 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12030 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12031 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12032 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12033 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12034 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12035 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12036 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12037 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12038 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12039 * sysdeps/powerpc/sysdep.h: Likewise.
12040 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12041 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12042 * sysdeps/sh/dl-trampoline.S: Likewise.
12043 * sysdeps/sh/memset.S: Likewise.
12044 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12045 * sysdeps/sh/strlen.S: Likewise.
12046 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12047 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12048 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12049 * sysdeps/sparc/sparc32/rem.S: Likewise.
12050 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12051 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12052 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12053 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12054 * sysdeps/sparc/sparc32/urem.S: Likewise.
12055 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12056 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12057 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12058 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12059 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12060 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12061 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12062 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12063 * sysdeps/unix/bsd/times.c: Likewise.
12064 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12065 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12069 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12070 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12071 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12072 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12073 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12074 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12075 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12076 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12077 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12078 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12079 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12080 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12081 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12082 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12083 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12084 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12085 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12086 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12087 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12088 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12089 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12090 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12091 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12092 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12093 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12094 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12095 * sysdeps/x86_64/strcspn.S: Likewise.
12097 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12099 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12100 generated file. Regenerate properly from gen-translit.pl.
12101 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12102 locale/C-translit.h.
12104 2013-06-05 Andreas Schwab <schwab@suse.de>
12107 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12108 week as 6 instead of -1.
12109 * time/tst-strptime.c (day_tests): Add test case.
12111 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12113 * sysdeps/generic/math_private.h
12114 (libc_feholdexcept_setround_53bit): Replace with
12115 libc_feholdsetround_53bit.
12116 (libc_feupdateenv_53bit): Replace with
12117 libc_feresetround_53bit.
12118 (SET_RESTORE_ROUND_53BIT): Adjust.
12120 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12122 * string/test-strchrnul.c: Add copyright header.
12124 * posix/tst-getaddrinfo4.c: Increase test timeout.
12126 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12129 * math/libm-test.inc (MAX_EXP): Remove
12131 (ulp): Use MIN_EXP - MANT_DIG.
12132 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12134 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12136 * po/be.po: Revert last change.
12137 * po/zh_CN.po: Likewise.
12138 * po/header.pot: Likewise.
12140 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12142 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12143 link-libc-deps to empty as target-specific variable.
12144 * Makerules (link-libc-args): New variable.
12145 (libc-for-link): Likewise.
12146 (link-libc-deps): Likewise.
12147 (lib%.so): Depend on $(link-libc-deps). Link with
12149 (build-module): Link with $(link-libc-args).
12150 (build-module-asneeded): Likewise.
12151 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12153 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12154 target-specific variable.
12155 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12156 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12157 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12159 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12161 ($(objpfx)libpcprofile.so): Likewise.
12162 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12164 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12165 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12166 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12168 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12169 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12170 * login/Makefile ($(objpfx)libutil.so): Likewise.
12171 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12172 * math/Makefile ($(objpfx)libm.so): Likewise.
12173 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12174 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12175 variable instead of depending directly on libc.
12176 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12177 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12179 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12181 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12182 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12183 ($(objpfx)libanl.so): Likewise.
12184 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12186 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12188 * sysdeps/i386/fpu/Makefile: Remove file.
12189 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12190 ($(objpfx)libm.so): Remove dependency on ld.so.
12192 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12195 * nis/yp_xdr.c (XDRMAXNAME): Define.
12196 (XDRMAXRECORD): Define.
12197 (xdr_domainname): Use XDRMAXNAME.
12198 (xdr_mapname): Likewise.
12199 (xdr_peername): Likewise.
12200 (xdr_keydat): Use XDRMAXRECORD.
12201 (xdr_valdat): Likewise.
12203 2013-05-30 Jeff Law <law@redhat.com>
12206 * manual/errno.texi (ESTALE): Update to account for more than
12207 just NFS file systems.
12208 * sysdeps/gnu/errlist.c: Regenerated.
12210 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12213 * elf/Makefile (tests): Add tst-null-argv.
12214 (modules-names): Add tst-null-argv-lib.
12215 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12216 (tst-null-argv-ENV): Set environment for tst-null-argv.
12217 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12218 (RTLD_PROGNAME): New macro.
12219 * elf/tst-null-argv.c: New test case.
12220 * elf/tst-null-argv-lib.c: Library for test case.
12221 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12222 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12223 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12224 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12225 * elf/dl-init.c (call_init): Likewise.
12226 (_dl_init): Likewise.
12227 * elf/dl-load.c (print_search_path): Likewise.
12228 (_dl_map_object): Likewise.
12229 * elf/dl-lookup.c (do_lookup_x): Likewise.
12230 (add_dependency): Likewise.
12231 (_dl_lookup_symbol_x): Likewise.
12232 (_dl_debug_bindings): Likewise.
12233 * elf/dl-open.c (_dl_show_scope): Likewise.
12234 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12235 * elf/dl-version.c (match_symbol): Likewise.
12236 (_dl_check_map_versions): Likewise.
12237 * elf/rtld.c (dl_main): Likewise.
12238 (print_unresolved): Use RTLD_PROGNAME.
12239 (print_missing_version): Likewise.
12240 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12241 (elf_machine_rela): Likewise.
12242 * sysdeps/powerpc/powerpc32/dl-machine.c
12243 (__process_machine_rela): Likewise.
12244 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12246 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12248 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12250 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12251 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12253 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12255 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12257 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12259 * po/be.po: Add descriptive title.
12260 * po/zh_CN.po: Likewise.
12261 * po/header.pot: Likewise.
12263 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12265 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12267 (enlarge_archive): Likewise.
12269 2013-05-28 Ben North <ben@redfrontdoor.org>
12271 * manual/arith.texi (frexp): It is the magnitude of the return
12272 value which lies in [0.5, 1), not the return value itself.
12274 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12278 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12280 * stdio-common/bug26.c (main): Correct fscanf template.
12282 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12283 declare _dl_skip_args.
12285 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12288 * manual/platform.texi: Add missing @end deftypefun.
12290 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12293 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12294 bit of mantissa of 2^16382.
12295 * math/libm-test.inc (hypot_test_data): Add more tests.
12297 * math/libm-test.inc: Add drem and pow10 to list of tested
12299 (pow10_test): New function.
12300 (drem_test): Likewise.
12301 (drem_test_tonearest): Likewise.
12302 (drem_test_towardzero): Likewise.
12303 (drem_test_downward): Likewise.
12304 (drem_test_upward): Likewise.
12305 (main): Call the new functions.
12307 * math/libm-test.inc (finite_test_data): Remove.
12308 (finite_test): Run tests from isfinite_test_data.
12309 (gamma_test_data): Remove.
12310 (gamma_test): Run tests from lgamma_test_data.
12311 * sysdeps/i386/fpu/libm-test-ulps: Update.
12312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12314 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12316 * manual/platform.texi: Add PowerPC PPR function set documentation.
12317 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12320 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12322 * math/libm-test.inc (MAX_EXP): Define.
12324 (ulp): New function.
12325 (check_float_internal): Use ULPDIFF.
12326 (cpow_test): Disable failing test.
12327 (check_ulp): Test ulp() implemetnation.
12328 (main): Call check_ulp before starting tests.
12330 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12332 * math/gen-libm-test.pl (generate_testfile): Do not handle
12333 START_DATA and END_DATA.
12334 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12336 (acos_tonearest_test_data): Likewise.
12337 (acos_towardzero_test_data): Likewise.
12338 (acos_downward_test_data): Likewise.
12339 (acos_upward_test_data): Likewise.
12340 (acosh_test_data): Likewise.
12341 (asin_test_data): Likewise.
12342 (asin_tonearest_test_data): Likewise.
12343 (asin_towardzero_test_data): Likewise.
12344 (asin_downward_test_data): Likewise.
12345 (asin_upward_test_data): Likewise.
12346 (asinh_test_data): Likewise.
12347 (atan_test_data): Likewise.
12348 (atanh_test_data): Likewise.
12349 (atan2_test_data): Likewise.
12350 (cabs_test_data): Likewise.
12351 (cacos_test_data): Likewise.
12352 (cacosh_test_data): Likewise.
12353 (carg_test_data): Likewise.
12354 (casin_test_data): Likewise.
12355 (casinh_test_data): Likewise.
12356 (catan_test_data): Likewise.
12357 (catanh_test_data): Likewise.
12358 (cbrt_test_data): Likewise.
12359 (ccos_test_data): Likewise.
12360 (ccosh_test_data): Likewise.
12361 (ceil_test_data): Likewise.
12362 (cexp_test_data): Likewise.
12363 (cimag_test_data): Likewise.
12364 (clog_test_data): Likewise.
12365 (clog10_test_data): Likewise.
12366 (conj_test_data): Likewise.
12367 (copysign_test_data): Likewise.
12368 (cos_test_data): Likewise.
12369 (cos_tonearest_test_data): Likewise.
12370 (cos_towardzero_test_data): Likewise.
12371 (cos_downward_test_data): Likewise.
12372 (cos_upward_test_data): Likewise.
12373 (cosh_test_data): Likewise.
12374 (cosh_tonearest_test_data): Likewise.
12375 (cosh_towardzero_test_data): Likewise.
12376 (cosh_downward_test_data): Likewise.
12377 (cosh_upward_test_data): Likewise.
12378 (cpow_test_data): Likewise.
12379 (cproj_test_data): Likewise.
12380 (creal_test_data): Likewise.
12381 (csin_test_data): Likewise.
12382 (csinh_test_data): Likewise.
12383 (csqrt_test_data): Likewise.
12384 (ctan_test_data): Likewise.
12385 (ctan_tonearest_test_data): Likewise.
12386 (ctan_towardzero_test_data): Likewise.
12387 (ctan_downward_test_data): Likewise.
12388 (ctan_upward_test_data): Likewise.
12389 (ctanh_test_data): Likewise.
12390 (ctanh_tonearest_test_data): Likewise.
12391 (ctanh_towardzero_test_data): Likewise.
12392 (ctanh_downward_test_data): Likewise.
12393 (ctanh_upward_test_data): Likewise.
12394 (erf_test_data): Likewise.
12395 (erfc_test_data): Likewise.
12396 (exp_test_data): Likewise.
12397 (exp_tonearest_test_data): Likewise.
12398 (exp_towardzero_test_data): Likewise.
12399 (exp_downward_test_data): Likewise.
12400 (exp_upward_test_data): Likewise.
12401 (exp10_test_data): Likewise.
12402 (exp2_test_data): Likewise.
12403 (expm1_test_data): Likewise.
12404 (fabs_test_data): Likewise.
12405 (fdim_test_data): Likewise.
12406 (finite_test_data): Likewise.
12407 (floor_test_data): Likewise.
12408 (fma_test_data): Likewise.
12409 (fma_towardzero_test_data): Likewise.
12410 (fma_downward_test_data): Likewise.
12411 (fma_upward_test_data): Likewise.
12412 (fmax_test_data): Likewise.
12413 (fmin_test_data): Likewise.
12414 (fmod_test_data): Likewise.
12415 (fpclassify_test_data): Likewise.
12416 (frexp_test_data): Likewise.
12417 (gamma_test_data): Likewise.
12418 (hypot_test_data): Likewise.
12419 (ilogb_test_data): Likewise.
12420 (isfinite_test_data): Likewise.
12421 (isgreater_test_data): Likewise.
12422 (isgreaterequal_test_data): Likewise.
12423 (isinf_test_data): Likewise.
12424 (isless_test_data): Likewise.
12425 (islessequal_test_data): Likewise.
12426 (islessgreater_test_data): Likewise.
12427 (isnan_test_data): Likewise.
12428 (isnormal_test_data): Likewise.
12429 (issignaling_test_data): Likewise.
12430 (isunordered_test_data): Likewise.
12431 (j0_test_data): Likewise.
12432 (j1_test_data): Likewise.
12433 (jn_test_data): Likewise.
12434 (ldexp_test_data): Likewise.
12435 (lgamma_test_data): Likewise.
12436 (lrint_test_data): Likewise.
12437 (lrint_tonearest_test_data): Likewise.
12438 (lrint_towardzero_test_data): Likewise.
12439 (lrint_downward_test_data): Likewise.
12440 (lrint_upward_test_data): Likewise.
12441 (llrint_test_data): Likewise.
12442 (llrint_tonearest_test_data): Likewise.
12443 (llrint_towardzero_test_data): Likewise.
12444 (llrint_downward_test_data): Likewise.
12445 (llrint_upward_test_data): Likewise.
12446 (log_test_data): Likewise.
12447 (log10_test_data): Likewise.
12448 (log1p_test_data): Likewise.
12449 (log2_test_data): Likewise.
12450 (logb_test_data): Likewise.
12451 (logb_downward_test_data): Likewise.
12452 (lround_test_data): Likewise.
12453 (llround_test_data): Likewise.
12454 (modf_test_data): Likewise.
12455 (nearbyint_test_data): Likewise.
12456 (nextafter_test_data): Likewise.
12457 (nexttoward_test_data): Likewise.
12458 (pow_test_data): Likewise.
12459 (pow_tonearest_test_data): Likewise.
12460 (pow_towardzero_test_data): Likewise.
12461 (pow_downward_test_data): Likewise.
12462 (pow_upward_test_data): Likewise.
12463 (remainder_test_data): Likewise.
12464 (remainder_tonearest_test_data): Likewise.
12465 (remainder_towardzero_test_data): Likewise.
12466 (remainder_downward_test_data): Likewise.
12467 (remainder_upward_test_data): Likewise.
12468 (remquo_test_data): Likewise.
12469 (rint_test_data): Likewise.
12470 (rint_tonearest_test_data): Likewise.
12471 (rint_towardzero_test_data): Likewise.
12472 (rint_downward_test_data): Likewise.
12473 (rint_upward_test_data): Likewise.
12474 (round_test_data): Likewise.
12475 (scalb_test_data): Likewise.
12476 (scalbn_test_data): Likewise.
12477 (scalbln_test_data): Likewise.
12478 (signbit_test_data): Likewise.
12479 (sin_test_data): Likewise.
12480 (sin_tonearest_test_data): Likewise.
12481 (sin_towardzero_test_data): Likewise.
12482 (sin_downward_test_data): Likewise.
12483 (sin_upward_test_data): Likewise.
12484 (sincos_test_data): Likewise.
12485 (sinh_test_data): Likewise.
12486 (sinh_tonearest_test_data): Likewise.
12487 (sinh_towardzero_test_data): Likewise.
12488 (sinh_downward_test_data): Likewise.
12489 (sinh_upward_test_data): Likewise.
12490 (sqrt_test_data): Likewise.
12491 (tan_test_data): Likewise.
12492 (tan_tonearest_test_data): Likewise.
12493 (tan_towardzero_test_data): Likewise.
12494 (tan_downward_test_data): Likewise.
12495 (tan_upward_test_data): Likewise.
12496 (tanh_test_data): Likewise.
12497 (tgamma_test_data): Likewise.
12498 (trunc_test_data): Likewise.
12499 (y0_test_data): Likewise.
12500 (y1_test_data): Likewise.
12501 (yn_test_data): Likewise.
12502 (significand_test_data): Likewise.
12504 * math/gen-libm-test.pl (@functions): Remove variable.
12505 (generate_testfile): Don't handle START and END lines.
12506 * math/libm-test.inc (START): New macro.
12508 (END_COMPLEX): Likewise.
12509 (acos_test): Use END macro without arguments.
12510 (acos_test_tonearest): Likewise.
12511 (acos_test_towardzero): Likewise.
12512 (acos_test_downward): Likewise.
12513 (acos_test_upward): Likewise.
12514 (acosh_test): Likewise.
12515 (asin_test): Likewise.
12516 (asin_test_tonearest): Likewise.
12517 (asin_test_towardzero): Likewise.
12518 (asin_test_downward): Likewise.
12519 (asin_test_upward): Likewise.
12520 (asinh_test): Likewise.
12521 (atan_test): Likewise.
12522 (atanh_test): Likewise.
12523 (atan2_test): Likewise.
12524 (cabs_test): Likewise.
12525 (cacos_test): Use END_COMPLEX macro without arguments.
12526 (cacosh_test): Likewise.
12527 (carg_test): Use END macro without arguments.
12528 (casin_test): Use END_COMPLEX macro without arguments.
12529 (casinh_test): Likewise.
12530 (catan_test): Likewise.
12531 (catanh_test): Likewise.
12532 (cbrt_test): Use END macro without arguments.
12533 (ccos_test): Use END_COMPLEX macro without arguments.
12534 (ccosh_test): Likewise.
12535 (ceil_test): Use END macro without arguments.
12536 (cexp_test): Use END_COMPLEX macro without arguments.
12537 (cimag_test): Use END macro without arguments.
12538 (clog_test): Use END_COMPLEX macro without arguments.
12539 (clog10_test): Likewise.
12540 (conj_test): Likewise.
12541 (copysign_test): Use END macro without arguments.
12542 (cos_test): Likewise.
12543 (cos_test_tonearest): Likewise.
12544 (cos_test_towardzero): Likewise.
12545 (cos_test_downward): Likewise.
12546 (cos_test_upward): Likewise.
12547 (cosh_test): Likewise.
12548 (cosh_test_tonearest): Likewise.
12549 (cosh_test_towardzero): Likewise.
12550 (cosh_test_downward): Likewise.
12551 (cosh_test_upward): Likewise.
12552 (cpow_test): Use END_COMPLEX macro without arguments.
12553 (cproj_test): Likewise.
12554 (creal_test): Use END macro without arguments.
12555 (csin_test): Use END_COMPLEX macro without arguments.
12556 (csinh_test): Likewise.
12557 (csqrt_test): Likewise.
12558 (ctan_test): Likewise.
12559 (ctan_test_tonearest): Likewise.
12560 (ctan_test_towardzero): Likewise.
12561 (ctan_test_downward): Likewise.
12562 (ctan_test_upward): Likewise.
12563 (ctanh_test): Likewise.
12564 (ctanh_test_tonearest): Likewise.
12565 (ctanh_test_towardzero): Likewise.
12566 (ctanh_test_downward): Likewise.
12567 (ctanh_test_upward): Likewise.
12568 (erf_test): Use END macro without arguments.
12569 (erfc_test): Likewise.
12570 (exp_test): Likewise.
12571 (exp_test_tonearest): Likewise.
12572 (exp_test_towardzero): Likewise.
12573 (exp_test_downward): Likewise.
12574 (exp_test_upward): Likewise.
12575 (exp10_test): Likewise.
12576 (exp2_test): Likewise.
12577 (expm1_test): Likewise.
12578 (fabs_test): Likewise.
12579 (fdim_test): Likewise.
12580 (finite_test): Likewise.
12581 (floor_test): Likewise.
12582 (fma_test): Likewise.
12583 (fma_test_towardzero): Likewise.
12584 (fma_test_downward): Likewise.
12585 (fma_test_upward): Likewise.
12586 (fmax_test): Likewise.
12587 (fmin_test): Likewise.
12588 (fmod_test): Likewise.
12589 (fpclassify_test): Likewise.
12590 (frexp_test): Likewise.
12591 (gamma_test): Likewise.
12592 (hypot_test): Likewise.
12593 (ilogb_test): Likewise.
12594 (isfinite_test): Likewise.
12595 (isgreater_test): Likewise.
12596 (isgreaterequal_test): Likewise.
12597 (isinf_test): Likewise.
12598 (isless_test): Likewise.
12599 (islessequal_test): Likewise.
12600 (islessgreater_test): Likewise.
12601 (isnan_test): Likewise.
12602 (isnormal_test): Likewise.
12603 (issignaling_test): Likewise.
12604 (isunordered_test): Likewise.
12605 (j0_test): Likewise.
12606 (j1_test): Likewise.
12607 (jn_test): Likewise.
12608 (ldexp_test): Likewise.
12609 (lgamma_test): Likewise.
12610 (lrint_test): Likewise.
12611 (lrint_test_tonearest): Likewise.
12612 (lrint_test_towardzero): Likewise.
12613 (lrint_test_downward): Likewise.
12614 (lrint_test_upward): Likewise.
12615 (llrint_test): Likewise.
12616 (llrint_test_tonearest): Likewise.
12617 (llrint_test_towardzero): Likewise.
12618 (llrint_test_downward): Likewise.
12619 (llrint_test_upward): Likewise.
12620 (log_test): Likewise.
12621 (log10_test): Likewise.
12622 (log1p_test): Likewise.
12623 (log2_test): Likewise.
12624 (logb_test): Likewise.
12625 (logb_test_downward): Likewise.
12626 (lround_test): Likewise.
12627 (llround_test): Likewise.
12628 (modf_test): Likewise.
12629 (nearbyint_test): Likewise.
12630 (nextafter_test): Likewise.
12631 (nexttoward_test): Likewise.
12632 (pow_test): Likewise.
12633 (pow_test_tonearest): Likewise.
12634 (pow_test_towardzero): Likewise.
12635 (pow_test_downward): Likewise.
12636 (pow_test_upward): Likewise.
12637 (remainder_test): Likewise.
12638 (remainder_test_tonearest): Likewise.
12639 (remainder_test_towardzero): Likewise.
12640 (remainder_test_downward): Likewise.
12641 (remainder_test_upward): Likewise.
12642 (remquo_test): Likewise.
12643 (rint_test): Likewise.
12644 (rint_test_tonearest): Likewise.
12645 (rint_test_towardzero): Likewise.
12646 (rint_test_downward): Likewise.
12647 (rint_test_upward): Likewise.
12648 (round_test): Likewise.
12649 (scalb_test): Likewise.
12650 (scalbn_test): Likewise.
12651 (scalbln_test): Likewise.
12652 (signbit_test): Likewise.
12653 (sin_test): Likewise.
12654 (sin_test_tonearest): Likewise.
12655 (sin_test_towardzero): Likewise.
12656 (sin_test_downward): Likewise.
12657 (sin_test_upward): Likewise.
12658 (sincos_test): Likewise.
12659 (sinh_test): Likewise.
12660 (sinh_test_tonearest): Likewise.
12661 (sinh_test_towardzero): Likewise.
12662 (sinh_test_downward): Likewise.
12663 (sinh_test_upward): Likewise.
12664 (sqrt_test): Likewise.
12665 (tan_test): Likewise.
12666 (tan_test_tonearest): Likewise.
12667 (tan_test_towardzero): Likewise.
12668 (tan_test_downward): Likewise.
12669 (tan_test_upward): Likewise.
12670 (tanh_test): Likewise.
12671 (tgamma_test): Likewise.
12672 (trunc_test): Likewise.
12673 (y0_test): Likewise.
12674 (y1_test): Likewise.
12675 (yn_test): Likewise.
12676 (significand_test): Likewise.
12678 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
12681 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12683 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12686 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12687 __ppc_mdoio and __ppc_mdoom.
12688 * manual/platform.texi: Document new functions __ppc_yield,
12689 __ppc_mdoio and __ppc_mdoom.
12691 2013-05-22 Carlos O'Donell <carlos@redhat.com>
12693 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12694 (main): Mention "tls" pseudo-hwcap is legacy.
12695 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12697 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12699 * math/gen-libm-test.pl (parse_args): Output only string of
12700 arguments as text for test name, not full call or descriptions of
12701 tests for extra outputs.
12702 (generate_testfile): Do not pass function name to parse_args.
12703 Generate this_func variable from START.
12704 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12706 (struct test_ff_f_data): Likewise.
12707 (test_ff_f_data_nexttoward): Likewise.
12708 (struct test_fi_f_data): Likewise.
12709 (struct test_fl_f_data): Likewise.
12710 (struct test_if_f_data): Likewise.
12711 (struct test_fff_f_data): Likewise.
12712 (struct test_c_f_data): Likewise.
12713 (struct test_f_f1_data): Likewise. Remove field extra_name.
12714 (struct test_fF_f1_data): Likewise.
12715 (struct test_ffI_f1_data): Likewise.
12716 (struct test_c_c_data): Rename test_name field to arg_str.
12717 (struct test_cc_c_data): Likewise.
12718 (struct test_f_i_data): Likewise.
12719 (struct test_ff_i_data): Likewise.
12720 (struct test_f_l_data): Likewise.
12721 (struct test_f_L_data): Likewise.
12722 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12724 (COMMON_TEST_SETUP): New macro.
12725 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12726 (COMMON_TEST_CLEANUP): Likewise.
12727 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12728 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12730 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12731 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12733 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12734 (RUN_TEST_fff_f): Take argument string. Call new setup and
12736 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12737 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12739 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12740 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12742 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12743 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12745 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12746 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12748 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12749 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12751 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12752 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12754 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12755 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12757 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12758 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12760 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12761 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12763 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12764 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12766 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12767 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12769 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12770 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12772 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12773 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12775 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12776 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12778 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12779 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12781 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12783 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12785 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12786 to _sifields.sigfault.
12787 (si_addr_lsb): Define new macro.
12788 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12789 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12790 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12792 2013-05-03 Carlos O'Donell <carlos at redhat.com>
12795 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12797 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12799 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12800 loading the domain.
12802 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12804 * math/gen-libm-test.pl (parse_args): Do not include expected
12805 result in test name.
12806 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12807 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12808 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12809 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12810 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12813 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12815 * benchtests/Makefile: Sort function entries.
12817 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12818 tanh, asinh, acosh, atanh.
12819 * benchtests/acos-inputs: New file.
12820 * benchtests/acosh-inputs: New file.
12821 * benchtests/asin-inputs: New file.
12822 * benchtests/asinh-inputs: New file.
12823 * benchtests/atanh-inputs: New file.
12824 * benchtests/cosh-inputs: New file.
12825 * benchtests/log-inputs: New file.
12826 * benchtests/sinh-inputs: New file.
12827 * benchtests/tanh-inputs: New file.
12829 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12832 * posix/tst-getaddrinfo4.c: New test.
12833 * posix/Makefile (tests): Add it.
12835 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12838 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12839 when no services were used.
12840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12841 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12843 2013-05-21 Andreas Schwab <schwab@suse.de>
12846 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12847 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12849 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12850 redundant variable declarations and reallocation of buffer when
12851 parsing as IPv6 address. Always set NSS status when called from
12852 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12853 buffer too small. Correct computation of needed size.
12854 * nss/Makefile (tests): Add test-digits-dots.
12855 * nss/test-digits-dots.c: New test.
12857 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12859 * benchtests/Makefile: Remove instructions for adding
12861 * benchtests/README: New file to explain how to execute and
12862 enhance the benchmark tests.
12864 2013-05-21 Andreas Schwab <schwab@suse.de>
12867 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12868 * setjmp/tst-sigsetjmp.c: New test.
12870 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12872 * sysdeps/x86_64/memset.S (memset): New implementation.
12873 (__bzero): Likewise.
12874 (__memset_tail): New function.
12876 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12878 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12879 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12880 __memcpy_sse2_unaligned ifunc selection.
12881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12882 Add memcpy-sse2-unaligned.S.
12883 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12884 Add: __memcpy_sse2_unaligned.
12886 2013-05-19 Joseph Myers <joseph@codesourcery.com>
12889 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12890 math_force_eval before restoring floating-point envrionment.
12891 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12892 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12894 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12896 (__nearbyintl): Use math_force_eval before restoring
12897 floating-point environment.
12898 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12900 * math/gen-libm-test.pl (special_functions): Remove.
12901 (parse_args): Don't handle TEST_extra. Handle functions with no
12903 * math/libm-test.inc (struct test_sincos_data): Replace with
12904 struct test_fFF_11_data.
12905 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12906 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12907 (sincos_test_data): Change element type to struct
12908 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12909 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12910 RUN_TEST_LOOP_sincos.
12911 * math/README.libm-test: Don't mention special handling of
12912 individual functions.
12913 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12914 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12915 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12916 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12917 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12920 * math/gen-libm-test.pl (get_variable): Remove function.
12921 (parse_args): Don't show pointer parameters to call in test
12922 names. Use "extra output N" in test names for extra outputs
12923 rather than naming variables.
12925 2013-05-18 Joseph Myers <joseph@codesourcery.com>
12928 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12929 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12930 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12932 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12934 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12937 * math/gen-libm-test.pl (@tests): Remove variable.
12938 ($count): Likewise.
12939 (new_test): Remove function.
12940 (show_exceptions): New function.
12941 (special_functions): Use show_exceptions instead of new_test.
12942 (parse_args): Likewise.
12943 (generate_testfile): Pass only function name in generated call to
12944 print_max_error or print_complex_max_error.
12945 (get_ulps): Do not handle complex tests specially.
12946 (output_test): Rename to ...
12947 (get_all_ulps_for_test): ... this. Return a string rather than
12948 printing to a file. Require ulps to be present.
12949 (output_ulps): Generate arrays rather than #defines.
12950 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12951 (struct ulp_data): New type.
12952 (BUILD_COMPLEX_ULP): Remove macro.
12953 (compare_ulp_data): New function.
12954 (find_ulps): Likewise.
12955 (find_test_ulps): Likewise.
12956 (find_function_ulps): Likewise.
12957 (find_complex_function_ulps): Likewise.
12958 (print_max_error): Determine allowed ulps using
12959 find_function_ulps.
12960 (print_complex_max_error): Determine allowed ulps using
12961 find_complex_function_ulps.
12962 (check_float_internal): Determine max ulps using find_test_ulps.
12963 (check_float): Do not take max_ulp parameter. Update call to
12964 check_float_internal.
12965 (check_complex): Likewise.
12966 (check_int): Do not take max_ulp parameter.
12967 (check_long): Likewise.
12968 (check_bool): Likewise.
12969 (check_longlong): Likewise.
12970 (struct test_f_f_data): Remove max_ulp field.
12971 (struct test_ff_f_data): Likewise.
12972 (struct test_ff_f_data_nexttoward): Likewise.
12973 (struct test_fi_f_data): Likewise.
12974 (struct test_fl_f_data): Likewise.
12975 (struct test_if_f_data): Likewise.
12976 (struct test_fff_f_data): Likewise.
12977 (struct test_c_f_data): Likewise.
12978 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12979 (struct test_fF_f1_data): Likewise.
12980 (struct test_ffI_f1_data): Likewise.
12981 (struct test_c_c_data): Remove max_ulp field.
12982 (struct test_cc_c_data): Likewise.
12983 (struct test_f_i_data): Likewise.
12984 (struct test_ff_i_data): Likewise.
12985 (struct test_f_l_data): Likewise.
12986 (struct test_f_L_data): Likewise.
12987 (struct test_sincos_data): Likewise.
12988 (RUN_TEST_f_f): Do not handle ulps.
12989 (RUN_TEST_LOOP_f_f): Likewise.
12990 (RUN_TEST_2_f): Likewise.
12991 (RUN_TEST_LOOP_2_f): Likewise.
12992 (RUN_TEST_fff_f): Likewise.
12993 (RUN_TEST_LOOP_fff_f): Likewise.
12994 (RUN_TEST_c_f): Likewise.
12995 (RUN_TEST_LOOP_c_f): Likewise.
12996 (RUN_TEST_f_f1): Likewise.
12997 (RUN_TEST_LOOP_f_f1): Likewise.
12998 (RUN_TEST_fF_f1): Likewise.
12999 (RUN_TEST_LOOP_fF_f1): Likewise.
13000 (RUN_TEST_fI_f1): Likewise.
13001 (RUN_TEST_LOOP_fI_f1): Likewise.
13002 (RUN_TEST_ffI_f1): Likewise.
13003 (RUN_TEST_LOOP_ffI_f1): Likewise.
13004 (RUN_TEST_c_c): Likewise.
13005 (RUN_TEST_LOOP_c_c): Likewise.
13006 (RUN_TEST_cc_c): Likewise.
13007 (RUN_TEST_LOOP_cc_c): Likewise.
13008 (RUN_TEST_f_i): Likewise.
13009 (RUN_TEST_LOOP_f_i): Likewise.
13010 (RUN_TEST_f_i_tg): Likewise.
13011 (RUN_TEST_LOOP_f_i_tg): Likewise.
13012 (RUN_TEST_ff_i_tg): Likewise.
13013 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13014 (RUN_TEST_f_b): Likewise.
13015 (RUN_TEST_LOOP_f_b): Likewise.
13016 (RUN_TEST_f_b_tg): Likewise.
13017 (RUN_TEST_LOOP_f_b_tg): Likewise.
13018 (RUN_TEST_f_l): Likewise.
13019 (RUN_TEST_LOOP_f_l): Likewise.
13020 (RUN_TEST_f_L): Likewise.
13021 (RUN_TEST_LOOP_f_L): Likewise.
13022 (RUN_TEST_sincos): Likewise.
13023 (RUN_TEST_LOOP_sincos): Likewise.
13025 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13029 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13030 main case of finite arguments, set rounding mode to FE_TONEAREST
13031 and discard exceptions.
13032 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13034 (remainder_tonearest_test_data): New variable.
13035 (remainder_test_tonearest): New function.
13036 (remainder_towardzero_test_data): New variable.
13037 (remainder_test_towardzero): New function.
13038 (remainder_downward_test_data): New variable.
13039 (remainder_test_downward): New function.
13040 (remainder_upward_test_data): New variable.
13041 (remainder_test_upward): New function.
13042 (main): Call the new test functions.
13044 * math/libm-test.inc (struct test_f_f1_data): Remove field
13046 (struct test_fF_f1_data): Likewise.
13047 (struct test_ffI_f1_data): Likewise.
13048 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13049 based on value of EXTRA_EXPECTED.
13050 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13051 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13052 EXTRA_VAR based on value of EXTRA_EXPECTED.
13053 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13054 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13055 EXTRA_VAR based on value of EXTRA_EXPECTED.
13056 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13057 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13058 EXTRA_VAR based on value of EXTRA_EXPECTED.
13059 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13060 * math/gen-libm-test.pl (parse_args): Don't output initializers
13061 for extra output values.
13063 * math/libm-test.inc (check_int): Expect result to be exactly
13064 equal to expected value and do not handle ulps.
13065 (check_long): Likewise.
13066 (check_longlong): Likewise.
13068 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13070 (cimag_test_data): Likewise.
13071 (conj_test_data): Likewise.
13072 (copysign_test_data): Likewise.
13073 (cproj_test_data): Likewise.
13074 (creal_test_data): Likewise.
13075 (fabs_test_data): Likewise.
13076 (fdim_test_data): Likewise.
13077 (finite_test_data): Likewise.
13078 (floor_test_data): Likewise.
13079 (fmax_test_data): Likewise.
13080 (fmin_test_data): Likewise.
13081 (fmod_test_data): Likewise.
13082 (fpclassify_test_data): Likewise.
13083 (frexp_test_data): Likewise.
13084 (ilogb_test_data): Likewise.
13085 (isfinite_test_data): Likewise.
13086 (isgreater_test_data): Likewise.
13087 (isgreaterequal_test_data): Likewise.
13088 (isinf_test_data): Likewise.
13089 (isless_test_data): Likewise.
13090 (islessequal_test_data): Likewise.
13091 (islessgreater_test_data): Likewise.
13092 (isnan_test_data): Likewise.
13093 (isnormal_test_data): Likewise.
13094 (issignaling_test_data): Likewise.
13095 (isunordered_test_data): Likewise.
13096 (ldexp_test_data): Likewise.
13097 (lrint_test_data): Likewise.
13098 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13099 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13100 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13101 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13102 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13103 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13105 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13106 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13107 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13108 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13110 (lrint_downward_test_data): Test for "inexact" exceptions.
13111 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13112 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13113 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13115 (lrint_upward_test_data): Test for "inexact" exceptions.
13116 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13118 (llrint_test_data): Test for "inexact" exceptions.
13119 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13120 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13121 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13122 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13123 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13124 (llrint_downward_test_data): Test for "inexact" exceptions.
13125 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13126 (llrint_upward_test_data): Test for "inexact" exceptions.
13127 (logb_test_data): Likewise.
13128 (logb_downward_test_data): Likewise.
13129 (nextafter_test_data): Likewise.
13130 (nexttoward_test_data): Likewise.
13131 (remainder_test_data): Likewise.
13132 (remquo_test_data): Likewise.
13133 (scalbn_test_data): Likewise.
13134 (scalbln_test_data): Likewise.
13135 (signbit_test_data): Likewise.
13136 (sqrt_test_data): Likewise.
13137 (significand_test_data): Likewise.
13139 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13142 * benchtests/bench-modf.c (struct args): Mark arg0 as
13144 * scripts/bench.pl: Mark members of struct args as volatile.
13146 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13149 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13150 negative infinity on POWER6 or lower.
13151 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13153 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13156 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13157 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13158 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13159 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13160 (_FP_SETQNAN): New macro.
13161 (_FP_SETQNAN_SEMIRAW): Likewise.
13162 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13163 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13164 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13165 (FP_EXTEND): Use _FP_FRAC_SNANP.
13166 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13167 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13169 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13171 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13174 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13176 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13177 with DIVIDE_BY_ZERO_EXCEPTION.
13178 (gamma_test_data): Likewise.
13179 (lgamma_test_data): Likewise.
13180 (log_test_data): Likewise.
13181 (log10_test_data): Likewise.
13182 (log2_test_data): Likewise.
13183 (tgamma_test_data): Likewise.
13185 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13186 (acos_test_tonearest): Likewise.
13187 (acos_test_towardzero): Likewise.
13188 (acos_test_downward): Likewise.
13189 (acos_test_upward): Likewise.
13190 (acosh_test): Likewise.
13191 (asin_test): Likewise.
13192 (asin_test_tonearest): Likewise.
13193 (asin_test_towardzero): Likewise.
13194 (asin_test_downward): Likewise.
13195 (asin_test_upward): Likewise.
13196 (asinh_test): Likewise.
13197 (atan_test): Likewise.
13198 (atanh_test): Likewise.
13199 (atan2_test): Likewise.
13200 (cabs_test): Likewise.
13201 (cacos_test): Likewise.
13202 (cacosh_test): Likewise.
13203 (casin_test): Likewise.
13204 (casinh_test): Likewise.
13205 (catan_test): Likewise.
13206 (catanh_test): Likewise.
13207 (cbrt_test): Likewise.
13208 (ccos_test): Likewise.
13209 (ccosh_test): Likewise.
13210 (cexp_test): Likewise.
13211 (clog_test): Likewise.
13212 (clog10_test): Likewise.
13213 (cos_test): Likewise.
13214 (cos_test_tonearest): Likewise.
13215 (cos_test_towardzero): Likewise.
13216 (cos_test_downward): Likewise.
13217 (cos_test_upward): Likewise.
13218 (cosh_test): Likewise.
13219 (cosh_test_tonearest): Likewise.
13220 (cosh_test_towardzero): Likewise.
13221 (cosh_test_downward): Likewise.
13222 (cosh_test_upward): Likewise.
13223 (cpow_test): Likewise.
13224 (csin_test): Likewise.
13225 (csinh_test): Likewise.
13226 (csqrt_test): Likewise.
13227 (ctan_test): Likewise.
13228 (ctan_test_tonearest): Likewise.
13229 (ctan_test_towardzero): Likewise.
13230 (ctan_test_downward): Likewise.
13231 (ctan_test_upward): Likewise.
13232 (ctanh_test): Likewise.
13233 (ctanh_test_tonearest): Likewise.
13234 (ctanh_test_towardzero): Likewise.
13235 (ctanh_test_downward): Likewise.
13236 (ctanh_test_upward): Likewise.
13237 (erf_test): Likewise.
13238 (erfc_test): Likewise.
13239 (exp_test): Likewise.
13240 (exp_test_tonearest): Likewise.
13241 (exp_test_towardzero): Likewise.
13242 (exp_test_downward): Likewise.
13243 (exp_test_upward): Likewise.
13244 (exp10_test): Likewise.
13245 (exp2_test): Likewise.
13246 (expm1_test): Likewise.
13247 (fmod_test): Likewise.
13248 (gamma_test): Likewise.
13249 (hypot_test): Likewise.
13250 (j0_test): Likewise.
13251 (j1_test): Likewise.
13252 (jn_test): Likewise.
13253 (lgamma_test): Likewise.
13254 (log_test): Likewise.
13255 (log10_test): Likewise.
13256 (log1p_test): Likewise.
13257 (log2_test): Likewise.
13258 (logb_test_downward): Likewise.
13259 (pow_test): Likewise.
13260 (pow_test_tonearest): Likewise.
13261 (pow_test_towardzero): Likewise.
13262 (pow_test_downward): Likewise.
13263 (pow_test_upward): Likewise.
13264 (remainder_test): Likewise.
13265 (remquo_test): Likewise.
13266 (sin_test): Likewise.
13267 (sin_test_tonearest): Likewise.
13268 (sin_test_towardzero): Likewise.
13269 (sin_test_downward): Likewise.
13270 (sin_test_upward): Likewise.
13271 (sincos_test): Likewise.
13272 (sinh_test): Likewise.
13273 (sinh_test_tonearest): Likewise.
13274 (sinh_test_towardzero): Likewise.
13275 (sinh_test_downward): Likewise.
13276 (sinh_test_upward): Likewise.
13277 (sqrt_test): Likewise.
13278 (tan_test): Likewise.
13279 (tan_test_tonearest): Likewise.
13280 (tan_test_towardzero): Likewise.
13281 (tan_test_downward): Likewise.
13282 (tan_test_upward): Likewise.
13283 (tanh_test): Likewise.
13284 (tgamma_test): Likewise.
13285 (y0_test): Likewise.
13286 (y1_test): Likewise.
13287 (yn_test): Likewise.
13289 * math/gen-libm-test.pl (adjust_arg): Remove function.
13290 (special_function): Remove argument $in_func. Only handle
13291 generating output for tables of tests, not inside functions.
13292 (parse_args): Likewise.
13293 (generate_testfile): Remove variable $in_func. Update call to
13295 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13296 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13297 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13298 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13299 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13300 (MAX_VALUE_INIT): Rename macro to max_value.
13301 (MIN_VALUE_INIT): Rename macro to min_value.
13302 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13303 (plus_zero): Remove variable.
13304 (minus_zero): Likewise.
13305 (plus_infty): Likewise.
13306 (minus_infty): Likewise.
13307 (qnan_value): Likewise.
13308 (max_value): Likewise.
13309 (min_value): Likewise.
13310 (min_subnorm_value): Likewise.
13312 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13314 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13315 uint64_t or uint32_t usage.
13316 * crypt/sha256-block.c: Likewise.
13317 * crypt/sha256-crypt.c: Likewise.
13318 * crypt/sha256.c: Likewise.
13319 * crypt/sha512-block.c: Likewise.
13320 * crypt/sha512-crypt.c: Likewise.
13321 * crypt/sha512.c: Likewise.
13322 * debug/backtrace-tst.c: Likewise.
13323 * debug/pcprofiledump.c: Likewise.
13324 * elf/cache.c: Likewise.
13325 * elf/dl-cache.c: Likewise.
13326 * elf/dl-misc.c: Likewise.
13327 * elf/dl-profile.c: Likewise.
13328 * elf/dl-support.c: Likewise.
13329 * elf/ldconfig.c: Likewise.
13330 * elf/sprof.c: Likewise.
13331 * iconv/dummy-repertoire.c: Likewise.
13332 * iconv/iconv_charmap.c: Likewise.
13333 * iconv/skeleton.c: Likewise.
13334 * iconvdata/8bit-generic.c: Likewise.
13335 * iconvdata/cp737.h: Likewise.
13336 * iconvdata/cp775.h: Likewise.
13337 * iconvdata/ibm1008.h: Likewise.
13338 * iconvdata/ibm1025.h: Likewise.
13339 * iconvdata/ibm1046.h: Likewise.
13340 * iconvdata/ibm1097.h: Likewise.
13341 * iconvdata/ibm1112.h: Likewise.
13342 * iconvdata/ibm1122.h: Likewise.
13343 * iconvdata/ibm1123.h: Likewise.
13344 * iconvdata/ibm1124.h: Likewise.
13345 * iconvdata/ibm1129.h: Likewise.
13346 * iconvdata/ibm1130.h: Likewise.
13347 * iconvdata/ibm1132.h: Likewise.
13348 * iconvdata/ibm1133.h: Likewise.
13349 * iconvdata/ibm1137.h: Likewise.
13350 * iconvdata/ibm1140.h: Likewise.
13351 * iconvdata/ibm1141.h: Likewise.
13352 * iconvdata/ibm1142.h: Likewise.
13353 * iconvdata/ibm1143.h: Likewise.
13354 * iconvdata/ibm1144.h: Likewise.
13355 * iconvdata/ibm1145.h: Likewise.
13356 * iconvdata/ibm1146.h: Likewise.
13357 * iconvdata/ibm1147.h: Likewise.
13358 * iconvdata/ibm1148.h: Likewise.
13359 * iconvdata/ibm1149.h: Likewise.
13360 * iconvdata/ibm1153.h: Likewise.
13361 * iconvdata/ibm1154.h: Likewise.
13362 * iconvdata/ibm1155.h: Likewise.
13363 * iconvdata/ibm1156.h: Likewise.
13364 * iconvdata/ibm1157.h: Likewise.
13365 * iconvdata/ibm1158.h: Likewise.
13366 * iconvdata/ibm1160.h: Likewise.
13367 * iconvdata/ibm1161.h: Likewise.
13368 * iconvdata/ibm1162.h: Likewise.
13369 * iconvdata/ibm1163.h: Likewise.
13370 * iconvdata/ibm1164.h: Likewise.
13371 * iconvdata/ibm1166.h: Likewise.
13372 * iconvdata/ibm1167.h: Likewise.
13373 * iconvdata/ibm12712.h: Likewise.
13374 * iconvdata/ibm1390.h: Likewise.
13375 * iconvdata/ibm1399.h: Likewise.
13376 * iconvdata/ibm16804.h: Likewise.
13377 * iconvdata/ibm4517.h: Likewise.
13378 * iconvdata/ibm4899.h: Likewise.
13379 * iconvdata/ibm4909.h: Likewise.
13380 * iconvdata/ibm4971.h: Likewise.
13381 * iconvdata/ibm5347.h: Likewise.
13382 * iconvdata/ibm803.h: Likewise.
13383 * iconvdata/ibm856.h: Likewise.
13384 * iconvdata/ibm901.h: Likewise.
13385 * iconvdata/ibm902.h: Likewise.
13386 * iconvdata/ibm9030.h: Likewise.
13387 * iconvdata/ibm9066.h: Likewise.
13388 * iconvdata/ibm921.h: Likewise.
13389 * iconvdata/ibm922.h: Likewise.
13390 * iconvdata/ibm9448.h: Likewise.
13391 * iconvdata/isiri-3342.h: Likewise.
13392 * iconvdata/jis0201.h: Likewise.
13393 * include/link.h: Likewise.
13394 * include/netdb.h: Likewise.
13395 * inet/check_native.c: Likewise.
13396 * inet/check_pf.c: Likewise.
13397 * inet/getipv4sourcefilter.c: Likewise.
13398 * inet/getnameinfo.c: Likewise.
13399 * inet/getsourcefilter.c: Likewise.
13400 * inet/htonl.c: Likewise.
13401 * inet/setipv4sourcefilter.c: Likewise.
13402 * inet/setsourcefilter.c: Likewise.
13403 * inet/test-inet6_opt.c: Likewise.
13404 * inet/tst-network.c: Likewise.
13405 * locale/C-collate.c: Likewise.
13406 * locale/C-ctype.c: Likewise.
13407 * locale/C-time.c: Likewise.
13408 * locale/C-translit.h: Likewise.
13409 * locale/loadarchive.c: Likewise.
13410 * locale/programs/3level.h: Likewise.
13411 * locale/programs/charmap.c: Likewise.
13412 * locale/programs/charmap.h: Likewise.
13413 * locale/programs/ld-address.c: Likewise.
13414 * locale/programs/ld-collate.c: Likewise.
13415 * locale/programs/ld-ctype.c: Likewise.
13416 * locale/programs/ld-identification.c: Likewise.
13417 * locale/programs/ld-measurement.c: Likewise.
13418 * locale/programs/ld-messages.c: Likewise.
13419 * locale/programs/ld-monetary.c: Likewise.
13420 * locale/programs/ld-name.c: Likewise.
13421 * locale/programs/ld-numeric.c: Likewise.
13422 * locale/programs/ld-paper.c: Likewise.
13423 * locale/programs/ld-telephone.c: Likewise.
13424 * locale/programs/ld-time.c: Likewise.
13425 * locale/programs/linereader.c: Likewise.
13426 * locale/programs/locale.c: Likewise.
13427 * locale/programs/locarchive.c: Likewise.
13428 * locale/programs/locfile.h: Likewise.
13429 * locale/programs/repertoire.c: Likewise.
13430 * locale/programs/simple-hash.c: Likewise.
13431 * locale/programs/simple-hash.h: Likewise.
13432 * malloc/memusage.c: Likewise.
13433 * malloc/memusagestat.c: Likewise.
13434 * nis/nis_defaults.c: Likewise.
13435 * nis/nis_hash.c: Likewise.
13436 * nis/nis_print.c: Likewise.
13437 * nis/nis_xdr.c: Likewise.
13438 * nscd/connections.c: Likewise.
13439 * nscd/hstcache.c: Likewise.
13440 * nscd/nscd_gethst_r.c: Likewise.
13441 * nscd/nscd_getserv_r.c: Likewise.
13442 * nscd/nscd_helper.c: Likewise.
13443 * nscd/servicescache.c: Likewise.
13444 * nss/makedb.c: Likewise.
13445 * nss/nss_db/db-XXX.c: Likewise.
13446 * nss/nss_db/db-initgroups.c: Likewise.
13447 * nss/nss_db/db-netgrp.c: Likewise.
13448 * nss/nss_files/files-network.c: Likewise.
13449 * nss/nss_files/files-parse.c: Likewise.
13450 * posix/bug-regex5.c: Likewise.
13451 * posix/fnmatch_loop.c: Likewise.
13452 * posix/regcomp.c: Likewise.
13453 * posix/regexec.c: Likewise.
13454 * posix/tst-rfc3484-2.c: Likewise.
13455 * posix/tst-rfc3484-3.c: Likewise.
13456 * posix/tst-rfc3484.c: Likewise.
13457 * resolv/nss_dns/dns-canon.c: Likewise.
13458 * resolv/nss_dns/dns-network.c: Likewise.
13459 * resolv/res_init.c: Likewise.
13460 * resolv/res_mkquery.c: Likewise.
13461 * resolv/tst-aton.c: Likewise.
13462 * stdlib/cxa_atexit.c: Likewise.
13463 * stdlib/cxa_finalize.c: Likewise.
13464 * stdlib/gen-fpioconst.c: Likewise.
13465 * stdlib/strtol_l.c: Likewise.
13466 * string/tst-endian.c: Likewise.
13467 * sunrpc/auth_des.c: Likewise.
13468 * sunrpc/clnt_udp.c: Likewise.
13469 * sunrpc/rtime.c: Likewise.
13470 * sunrpc/svcauth_des.c: Likewise.
13471 * sunrpc/xdr.c: Likewise.
13472 * sunrpc/xdr_intXX_t.c: Likewise.
13473 * sunrpc/xdr_rec.c: Likewise.
13474 * sysdeps/generic/ldconfig.h: Likewise.
13475 * sysdeps/generic/ldsodefs.h: Likewise.
13476 * sysdeps/generic/memusage.h: Likewise.
13477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13478 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13479 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13480 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13481 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13483 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13485 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13487 * sysdeps/posix/getaddrinfo.c: Likewise.
13488 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13489 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13490 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13491 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13492 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13493 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13494 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13495 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13496 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13497 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13498 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13499 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13500 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13501 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13502 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13503 * sysdeps/x86_64/dl-tls.h: Likewise.
13504 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13505 * time/alt_digit.c: Likewise.
13506 * time/era.c: Likewise.
13507 * wcsmbs/tst-c16c32-1.c: Likewise.
13509 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13511 * math/libm-test.inc (struct test_sincos_data): New type.
13512 (RUN_TEST_LOOP_sincos): New macro.
13513 (sincos_test_data): New variable.
13514 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13516 2013-05-16 Richard Henderson <rth@redhat.com>
13518 * math/atest-exp2.c (LIMB64): New macro.
13519 (CONSTSZ): New macro.
13520 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13522 (print_mpn_fp): ... to function scope.
13523 (read_mpn_hex): Remove.
13524 (get_log2): Remove.
13525 (exp2_mpn): Use mp_log2.
13526 (main): Use mp_exp1.
13528 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13530 * math/libm-test.inc: Remove comment about not testing "inexact"
13532 (INEXACT_EXCEPTION): New macro.
13533 (NO_INEXACT_EXCEPTION): Likewise.
13534 (INVALID_EXCEPTION_OK): Update value.
13535 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13536 (OVERFLOW_EXCEPTION_OK): Likewise.
13537 (UNDERFLOW_EXCEPTION_OK): Likewise.
13538 (IGNORE_ZERO_INF_SIGN): Likewise.
13539 (ERRNO_UNCHANGED): Likewise.
13540 (ERRNO_EDOM): Likewise.
13541 (ERRNO_ERANGE): Likewise.
13542 (test_exceptions): Handle testing "inexact" exceptions.
13543 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13544 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13545 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13546 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13548 (rint_towardzero_test_data): Likewise.
13549 (rint_downward_test_data): Likewise.
13550 (rint_upward_test_data): Likewise.
13552 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13553 with OVERFLOW_EXCEPTION.
13554 (exp10_test_data): Likewise.
13555 (exp2_test_data): Likewise.
13556 (expm1_test_data): Likewise.
13557 (lgamma_test_data): Likewise.
13558 (pow_test_data): Likewise.
13559 (tgamma_test_data): Likewise.
13560 (yn_test_data): Remove duplicate test of overflow.
13562 * math/libm-test.inc (struct test_cc_c_data): New type.
13563 (RUN_TEST_LOOP_cc_c): New macro.
13564 (cpow_test_data): New variable.
13565 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13567 * math/libm-test.inc (struct test_f_L_data): New type.
13568 (RUN_TEST_LOOP_f_L): New macro.
13569 (llrint_test_data): New variable.
13570 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13571 (llrint_tonearest_test_data): New variable.
13572 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13573 (llrint_towardzero_test_data): New variable.
13574 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13575 (llrint_downward_test_data): New variable.
13576 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13577 (llrint_upward_test_data): New variable.
13578 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13579 (llround_test_data): New variable.
13580 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13582 2013-05-13 Peter Collingbourne <pcc@google.com>
13584 * math/atest-exp2.c (get_log2): Remove const attribute.
13586 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13588 * math/libm-test.inc (struct test_f_l_data): New type.
13589 (RUN_TEST_LOOP_f_l): New macro.
13590 (lrint_test_data): New variable.
13591 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13592 (lrint_tonearest_test_data): New variable.
13593 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13594 (lrint_towardzero_test_data): New variable.
13595 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13596 (lrint_downward_test_data): New variable.
13597 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13598 (lrint_upward_test_data): New variable.
13599 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13600 (lround_test_data): New variable.
13601 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13603 2013-05-15 Peter Collingbourne <pcc@google.com>
13605 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13606 (EXTRACT_WORDS64) Use where appropriate.
13607 (INSERT_WORDS64) Likewise.
13609 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13610 constraints with x constraints.
13611 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13613 * malloc/obstack.c (_obstack_compat): Add initializer.
13615 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13617 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13618 si_trapno and add si_addr_lsb to _sifields.sigfault.
13619 (si_trapno): Remove macro.
13620 (si_addr_lsb): Define new macro.
13621 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13623 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13625 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13626 instead of TEST_f_l.
13627 (llrint_test_tonearest): Likewise.
13628 (llrint_test_towardzero): Likewise.
13629 (llrint_test_downward): Likewise.
13630 (llrint_test_upward): Likewise.
13631 (llround_test): Likewise.
13633 * math/libm-test.inc (struct test_f_i_data): Add comment.
13634 (RUN_TEST_LOOP_f_b): New macro.
13635 (RUN_TEST_LOOP_f_b_tg): Likewise.
13636 (finite_test_data): New variable.
13637 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13638 (isfinite_test_data): New variable.
13639 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13640 (isinf_test_data): New variable.
13641 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13642 (isnan_test_data): New variable.
13643 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13644 (isnormal_test_data): New variable.
13645 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13646 (issignaling_test_data): New variable.
13647 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13648 (signbit_test_data): New variable.
13649 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13651 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13652 with INVALID_EXCEPTION.
13653 (acosh_test_data): Likewise.
13654 (asin_test_data): Likewise.
13655 (atanh_test_data): Likewise.
13656 (fmod_test_data): Likewise.
13657 (log_test_data): Likewise.
13658 (log10_test_data): Likewise.
13659 (log2_test_data): Likewise.
13660 (pow_test_data): Likewise.
13661 (sqrt_test_data): Likewise.
13662 (y0_test_data): Likewise.
13663 (y1_test_data): Likewise.
13664 (yn_test_data): Likewise.
13666 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13669 * math/libm-test.inc (struct test_ff_i_data): New type.
13670 (RUN_TEST_LOOP_ff_i_tg): New macro.
13671 (isgreater_test_data): New variable.
13672 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13673 (isgreaterequal_test_data): New variable.
13674 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13675 (isless_test_data): New variable.
13676 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13677 (islessequal_test_data): New variable.
13678 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13679 (islessgreater_test_data): New variable.
13680 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13681 (isunordered_test_data): New variable.
13682 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13684 2013-05-14 David S. Miller <davem@davemloft.net>
13686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13688 2013-05-14 Joseph Myers <joseph@codesourcery.com>
13690 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13692 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13694 (struct test_f_i_data): Change type of max_ulp to int.
13696 * math/libm-test.inc (test_ffI_f1_data): New type.
13697 (RUN_TEST_LOOP_ffI_f1): New macro.
13698 (remquo_test_data): New variable.
13699 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13701 * setjmp/tst-setjmp-fp.c: New file.
13702 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13703 (link-libm): New variable.
13704 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13706 * math/libm-test.inc (struct test_f_i_data): New type.
13707 (RUN_TEST_LOOP_f_i): New macro.
13708 (RUN_TEST_LOOP_f_i_tg): Likewise.
13709 (fpclassify_test_data): New variable.
13710 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13711 (ilogb_test_data): New variable.
13712 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13714 * math/libm-test.inc (scalbln_test): Correct function name in END
13717 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13718 (RUN_TEST_LOOP_fI_f1): New macro.
13719 (frexp_test_data): New variable.
13720 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13722 * math/libm-test.inc (struct test_fF_f1_data): New type.
13723 (RUN_TEST_LOOP_fF_f1): New macro.
13724 (modf_test_data): New variable.
13725 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13727 * math/libm-test.inc (struct test_f_f1_data): New type.
13728 (RUN_TEST_LOOP_f_f1): New macro.
13729 (gamma_test_data): New variable.
13730 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13731 (lgamma_test_data): New variable.
13732 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13734 2013-05-13 Carlos O'Donell <carlos@redhat.com>
13736 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13737 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13738 (main): Comment "tls" pseudo-hwcap.
13740 2013-05-13 Joseph Myers <joseph@codesourcery.com>
13742 * math/libm-test.inc (struct test_fl_f_data): New type.
13743 (RUN_TEST_LOOP_fl_f): New variable.
13744 (scalbln_test_data): New variable.
13745 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13747 * math/libm-test.inc (struct test_fi_f_data): New type.
13748 (RUN_TEST_LOOP_fi_f): New macro.
13749 (ldexp_test_data): New variable.
13750 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13751 (scalbn_test_data): New variable.
13752 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13754 * math/libm-test.inc (struct test_c_f_data): New type.
13755 (RUN_TEST_LOOP_c_f): New macro.
13756 (cabs_test_data): New variable.
13757 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13758 (carg_test_data): New variable.
13759 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13760 (cimag_test_data): New variable.
13761 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13762 (creal_test_data): New variable.
13763 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13765 * math/libm-test.inc (struct test_if_f_data): New type.
13766 (RUN_TEST_LOOP_if_f): New macro.
13767 (jn_test_data): New variable.
13768 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13769 (yn_test_data): New variable.
13770 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13772 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13774 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13776 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13777 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13779 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13781 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13782 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13783 (bench-deps): Add bench-timing.h.
13784 * benchtests-bench-skeleton.c: Include bench-timing.h.
13785 (main): Use TIMING_* macros instead of clock_gettime.
13786 * benchtests/bench-timing.h: New file.
13789 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13790 Renamed from _LIB_VERSION.
13791 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13793 2013-05-12 Joseph Myers <joseph@codesourcery.com>
13795 * math/libm-test.inc (struct test_fff_f_data): New type.
13796 (RUN_TEST_LOOP_fff_f): New macro.
13797 (fma_test_data): New variable.
13798 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13799 (fma_towardzero_test_data): New variable.
13800 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13801 (fma_downward_test_data): New variable.
13802 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13803 (fma_upward_test_data): New variable.
13804 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13806 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13807 (struct test_c_c_data): New type.
13808 (RUN_TEST_LOOP_c_c): New macro.
13809 (cacos_test_data): New variable.
13810 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13811 (cacosh_test_data): New variable.
13812 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13813 (casin_test_data): New variable.
13814 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13815 (casinh_test_data): New variable.
13816 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13817 (catan_test_data): New variable.
13818 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13819 (catanh_test_data): New variable.
13820 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13821 (ccos_test_data): New variable.
13822 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13823 (ccosh_test_data): New variable.
13824 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13825 (cexp_test_data): New variable.
13826 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13827 (clog_test_data): New variable.
13828 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13829 (clog10_test_data): New variable.
13830 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13831 (conj_test_data): New variable.
13832 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13833 (cproj_test_data): New variable.
13834 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13835 (csin_test_data): New variable.
13836 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13837 (csinh_test_data): New variable.
13838 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13839 (csqrt_test_data): New variable.
13840 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13841 (ctan_test_data): New variable.
13842 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13843 (ctan_tonearest_test_data): New variable.
13844 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13845 (ctan_towardzero_test_data): New variable.
13846 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13847 (ctan_downward_test_data): New variable.
13848 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13849 (ctan_upward_test_data): New variable.
13850 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13851 (ctanh_test_data): New variable.
13852 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13853 (ctanh_tonearest_test_data): New variable.
13854 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13855 (ctanh_towardzero_test_data): New variable.
13856 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13857 (ctanh_downward_test_data): New variable.
13858 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13859 (ctanh_upward_test_data): New variable.
13860 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13861 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13864 * math/libm-test.inc (struct test_ff_f_data): New type.
13865 (struct test_ff_f_data_nexttoward): Likewise.
13866 (RUN_TEST_LOOP_2_f): New macro.
13867 (RUN_TEST_LOOP_ff_f): Likewise.
13868 (atan2_test_data): New variable.
13869 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13870 (copysign_test_data): New variable.
13871 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13872 (fdim_test_data): New variable.
13873 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13874 (fmax_test_data): New variable.
13875 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13876 (fmin_test_data): New variable.
13877 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13878 (fmod_test_data): New variable.
13879 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13880 (hypot_test_data): New variable.
13881 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13882 (nextafter_test_data): New variable.
13883 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13884 (nexttoward_test_data): New variable.
13885 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13886 (pow_test_data): New variable.
13887 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13888 (pow_tonearest_test_data): New variable.
13889 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13890 (pow_towardzero_test_data): New variable.
13891 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13892 (pow_downward_test_data): New variable.
13893 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13894 (pow_upward_test_data): New variable.
13895 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13896 (remainder_test_data): New variable.
13897 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13898 (scalb_test_data): New variable.
13899 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13900 * sysdeps/i386/fpu/libm-test-ulps: Update.
13902 2013-05-11 Joseph Myers <joseph@codesourcery.com>
13904 * math/libm-test.inc (fma_test): Use max_value instead of local
13906 (nextafter_test): Likewise.
13908 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13909 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13910 (acos_downward_test_data): New variable.
13911 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13912 (acos_upward_test_data): New variable.
13913 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13914 (acosh_test_data): New variable.
13915 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13916 (asin_test_data): New variable.
13917 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13918 (asin_tonearest_test_data): New variable.
13919 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13920 (asin_towardzero_test_data): New variable.
13921 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13922 (asin_downward_test_data): New variable.
13923 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13924 (asin_upward_test_data): New variable.
13925 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13926 (asinh_test_data): New variable.
13927 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13928 (atan_test_data): New variable.
13929 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13930 (atanh_test_data): New variable.
13931 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13932 (cbrt_test_data): New variable.
13933 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13934 (ceil_test_data): New variable.
13935 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13936 (cos_test_data): New variable.
13937 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13938 (cos_tonearest_test_data): New variable.
13939 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13940 (cos_towardzero_test_data): New variable.
13941 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13942 (cos_downward_test_data): New variable.
13943 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13944 (cos_upward_test_data): New variable.
13945 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13946 (cosh_test_data): New variable.
13947 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13948 (cosh_tonearest_test_data): New variable.
13949 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13950 (cosh_towardzero_test_data): New variable.
13951 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13952 (cosh_downward_test_data): New variable.
13953 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13954 (cosh_upward_test_data): New variable.
13955 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13956 (erf_test_data): New variable.
13957 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13958 (erfc_test_data): New variable.
13959 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13960 (exp_test_data): New variable.
13961 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13962 (exp_tonearest_test_data): New variable.
13963 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13964 (exp_towardzero_test_data): New variable.
13965 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13966 (exp_downward_test_data): New variable.
13967 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13968 (exp_upward_test_data): New variable.
13969 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13970 (exp10_test_data): New variable.
13971 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13972 (exp2_test_data): New variable.
13973 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13974 (expm1_test_data): New variable.
13975 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13976 (fabs_test_data): New variable.
13977 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13978 (floor_test_data): New variable.
13979 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13980 (j0_test_data): New variable.
13981 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13982 (j1_test_data): New variable.
13983 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13984 (log_test_data): New variable.
13985 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13986 (log10_test_data): New variable.
13987 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13988 (log1p_test_data): New variable.
13989 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13990 (log2_test_data): New variable.
13991 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13992 (logb_test_data): New variable.
13993 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13994 (logb_downward_test_data): New variable.
13995 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13996 (nearbyint_test_data): New variable.
13997 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13998 (rint_test_data): New variable.
13999 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14000 (rint_tonearest_test_data): New variable.
14001 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14002 (rint_towardzero_test_data): New variable.
14003 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14004 (rint_downward_test_data): New variable.
14005 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14006 (rint_upward_test_data): New variable.
14007 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14008 (round_test_data): New variable.
14009 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14010 (sin_test_data): New variable.
14011 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14012 (sin_tonearest_test_data): New variable.
14013 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14014 (sin_towardzero_test_data): New variable.
14015 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14016 (sin_downward_test_data): New variable.
14017 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14018 (sin_upward_test_data): New variable.
14019 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14020 (sinh_test_data): New variable.
14021 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14022 (sinh_tonearest_test_data): New variable.
14023 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14024 (sinh_towardzero_test_data): New variable.
14025 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14026 (sinh_downward_test_data): New variable.
14027 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14028 (sinh_upward_test_data): New variable.
14029 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14030 (sqrt_test_data): New variable.
14031 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14032 (tan_test_data): New variable.
14033 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14034 (tan_tonearest_test_data): New variable.
14035 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14036 (tan_towardzero_test_data): New variable.
14037 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14038 (tan_downward_test_data): New variable.
14039 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14040 (tan_upward_test_data): New variable.
14041 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14042 (tanh_test_data): New variable.
14043 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14044 (tgamma_test_data): New variable.
14045 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14046 (trunc_test_data): New variable.
14047 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14048 (y0_test_data): New variable.
14049 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14050 (y1_test_data): New variable.
14051 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14052 (significand_test_data): New variable.
14053 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14055 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14058 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14060 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14062 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14064 2013-05-10 Andreas Jaeger <aj@suse.de>
14067 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14068 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14070 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14072 * math/gen-libm-test.pl (adjust_arg): New function.
14073 (special_functions): Handle generating output in both functions
14075 (parse_args): Likewise.
14076 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14077 $in_func argument to parse_args.
14078 * math/libm-test.inc (struct test_f_f_data): New type.
14079 (IF_ROUND_INIT_): New macro.
14080 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14081 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14082 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14083 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14084 (ROUND_RESTORE_): Likewise.
14085 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14086 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14087 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14088 (ROUND_RESTORE_FE_UPWARD): Likewise.
14089 (RUN_TEST_LOOP_f_f): New macro.
14090 (acos_test_data): New variable.
14091 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14092 (acos_tonearest_test_data): New variable.
14093 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14095 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14097 * benchtests/bench-skeleton.c (startup): Fix coding style.
14099 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14102 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14103 negative infinity argument.
14104 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14105 negative infinity argument.
14106 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14107 negative infinity argument.
14108 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14111 2013-05-10 Florian Weimer <fweimer@redhat.com>
14113 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14114 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14115 * iconv/iconv_prog.c (main): Likewise.
14116 * locale/programs/charmap-dir.c (charmap_readdir)
14117 (fopen_uncompressed): Likewise.
14118 * locale/programs/locfile.c (siblings_uncached)
14119 (write_locale_data): Use lstat64 instead of lstat.
14120 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14123 2013-05-10 Andreas Jaeger <aj@suse.de>
14126 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14128 Include <locale.h>.
14130 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14132 * elf/dl-close.c (_dl_close_worker): Add comments.
14134 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14137 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14139 (__ieee754_rem_pio2l): Update comments.
14142 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14144 (__ieee754_rem_pio2l): Update comments.
14146 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14147 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14149 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14152 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14153 (M_PI_34_LOG10El): Likewise.
14154 (M_PI2_LOG10El): Likewise.
14155 (M_PI4_LOG10El): Likewise.
14156 (M_PI_LOG10El): Likewise.
14158 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14162 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14164 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14165 (MINUS_ZERO_INIT): Likewise.
14166 (PLUS_INFTY_INIT): Likewise.
14167 (MINUS_INFTY_INIT): Likewise.
14168 (QNAN_VALUE_INIT): Likewise.
14169 (MAX_VALUE_INIT): Likewise.
14170 (MIN_VALUE_INIT): Likewise.
14171 (MIN_SUBNORM_VALUE_INIT): Likewise.
14172 (plus_zero): Initialize with PLUS_ZERO_INIT.
14173 (minus_zero): Initialize with MINUS_ZERO_INIT.
14174 (plus_infty): Initialize with PLUS_INFTY_INIT.
14175 (minus_infty): Initialize with MINUS_INFTY_INIT.
14176 (qnan_value): Initialize with QNAN_VALUE_INIT.
14177 (max_value): Initialize with MAX_VALUE_INIT.
14178 (min_value): Initialize with MIN_VALUE_INIT.
14179 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14181 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14182 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14183 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14184 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14186 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14187 (RUN_TEST_2_f): Likewise.
14188 (RUN_TEST_ff_f): Likewise.
14189 (RUN_TEST_fi_f): Likewise.
14190 (RUN_TEST_fl_f): Likewise.
14191 (RUN_TEST_fff_f): Likewise.
14192 (RUN_TEST_c_f): Likewise.
14193 (RUN_TEST_f_f1): Likewise.
14194 (RUN_TEST_fF_f1): Likewise.
14195 (RUN_TEST_fI_f1): Likewise.
14196 (RUN_TEST_ffI_f1): Likewise.
14197 (RUN_TEST_c_c): Likewise.
14198 (RUN_TEST_cc_c): Likewise.
14199 (RUN_TEST_f_i): Likewise.
14200 (RUN_TEST_f_i_tg): Likewise.
14201 (RUN_TEST_ff_i_tg): Likewise.
14202 (RUN_TEST_f_b): Likewise.
14203 (RUN_TEST_f_b_tg): Likewise.
14204 (RUN_TEST_f_l): Likewise.
14205 (RUN_TEST_f_L): Likewise.
14206 (RUN_TEST_sincos): Likewise.
14207 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14208 whether to show exceptions. Do not include ");\n" in return
14210 (special_functions): Output call to RUN_TEST_sincos instead of
14211 check_float calls. Update calls to new_test.
14212 (parse_args): Output call to single RUN_TEST_* macro instead of
14213 check_* calls and other assignments. Update calls to new_test.
14219 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14220 input to result for tgamma overflow.
14221 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14222 (gamma_coeff): New variable.
14223 (NCOEFF): New macro.
14224 (gamma_positive): New function.
14225 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14226 underflow here. Use gamma_positive instead of exp (lgamma) for
14228 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14229 (gamma_coeff): New variable.
14230 (NCOEFF): New macro.
14231 (gammaf_positive): New function.
14232 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14233 underflow here. Use gamma_positive instead of exp (lgamma) for
14235 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14236 (gamma_coeff): New variable.
14237 (NCOEFF): New macro.
14238 (gammal_positive): New function.
14239 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14240 underflow here. Use gamma_positive instead of exp (lgamma) for
14242 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14243 (gamma_coeff): New variable.
14244 (NCOEFF): New macro.
14245 (gammal_positive): New function.
14246 (__ieee754_gammal_r): Handle positive infinity, overflow and
14247 underflow here. Handle NaN the same as positive infinity. Remove
14248 check x < 0xffffffff for negative integers. Use gamma_positive
14249 instead of exp (lgamma) for other arguments.
14250 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14251 (gamma_coeff): New variable.
14252 (NCOEFF): New macro.
14253 (gammal_positive): New function.
14254 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14255 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14257 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14259 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14260 * sysdeps/generic/math_private.h (__gamma_productf): New
14262 (__gamma_product): Likewise.
14263 (__gamma_productl): Likewise.
14264 * math/Makefile (libm-calls): Add gamma_product.
14265 * math/libm-test.inc (tgamma_test): Add more tests.
14266 * sysdeps/i386/fpu/libm-test-ulps: Update.
14267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14269 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14271 * benchtests/bench-skeleton.c (main): Preheat CPU.
14273 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14275 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14277 2013-05-07 Roland McGrath <roland@hack.frob.com>
14279 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14280 and _dl_skip_args_internal.
14282 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14284 * manual/message.texi (Message Translation): Talk about users.
14285 Message to key mapping impacts design.
14287 2013-05-06 Roland McGrath <roland@hack.frob.com>
14289 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14291 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14293 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14294 * sysdeps/wordsize-64/glob64.c: ... here.
14296 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14297 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14300 * debug/getlogin_r_chk.c: Moved to ...
14301 * login/getlogin_r_chk.c: ... here.
14302 * debug/Makefile (routines): Move getlogin_r_chk to ...
14303 * login/Makefile (routines): ... here.
14304 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14305 * login/Versions (libc: GLIBC_2.4): ... here.
14307 * io/poll.c (__poll): Renamed from poll.
14308 Add libc_hidden_def.
14309 (poll): Define as weak alias.
14311 * debug/ptsname_r_chk.c: Moved to ...
14312 * login/ptsname_r_chk.c: ... here.
14313 * debug/Makefile (routines): Move ptsname_r_chk to ...
14314 * login/Makefile (routines): ... here.
14315 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14316 * login/Versions (libc: GLIBC_2.4): ... here.
14318 * posix/getlogin.c: Moved to ...
14319 * login/getlogin.c: ... here.
14320 * posix/getlogin_r.c: Moved to ...
14321 * login/getlogin_r.c: ... here.
14322 * posix/getlogin_r.c: Moved to ...
14323 * login/getlogin_r.c: ... here.
14324 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14325 * login/Makefile (routines): ... here.
14326 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14327 * login/Versions (libc: GLIBC_2.0): ... here.
14329 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14330 (setrlimit): Define as weak alias.
14332 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14333 Call __ names for open, ftruncate, and close.
14334 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14335 (truncate): Define as weak alias.
14337 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14339 * math/gen-libm-test.pl (parse_args): Initialize x before each
14340 test of frexp, modf and remquo.
14342 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14343 test signgam value.
14345 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14349 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14351 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14353 2013-05-06 Roland McGrath <roland@hack.frob.com>
14355 * elf/dl-writev.h: New file.
14356 * elf/dl-misc.c: Include it.
14357 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14358 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14360 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14362 * math/libm-test.inc (noXFails): Remove variable.
14363 (noXPasses): Likewise.
14364 (BUILD_COMPLEX_INT): Remove macro.
14365 (print_screen): Remove xfail argument.
14366 (print_screen_max_error): Likewise.
14367 (update_stats): Likewise.
14368 (print_max_error): Likewise. Update calls to other affected
14370 (print_complex_max_error): Likewise.
14371 (test_single_exception): Update calls to print_screen.
14372 (test_single_errno): Likewise.
14373 (check_float_internal): Remove xfail argument. Update calls to
14374 other affected functions.
14375 (check_float): Likewise.
14376 (check_complex): Likewise.
14377 (check_int): Likewise.
14378 (check_long): Likewise.
14379 (check_bool): Likewise.
14380 (check_longlong): Likewise.
14381 (main): Don't print noXFails and noXPasses.
14382 * math/gen-libm-test.pl (top level): Don't mention expected
14383 failure handling in comment.
14384 (new_test): Don't handle expected failures.
14385 (parse_args): Don't mention expected failure handling in comment.
14386 (generate_testfile): Don't handle expected failures.
14387 (parse_ulps): Likewise.
14388 (print_ulps_file): Likewise.
14389 (get_failure): Remove function.
14390 (output_test): Don't handle expected failures.
14391 * make/README.libm-test: Don't mention expected failure handling.
14393 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14394 (minus_zero): Likewise.
14395 (plus_infty): Likewise.
14396 (minus_infty): Likewise.
14397 (qnan_value): Likewise.
14398 (max_value): Likewise.
14399 (min_value): Likewise.
14400 (min_subnorm_value): Likewise.
14401 (initialize): Do not initialize those variables dynamically.
14403 2013-05-03 Roland McGrath <roland@hack.frob.com>
14405 * io/open.c (__open_2): Moved to ...
14406 * io/open_2.c: ... this new file.
14407 * io/open64.c (__open64_2): Moved to ...
14408 * io/open64_2.c: ... this new file.
14409 * io/openat.c (__openat_2): Moved to ...
14410 * io/openat_2.c: ... this new file.
14411 * io/openat64.c (__openat64_2): Moved to ...
14412 * io/openat64_2.c: ... this new file.
14413 * io/Makefile (routines): Add them.
14414 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14415 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14416 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14417 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14418 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14419 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14420 (__openat64): Add hidden_ver.
14421 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14422 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14424 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14425 Separately conditionalize setting of GLRO(dl_sysinfo) so
14426 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14427 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14429 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14431 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14432 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14434 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14435 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14436 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14437 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14438 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14440 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14442 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14443 test signgam value.
14445 * math/libm-test.inc (hypot_test): Do not use
14446 IGNORE_ZERO_INF_SIGN.
14448 2013-05-03 Andreas Jaeger <aj@suse.de>
14450 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14452 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14453 (PF_MAX): Adjust for VSOCK change.
14455 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14459 2013-05-02 Carlos O'Donell <carlos@redhat.com>
14462 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14463 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14464 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14466 2013-05-02 David S. Miller <davem@davemloft.net>
14468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14470 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
14472 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14474 2013-05-01 Roland McGrath <roland@hack.frob.com>
14476 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14478 2013-05-01 Richard Smith <richard@metafoo.co.uk>
14481 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14482 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14483 Use __attribute__ ((__gnu_inline__)).
14484 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14485 Don't use __attribute__ ((__gnu_inline__)).
14487 2013-05-01 Joseph Myers <joseph@codesourcery.com>
14490 * math/s_catan.c (__catan): Handle small real or imaginary part of
14491 input specially to avoid spurious underflow.
14492 * math/s_catanf.c (__catanf): Likewise.
14493 * math/s_catanh.c (__catanh): Likewise.
14494 * math/s_catanhf.c (__catanhf): Likewise.
14495 * math/s_catanhl.c (__catanhl): Likewise.
14496 * math/s_catanl.c (__catanl): Likewise.
14497 * math/libm-test.inc (catan_test): Add more tests.
14498 (catanh_test): Likewise.
14499 * sysdeps/i386/fpu/libm-test-ulps: Update.
14500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14502 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14506 2013-04-30 Joseph Myers <joseph@codesourcery.com>
14509 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14510 accurately for denominator in atan2.
14511 * math/s_catanf.c (__catanf): Likewise.
14512 * math/s_catanh.c (__catanh): Likewise.
14513 * math/s_catanhf.c (__catanhf): Likewise.
14514 * math/s_catanhl.c (__catanhl): Likewise.
14515 * math/s_catanl.c (__catanl): Likewise.
14516 * math/libm-test.inc (catan_test): Add more tests.
14517 (catanh_test): Likewise.
14518 * sysdeps/i386/fpu/libm-test-ulps: Update.
14519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14521 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14523 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14525 * benchtests/Makefile (bench): Remove slow benchmarks.
14526 * benchtests/atan-inputs: Add slow benchmark inputs.
14527 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14528 (BENCH_FUNC): Accept variant offset.
14530 * benchtests/bench-skeleton.c (main): Run benchmark for each
14532 * benchtests/cos-inputs: Add slow benchmark inputs.
14533 * benchtests/exp-inputs: Likewise.
14534 * benchtests/pow-inputs: Likewise.
14535 * benchtests/sin-inputs: Likewise.
14536 * benchtests/slowatan-inputs: Remove.
14537 * benchtests/slowatan.c: Remove.
14538 * benchtests/slowcos-inputs: Remove.
14539 * benchtests/slowcos.c: Remove.
14540 * benchtests/slowexp-inputs: Remove.
14541 * benchtests/slowexp.c: Remove.
14542 * benchtests/slowpow-inputs: Remove.
14543 * benchtests/slowpow.c: Remove.
14544 * benchtests/slowsin-inputs: Remove.
14545 * benchtests/slowsin.c: Remove.
14546 * benchtests/slowtan-inputs: Remove.
14547 * benchtests/slowtan.c: Remove.
14548 * benchtests/tan-inputs: Add slow benchmark inputs.
14549 * scripts/bench.pl: Parse comments and directives.
14551 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14553 ($(objpfx)bench-%.c): Remove *-ITER.
14554 * benchtests/bench-modf.c: Remove definition of ITER.
14555 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14556 (main): Loop for DURATION seconds instead of fixed number of
14558 * scripts/bench.pl: Don't expect iterations in parameters.
14560 2013-04-29 Roland McGrath <roland@hack.frob.com>
14562 * io/fchdir.c (__fchdir): Renamed from fchdir.
14563 (fchdir): Define as weak alias.
14565 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14567 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14568 (ERRNO_EDOM): Likewise.
14569 (ERRNO_ERANGE): Likewise.
14570 (noErrnoTests): New variable.
14571 (init_max_error): Set errno to 0.
14572 (test_single_errno): New function.
14573 (test_errno): Likewise.
14574 (check_float_internal): Call test_errno. Set errno to 0.
14575 (check_complex): Refer to errno tests in comment.
14576 (check_int): Call test_errno. Set errno to 0.
14577 (check_long): Likewise.
14578 (check_bool): Likewise.
14579 (check_longlong): Likewise.
14580 (cos_test): Use ERRNO_* flags for errno tests instead of
14582 (expm1_test): Likewise.
14583 (fmod_test): Likewise.
14584 (ilogb_test): Likewise.
14585 (lgamma_test): Likewise.
14586 (pow_test): Likewise.
14587 (remainder_test): Likewise.
14588 (sin_test): Likewise.
14589 (tan_test): Likewise.
14590 (yn_test): Likewise.
14591 (initialize): Set errno to 0.
14592 (main): Print number of errno tests.
14593 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14595 2013-04-29 Andreas Jaeger <aj@suse.de>
14598 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14602 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14603 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14607 * stdlib/random.c (__initstate): Return NULL if
14611 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14612 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14615 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14619 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14621 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14622 of individual tests.
14623 (casin_test): Likewise.
14624 (casinh_test): Likewise.
14626 2013-04-27 Joseph Myers <joseph@codesourcery.com>
14629 * math/s_catan.c (__catan): Handle arguments with large real or
14630 imaginary part separately without squaring.
14631 * math/s_catanf.c (__catanf): Likewise.
14632 * math/s_catanh.c (__catanh): Likewise.
14633 * math/s_catanhf.c (__catanhf): Likewise.
14634 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14636 (__catanhl): Handle arguments with large real or imaginary part
14637 separately without squaring.
14638 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14640 (__catanl): Handle arguments with large real or imaginary part
14641 separately without squaring.
14642 * math/libm-test.inc (catan_test): Add more tests.
14643 (catanh_test): Likewise.
14644 * sysdeps/i386/fpu/libm-test-ulps: Update.
14645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14647 2013-04-27 Andreas Jaeger <aj@suse.de>
14650 * stdlib/stdlib.h: Update guards for qecvt.
14651 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14654 2013-04-27 Allan McRae <allan@archlinux.org>
14656 * sysdeps/i386/fpu/libm-test-ulps: Update.
14658 2013-04-26 Joseph Myers <joseph@codesourcery.com>
14661 * math/s_catan.c: Include <float.h>.
14662 (__catan): Ensure underflow exception occurs for underflowed
14664 * math/s_catanf.c: Include <float.h>.
14665 (__catanf): Ensure underflow exception occurs for underflowed
14667 * math/s_catanh.c: Include <float.h>.
14668 (__catanh): Ensure underflow exception occurs for underflowed
14670 * math/s_catanhf.c: Include <float.h>.
14671 (__catanhf): Ensure underflow exception occurs for underflowed
14673 * math/s_catanhl.c: Include <float.h>.
14674 (__catanhl): Ensure underflow exception occurs for underflowed
14676 * math/s_catanl.c: Include <float.h>.
14677 (__catanl): Ensure underflow exception occurs for underflowed
14679 * math/libm-test.inc (catan_test): Add more tests.
14680 (catanh_test): Likewise.
14683 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14684 underflowed result.
14685 * math/s_ccoshf.c (__ccoshf): Likewise.
14686 * math/s_ccoshl.c (__ccoshl): Likewise.
14687 * math/s_csin.c (__csin): Likewise.
14688 * math/s_csinf.c (__csinf): Likewise.
14689 * math/s_csinh.c (__csinh): Likewise.
14690 * math/s_csinhf.c (__csinhf): Likewise.
14691 * math/s_csinhl.c (__csinhl): Likewise.
14692 * math/s_csinl.c (__csinl): Likewise.
14693 * math/libm-test.inc (ccos_test): Add more tests.
14694 (ccosh_test): Likewise.
14695 (csin_test): Likewise.
14696 (csinh_test): Likewise.
14698 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14700 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14701 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14702 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14703 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14704 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14705 powerpc/power5+/fpu folders.
14706 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14709 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14713 2013-04-25 Joseph Myers <joseph@codesourcery.com>
14715 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14716 additions to variable.
14717 [$(config-machine) = x86_64] (modules-names): Likewise.
14718 ($(objpfx)tst-audit3): Remove dependency.
14719 ($(objpfx)tst-audit3.out): Likewise.
14720 ($(objpfx)tst-audit4): Likewise.
14721 ($(objpfx)tst-audit4.out): Likewise.
14722 ($(objpfx)tst-audit5): Likewise.
14723 ($(objpfx)tst-audit5.out): Likewise.
14724 ($(objpfx)tst-audit6): Likewise.
14725 ($(objpfx)tst-audit6.out): Likewise.
14726 ($(objpfx)tst-audit7): Likewise.
14727 ($(objpfx)tst-audit7.out): Likewise.
14728 (tst-audit3-ENV): Remove variable.
14729 (tst-audit4-ENV): Likewise.
14730 (tst-audit5-ENV): Likewise.
14731 (tst-audit6-ENV): Likewise.
14732 (tst-audit7-ENV): Likewise.
14733 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14734 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14735 addition to variable.
14736 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14737 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14738 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14739 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14740 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14741 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14742 tst-audit3, tst-audit4 and tst-audit5.
14743 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14744 tst-audit6 and tst-audit7.
14745 [$(subdir) = elf] (modules-names): Add audit modules for those
14747 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14748 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14749 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14750 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14751 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14752 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14753 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14754 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14755 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14756 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14757 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14758 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14759 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14760 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14761 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14762 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14764 [$(subdir) = elf && $(config-cflags-avx) = yes]
14765 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14766 [$(subdir) = elf && $(config-cflags-avx) = yes]
14767 (CFLAGS-tst-auditmod4a.c): Likewise.
14768 [$(subdir) = elf && $(config-cflags-avx) = yes]
14769 (CFLAGS-tst-auditmod4b.c): Likewise.
14770 [$(subdir) = elf && $(config-cflags-avx) = yes]
14771 (CFLAGS-tst-auditmod6b.c): Likewise.
14772 [$(subdir) = elf && $(config-cflags-avx) = yes]
14773 (CFLAGS-tst-auditmod6c.c): Likewise.
14774 [$(subdir) = elf && $(config-cflags-avx) = yes]
14775 (CFLAGS-tst-auditmod7b.c): Likewise.
14776 * elf/tst-audit3.c: Move to ...
14777 * sysdeps/x86_64/tst-audit3.c: ... here.
14778 * elf/tst-audit4.c: Move to ...
14779 * sysdeps/x86_64/tst-audit4.c: ... here.
14780 * elf/tst-audit5.c: Move to ...
14781 * sysdeps/x86_64/tst-audit5.c: ... here.
14782 * elf/tst-audit6.c: Move to ...
14783 * sysdeps/x86_64/tst-audit6.c: ... here.
14784 * elf/tst-audit7.c: Move to ...
14785 * sysdeps/x86_64/tst-audit7.c: ... here.
14786 * elf/tst-auditmod3a.c: Move to ...
14787 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14788 * elf/tst-auditmod3b.c: Move to ...
14789 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14790 * elf/tst-auditmod4a.c: Move to ...
14791 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14792 * elf/tst-auditmod4b.c: Move to ...
14793 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14794 * elf/tst-auditmod5a.c: Move to ...
14795 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14796 * elf/tst-auditmod5b.c: Move to ...
14797 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14798 * elf/tst-auditmod6a.c: Move to ...
14799 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14800 * elf/tst-auditmod6b.c: Move to ...
14801 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14802 * elf/tst-auditmod6c.c: Move to ...
14803 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14804 * elf/tst-auditmod7a.c: Move to ...
14805 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14806 * elf/tst-auditmod7b.c: Move to ...
14807 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14809 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14812 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14813 define unconditionally.
14814 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14815 define unconditionally.
14816 (INT8_C, INT16_C, etc.): Likewise.
14818 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14820 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14821 __ehdr_start with hidden visibility.
14823 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14825 2013-04-24 Carlos O'Donell <carlos@redhat.com>
14827 * math/libm-test.inc (cos_test): Use accurate hex constants.
14828 (sincost_test): Likewise.
14830 2013-04-24 Joseph Myers <joseph@codesourcery.com>
14832 * math/libm-test.inc (catan_test): Add more tests.
14833 (catanh_test): Likewise.
14835 * math/s_catanf.c (__catanf): Use suffixed floating-point
14837 * math/s_catanhf.c (__catanhf): Likewise.
14838 * math/s_catanhl.c (__catanhl): Likewise.
14839 * math/s_catanl.c (__catanl): Likewise.
14842 * math/s_catan.c (__catan): Calculate imaginary part of result
14843 with log1p not log unless computing log of number close to 0.
14844 * math/s_catanf.c (__catanf): Likewise.
14845 * math/s_catanl.c (__catanl): Likewise.
14846 * math/s_catanh.c (__catanh): Calculate real part of result with
14847 log1p not log unless computing log of number close to 0.
14848 * math/s_catanhf.c (__catanhf): Likewise.
14849 * math/s_catanhl.c (__catanhl): Likewise.
14850 * math/libm-test.inc (catan_test): Add more tests.
14851 (catanh_test): Likewise.
14852 * sysdeps/i386/fpu/libm-test-ulps: Update.
14853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14855 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14857 * benchtests/Makefile: Mention files in which fast and slow
14858 paths of math functions are implemented.
14860 2013-04-23 Roland McGrath <roland@hack.frob.com>
14862 * sysdeps/posix/timespec_get.c: New file.
14864 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14866 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14868 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14870 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14871 powerpc/power5/fpu folders.
14872 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14873 * benchtests/Makefile: Add modf testcase.
14874 * benchtests/bench-modf.c: New file: Benchmark test for mo
14876 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14879 * time/Makefile (tests): Add tst-strptime-whitespace.
14880 * time/strptime_l.c (get_number): Use ISSPACE.
14881 (__strptime_internal): Likewise.
14882 * time/tst-strptime-whitespace.c: New test case.
14884 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14886 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14888 (_nss_files_init): Set it here.
14890 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14892 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14893 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14896 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14898 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14900 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14902 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14905 2013-04-21 David S. Miller <davem@davemloft.net>
14907 * po/ru.po: Update Russion translation from translation project.
14909 2013-04-17 Adam Conrad <adconrad@0c3.net>
14911 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14914 2013-04-17 Carlos O'Donell <carlos@redhat.com>
14916 * configure.in: Remove i386 configure warning. Remove i386 case.
14917 * configure: Regenerate.
14918 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14919 Add example to error message.
14920 * sysdeps/i386/configure: Regenerate.
14922 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14924 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14926 * benchtests/cos-inputs: New file.
14927 * benchtests/slowcos-inputs: New file.
14928 * benchtests/slowcos.c: New file.
14929 * benchtests/slowtan-inputs: New file.
14930 * benchtests/slowtan.c: New file.
14931 * benchtests/tan-inputs: New file.
14933 2013-04-16 Roland McGrath <roland@hack.frob.com>
14935 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14938 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14940 * benchtests/Makefile: Include cppflags-iterator.mk to add
14941 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14943 * Makefile.in (bench-clean): New target.
14944 * benchtests/Makefile (bench-clean): Likewise.
14946 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14948 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14950 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14952 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14954 2013-04-15 Andreas Schwab <schwab@suse.de>
14956 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14957 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14958 * nscd/pwdcache.c (cache_addpw): Likewise.
14959 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14962 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14964 * benchtests/Makefile (bench): Write all output to
14965 bench-out.tmp together.
14967 2013-04-15 Andreas Schwab <schwab@suse.de>
14969 * nscd/nscd.c (main): Don't fork again after closing files.
14971 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14973 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14975 * benchtests/Rules (bench-deps): Collect dependencies into a
14976 single variable. Add Makefile to dependencies.
14977 ($(objpfx)bench-%.c): Depend on bench-deps.
14979 2013-04-12 Roland McGrath <roland@hack.frob.com>
14980 Xavier Roche <roche+kml2@exalead.com>
14983 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14984 just that it's a file descriptor.
14985 * manual/llio.texi (Synchronizing AIO Operations): Update description
14986 for EBADF error from aio_fsync.
14988 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14990 * Rules (bench): Move target definition...
14991 * benchtests/Makefile: ... here.
14993 2013-04-11 Carlos O'Donell <carlos@redhat.com>
14995 * math/libm-test.inc (cos_test): Fix PI/2 test.
14996 (sincos_test): Likewise.
14997 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14998 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15000 2013-04-11 Andreas Schwab <schwab@suse.de>
15003 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15004 accept exponent character only when digits were seen.
15005 * stdio-common/Makefile (tests): Add bug26.
15006 * stdio-common/bug26.c: New file.
15009 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15012 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15014 * Makeconfig (rtld-prefix): Define built linker prefix.
15015 * Rules (run-bench): Use it.
15016 * math/Makefile (run-regen-ulps): Likewise.
15018 * Rules (bench): Remove eval.
15020 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15021 Roland McGrath <roland@hack.frob.com>
15022 Ondrej Bilka <neleai@seznam.cz>
15025 * time/getdate.c: Include ctype.h and alloca.h.
15026 (__getdate_r): Trim leading and trailing spaces of input.
15027 * time/tst-getdate.c (tests): Add tests with leading and
15030 2013-04-08 Roland McGrath <roland@hack.frob.com>
15033 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15034 when computing value.
15036 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15038 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15039 Use testrun.sh to run libm tests.
15042 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15044 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15047 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15049 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15051 * Makefile.in (regen-ulps): New target.
15052 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15053 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15054 [ifneq (no,$(PERL)] (regen-ulps): New target.
15055 [ifeq (no,$(PERL)] (regen-ulps): New target.
15056 * math/libm-test.inc (ulps_file_name): Define.
15057 (output_dir): New variable.
15058 (options): Add "output-dir" option.
15059 (parse_opt): Handle 'o' case.
15060 (main): If output_dir is non-NULL use it as a prefix
15062 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15064 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15066 [BZ #10060, #10062]
15067 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15068 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15069 fail configure if __sync_val_compare_and_swap is not inlined.
15070 * sysdeps/i386/configure: Regenerate.
15071 * configure.in: Build for i686 when configured for i386.
15072 * configure: Regenerate.
15073 * README: Remove i386 reference.
15075 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15077 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15078 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15080 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15082 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15083 (lmsnanval): New variables.
15084 (F): Add conversion tests.
15085 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15086 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15088 * stdio-common/tstdiomisc.c (F): Properly collect individual
15091 [BZ #14686, #15336]
15092 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15093 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15094 Instead, use input NaN values or generate a qNaN by arithmetic
15095 operation. Also fix bugs to comply with the standard.
15096 * math/libm-test.inc (remainder_test): Add more tests.
15098 [BZ #15335, #15342]
15099 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15100 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15101 input NaN values or generate a qNaN by arithmetic operation.
15103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15106 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15109 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15112 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15113 underflowed result.
15114 * math/s_cexpf.c (__cexpf): Likewise.
15115 * math/s_cexpl.c (__cexpl): Likewise.
15116 * math/libm-test.inc (cexp_test): Add more tests.
15118 2013-04-03 Andreas Schwab <schwab@suse.de>
15121 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15122 order arrays from heap if bigger than alloca cutoff.
15124 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15126 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15127 (SNAN_TESTS_double): Refer to GCC PR56831.
15128 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15131 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15133 * Rules (bench): Move bench.out after the run is complete.
15135 * Rules (bench): Echo currently running benchmark.
15137 * benchtests/Makefile (bench): Add atan and slowatan.
15138 * benchtests/atan-inputs: New file.
15139 * benchtests/slowatan-inputs: New file.
15140 * benchtests/slowatan.c: New file.
15142 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15143 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15147 * sysdeps/unix/sysv/linux/kernel-features.h
15148 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15149 __ASSUME_XFS_RESTRICTED_CHOWN.
15150 * sysdeps/unix/sysv/linux/pathconf.c
15151 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15152 Save and restore errno.
15154 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15157 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15158 arguments using __kernel_casinh.
15159 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15160 arguments using __kernel_casinhf.
15161 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15162 arguments using __kernel_casinhl.
15163 * math/libm-test.inc (cacosh_test): Add more tests.
15164 * sysdeps/i386/fpu/libm-test-ulps: Update.
15165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15167 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15169 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15170 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15172 * bench/Makefile (bench): Add sin and slowsin.
15173 * benchtests/sin-inputs: New file.
15174 * benchtests/slowsin-inputs: New file.
15175 * benchtests/slowsin.c: New file.
15177 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15178 (bench): Add slowexp and slowpow.
15179 (exp-ITER): Increase iterations.
15180 (pow-ITER): Likewise.
15181 * benchtests/exp-inputs: Change input.
15182 * benchtests/pow-inputs: Likewise.
15183 * benchtests/slowexp-inputs: New file.
15184 * benchtests/slowexp.c: New file.
15185 * benchtests/slowpow-inputs: New file.
15186 * benchtests/slowpow.c: New file.
15188 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15190 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15192 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15193 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15194 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15195 * benchtests/Makefile: Add rint benchtest.
15196 * benchtests/rint-inputs: Input for rint benchtest.
15198 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15200 * Versions.def (libm): Add GLIBC_2.18.
15201 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15202 hidden libm prototypes.
15203 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15204 * math/Makefile (libm-calls): Add s_issignaling.
15205 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15206 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15207 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15209 * math/math.h [__USE_GNU] (issignaling): New macro.
15210 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15211 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15213 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15214 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15215 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15216 * manual/arith.texi (issignaling): New section.
15217 * manual/libm-err-tab.pl (@all_functions): Update comment.
15218 * math/gen-libm-test.pl (parse_args): Apply special handling for
15220 * math/libm-test.inc (print_float, issignaling_test): New
15222 (check_float_internal): Add issignaling checks.
15223 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15224 default definition.
15225 * sysdeps/powerpc/math-tests.h: New file.
15226 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15228 * math/test-snan.c (TEST_FUNC): Likewise.
15230 2013-03-30 David S. Miller <davem@davemloft.net>
15232 * po/de.po: Update from translation team.
15234 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15237 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15238 imaginary part less than 1.0 and real part less than 0.5
15240 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15241 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15242 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15243 (cacos_test): Add more tests.
15244 (casin_test): Likewise.
15245 (casinh_test): Likewise.
15246 * sysdeps/i386/fpu/libm-test-ulps: Update.
15247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15249 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15251 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15252 ONE with its value.
15254 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15255 (__pow_mp): Replace ONE and MONE with their values.
15256 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15257 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15258 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15259 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15260 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15261 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15263 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15265 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15266 (__pow_mp): Replace ZERO and MZERO with their values.
15267 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15268 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15269 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15270 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15271 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15272 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15275 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15277 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15279 2013-03-28 Roland McGrath <roland@hack.frob.com>
15281 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15282 Declare with __attribute__ ((weak)).
15283 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15284 Call __call_tls_dtors only if it's not NULL.
15286 2013-03-28 Roland McGrath <roland@hack.frob.com>
15288 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15289 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15290 magic __ehdr_start linker symbol if it's defined.
15291 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15292 them up here if it was already done.
15294 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15295 (_dl_aux_init): Use const in cast when setting it.
15296 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15297 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15298 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15300 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15302 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15303 * csu/libc-tls.c: Nor here.
15304 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15306 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15307 (__libc_message): Never call vsyslog.
15309 2013-03-28 Alan Modra <amodra@gmail.com>
15311 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15313 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15316 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15319 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15323 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15326 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15327 Don't add gid passed as argument.
15329 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15331 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15334 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15335 imaginary part between 1.0 and 1.5 and real part less than 0.5
15337 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15338 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15339 * math/libm-test.inc (cacos_test): Add more tests.
15340 (casin_test): Likewise.
15341 (casinh_test): Likewise.
15342 * sysdeps/i386/fpu/libm-test-ulps: Update.
15343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15345 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15347 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15350 (denorm): Likewise.
15351 (__dbl_mp): Likewise.
15352 (add_magnitudes): Likewise.
15353 (sub_magnitudes): Likewise.
15361 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15363 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15364 (__dubcos): Likewise.
15365 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15366 (__ieee754_acos): Likewise.
15367 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15368 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15369 (__exp1): Likewise.
15370 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15371 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15373 (my_log2): Likewise.
15374 (checkint): Likewise.
15375 * sysdeps/ieee754/dbl-64/e_remainder.c
15376 (__ieee754_remainder): Likewise.
15377 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15378 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15379 (bsloww): Likewise.
15380 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15382 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15383 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15384 MANTISSA_STORE_T to store computations on mantissa. Use
15385 macros for rounding and division.
15386 (denorm): Likewise.
15387 (__dbl_mp): Likewise.
15388 (add_magnitudes): Likewise.
15389 (sub_magnitudes): Likewise.
15392 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15393 powers of two in terms of TWOPOW macro.
15394 (mp_no): Make type of mantissa as MANTISSA_T.
15395 [!RADIXI]: Define RADIXI.
15396 [!TWO52]: Define TWO52.
15397 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15399 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15401 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15402 llroundl symbol when building for PPC32.
15404 2013-03-24 Mark H Weaver <mhw@netris.org>
15406 * manual/arith.texi (Normalization Functions): Fix prototypes for
15407 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15409 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15413 high value to check if expl overflow.
15414 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15415 to check for underflow and overflow.
15416 * math/libm-test.inc: Add exp test.
15418 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15421 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15424 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15426 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15429 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15431 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15432 wrap blocks consisting of several statements.
15434 * sysdeps/generic/math-tests.h: New file.
15435 * sysdeps/i386/fpu/math-tests.h: Likewise.
15436 * math/test-snan.c: Include it.
15437 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15439 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15442 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15443 (__ieee754_j0l): Do not improve calculations using cos of twice
15444 input for inputs above LDBL_MAX / 2.0L.
15445 (__ieee754_y0l): Likewise.
15446 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15447 (__ieee754_j1l): Do not improve calculations using cos of twice
15448 input for inputs above LDBL_MAX / 2.0L.
15449 (__ieee754_y1l): Likewise.
15450 * math/libm-test.inc (j0_test): Add another test.
15451 (j1_test): Likewise.
15452 (y0_test): Likewise.
15453 (y1_test): Likewise.
15454 * sysdeps/i386/fpu/libm-test-ulps: Update.
15456 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15458 * Rules ($(objpfx)bench-%.c): Include code from a C source
15461 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15464 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15465 imaginary part 1.0 and real part less than 0.5 specially.
15466 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15467 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15468 * math/libm-test.inc (cacos_test): Add more tests.
15469 (casin_test): Likewise.
15470 (casinh_test): Likewise.
15471 * sysdeps/i386/fpu/libm-test-ulps: Update.
15472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15474 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15476 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15477 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15479 2013-03-20 Joseph Myers <joseph@codesourcery.com>
15481 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15482 * config.make.in (config-cflags-sse4): Remove variable.
15483 (config-cflags-avx): Likewise.
15484 (config-cflags-sse2avx): Likewise.
15485 (config-cflags-novzeroupper): Likewise.
15486 (config-asflags-i686): Likewise.
15487 (have-mfma4): Likewise.
15488 (have-as-vis3): Likewise.
15490 * configure.in (MIG): Do not AC_SUBST.
15491 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15492 (libc_cv_cc_sse4): Do not AC_SUBST.
15493 (libc_cv_cc_avx): Likewise.
15494 (libc_cv_cc_sse2avx): Likewise.
15495 (libc_cv_cc_novzeroupper): Likewise.
15496 (libc_cv_cc_fma4): Likewise.
15497 (libc_cv_as_i686): Likewise.
15498 (libc_cv_sparc_as_vis3): Likewise.
15499 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15501 (config-asflags-i686): Likewise.
15502 (config-cflags-avx): Likewise.
15503 (config-cflags-sse2avx): Likewise.
15504 (have-mfma4): Likewise.
15505 (config-cflags-novzeroupper): Likewise.
15506 * sysdeps/mach/configure.in (MIG): Likewise.
15507 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15508 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15510 (config-cflags-avx): Likewise.
15511 (config-cflags-sse2avx): Likewise.
15512 (have-mfma4): Likewise.
15513 (config-cflags-novzeroupper): Likewise.
15514 * configure: Regenerated.
15515 * sysdeps/i386/configure: Likewise.
15516 * sysdeps/mach/configure: Likewise.
15517 * sysdeps/sparc/configure: Likewise.
15518 * sysdeps/x86_64/configure: Likewise.
15520 2013-03-20 Roland McGrath <roland@hack.frob.com>
15523 * locale/programs/localedef.c (options): Put N_ translation marker
15524 on argument names, not just descriptions.
15526 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15528 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15530 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
15533 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15535 2013-03-19 Roland McGrath <roland@hack.frob.com>
15537 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15538 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15539 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15540 [!BEFORE_ABORT] (before_abort): New function.
15541 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15542 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15543 (writev_for_fatal): New function.
15544 (WRITEV_FOR_FATAL): New macro; call that.
15545 (backtrace_and_maps): New function.
15546 (BEFORE_ABORT): New macro; call that.
15547 (struct str_list): Type removed.
15548 (__libc_message, __libc_fatal): Functions removed.
15549 Include <sysdeps/posix/libc_fatal.c> instead.
15551 2013-03-19 Joseph Myers <joseph@codesourcery.com>
15553 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15555 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15558 2013-03-19 Andreas Schwab <schwab@suse.de>
15560 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15561 * sysdeps/gnu/configure: Regenerate.
15563 * configure.in: Substitute libc_cv_rtlddir.
15564 * configure: Regenerate.
15565 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15566 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15567 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15568 * elf/Makefile (install-others, CFLAGS-interp.c)
15569 (ldso_install, common-ldd-rewrite): Likewise.
15570 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15571 $(inst_slibdir)/$(rtld-installed-name).
15572 * scripts/rellns-sh: Add -p option.
15573 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15576 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15578 * manual/nptl.texi: Renamed to ...
15579 * manual/threads.texi: ... this.
15580 * manual/Makefile (chapters): Update.
15582 2013-03-18 Roland McGrath <roland@hack.frob.com>
15585 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15586 on argument names, not just descriptions.
15587 * malloc/memusagestat.c (options): Likewise.
15588 * nss/getent.c (options): Likewise.
15590 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
15593 * iconv/iconv_prog.c (options): Put N_ translation marker
15594 on argument names, not just descriptions.
15595 * iconv/iconvconfig.c (options): Likewise.
15597 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
15599 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15600 implementation which is faster on all x86_64 architectures.
15601 Tested on AMD, Intel Nehalem, SNB, IVB.
15602 * sysdeps/x86_64/strnlen.S: Likewise.
15604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15605 Remove all multiarch strlen and strnlen versions.
15606 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15607 Remove strlen and strnlen related parts.
15609 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15610 Inline strlen part.
15611 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15613 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15614 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15615 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15616 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15617 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15618 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15620 2013-03-17 Carlos O'Donell <carlos@redhat.com>
15622 * manual/memory.texi (Malloc Tunable Parameters):
15623 Sort parameters alphabetically. Add comments for missing entries.
15625 2013-03-17 David S. Miller <davem@davemloft.net>
15627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15629 2013-03-16 Joseph Myers <joseph@codesourcery.com>
15632 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15633 for arguments at most half maximum finite value.
15634 * math/libm-test.inc (j0_test): Add more tests.
15635 (j1_test): Likewise.
15636 (y0_test): Likewise.
15637 (y1_test): Likewise.
15638 * sysdeps/i386/fpu/libm-test-ulps: Update.
15639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15642 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15643 1 / x and functions P and Q for arguments above 0x1p256L.
15644 (__ieee754_y0l): Likewise.
15645 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15646 (__ieee754_y1l): Likewise.
15647 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15648 (j1_test): Likewise.
15649 (y0_test): Likewise.
15650 (y1_test): Likewise.
15652 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15654 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15657 2013-03-15 Roland McGrath <roland@hack.frob.com>
15659 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15660 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15661 zero since it's initialized to EXEC_PAGESIZE.
15663 * sysdeps/unix/sysv/linux/ldsodefs.h
15664 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15665 * sysdeps/generic/ldsodefs.h: ... here.
15667 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15669 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15671 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15673 * math/test-snan.c: Renamed from
15674 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15675 * math/Makefile (tests): Add test-snan.
15676 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15679 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15680 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15682 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15683 __builtin_nan family of functions.
15684 * math/libm-test.inc (initialize): Initialize qnan_value with
15685 __builtin_nan family of functions.
15686 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15688 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15690 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15691 storage class. Initialize qNaN_var and sNaN_var with
15692 __builtin_nan and __builtin_nans families of functions,
15695 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15696 (sqrt_test): Remove duplicate test with qNaN input.
15697 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15698 (round_test, signbit_test, significand_test): Note missing +/-Inf
15699 as well as qNaN tests.
15701 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15702 qNaN_var. Fix a few strings, too.
15703 * math/libm-test.inc (nan_value): Rename to qnan_value.
15704 * math/gen-libm-test.pl (%beautify): Adjust to that.
15705 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15706 * math/test-misc.c (main): Likewise.
15707 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15708 to __qnan_bytes, and __qnan_union, respectively.
15709 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15711 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15712 and lqnanval, respectively.
15713 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15714 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15715 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15716 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15718 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15719 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15722 * math/test-misc.c (main): Fix copy'n'pastos.
15723 * misc/tst-efgcvt.c (special): Likewise.
15725 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15726 Remove declarations.
15728 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15730 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15731 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15732 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15733 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15735 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15737 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15738 macro to return vdso values correctly in IFUNC implementations.
15739 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15740 Optimization by using IFUNC.
15742 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15743 Richard Henderson <rth@redhat.com>
15744 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15746 * Makefile.in (bench): New target.
15747 * NEWS: Mention the benchmark framework.
15748 * Rules (bench): Likewise.
15749 (binaries-bench): Generate binaries for functions to
15751 * benchtests/Makefile: New makefile for benchmark tests.
15752 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15754 * benchtests/exp-inputs: New input file for EXP function.
15755 * benchtests/pow-inputs: New input file for POW function.
15756 * scripts/bench.pl: New script to generate source files for
15757 benchmark programs.
15759 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15761 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15762 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15763 computations on mantissa. Use macros for rounding and
15765 (denorm): Likewise.
15766 (__dbl_mp): Likewise.
15767 (add_magnitudes): Likewise.
15768 (sub_magnitudes): Likewise.
15771 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15772 powers of two in terms of TWOPOW macro.
15773 (mp_no): Make type of mantissa as MANTISSA_T.
15774 [!RADIXI]: Define RADIXI.
15775 [!TWO52]: Define TWO52.
15776 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15778 * manual/nptl.texi (cindex): Modify threads to pthreads.
15780 2013-03-15 Joseph Myers <joseph@codesourcery.com>
15782 * sysdeps/x86_64/preconfigure: Regenerated.
15784 2013-03-14 Joseph Myers <joseph@codesourcery.com>
15787 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15789 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15790 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15792 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15793 * math/libm-test.inc (j0_test): Do not allow one spurious
15794 underflow exception.
15795 (y1_test): Likewise.
15797 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15799 * manual/Makefile (chapters): Add nptl.
15800 * manual/debug.texi (Debugging Support): Add link to Threads
15802 * manual/nptl.texi: New file.
15804 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15806 2013-03-14 Petr Baudis <pasky@ucw.cz>
15808 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15809 for non-NULL pointer before the memory validity test. Pointed
15810 out by Holger Brunck <holger.brunck@keymile.com>.
15812 2013-03-13 Andreas Schwab <schwab@suse.de>
15814 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15817 2013-03-13 Joseph Myers <joseph@codesourcery.com>
15819 * timezone/zic.c: Update from tzcode 2013b.
15821 2013-03-12 Carlos O'Donell <carlos@redhat.com>
15823 * manual/install.texi (Configuring and compiling):
15824 Mention i686 and i586.
15825 * INSTALL: Regenerate.
15827 2013-03-12 Roland McGrath <roland@hack.frob.com>
15829 * sysdeps/init_array/elf-init.c: New file.
15831 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15832 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15834 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15835 __gmon_start__ as global, but as static with a .preinit_array pointer.
15836 * sysdeps/init_array/gmon-start.c: New file. Use that.
15837 * sysdeps/init_array/crti.S: New file, empty except for comments.
15838 * sysdeps/init_array/crtn.S: Likewise.
15840 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
15842 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15845 Remove Prefer_SSE_for_memop.
15846 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15847 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15848 HAS_PREFER_SSE_FOR_MEMOP.
15849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15851 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15852 Remove bzero, memset ifunc support.
15853 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15854 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15855 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15856 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15858 2013-03-11 Andreas Schwab <schwab@suse.de>
15861 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15864 (GLIBC_2.16): Remove pthread_atfork.
15866 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15868 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15869 (ptestcases.h): Likewise.
15871 2013-03-08 Roland McGrath <roland@hack.frob.com>
15873 * Makeconfig ($(common-objpfx)config.status): Depend on
15874 sysdeps/*/preconfigure{,.in} too.
15876 2013-03-08 Joseph Myers <joseph@codesourcery.com>
15878 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15879 (__free_hook): Use void * instead of __malloc_ptr_t.
15880 (__malloc_hook): Likewise.
15881 (__realloc_hook): Likewise.
15882 (__memalign_hook): Likewise.
15883 (__after_morecore_hook): Likewise.
15884 * malloc/arena.c (save_malloc_hook): Likewise.
15885 (save_free_hook): Likewise.
15886 * malloc/hooks.c (malloc_hook_ini): Likewise.
15887 (realloc_hook_ini): Likewise.
15888 (memalign_hook_ini): Likewise.
15889 * malloc/malloc.c (malloc_hook_ini): Likewise.
15890 (realloc_hook_ini): Likewise.
15891 (memalign_hook_ini): Likewise.
15892 (__free_hook): Likewise.
15893 (__malloc_hook): Likewise.
15894 (__realloc_hook): Likewise.
15895 (__memalign_hook): Likewise.
15896 (__libc_malloc): Likewise.
15897 (__libc_free): Likewise.
15898 (__libc_realloc): Likewise.
15899 (__libc_memalign): Likewise.
15900 (__libc_valloc): Likewise.
15901 (__libc_pvalloc): Likewise.
15902 (__libc_calloc): Likewise.
15903 (__posix_memalign): Likewise.
15904 * malloc/morecore.c (__sbrk): Likewise.
15905 (__default_morecore): Likewise.
15907 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15909 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15910 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15911 __malloc_ptrdiff_t.
15913 * malloc/malloc.h (__malloc_size_t): Remove macro.
15914 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15916 (old_memalign_hook): Likewise.
15917 (old_realloc_hook): Likewise.
15918 (struct hdr): Likewise.
15920 (mallochook): Likewise.
15921 (memalignhook): Likewise.
15922 (reallochook): Likewise.
15923 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15924 (tr_old_realloc_hook): Likewise.
15925 (tr_old_memalign_hook): Likewise.
15926 (tr_mallochook): Likewise.
15927 (tr_reallochook): Likewise.
15928 (tr_memalignhook): Likewise.
15930 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15932 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15933 default_ldbl_pack and using as default implementation.
15934 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15936 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15937 redundant definition.
15938 (ldbl_insert_mantissa): Likewise.
15939 (ldbl_canonicalize): Likewise.
15940 (ldbl_nearbyint): Likewise.
15941 (ldbl_pack): Rename to ldbl_pack_ppc.
15942 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15943 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15944 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15946 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15948 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15949 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15950 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15951 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15953 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15954 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15955 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15957 2013-03-07 Andreas Jaeger <aj@suse.de>
15959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15962 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15964 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15965 Include mpa.h and declare __MPEXP.
15966 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15967 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15968 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15969 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15970 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15971 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15972 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15974 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15975 (__slowpow): Use long double EXPL and LOGL functions to
15977 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15978 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15979 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15980 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15981 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15982 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15985 intermediate variable to calculate exponent.
15987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15991 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15992 [!NO__SQR]: Define __sqr.
15993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15994 and NO__SQR. Remove all code except __mul and __sqr. Include
15995 sysdeps/ieee754/dbl-64/mpa.c.
15996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15999 * posix/Makefile (tests): Add tst-pathconf.
16000 * posix/tst-pathconf.c: New test case.
16001 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16003 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16005 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16007 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16009 2013-03-06 Andreas Jaeger <aj@suse.de>
16011 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16012 definition via __MAP_ANONYMOUS.
16014 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16015 it's not part of Linux headers.
16017 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16018 (MAP_HUGE_MASK): Define.
16020 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16022 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16023 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16025 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16026 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16028 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16029 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16031 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16033 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16034 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16035 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16036 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16037 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16038 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16040 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16043 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16044 Handle f2fs and efivarfs.
16046 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16049 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16050 (EFIVARFS_MAGIC): Add.
16051 (F2FS_LINK_MAX): Add.
16053 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16055 * stdio-common/vfprintf.c: Replace __builtin_expect with
16058 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16061 * sysdeps/generic/bp-sym.h: Remove file.
16062 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16063 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16064 <bp-sym.h> and <bp-asm.h>.
16065 (__longjmp): Don't use BP_SYM.
16066 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16068 (memcpy): Don't use BP_SYM.
16069 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16070 <bp-sym.h> and <bp-asm.h>.
16071 (memcpy): Don't use BP_SYM.
16072 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16074 (memcpy): Don't use BP_SYM.
16075 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16077 (memset): Don't use BP_SYM.
16078 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16079 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16080 (__bzero): Don't use BP_SYM.
16081 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16082 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16083 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16084 <bp-sym.h> and <bp-asm.h>.
16085 (memcmp): Don't use BP_SYM. Remove comment about bounded
16087 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16088 <bp-sym.h> and <bp-asm.h>.
16089 (memcpy): Don't use BP_SYM.
16090 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16091 <bp-sym.h> and <bp-asm.h>.
16092 (memset): Don't use BP_SYM.
16093 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16094 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16095 (__bzero): Don't use BP_SYM.
16096 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16097 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16098 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16099 <bp-sym.h> and <bp-asm.h>.
16100 (strncmp): Don't use BP_SYM. Remove comment about bounded
16102 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16103 <bp-sym.h> and <bp-asm.h>.
16104 (memcpy): Don't use BP_SYM.
16105 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16106 <bp-sym.h> and <bp-asm.h>.
16107 (memset): Don't use BP_SYM.
16108 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16109 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16110 (__bzero): Don't use BP_SYM.
16111 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16112 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16113 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16114 <bp-sym.h> and <bp-asm.h>.
16115 (__memchr): Don't use BP_SYM.
16116 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16117 <bp-sym.h> and <bp-asm.h>.
16118 (memcmp): Don't use BP_SYM. Remove comment about bounded
16120 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16121 <bp-sym.h> and <bp-asm.h>.
16122 (memcpy): Don't use BP_SYM.
16123 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16124 <bp-sym.h> and <bp-asm.h>.
16125 (__mempcpy): Don't use BP_SYM.
16126 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16127 <bp-sym.h> and <bp-asm.h>.
16128 (__memrchr): Don't use BP_SYM.
16129 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16130 <bp-sym.h> and <bp-asm.h>.
16131 (memset): Don't use BP_SYM.
16132 (__bzero): Likewise.
16133 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16134 <bp-sym.h> and <bp-asm.h>.
16135 (__rawmemchr): Don't use BP_SYM.
16136 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16137 <bp-sym.h> and <bp-asm.h>.
16138 (__STRCMP): Don't use BP_SYM.
16139 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16140 <bp-sym.h> and <bp-asm.h>.
16141 (strchr): Don't use BP_SYM.
16142 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16143 <bp-sym.h> and <bp-asm.h>.
16144 (__strchrnul): Don't use BP_SYM.
16145 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16146 <bp-sym.h> and <bp-asm.h>.
16147 (strlen): Don't use BP_SYM.
16148 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16149 <bp-sym.h> and <bp-asm.h>.
16150 (strncmp): Don't use BP_SYM. Remove comment about bounded
16152 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16153 <bp-sym.h> and <bp-asm.h>.
16154 (__strnlen): Don't use BP_SYM.
16155 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16156 <bp-sym.h> and <bp-asm.h>.
16157 (__GI__setjmp): Don't use BP_SYM.
16158 (_setjmp): Likewise.
16159 (__sigsetjmp): Likewise.
16160 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16161 (L(start_addresses)): Don't use BP_SYM.
16162 (_start): Likewise.
16163 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16165 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16166 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16167 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16168 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16169 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16171 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16172 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16173 about bounded pointers.
16174 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16175 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16176 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16178 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16179 about bounded pointers. Remove GKM FIXME comments.
16180 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16181 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16183 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16184 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16185 Remove GKM FIXME comments.
16186 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16187 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16188 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16190 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16191 about bounded pointers. Remove GKM FIXME comment.
16192 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16194 (strncmp): Don't use BP_SYM. Remove comment about bounded
16196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16197 <bp-sym.h> and <bp-asm.h>.
16198 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16200 <bp-sym.h> and <bp-asm.h>.
16201 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16204 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16206 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16209 2013-03-05 David S. Miller <davem@davemloft.net>
16211 * po/es.po: Update from translation team.
16213 2013-03-05 Andreas Jaeger <aj@suse.de>
16215 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16216 <bits/mman-linux.h>.
16217 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16219 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16220 <bits/mman-linux.h> to end of file.
16221 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16223 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16224 <bits/mman-linux.h> to end of file.
16225 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16227 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16228 <bits/mman-linux.h> to end of file.
16230 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16231 (MCL_CURRENT, MCL_FUTURE): Define here.
16233 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16236 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16238 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16240 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16242 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16243 fourth parameter needed for rt_sigprocmask syscall.
16244 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16245 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16246 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16247 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16248 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16249 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16251 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16254 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16255 comment about bounded pointers.
16256 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16257 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16259 2013-03-04 Andreas Jaeger <aj@suse.de>
16261 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16262 common definitions.
16264 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16265 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16266 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16267 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16268 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16269 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16271 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16274 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16275 __ieee754_sqrl instead of __sqrl.
16277 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16279 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16280 * sysdeps/powerpc/fpu_control.h: ... here.
16281 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16282 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16283 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16284 * sysdeps/powerpc/bits/mathinline.h: ... here.
16286 2013-03-01 Roland McGrath <roland@hack.frob.com>
16288 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16289 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16290 to just [NEED_DL_SYSINFO_DSO].
16291 * elf/dl-support.c: Likewise.
16292 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16293 * elf/rtld.c (dl_main): Likewise.
16294 * elf/setup-vdso.h (setup_vdso): Likewise.
16295 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16296 * sysdeps/unix/sysv/linux/dl-sysdep.c
16297 (_dl_discover_osversion): Likewise.
16299 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16301 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16302 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16304 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16306 * NEWS: Mention libm performance improvements and non-x86 PI
16309 * csu/libc-start.c (__pthread_initialize_minimal): Change
16310 function arguments.
16311 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16313 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16316 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16317 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16318 <bp-sym.h> and <bp-asm.h>.
16319 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16320 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16322 (memcpy): Don't use BP_SYM.
16323 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16325 (__mpn_add_n): Don't use BP_SYM.
16326 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16327 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16329 (__mpn_addmul_1): Don't use BP_SYM.
16330 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16331 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16333 (_setjmp): Don't use BP_SYM.
16334 (__novmx_setjmp): Likewise.
16335 (__GI__setjmp): Likewise.
16336 (__vmx_setjmp): Likewise.
16337 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16339 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16340 (__bzero): Don't use BP_SYM.
16341 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16342 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16343 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16344 <bp-sym.h> and <bp-asm.h>.
16345 (memcpy): Don't use BP_SYM.
16346 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16347 <bp-sym.h> and <bp-asm.h>.
16348 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16349 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16350 <bp-sym.h> and <bp-asm.h>.
16351 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16352 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16354 (__mpn_lshift): Don't use BP_SYM.
16355 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16356 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16358 (memset): Don't use BP_SYM.
16359 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16360 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16361 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16363 (__mpn_mul_1): Don't use BP_SYM.
16364 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16365 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16366 <bp-sym.h> and <bp-asm.h>.
16367 (memcmp): Don't use BP_SYM.
16368 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16369 <bp-sym.h> and <bp-asm.h>.
16370 (memcpy): Don't use BP_SYM.
16371 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16372 <bp-sym.h> and <bp-asm.h>.
16373 (memset): Don't use BP_SYM.
16374 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16375 <bp-sym.h> and <bp-asm.h>.
16376 (strncmp): Don't use BP_SYM.
16377 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16378 <bp-sym.h> and <bp-asm.h>.
16379 (memcpy): Don't use BP_SYM.
16380 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16381 <bp-sym.h> and <bp-asm.h>.
16382 (memset): Don't use BP_SYM.
16383 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16384 <bp-sym.h> and <bp-asm.h>.
16385 (__memchr): Don't use BP_SYM.
16386 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16387 <bp-sym.h> and <bp-asm.h>.
16388 (memcmp): Don't use BP_SYM.
16389 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16390 <bp-sym.h> and <bp-asm.h>.
16391 (memcpy): Don't use BP_SYM.
16392 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16393 <bp-sym.h> and <bp-asm.h>.
16394 (__mempcpy): Don't use BP_SYM.
16395 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16396 <bp-sym.h> and <bp-asm.h>.
16397 (__memrchr): Don't use BP_SYM.
16398 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16399 <bp-sym.h> and <bp-asm.h>.
16400 (memset): Don't use BP_SYM.
16401 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16402 <bp-sym.h> and <bp-asm.h>.
16403 (__rawmemchr): Don't use BP_SYM.
16404 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16405 <bp-sym.h> and <bp-asm.h>.
16406 (__STRCMP): Don't use BP_SYM.
16407 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16408 <bp-sym.h> and <bp-asm.h>.
16409 (strchr): Don't use BP_SYM.
16410 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16411 <bp-sym.h> and <bp-asm.h>.
16412 (__strchrnul): Don't use BP_SYM.
16413 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16414 <bp-sym.h> and <bp-asm.h>.
16415 (strlen): Don't use BP_SYM.
16416 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16417 <bp-sym.h> and <bp-asm.h>.
16418 (strncmp): Don't use BP_SYM.
16419 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16420 <bp-sym.h> and <bp-asm.h>.
16421 (__strnlen): Don't use BP_SYM.
16422 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16424 (__mpn_rshift): Don't use BP_SYM.
16425 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16426 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16427 <bp-sym.h> and <bp-asm.h>.
16428 (__sigsetjmp): Don't use BP_SYM.
16429 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16430 (L(start_addresses)): Don't use BP_SYM.
16431 (_start): Likewise.
16432 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16434 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16435 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16436 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16437 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16439 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16440 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16441 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16442 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16444 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16446 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16447 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16449 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16451 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16452 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16453 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16455 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16457 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16459 (strncmp): Don't use BP_SYM,
16460 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16462 (__mpn_sub_n): Don't use BP_SYM.
16463 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16464 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16466 (__mpn_submul_1): Don't use BP_SYM.
16467 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16469 <bp-sym.h> and <bp-asm.h>.
16470 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16472 <bp-sym.h> and <bp-asm.h>.
16473 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16476 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16479 Use ZK to minimize writes to Z.
16480 (sub_magnitudes): Simplify code a bit.
16481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16482 Use ZK to minimize writes to Z.
16483 (sub_magnitudes): Simplify code a bit.
16485 2013-02-27 Roland McGrath <roland@hack.frob.com>
16487 * csu/gmon-start.c: Add special exception to license text.
16489 2013-02-27 Richard Henderson <rth@redhat.com>
16491 * scripts/config.guess: Update from config.git.
16492 * scripts/config.sub: Likewise.
16494 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16496 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16498 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16500 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16502 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16504 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16506 2013-02-26 Roland McGrath <roland@hack.frob.com>
16508 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16509 [$(build-shared = yes].
16511 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16513 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16514 (__mul): Reduce iterations for calculating mantissa.
16516 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16518 (__mpranred): Likewise.
16521 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16522 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16524 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16526 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16527 Define __attribute__.
16529 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16531 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16533 * posix/regex_internal.h (__attribute): Remove.
16534 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16535 (re_string_context_at): Likewise.
16536 (bitset_not): Use __attribute__ and mark function as possibly
16538 (bitset_merge): Likewise.
16539 (bitset_mask): Likewise.
16540 (re_string_char_size_at): Likewise.
16541 (re_string_wchar_at): Likewise.
16542 (re_string_elem_size_at): Likewise.
16544 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16546 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16550 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16554 (denorm): Likewise.
16555 (__dbl_mp): Likewise.
16556 (add_magnitudes): Likewise.
16557 (sub_magnitudes): Likewise.
16561 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16564 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16567 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16571 up changes with default code.
16572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16575 2013-02-24 Allan McRae <allan@archlinux.org>
16577 * manual/socket.texi (The Internet Namespace): Order menu items
16578 to match that in the file.
16580 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16581 node listing of the info page menu.
16583 2013-02-21 Joseph Myers <joseph@codesourcery.com>
16586 * sysdeps/i386/bp-asm.h: Remove file.
16587 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16588 (PARMS): Do not use macros from bp-asm.h.
16592 (__mpn_add_n): Do not use BP_SYM
16593 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16595 (PARMS): Do not use macros from bp-asm.h.
16598 (__mpn_addmul_1): Do not use BP_SYM
16599 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16601 (PARMS): Do not use macros from bp-asm.h.
16602 (SIGMSK): Likewise.
16603 (_setjmp): Likewise. Do not use BP_SYM.
16604 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16606 (PARMS): Do not use macros from bp-asm.h.
16607 (SIGMSK): Likewise.
16608 (setjmp): Likewise. Do not use BP_SYM.
16609 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16611 (PARMS): Do not use macros from bp-asm.h.
16612 (__frexp): Do not use BP_SYM.
16614 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16616 (PARMS): Do not use macros from bp-asm.h.
16617 (__frexpf): Do not use BP_SYM.
16618 (frexpf): Likewise.
16619 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16621 (PARMS): Do not use macros from bp-asm.h.
16622 (__frexpl): Do not use BP_SYM.
16623 (frexpl): Likewise.
16624 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16626 (PARMS): Do not use macros from bp-asm.h.
16627 (__remquo): Do not use BP_SYM.
16628 (remquo): Likewise.
16629 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16631 (PARMS): Do not use macros from bp-asm.h.
16632 (__remquof): Do not use BP_SYM.
16633 (remquof): Likewise.
16634 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16636 (PARMS): Do not use macros from bp-asm.h.
16637 (__remquol): Do not use BP_SYM.
16638 (remquol): Likewise.
16639 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16641 (PARMS): Do not use macros from bp-asm.h.
16644 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16645 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16647 (PARMS): Do not use macros from bp-asm.h.
16648 (strlen): Do not use BP_SYM.
16649 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16651 (PARMS): Do not use macros from bp-asm.h.
16655 (__mpn_add_n): Do not use BP_SYM.
16656 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16658 (PARMS): Do not use macros from bp-asm.h.
16661 (__mpn_addmul_1): Do not use BP_SYM.
16662 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16665 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16667 (PARMS): Do not use macros from bp-asm.h.
16670 (__mpn_lshift): Do not use BP_SYM.
16671 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16673 (PARMS): Do not use macros from bp-asm.h.
16677 (memcpy): Likewise. Do not use BP_SYM.
16678 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16679 libc_hidden_def and weak_alias.
16680 (mempcpy): Do not use BP_SYM in weak_alias.
16681 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16683 (PARMS): Do not use macros from bp-asm.h.
16686 [!BZERO_P] (CHR): Likewise.
16687 (memset): Likewise. Do not use BP_SYM.
16688 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16690 (PARMS): Do not use macros from bp-asm.h.
16693 (__mpn_mul_1): Do not use BP_SYM.
16694 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16696 (PARMS): Do not use macros from bp-asm.h.
16699 (__mpn_rshift): Do not use BP_SYM.
16700 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16702 (PARMS): Do not use macros from bp-asm.h.
16705 (strchr): Likewise. Do not use BP_SYM.
16706 (index): Do not use BP_SYM in weak_alias.
16707 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16709 (PARMS): Do not use macros from bp-asm.h.
16712 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16713 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16715 (PARMS): Do not use macros from bp-asm.h.
16716 (strlen): Do not use BP_SYM.
16717 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16719 (PARMS): Do not use macros from bp-asm.h.
16723 (__mpn_sub_n): Do not use BP_SYM.
16724 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16726 (PARMS): Do not use macros from bp-asm.h.
16729 (__mpn_submul_1): Do not use BP_SYM.
16730 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16732 (PARMS): Do not use macros from bp-asm.h.
16736 (__mpn_add_n): Do not use BP_SYM.
16737 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16740 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16742 (PARMS): Do not use macros from bp-asm.h.
16745 (memcmp): Do not use BP_SYM.
16746 (bcmp): Do not use BP_SYM in weak_alias.
16747 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16749 (PARMS): Do not use macros from bp-asm.h.
16753 (memcpy): Likewise. Do not use BP_SYM.
16754 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16756 (PARMS): Do not use macros from bp-asm.h.
16760 (memmove): Likewise. Do not use BP_SYM.
16761 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16763 (PARMS): Do not use macros from bp-asm.h.
16767 (__mempcpy): Likewise. Do not use BP_SYM.
16768 (mempcpy): Do not use BP_SYM in weak_alias.
16769 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16771 (PARMS): Do not use macros from bp-asm.h.
16774 [!BZERO_P] (CHR): Likewise.
16775 (memset): Likewise. Do not use BP_SYM.
16776 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16778 (PARMS): Do not use macros from bp-asm.h.
16780 (strcmp): Do not use BP_SYM.
16781 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16783 (PARMS): Do not use macros from bp-asm.h.
16786 [USE_AS_STRTOK_R] (SAVE): Likewise.
16787 (FUNCTION): Likewise. Do not use BP_SYM.
16788 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16790 (strtok_r): Likewise.
16791 (__GI___strtok_r): Likewise.
16792 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16793 (PARMS): Do not use macros from bp-asm.h.
16796 (__mpn_lshift): Do not use BP_SYM.
16797 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16798 (PARMS): Do not use macros from bp-asm.h.
16801 (__memchr): Do not use BP_SYM.
16802 (memchr): Do not use BP_SYM in weak_alias.
16803 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16804 (PARMS): Do not use macros from bp-asm.h.
16807 (memcmp): Do not use BP_SYM.
16808 (bcmp): Do not use BP_SYM in weak_alias.
16809 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16810 (PARMS): Do not use macros from bp-asm.h.
16813 (__mpn_mul_1): Do not use BP_SYM.
16814 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16816 (PARMS): Do not use macros from bp-asm.h.
16819 (__rawmemchr): Do not use BP_SYM.
16820 (rawmemchr): Do not use BP_SYM in weak_alias.
16821 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16822 (PARMS): Do not use macros from bp-asm.h.
16825 (__mpn_rshift): Do not use BP_SYM.
16826 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16827 (PARMS): Do not use macros from bp-asm.h.
16828 (SIGMSK): Likewise.
16829 (__sigsetjmp): Likewise. Do not use BP_SYM.
16830 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16831 (_start): Do not use BP_SYM.
16832 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16833 (PARMS): Do not use macros from bp-asm.h.
16836 (__stpcpy): Likewise. Do not use BP_SYM.
16837 (stpcpy): Do not use BP_SYM in weak_alias.
16838 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16840 (PARMS): Do not use macros from bp-asm.h.
16844 (__stpncpy): Likewise. Do not use BP_SYM.
16845 (stpncpy): Do not use BP_SYM in weak_alias.
16846 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16847 (PARMS): Do not use macros from bp-asm.h.
16850 (strchr): Likewise. Do not use BP_SYM.
16851 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16853 (PARMS): Do not use macros from bp-asm.h.
16856 (__strchrnul): Likewise. Do not use BP_SYM.
16857 (strchrnul): Do not use BP_SYM in weak_alias.
16858 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16860 (PARMS): Do not use macros from bp-asm.h.
16862 (strcspn): Do not use BP_SYM.
16863 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16865 (PARMS): Do not use macros from bp-asm.h.
16868 (strpbrk): Likewise. Do not use BP_SYM.
16869 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16871 (PARMS): Do not use macros from bp-asm.h.
16874 (strrchr): Likewise. Do not use BP_SYM.
16875 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16876 (PARMS): Do not use macros from bp-asm.h.
16878 (strspn): Do not use BP_SYM.
16879 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16880 (PARMS): Do not use macros from bp-asm.h.
16884 (FUNCTION): Likewise. Do not use BP_SYM.
16885 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16887 (strtok_r): Likewise.
16888 (__GI___strtok_r): Likewise.
16889 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16890 (PARMS): Do not use macros from bp-asm.h.
16894 (__mpn_sub_n): Do not use BP_SYM.
16895 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16897 (PARMS): Do not use macros from bp-asm.h.
16900 (__mpn_submul_1): Do not use BP_SYM.
16901 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16903 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16905 (PARMS): Do not use macros from bp-asm.h.
16910 (__clone): Do not use BP_SYM.
16911 (clone): Do not use BP_SYM in weak_alias.
16912 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16914 (PARMS): Do not use macros from bp-asm.h.
16916 (__mmap64): Do not use BP_SYM.
16917 (mmap64): Do not use BP_SYM in weak_alias.
16918 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16919 <bp-sym.h> and <bp-asm.h>.
16920 (PARMS): Do not use macros from bp-asm.h.
16921 (__posix_fadvise64_l64): Do not use BP_SYM.
16922 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16923 (PARMS): Do not use macros from bp-asm.h.
16925 (semtimedop): Do not use BP_SYM.
16926 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16929 2013-02-21 Allan McRae <allan@archlinux.org>
16931 * manual/message.texi (Charset conversion in gettext):
16932 Move @end statement to beginning of line.
16934 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16938 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16941 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16942 (denorm): Likewise.
16943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16946 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16948 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16949 tail-call to the resolved function if pltexit isn't needed.
16951 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16954 or Y being zero as being unlikely.
16955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16958 2013-02-20 Carlos O'Donell <carlos@redhat.com>
16960 * manual/nss.texi (System Databases and Name Service Switch):
16961 Remove frobnicate @pxref.
16963 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16965 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16966 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16968 2013-02-20 Petr Machata <pmachata@redhat.com>
16970 * elf/elf.h (R_ARM_TARGET1): New macro.
16971 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16972 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16973 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16974 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16975 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16976 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16977 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16978 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16979 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16980 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16981 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16982 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16983 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16984 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16985 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16986 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16987 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16988 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16989 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16990 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16991 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16992 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16993 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16994 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16995 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16996 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16997 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16998 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16999 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17000 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17001 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17002 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17003 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17004 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17005 (R_ARM_THM_GOT_BREL12): Likewise.
17006 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17007 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17008 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17009 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17010 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17011 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17012 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17013 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17014 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17016 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17018 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17019 __attribute_used__ to __attribute__ ((unused)).
17021 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17023 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17026 comment formatting.
17027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17029 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17032 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17034 (ENTER): Remove both macro definitions.
17036 (CHECK_BOUNDS_LOW): Likewise.
17037 (CHECK_BOUNDS_HIGH): Likewise.
17038 (CHECK_BOUNDS_BOTH): Likewise.
17039 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17040 (RETURN_BOUNDED_POINTER): Likewise.
17041 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17042 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17043 (POP_ERRNO_LOCATION_RETURN): Likewise.
17044 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17045 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17046 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17048 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17049 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17050 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17051 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17052 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17053 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17054 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17055 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17056 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17057 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17058 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17059 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17060 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17061 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17063 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17064 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17066 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17067 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17068 * sysdeps/i386/i586/memset.S (memset): Likewise.
17069 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17070 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17071 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17073 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17074 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17075 Change uses of L(2) to L(out).
17076 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17077 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17078 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17079 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17080 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17082 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17083 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17085 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17086 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17087 (RETURN): Do not use macro LEAVE.
17088 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17089 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17090 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17091 * sysdeps/i386/i686/memset.S (memset): Likewise.
17092 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17093 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17094 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17095 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17097 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17098 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17099 L(1_2) and L(1_3) into L(1).
17100 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17101 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17102 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17103 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17104 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17105 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17106 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17107 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17108 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17110 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17111 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17112 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17113 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17114 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17115 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17116 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17117 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17118 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17119 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17120 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17121 * sysdeps/i386/strspn.S (strspn): Likewise.
17122 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17124 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17125 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17126 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17127 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17128 L(1_3) into L(1_1).
17129 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17130 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17131 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17133 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17135 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17137 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17140 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17142 * math/atest-exp.c (exp_mpn): Remove ROUND.
17143 * math/atest-exp2.c (exp_mpn): Likewise.
17144 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17146 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17147 * stdlib/tst-tls-atexit-lib.c: Likewise.
17148 * stdlib/tst-tls-atexit.c: Likewise.
17150 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17152 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17153 and __attribute_alloc_size__.
17155 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17157 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17158 __attribute_alloc_size__.
17159 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17160 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17162 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17164 * include/programs/xmalloc.h: New file.
17165 * catgets/gencat.c: Include it.
17166 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17167 * elf/pldd.c: Likewise.
17168 * iconv/iconv_charmap.c: Likewise.
17169 * iconv/iconvconfig.c: Likewise.
17170 * iconv/strtab.c: Likewise.
17171 * locale/programs/locale.c: Likewise.
17172 * locale/programs/localedef.h: Likewise.
17173 * locale/programs/simple-hash.c: Likewise.
17174 * nscd/nscd.h: Likewise.
17175 * nss/makedb.c: Likewise.
17176 * sysdeps/generic/ldconfig.h: Likewise.
17178 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17180 * Versions.def: Add GLIBC_2.18.
17181 * include/link.h (struct link_map): New member l_tls_dtor_count.
17182 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17183 (__call_tls_dtors): Likewise.
17184 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17185 __cxa_thread_atexit_impl.
17186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17194 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17202 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17203 (tests): Add test case tst-tls-atexit.
17204 (modules-names): Add shared library for tst-tls-atexit.
17205 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17206 (GLIBC_PRIVATE): Add __call_tls_dtors.
17207 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17209 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17210 * stdlib/tst-tls-atexit.c: New test case.
17211 * stdlib/tst-tls-atexit-lib.c: New test case.
17213 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17215 * elf/Versions (ld): Add _dl_find_dso_for_object.
17216 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17217 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17218 (dl_open_worker): Use _dl_find_dso_for_object.
17219 * elf/dl-sym.c (do_sym): Likewise.
17220 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17222 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17224 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17225 Syntactic changes only.
17226 (_dl_runtime_profile): Do a tail-call to the resolved function.
17228 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17231 * sysdeps/x86_64/bp-asm.h: Remove file.
17232 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17233 <bp-sym.h> and <bp-asm.h>.
17234 (__clone): Do not use BP_SYM.
17235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17236 <bp-sym.h> and <bp-asm.h>.
17237 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17238 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17240 (_setjmp): Do not use BP_SYM.
17241 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17243 (setjmp): Do not use BP_SYM.
17244 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17246 (mempcpy): Do not use BP_SYM in weak_alias.
17247 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17249 (strchr): Do not use BP_SYM.
17250 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17252 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17253 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17254 (_start): Do not use BP_SYM.
17255 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17257 (strcat): Do not use BP_SYM.
17258 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17260 (STRCMP): Do not use BP_SYM.
17261 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17263 (STRCPY): Do not use BP_SYM.
17264 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17266 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17268 (FUNCTION): Do not use BP_SYM.
17269 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17271 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17273 2013-02-17 Andreas Jaeger <aj@suse.de>
17275 * time/Versions: Sort entries.
17276 * string/Versions: Likewise.
17277 * resolv/Versions: Likewise.
17278 * posix/Versions: Likewise.
17279 * iconv/Versions: Likewise.
17280 * elf/Versions: Likewise.
17281 * wcsmbs/Versions: Likewise.
17283 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17285 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17286 loop termination condition.
17288 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17289 variable to calculate EZ.
17292 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17293 the lower precision input.
17295 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17298 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17299 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17300 (run-via-rtld-prefix): Do not handle %-bp tests.
17301 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17302 (all-object-suffixes): Remove .ob.
17303 (bppfx): Remove variable.
17304 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17305 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17306 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17307 [$(build-bounded) = yes] (libtype.ob): Likewise.
17308 * Makerules (elide-routines.ob): Remove variable.
17309 (do-tests-clean): Do not handle *-bp.out.
17310 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17311 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17312 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17313 (tests): Do not include $(tests-bp.out).
17314 (xtests): Do not include $(xtests-bp.out).
17315 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17316 [$(build-bounded) = yes] ($(addprefix
17317 $(objpfx),$(binaries-bounded))): Remove rule.
17318 ($(objpfx)%-bp.out): Remove rule.
17319 * config.make.in (build-bounded): Remove variable.
17320 * crypt/Makefile [$(build-bounded) = yes]
17321 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17322 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17323 append to variable.
17324 [$(build-bounded) = yes] (install-lib): Likewise.
17325 [$(build-bounded) = yes] (generated): Likewise.
17326 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17328 * intl/Makefile [$(build-bounded) = yes]
17329 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17330 * math/Makefile [$(build-bounded) = yes]
17331 ($(tests:%=$(objpfx)%-bp): Likewise.
17332 * misc/Makefile [$(build-bounded) = yes]
17333 ($(objpfx)tst-tsearch-bp): Likewise.
17334 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17335 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17337 * string/Makefile (o-objects.ob): Remove variable.
17338 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17339 (CFLAGS-.ob): Remove variable.
17340 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17341 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17342 both definitions of variable.
17343 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17344 (ASFLAGS-.ob): Remove variable.
17346 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17349 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17350 Remove __BOUNDED_POINTERS__ from condition.
17351 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17352 * string/bits/string2.h [!__NO_STRING_INLINES &&
17353 !__BOUNDED_POINTERS__]: Likewise.
17354 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17356 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17357 Remove conditional code.
17358 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17359 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17360 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17364 * csu/libc-start.c: Do not include <bp-sym.h>.
17365 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17366 * elf/dl-open.c: Do not include <bp-sym.h>.
17367 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17368 * math/fegetenv.c: Do not include <bp-sym.h>.
17369 (fegetenv): Do not use BP_SYM in versioned symbols.
17370 * nptl/sysdeps/pthread/bits/libc-lockP.h
17371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17374 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17376 (__pthread_mutex_destroy): Likewise.
17377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17378 (__pthread_mutex_lock): Likewise.
17379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17380 (__pthread_mutex_trylock): Likewise.
17381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17382 (__pthread_mutex_unlock): Likewise.
17383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17384 (__pthread_mutexattr_init): Likewise.
17385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17386 (__pthread_mutexattr_destroy): Likewise.
17387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17388 (__pthread_mutexattr_settype): Likewise.
17389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17390 (__pthread_rwlock_init): Likewise.
17391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17392 (__pthread_rwlock_destroy): Likewise.
17393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17394 (__pthread_rwlock_rdlock): Likewise.
17395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17396 (__pthread_rwlock_tryrdlock): Likewise.
17397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17398 (__pthread_rwlock_wrlock): Likewise.
17399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17400 (__pthread_rwlock_trywrlock): Likewise.
17401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17402 (__pthread_rwlock_unlock): Likewise.
17403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17404 (__pthread_key_create): Likewise.
17405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17406 (__pthread_setspecific): Likewise.
17407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17408 (__pthread_getspecific): Likewise.
17409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17412 (_pthread_cleanup_push_defer): Likewise.
17413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17414 (_pthread_cleanup_pop_restore): Likewise.
17415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17416 (pthread_setcancelstate): Likewise.
17417 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17419 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17420 (memchr): Do not use BP_SYM in weak_alias.
17421 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17422 (fegetenv): Do not use BP_SYM in versioned symbols.
17423 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17424 (fesetenv): Do not use BP_SYM in versioned symbols.
17425 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17426 (feupdateenv): Do not use BP_SYM in versioned symbols.
17427 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17428 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17429 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17430 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17431 (open64): Do not use BP_SYM in weak_alias.
17432 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17433 (fegetenv): Do not use BP_SYM in versioned symbols.
17434 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17435 (fesetenv): Do not use BP_SYM in versioned symbols.
17436 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17437 (feupdateenv): Do not use BP_SYM in versioned symbols.
17438 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17439 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17440 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17441 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17442 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17443 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17444 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17446 (__libc_start_main): Do not use BP_SYM.
17448 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17450 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17451 redundant return line.
17453 (denorm): Likewise.
17454 (dbl_mp): Likewise.
17455 (sub_magnitudes): Likewise.
17461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17463 (denorm): Likewise.
17464 (dbl_mp): Likewise.
17465 (sub_magnitudes): Likewise.
17472 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17474 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17475 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17478 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17479 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17481 of __mul for squares.
17482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17486 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17487 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17489 2013-02-13 Joseph Myers <joseph@codesourcery.com>
17492 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17494 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17495 prototype or function definition. Rename ubp_* variables and
17496 parameters. Remove argv definitions conditional on
17497 [__BOUNDED_POINTERS__].
17498 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17499 * elf/dl-runtime.c (_dl_fixup): Likewise.
17500 * include/set-hooks.h (RUN_HOOK): Likewise.
17501 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17503 * string/strcpy.c (strcpy): Do not use __unbounded.
17504 * sysdeps/generic/frame.h (struct layout): Likewise.
17505 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17506 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17507 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17508 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17509 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17510 (__backtrace): Likewise.
17511 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17513 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17514 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17515 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17517 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17518 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17519 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17520 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17521 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17522 Do not use __unbounded.
17523 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17524 Rename __unboundedrlimits parameter to rlimits in prototype.
17525 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17526 Do not use __unbounded.
17527 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17528 not use __ptrvalue.
17529 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17530 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17531 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17532 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17533 __ptrvalue or __unbounded.
17534 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17535 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17537 (__new_msgctl): Do not use __ptrvalue.
17538 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17540 (__libc_msgrcv): Do not use __ptrvalue.
17541 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17542 startup_info): Do not use __unbounded.
17543 (__libc_start_main): Likewise. Rename ubp_* variables and
17544 parameters. Remove argv definitions conditional on
17545 [__BOUNDED_POINTERS__].
17546 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17548 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17550 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17552 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17554 (__new_shmctl): Do not use __ptrvalue.
17555 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17556 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17558 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17559 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17560 (__libc_sigaction): Likewise.
17561 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17562 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17564 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17566 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
17568 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17570 * string/mempcpy.c: Implement by calling memcpy.
17572 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17574 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17576 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17579 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17580 values in the mantissa.
17582 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17583 minimize writes to Z.
17584 (sub_magnitudes): Simplify code a bit.
17586 2013-02-12 Roland McGrath <roland@hack.frob.com>
17588 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17589 from the message. The linker prefixes all warnings with that already.
17591 2013-02-12 Andreas Schwab <schwab@suse.de>
17594 * posix/regexec.c (extend_buffers): Add parameter min_len.
17595 (check_matching): Pass minimum needed length.
17596 (clean_state_log_if_needed): Likewise.
17597 (get_subexp): Likewise.
17598 * posix/Makefile (tests): Add bug-regex34.
17599 (bug-regex34-ENV): Define.
17600 * posix/bug-regex34.c: New file.
17603 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17604 elements compare against the byte sequence of it, not its name.
17605 * posix/Makefile (tests): Add bug-regex35.
17606 (bug-regex35-ENV): Define.
17607 * posix/bug-regex35.c: New file.
17609 2013-02-11 Tom de Vries <tom@codesourcery.com>
17611 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17613 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17614 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17615 (CHECK_EOL): Add undef.
17617 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
17619 * bits/stdlib-bsearch.h: New file.
17620 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17621 * stdlib/stdlib.h: Likewise.
17623 2013-02-11 Roland McGrath <roland@hack.frob.com>
17625 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17626 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17628 * manual/search.texi (Array Search Function): Add missing const in
17630 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17631 declaration to use rlim_t.
17632 (Basic Scheduling Functions): Remove erroneous const from
17633 sched_getparam prototype. Remove erroneous * from
17634 sched_get_priority_max and sched_get_priority_min prototypes.
17635 (Resource Usage): Fix summary @comment on vtimes to refer to
17636 sys/vtimes.h rather than vtimes.h.
17637 Add missing *s in vtimes prototype.
17638 (Limits on Resources): Fix ulimit prototype to return long int.
17639 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17640 prototypes to use long int rather than double.
17641 (BSD Random): Fix initstate and setstate to use char *, not void *.
17642 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17643 prototype to make second argument 'struct aiocb64 *const[]'.
17644 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17645 (Status of AIO Operations): Remove erroneous const in aio_return and
17646 aio_return64 prototypes.
17647 (Synchronizing I/O): Fix sync prototype to return void.
17648 * manual/startup.texi (Suboptions): Remove an erroneous const in
17649 getsubopt prototype.
17650 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17651 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17652 use size_t rather than int.
17653 (Scanning All Users): Likewise for getpwent_r.
17654 (Setting Groups): Add missing const to setgroups prototype.
17655 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17656 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17657 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17658 'const void *' rather than 'const char *'.
17659 (Host Address Functions): Likewise for inet_ntop.
17660 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17661 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17662 ssize_t for return value.
17663 (Sending Data): Likewise for send, sendto, sendmsg.
17664 (Socket Option Functions): Add a missing const in setsockopt prototype.
17665 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17666 use wchar_t for the argument.
17667 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17668 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17670 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17671 double/float/long double for second argument.
17672 Fix return types of significand, significandf, significandl.
17673 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17674 argument in fchmod prototype.
17675 (File Owner): Use uid_t and gid_t in fchown prototype.
17676 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17677 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17678 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17679 use 'const struct dirent **' as argument types to CMP function pointer
17681 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17682 (File Times): Fix summary magic @comment for struct utimbuf and utime
17683 to refer to utime.h, not time.h.
17684 * manual/string.texi (Argz Functions): Add missing const in
17685 argz_extract and argz_next prototypes.
17686 (Finding Tokens in a String): Likewise for basename.
17687 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17688 (Copying and Concatenation): Fix typo in wmemmove prototype.
17689 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17690 (Signal Stack): Remove erroneous const in sigstack prototype.
17691 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17693 (Simple Calendar Time): Likewise for stime.
17694 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17696 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17697 say sys/sysctl.h instead.
17698 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17699 and vsyslog prototypes.
17701 2013-02-11 Tom de Vries <tom@codesourcery.com>
17703 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17706 2013-02-11 Roland McGrath <roland@hack.frob.com>
17708 * misc/sys/mman.h: Fix typo in mremap comment.
17710 2013-02-08 Roland McGrath <roland@hack.frob.com>
17712 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17713 the '\0' terminator.
17715 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17718 * debug/segfault.c: Don't include <bp-checks.h>.
17719 * sysdeps/generic/bp-checks.h: Remove file.
17720 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17721 (__GETDENTS): Don't use CHECK_N.
17722 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17723 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17724 (__getgroups): Don't use CHECK_N.
17725 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17726 (setgroups): Don't use CHECK_N.
17727 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17728 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17729 (__libc_msgrcv): Don't use CHECK_N.
17730 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17731 (__libc_msgsnd): Don't use CHECK_N.
17732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17734 (__libc_pread): Don't use CHECK_N.
17735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17736 include <bp-checks.h>.
17737 (__libc_pread64): Don't use CHECK_N.
17738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17739 include <bp-checks.h>.
17740 (__libc_pwrite): Don't use CHECK_N.
17741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17742 include <bp-checks.h>.
17743 (__libc_pwrite64): Don't use CHECK_N.
17744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17746 (__libc_pread): Don't use CHECK_N.
17747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17748 include <bp-checks.h>.
17749 (__libc_pread64): Don't use CHECK_N.
17750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17751 include <bp-checks.h>.
17752 (__libc_pwrite): Don't use CHECK_N.
17753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17754 include <bp-checks.h>.
17755 (__libc_pwrite64): Don't use CHECK_N.
17756 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17757 (do_pread): Don't use CHECK_N.
17758 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17759 (do_pread64): Don't use CHECK_N.
17760 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17761 (do_pwrite): Don't use CHECK_N.
17762 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17763 (do_pwrite64): Don't use CHECK_N.
17764 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17765 (__libc_readv): Don't use CHECK_N.
17766 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17767 (semop): Don't use CHECK_N.
17768 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17770 (semtimedop): Don't use CHECK_N.
17771 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17772 (__libc_pread): Don't use CHECK_N.
17773 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17775 (__libc_pread64): Don't use CHECK_N.
17776 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17778 (__libc_pwrite): Don't use CHECK_N.
17779 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17781 (__libc_pwrite64): Don't use CHECK_N.
17782 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17784 (__libc_msgrcv): Don't use CHECK_N.
17785 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17786 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17787 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17788 (__libc_writev): Don't use CHECK_N.
17790 2013-02-08 Roland McGrath <roland@hack.frob.com>
17792 * string/strcpy.c: Removed unused variable.
17794 * Makeconfig (+sysdep-includes): Define with := rather than =.
17795 Use an existing include/ subdir of each sysdeps dir before it.
17797 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17799 * nscd/connection.c (register_traced_file): Comment function.
17800 [HAVE_INOTIFY] (union __inev): Define.
17801 [HAVE_INOTIFY] (inotify_check_files): New function.
17802 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17803 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17805 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17807 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17809 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17810 loaded if not already and that a failure is permanent.
17812 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17815 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17816 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17818 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17821 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17822 (CHECK_1_NULL_OK): Likewise.
17823 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17824 (__fxstat): Do not use CHECK_1.
17825 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17827 (___fxstat64): Do not use CHECK_1.
17828 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17830 (__fxstatat): Do not use CHECK_1.
17831 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17833 (__fxstatat64): Do not use CHECK_1.
17834 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17836 (__fxstat): Do not use CHECK_1.
17837 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17839 (__fxstatat): Do not use CHECK_1.
17840 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17842 (__getresgid): Do not use CHECK_1.
17843 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17845 (__getresuid): Do not use CHECK_1.
17846 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17848 (__lxstat): Do not use CHECK_1.
17849 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17851 (__old_msgctl): Do not use CHECK_1.
17852 (__new_msgctl): Likewise.
17853 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17855 (__new_setrlimit): Do not use CHECK_1.
17856 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17858 (__old_shmctl): Do not use CHECK_1.
17859 (__new_shmctl): Likewise.
17860 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17862 (__xstat): Do not use CHECK_1.
17863 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17864 (__lxstat): Do not use CHECK_1.
17865 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17867 (___lxstat64): Do not use CHECK_1.
17868 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17869 (__old_msgctl): Do not use CHECK_1.
17870 (__new_msgctl): Likewise.
17871 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17873 (__gettimeofday): Do not use CHECK_1.
17874 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17875 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17876 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17878 (__gettimeofday): Do not use CHECK_1.
17879 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17880 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17881 (__new_shmctl): Do not use CHECK_1.
17882 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17884 (do_sigtimedwait): Do not use CHECK_1.
17885 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17887 (do_sigwaitinfo): Do not use CHECK_1.
17888 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17890 (msgctl): Do not use CHECK_1.
17891 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17893 (shmctl): Do not use CHECK_1.
17894 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17895 (ustat): Do not use CHECK_1.
17896 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17898 (__fxstat): Do not use CHECK_1.
17899 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17901 (__fxstatat): Do not use CHECK_1.
17902 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17904 (__lxstat): Do not use CHECK_1.
17905 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17907 (__xstat): Do not use CHECK_1.
17908 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17909 (__xstat): Do not use CHECK_1.
17910 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17911 (___xstat64): Do not use CHECK_1.
17914 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17916 (CHECK_BOUNDS_HIGH): Likewise.
17917 * string/strcpy.c: Do not include <bp-checks.h>.
17918 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17920 2013-02-07 Roland McGrath <roland@hack.frob.com>
17922 * nscd/nscd-client.h (__nscd_drop_map_ref):
17923 Add __attribute__ ((unused)).
17924 * nis/nss-nisplus.h (niserr2nss): Likewise.
17926 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17927 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17929 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17930 Remove inline keyword.
17931 * include/rounding-mode.h (round_away): Likewise.
17932 * libio/wfileops.c (adjust_wide_data): Likewise.
17933 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17934 (__m128i_strloadu_tolower): Likewise.
17935 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17936 (__m128i_strloadu_tolower): Likewise.
17937 * time/mktime.c (ydhms_diff): Likewise.
17938 * locale/elem-hash.h (elem_hash): Likewise.
17939 * locale/setlocale.c (setdata): Likewise.
17940 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17941 (re_string_wchar_at): Likewise.
17942 (bitset_not, bitset_merge, bitset_mask): Likewise.
17943 [!(__GNUC__ > 3)] (inline): Remove macro.
17944 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17945 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17946 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17947 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17948 * string/memcmp.c (memcmp_bytes): Likewise.
17949 * locale/programs/locarchive.c (compute_hashval): Likewise.
17950 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17951 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17952 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17953 * nss/getent.c (print_rpc, print_protocols): Likewise.
17954 (print_passwd, print_group, print_aliases): Likewise.
17955 * nis/nss-nisplus.h (niserr2nss): Likewise.
17956 * nscd/connections.c (restart_p): Likewise.
17957 Change return type to bool.
17959 2013-02-05 Roland McGrath <roland@hack.frob.com>
17961 * Makeconfig (all-Depend-files): Add existing
17962 $(sorted-subdirs:=/Depend) files.
17963 (all-subdirs): Remove nss.
17964 * sysdeps/unix/inet/Subdirs: Add it here instead.
17965 * hesiod/Depend: New file.
17967 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17968 instead of calling alloca.
17970 * io/lseek.c (__lseek): Rename to __libc_lseek.
17971 Define __lseek as an alias.
17973 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17975 2013-02-04 Carlos O'Donell <carlos@redhat.com>
17977 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17978 else clause and remove check for non-standard endianness.
17980 2013-02-04 David S. Miller <davem@davemloft.net>
17982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17984 2013-02-04 Joseph Myers <joseph@codesourcery.com>
17987 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17988 (__ubp_memchr): Remove prototype.
17989 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17990 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17991 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17992 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17993 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17995 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17996 (__ubp_memchr): Likewise.
17997 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17998 (__ubp_memchr): Likewise.
17999 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18000 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18001 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18002 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18004 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18005 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18006 (__getcwd): Do not use CHECK_STRING.
18007 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18009 (__real_chown): Do not use CHECK_STRING.
18010 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18012 (fchownat): Do not use CHECK_STRING.
18013 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18015 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18017 (__lchown): Do not use CHECK_STRING.
18018 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18019 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18020 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18021 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18023 include <bp-checks.h>.
18024 (truncate64): Do not use CHECK_STRING.
18025 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18027 (__real_chown): Do not use CHECK_STRING.
18028 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18030 (__lchown): Do not use CHECK_STRING.
18031 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18033 (__chown): Do not use CHECK_STRING.
18034 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18036 (truncate64): Do not use CHECK_STRING.
18037 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18039 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18040 (__xmknod): Do not use CHECK_STRING.
18041 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18043 (__xmknodat): Do not use CHECK_STRING.
18044 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18045 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18047 2013-02-04 Andreas Schwab <schwab@suse.de>
18050 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18051 * include/netdb.h: Likewise for h_errno.
18052 * elf/tst-stackguard1.c: Include <tls.h>.
18054 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18056 * elf/link.h (struct link_map): Extend the l_addr comment.
18057 * include/link.h (struct link_map): Likewise.
18059 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18062 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18063 (BOUNDED_1): Remove macro.
18064 * debug/backtrace.c: Don't include <bp-checks.h>.
18065 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18066 (__backtrace): Likewise.
18067 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18069 (__backtrace): Don't use BOUNDED_1.
18070 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18072 (__backtrace): Don't use BOUNDED_1.
18073 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18074 (__backtrace): Don't use BOUNDED_1.
18075 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18076 (shmat): Don't use BOUNDED_N.
18078 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18081 * sysdeps/generic/bp-start.h: Remove file.
18082 * csu/libc-start.c: Don't include <bp-start.h>.
18083 (LIBC_START_MAIN): Set up __environ directly instead of using
18084 INIT_ARGV_and_ENVIRON.
18085 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18089 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18091 (CHECK_FCNTL): Likewise.
18092 (CHECK_N_PAGES): Likewise.
18095 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18097 (CHECK_SIGSET_NULL_OK): Likewise.
18098 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18100 (sigpending): Don't use CHECK_SIGSET.
18101 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18103 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18104 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18106 (do_sigsuspend): Don't use CHECK_SIGSET.
18107 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18109 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18110 (do_sigwait): Don't use CHECK_SIGSET.
18111 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18113 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18114 include <bp-checks.h>.
18115 (sigpending): Don't use CHECK_SIGSET.
18116 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18117 include <bp-checks.h>.
18118 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18119 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18121 (sigpending): Don't use CHECK_SIGSET.
18122 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18124 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18127 * sysdeps/generic/bp-semctl.h: Remove file.
18128 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18129 <bp-checks.h> and <bp-semctl.h>.
18130 (__old_semctl): Don't use CHECK_SEMCTL.
18131 (__new_semctl): Likewise.
18132 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18134 (__old_semctl): Don't use CHECK_SEMCTL.
18135 (__new_semctl): Likewise.
18136 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18137 <bp-checks.h> and <bp-semctl.h>.
18138 (__old_semctl): Don't use CHECK_SEMCTL.
18139 (__new_semctl): Likewise.
18140 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18141 <bp-checks.h> and <bp-semctl.h>.
18142 (semctl): Don't use CHECK_SEMCTL.
18145 * Makerules (elide-bp-thunks): Remove variable.
18146 (elide-routines.oS): Don't use $(elide-bp-thunks).
18147 (elide-routines.os): Likewise.
18148 (elide-routines.o): Likewise.
18149 (elide-routines.op): Likewise.
18150 (elide-routines.og): Likewise.
18151 (objects): Don't use $(bp-thunks).
18152 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18154 (common-generated): Do not add s-proto-bp.d.
18155 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18158 Do not generate makefile rules for bounded-pointer thunks.
18159 * sysdeps/generic/bp-thunks.h: Remove file.
18160 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18161 * sysdeps/unix/s-proto-bp.S: Likewise.
18164 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18165 parts of result separately when argument is not close to line from
18166 -i to i and one part of argument is small.
18167 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18168 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18169 * math/libm-test.inc (cacos_test): Add more tests.
18170 (casin_test): Likewise.
18171 (casinh_test): Likewise.
18172 * sysdeps/i386/fpu/libm-test-ulps: Update.
18173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18175 2013-01-31 David S. Miller <davem@davemloft.net>
18177 * po/de.po: Update from translation team.
18179 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18181 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18183 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18185 * configure.in (_AC_PROG_CC_C89): New definition.
18186 * configure: Regenerate.
18188 * configure.in (AC_PROG_CPP): New definition.
18189 * configure: Regenerate.
18191 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18193 * debug/tst-backtrace.h: New file.
18194 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18195 (ret): Remove variable.
18197 (FAIL): Remove macro.
18198 (NO_INLINE): Likewise.
18199 (fn1): Use match function instead of strstr.
18200 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18201 (ret): Remove variable.
18203 (FAIL): Remove macro.
18204 (NO_INLINE): Likewise.
18205 (fn): Use match function instead of strstr.
18206 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18207 (ret): Remove variable.
18209 (FAIL): Remove macro.
18210 (NO_INLINE): Likewise.
18211 (handle_signal): Use match function instead of strstr.
18212 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18213 (ret): Remove variable.
18215 (FAIL): Remove macro.
18216 (NO_INLINE): Likewise.
18217 (handle_signal): Use match function instead of strstr.
18219 2013-01-23 Roland McGrath <roland@hack.frob.com>
18221 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18223 2013-01-23 David S. Miller <davem@davemloft.net>
18225 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18226 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18227 argument of CAS if possible.
18228 * sysdeps/sparc/sparc64/bits/atomic.h
18229 (__arch_compare_and_exchange_val_32_acq): Likewise.
18230 (__arch_compare_and_exchange_val_64_acq): Likewise.
18232 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18234 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18235 * sysdeps/posix/ulimit.c: ... this.
18236 Include <limits.h>.
18237 * sysdeps/unix/bsd/ulimit.c: Remove file.
18239 2013-01-23 Adam Conrad <adconrad@0c3.net>
18241 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18242 (LDFLAGS-tst-array5): Likewise.
18244 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18247 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18248 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18249 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18250 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18252 2013-01-21 David S. Miller <davem@davemloft.net>
18254 * sysdeps/sparc/backtrace.c: New file.
18255 * sysdeps/sparc/sparc32/backtrace.h: New file.
18256 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18257 * sysdeps/sparc/sparc64/backtrace.h: New file.
18258 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18259 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18262 2013-01-21 Andreas Schwab <schwab@suse.de>
18265 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18268 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18274 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18275 Mark Mitchell <mark@codesourcery.com>
18276 Tom de Vries <tom@codesourcery.com>
18277 Paul Pluzhnikov <ppluzhnikov@google.com>
18279 * debug/tst-backtrace2.c: New file.
18280 * debug/tst-backtrace3.c: Likewise.
18281 * debug/tst-backtrace4.c: Likewise.
18282 * debug/tst-backtrace5.c: Likewise.
18283 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18284 (CFLAGS-tst-backtrace3.c): Likewise.
18285 (CFLAGS-tst-backtrace4.c): Likewise.
18286 (CFLAGS-tst-backtrace5.c): Likewise.
18287 (LDFLAGS-tst-backtrace2): Likewise.
18288 (LDFLAGS-tst-backtrace3): Likewise.
18289 (LDFLAGS-tst-backtrace4): Likewise.
18290 (LDFLAGS-tst-backtrace5): Likewise.
18291 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18292 tst-backtrace4 and tst-backtrace5.
18294 2013-01-18 Anton Blanchard <anton@samba.org>
18295 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18297 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18298 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18299 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18300 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18302 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18303 "+r" and remove output regs list as redundant. Add explicit inline
18304 asm to specify register of return val to work around compiler codegen
18305 bug. Remove (int) cast on return value. Add return type parameter to
18306 use in macro so that this macro does not truncate return value for
18308 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18309 pass to INTERNAL_VSYSCALL_NCS.
18310 (INLINE_VSYSCALL): Add 'long int' as return type to
18311 INTERNAL_VSYSCALL_NCS macro invocation.
18312 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18313 INTERNAL_VSYSCALL_NCS macro invocation.
18314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18316 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18319 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18320 Fix application of SIMD FP exception mask.
18322 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18323 mp_no from a power of two.
18324 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18325 __mpexp_twomm1. Use __pow_mp.
18327 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18330 2013-01-17 David S. Miller <davem@davemloft.net>
18332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18334 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18337 * include/complex.h: Condition contents on [!_COMPLEX_H].
18338 (__kernel_casinhf): New prototype.
18339 (__kernel_casinh): Likewise.
18340 (__kernel_casinhl): Likewise.
18341 * math/Makefile (libm_calls): Add k_casinh.
18342 * math/k_casinh.c: New file.
18343 * math/k_casinhf.c: Likewise.
18344 * math/k_casinhl.c: Likewise.
18345 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18346 finite nonzero arguments.
18347 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18348 finite nonzero arguments.
18349 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18350 finite nonzero arguments.
18351 * math/s_casinh.c: Do not include <float.h>.
18352 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18353 * math/s_casinhf.c: Do not include <float.h>.
18354 (__casinhf): Move code for finite nonzero arguments to
18356 * math/s_casinhl.c: Do not include <float.h>.
18357 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18359 (__casinhl): Move code for finite nonzero arguments to
18361 * math/libm-test.inc (cacos_test): Add more tests.
18362 * sysdeps/i386/fpu/libm-test-ulps: Update.
18363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18365 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18367 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18368 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18369 [!HAVE_MREMAP]: Remove [defined linux] case.
18370 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18372 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18374 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18376 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18378 * elf/elf.h (R_386_SIZE32): New relocation.
18379 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18381 (elf_machine_rela): Likewise.
18382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18383 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18385 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18387 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18388 (FP_FAST_FMA): Do not define.
18389 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18390 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18391 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18392 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18393 !_SOFT_FLOAT]: Likewise.
18394 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18395 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18397 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18398 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18399 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18400 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18401 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18402 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18405 2013-01-16 Andreas Schwab <schwab@suse.de>
18408 * include/stdlib.h (__mktemp): Add declaration.
18409 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18410 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18412 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18414 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18416 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18417 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18418 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18420 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18421 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18423 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18425 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18426 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18427 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18429 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18430 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18432 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18434 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18436 2013-01-15 David S. Miller <davem@davemloft.net>
18438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18439 trunc{,f} to libm-sysdep_routes.
18440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18450 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18451 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18452 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18453 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18454 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18455 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18458 nearbyint{,f} to libm-sysdep_routes.
18459 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18470 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18472 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18473 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18475 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18476 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18477 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18479 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18480 libc_feholdexcept and libc_fesetenv.
18482 2013-01-15 Mike Frysinger <vapier@gentoo.org>
18484 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18486 2013-01-14 David S. Miller <davem@davemloft.net>
18488 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18489 (SPARC_ASM_VIS2_IFUNC): Likewise.
18490 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18492 use of 'siam' instruction.
18493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18500 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18513 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18514 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18526 routines to libm-sysdep_routines.
18527 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18530 fdim/fdimf to libm-sysdep_routines.
18531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18539 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18540 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18541 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18542 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18544 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18546 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18547 to optimize copies.
18549 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18554 local variable MPTWO.
18555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18558 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18560 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18563 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18565 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18567 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18569 * manual/pattern.texi (glob_t): Document gl_flags.
18570 (glob64_t): Likewise.
18572 2013-01-11 David S. Miller <davem@davemloft.net>
18574 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18575 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18576 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
18577 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18578 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18579 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18580 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18581 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18582 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18583 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18584 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18585 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18586 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18588 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18589 sparc V9 rather than using V8 code.
18590 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18591 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18593 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18595 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18598 2013-01-11 Roland McGrath <roland@hack.frob.com>
18600 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18601 not in the main loop.
18602 * configure: Regenerated.
18604 2013-01-11 Joseph Myers <joseph@codesourcery.com>
18606 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18607 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18609 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18610 [!__GLIBC_HAVE_LONG_LONG] case.
18611 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18612 condition to just #else.
18613 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18614 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18615 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18616 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18618 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18619 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18620 #elif condition to just #else.
18621 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18622 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18623 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18624 #elif condition to just #else.
18626 2013-01-11 Steve Ellcey <sellcey@mips.com>
18628 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18629 (EF_MIPS_ARCH_64): Fix value.
18630 (EF_MIPS_ARCH_32R2): New.
18631 (EF_MIPS_ARCH_64R2): New.
18633 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18635 * Makeconfig (+link-pie-before-libc): New.
18636 (+link-pie-after-libc): Likewise.
18637 (+link-pie-tests): Likewise.
18638 (+link-pie): Rewritten.
18639 (link-before-libc): Remove $(config-LDFLAGS).
18640 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18641 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18642 (config-LDFLAGS): Renamed to ...
18643 (rtld-LDFLAGS): This.
18644 (rtld-tests-LDFLAGS): New macro.
18645 (link-libc-rpath-link): Likewise.
18646 (link-libc-tests-rpath-link): Likewise.
18647 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18648 (link-libc): Prepand $(link-libc-rpath-link).
18649 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18650 (test-program-prefix): New macro.
18651 (test-via-rtld-prefix): Likewise.
18652 (test-program-cmd): Likewise.
18653 (host-test-program-cmd): Likewise.
18654 * Makefile ($(common-objpfx)testrun.sh): Replace
18655 $(run-program-prefix) with $(test-program-prefix).
18656 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18658 ($(common-objpfx)shlib.lds): Likewise.
18659 (build-module-helper): Likewise.
18660 ($(common-objpfx)format.lds): Likewise.
18661 * Rules (binaries-pie-tests): New.
18662 (binaries-pie-notests): Likewise.
18663 (binaries-pie): Rewritten.
18664 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18665 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18666 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18667 (make-test-out): Replace $(host-built-program-cmd) with
18668 $(host-test-program-cmd).
18669 * config.make.in (build-hardcoded-path-in-tests): New variable.
18670 * configure.in (--enable-hardcoded-path-in-tests): New configure
18672 (hardcoded_path_in_tests): New AC_SUBST.
18673 * configure: Regenerated.
18674 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18675 $(built-program-cmd) with $(test-program-cmd).
18676 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18677 (test_program_cmd): This.
18678 * elf/Makefile ($(objpfx)order.out): Run test with
18679 $(test-program-prefix).
18680 ($(objpfx)order2.out): Likewise.
18681 ($(objpfx)tst-initorder.out): Likewise.
18682 ($(objpfx)tst-initorder2.out): Likewise.
18683 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18684 $(test-program-cmd).
18685 ($(objpfx)tst-array1-static.out): Likewise.
18686 ($(objpfx)tst-array2.out): Likewise.
18687 ($(objpfx)tst-array3.out): Likewise.
18688 ($(objpfx)tst-array4.out): Likewise.
18689 ($(objpfx)tst-array5.out): Likewise.
18690 ($(objpfx)tst-array5-static.out): Likewise.
18691 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18692 $(test-program-cmd).
18693 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18694 $(run-program-prefix) with $(test-program-prefix).
18695 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18696 (test_program_prefix): This.
18697 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18698 $(run-program-prefix) with $(test-program-prefix).
18699 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18700 (test_program_prefix): This.
18701 * iconvdata/tst-tables.sh: Likewise.
18702 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18703 $(run-program-prefix) with $(test-program-prefix).
18704 ($(objpfx)tst-translit.out): Likewise.
18705 ($(objpfx)tst-gettext2.out): Likewise.
18706 ($(objpfx)tst-gettext4.out): Likewise.
18707 ($(objpfx)tst-gettext6.out): Likewise.
18708 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18709 (test_program_prefix): This.
18710 * intl/tst-gettext2.sh: Likewise.
18711 * intl/tst-gettext4.sh Likewise.
18712 * intl/tst-gettext6.sh: Likewise.
18713 * intl/tst-translit.sh: Likewise.
18714 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18715 with $(test-program-cmd).
18716 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18717 $(run-program-prefix) with $(test-program-prefix).
18718 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18719 (test_program_prefix): This.
18720 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18721 $(run-program-prefix) with $(test-program-prefix).
18722 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18723 (test_program_prefix): This.
18724 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18725 * posix/Makefile ($(objpfx)globtest.out): Replace
18726 $(run-via-rtld-prefix) and $(test-wrapper) with
18727 $(test-program-prefix) and $(test-via-rtld-prefix).
18728 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18729 $(test-program-prefix).
18730 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18731 $(host-test-program-cmd).
18732 (tst-spawn-ARGS): Likewise.
18733 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18734 $(test-program-prefix).
18735 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18736 (test_via_rtld_prefix): This.
18737 (test_wrapper): Renamed to ...
18738 (test_program_prefix): This.
18739 (run_program_prefix): Replaced by test_program_prefix.
18740 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18741 (test_program_prefix): This.
18742 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18743 with $(host-test-program-cmd).
18744 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18745 $(run-program-prefix) with $(test-program-prefix).
18746 ($(objpfx)tst-printf.out): Likewise.
18747 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18748 $(test-program-cmd).
18749 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18750 (test_program_prefix): This.
18751 * stdio-common/tst-unbputc.sh: Likewise.
18752 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18753 $(run-program-prefix) with $(test-program-prefix).
18754 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18755 (test_program_prefix): This.
18756 * string/Makefile ($(objpfx)tst-svc.out): Replace
18757 $(built-program-cmd) with $(test-program-cmd).
18759 2013-01-11 Andreas Jaeger <aj@suse.de>
18762 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18763 value. Sync with Linux 3.7.
18765 2013-01-10 David S. Miller <davem@davemloft.net>
18767 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18768 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18769 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18771 2013-01-10 Roland McGrath <roland@hack.frob.com>
18773 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18775 * configure: Regenerated.
18777 2013-01-10 David S. Miller <davem@davemloft.net>
18779 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18780 sparc V9 rather than using V8 code.
18781 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18782 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18784 2013-01-10 Roland McGrath <roland@hack.frob.com>
18786 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18787 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18788 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18789 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18790 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18791 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18792 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18793 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18794 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18795 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18796 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18797 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18798 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18799 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18800 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18801 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18802 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18803 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18804 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18805 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18806 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18807 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18808 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18809 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18810 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18811 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18812 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18814 2013-01-10 David S. Miller <davem@davemloft.net>
18816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18818 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18820 * posix/Makefile (tests-static): New variable.
18821 (tests): Add $(tests-static).
18822 (tst-exec-static-ARGS): New variable.
18823 (tst-spawn-static-ARGS): Likewise.
18824 * posix/tst-exec-static.c: New file.
18825 * posix/tst-spawn-static.c: Likewise.
18826 * posix/tst-exec.c: Support run directly.
18827 * posix/tst-spawn.c: Likewise.
18829 2013-01-10 Joseph Myers <joseph@codesourcery.com>
18831 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18833 * math/bits/mathcalls.h (llrint): Likewise.
18834 (llround): Likewise.
18835 * stdlib/stdlib.h (struct drand48_data): Likewise.
18836 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18837 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18838 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18840 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18842 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18843 (elf_greg_t): Likewise.
18844 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18845 (__jmp_buf): Likewise.
18846 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18848 (llrint): Likewise, for all definitions.
18849 (llrintl): Likewise.
18851 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18852 Remove [__GNUC__] condition.
18853 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18854 condition to just [__USE_ISOC99].
18855 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18857 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18860 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18861 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18863 (_POSIX_V6_ILP32_OFF32): Likewise.
18864 (_XBS5_ILP32_OFF32): Likewise.
18865 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18866 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18868 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18870 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18872 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18873 doubles __mpexp_twomm1. Adjust usage.
18874 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18877 2013-01-10 Andreas Schwab <schwab@suse.de>
18880 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18881 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18883 2013-01-09 David S. Miller <davem@davemloft.net>
18886 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18887 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18888 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18889 TCP_FASTOPEN): Define.
18890 (tcp_repair_opt): New structure.
18891 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18893 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18894 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18895 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18896 (tcp_cookie_transactions): New structure.
18898 2013-01-09 Anton Blanchard <anton@samba.org>
18900 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18901 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18902 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18903 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18905 2013-01-09 Joseph Myers <joseph@codesourcery.com>
18907 * include/features.h (__USE_ANSI): Remove.
18909 2013-01-09 Roland McGrath <roland@hack.frob.com>
18911 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18913 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18915 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18917 * sysdeps/s390/fpu/libm-test-ulps: Update.
18919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18921 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18925 (denorm): Likewise.
18926 (__mp_dbl): Likewise.
18927 (__dbl_mp): Likewise.
18928 (add_magnitudes): Likewise.
18929 (sub_magnitudes): Likewise.
18935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18939 (denorm): Likewise.
18940 (__mp_dbl): Likewise.
18941 (__dbl_mp): Likewise.
18942 (add_magnitudes): Likewise.
18943 (sub_magnitudes): Likewise.
18949 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18953 (denorm): Likewise.
18954 (__mp_dbl): Likewise.
18955 (__dbl_mp): Likewise.
18956 (add_magnitudes): Likewise.
18957 (sub_magnitudes): Likewise.
18964 2013-01-08 Joseph Myers <joseph@codesourcery.com>
18966 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18967 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18968 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18969 2 && __USE_EXTERN_INLINES]: Likewise.
18971 2013-01-08 Andreas Jaeger <aj@suse.de>
18974 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18976 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18977 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18979 2013-01-07 Anton Blanchard <anton@samba.org>
18981 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18982 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18983 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18984 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18985 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18986 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18987 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18988 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18990 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18991 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18992 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18993 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18994 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18995 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18996 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18997 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18998 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18999 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19000 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19001 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19002 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19003 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19004 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19005 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19006 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19007 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19008 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19009 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19010 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19011 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19013 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19014 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19015 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19016 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19017 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19018 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19019 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19020 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19021 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19022 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19023 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19025 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19027 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19028 (__MALLOC_PMT): Likewise.
19029 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19030 [__GNUC__], only on [_LIBC].
19031 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19032 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19033 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19034 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19035 forward declaration.
19036 (realloc_hook_ini): Likewise.
19037 (memalign_hook_ini): Likewise.
19038 (__libc_memalign): Do not use __MALLOC_PMT in variable
19040 (__libc_valloc): Likewise.
19041 (__libc_pvalloc): Likewise.
19042 (__libc_calloc): Likewise.
19043 (__posix_memalign): Likewise.
19046 * math/s_casinh.c: Include <float.h>.
19047 (__casinh): Do not do computation with squaring and square root
19048 for large arguments.
19049 * math/s_casinhf.c: Include <float.h>.
19050 (__casinhf): Do not do computation with squaring and square root
19051 for large arguments.
19052 * math/s_casinhl.c: Include <float.h>.
19053 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19054 (__casinhl): Do not do computation with squaring and square root
19055 for large arguments.
19056 * math/libm-test.inc (casin_test): Add more tests.
19057 (casinh_test): Likewise.
19058 * sysdeps/i386/fpu/libm-test-ulps: Update.
19059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19061 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19063 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19064 (__x86_64_raw_data_cache_size): Likewise.
19065 (__x86_64_data_cache_size_half): Likewise.
19066 (__x86_64_raw_data_cache_size_half): Likewise.
19067 (__x86_64_shared_cache_size): Likewise.
19068 (__x86_64_raw_shared_cache_size): Likewise.
19069 (__x86_64_shared_cache_size_half): Likewise.
19070 (__x86_64_raw_shared_cache_size_half): Likewise.
19071 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19073 (__x86_data_cache_size): This.
19074 (__x86_64_raw_data_cache_size): Renamed to ...
19075 (__x86_raw_data_cache_size): This.
19076 (__x86_64_data_cache_size_half): Renamed to ...
19077 (__x86_data_cache_size_half): This.
19078 (__x86_64_raw_data_cache_size_half): Renamed to ...
19079 (__x86_raw_data_cache_size_half): This.
19080 (__x86_64_shared_cache_size): Renamed to ...
19081 (__x86_shared_cache_size): This.
19082 (__x86_64_raw_shared_cache_size): Renamed to ...
19083 (__x86_raw_shared_cache_size): This.
19084 (__x86_64_shared_cache_size_half): Renamed to ...
19085 (__x86_shared_cache_size_half): This.
19086 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19087 (__x86_raw_shared_cache_size_half): This.
19088 * sysdeps/x86_64/memcpy.S: Updated.
19089 * sysdeps/x86_64/memset.S: Likewise.
19090 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19091 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19092 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19094 2013-01-04 David S. Miller <davem@davemloft.net>
19096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19098 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19100 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19101 1 to avoid redefinition warning.
19102 (__USE_GNU): Don't define.
19103 (init_signaling_nan): Protoize.
19105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19107 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19109 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19110 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19111 (__cpymn): Likewise.
19112 (norm): Remove commented code.
19113 (denorm): Likewise.
19114 (__mp_dbl): Likewise.
19116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19117 (__cpymn): Likewise.
19118 (norm): Remove commented code.
19119 (denorm): Likewise.
19120 (__mp_dbl): Likewise.
19123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19124 mp_no value for 1.0 and 2.0.
19125 (norm): Use RADIXI instead of radixi.d.
19126 (denorm): Likewise.
19127 (__mul): Use 0.0 instead of zero.d.
19128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19129 mp_no value for 1.0 and 2.0.
19130 (norm): Use RADIXI instead of radixi.d.
19131 (denorm): Likewise.
19132 (__mul): Use 0.0 instead of zero.d.
19134 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19137 * math/s_casinh.c (__casinh): Reduce finite argument to first
19138 quadrant then set signs of results at the end.
19139 * math/s_casinhf.c (__casinhf): Likewise.
19140 * math/s_casinhl.c (__casinhl): Likewise.
19141 * math/libm-test.inc (casin_test): Add more tests.
19142 (casinh_test): Likewise.
19143 * sysdeps/i386/fpu/libm-test-ulps: Update.
19144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19146 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19148 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19150 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19152 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19154 (denorm): Likewise.
19155 (__mp_dbl): Likewise.
19158 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19159 and adjust the header comment.
19161 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19162 variable name from declaration.
19164 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19167 Initialize COMMON_CPUID_INDEX_7 element.
19168 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19169 (CPUID_RTM): Likewise.
19170 (HAS_RTM): Likewise.
19171 (COMMON_CPUID_INDEX_7): New enum.
19173 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19176 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19177 size is zero, record memory as freed.
19179 2013-01-03 Andreas Jaeger <aj@suse.de>
19181 * po/ia.po: Add new Interlingua translation.
19183 2012-01-03 Allan McRae <allan@archlinux.org>
19185 * locale/programs/localedef.c: Fix description of '--posix' flag.
19187 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19189 * NEWS: Update dates in second copyright notice.
19190 * README: Update copyright dates in example.
19191 * manual/libc.texinfo: Update copyright dates.
19192 * scripts/test-installation.pl: Update copyright date in --version
19195 * hurd/ctty-input.c: Fix copyright notice formatting.
19196 * hurd/ctty-output.c: Likewise.
19197 * hurd/dtable.c: Likewise.
19198 * hurd/hurd-raise.c: Likewise.
19199 * hurd/hurdprio.c: Likewise.
19200 * hurd/msgportdemux.c: Likewise.
19201 * misc/sys/file.h: Likewise.
19202 * misc/sys/ioctl.h: Likewise.
19203 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19204 * sysdeps/mach/hurd/chdir.c: Likewise.
19205 * sysdeps/mach/hurd/fchdir.c: Likewise.
19206 * sysdeps/mach/hurd/rename.c: Likewise.
19207 * sysdeps/mach/hurd/rmdir.c: Likewise.
19208 * sysdeps/mach/hurd/seekdir.c: Likewise.
19209 * sysdeps/mach/hurd/setsid.c: Likewise.
19210 * sysdeps/posix/wait3.c: Likewise.
19212 * All files with FSF copyright notices: Update copyright dates
19213 using scripts/update-copyrights.
19214 * intl/plural.c: Regenerated.
19215 * locale/programs/charmap-kw.h: Likewise.
19216 * locale/programs/locfile-kw.h: Likewise.
19218 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19220 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19223 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19224 calculation loop and add branch prediction.
19226 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19227 check access beyond bounds of m1np.
19229 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19231 (__inv): Remove local variable MPTWO to use the global
19233 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19234 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19236 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19237 MP3HALFS static const.
19239 2013-01-01 David S. Miller <davem@davemloft.net>
19241 * po/ca.po: Update from translation team.
19243 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19245 * scripts/update-copyrights: New file.
19246 * Makeconfig: Reformat copyright notice.
19247 * ctype/ctype.h: Likewise.
19248 * debug/swprintf_chk.c: Likewise.
19249 * elf/dl-cache.c: Likewise.
19250 * elf/dl-debug.c: Likewise.
19251 * elf/dl-object.c: Likewise.
19252 * grp/initgroups.c: Likewise.
19253 * hurd/Makefile: Likewise.
19254 * hurd/hurd/signal.h: Likewise.
19255 * hurd/hurdfault.c: Likewise.
19256 * hurd/hurdioctl.c: Likewise.
19257 * hurd/hurdlookup.c: Likewise.
19258 * hurd/intr-msg.c: Likewise.
19259 * iconv/gconv_open.c: Likewise.
19260 * libio/swprintf.c: Likewise.
19261 * locale/lc-ctype.c: Likewise.
19262 * locale/nl_langinfo.c: Likewise.
19263 * mach/Machrules: Likewise.
19264 * mach/Makefile: Likewise.
19265 * malloc/obstack.h: Likewise.
19266 * manual/Makefile: Likewise.
19267 * manual/tsort.awk: Likewise.
19268 * misc/bits/stab.def: Likewise.
19269 * nis/nis_print_group_entry.c: Likewise.
19270 * nis/nis_table.c: Likewise.
19271 * nis/nss_compat/compat-pwd.c: Likewise.
19272 * nis/nss_compat/compat-spwd.c: Likewise.
19273 * po/Makefile: Likewise.
19274 * posix/fnmatch.c: Likewise.
19275 * posix/regex.h: Likewise.
19276 * resolv/Makefile: Likewise.
19277 * resolv/nss_dns/dns-network.c: Likewise.
19278 * resolv/res_hconf.c: Likewise.
19279 * scripts/gen-sorted.awk: Likewise.
19280 * soft-fp/soft-fp.h: Likewise.
19281 * stdio-common/printf.h: Likewise.
19282 * stdlib/monetary.h: Likewise.
19283 * stdlib/random.c: Likewise.
19284 * stdlib/random_r.c: Likewise.
19285 * sysdeps/generic/Makefile: Likewise.
19286 * sysdeps/gnu/Makefile: Likewise.
19287 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19288 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19289 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19290 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19292 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19293 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19294 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19295 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19296 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19297 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19299 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19300 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19301 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19302 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19303 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19304 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19305 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19306 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19307 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19308 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19309 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19310 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19311 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19312 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19313 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19314 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19315 * sysdeps/mach/hurd/errnos.awk: Likewise.
19316 * sysdeps/mach/hurd/fork.c: Likewise.
19317 * sysdeps/mach/hurd/getcwd.c: Likewise.
19318 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19319 * sysdeps/mach/hurd/mmap.c: Likewise.
19320 * sysdeps/mach/hurd/utimes.c: Likewise.
19321 * sysdeps/mach/hurd/xmknod.c: Likewise.
19322 * sysdeps/posix/profil.c: Likewise.
19323 * sysdeps/posix/readdir_r.c: Likewise.
19324 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19325 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19326 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19327 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19329 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19330 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19331 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19332 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19333 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19334 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19335 * sysdeps/pthread/lio_listio.c: Likewise.
19336 * sysdeps/sparc/dl-procinfo.h: Likewise.
19337 * sysdeps/unix/i386/sysdep.S: Likewise.
19338 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19339 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19340 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19341 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19343 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19344 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19345 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19346 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19347 * sysdeps/wordsize-32/divdi3.c: Likewise.
19348 * time/sys/time.h: Likewise.
19349 * wcsmbs/Makefile: Likewise.
19351 2013-01-01 David S. Miller <davem@davemloft.net>
19353 * po/fr.po: Update from translation team.
19355 * catgets/gencat.c: Update copyright year.
19356 * csu/version.c: Likewise.
19357 * debug/catchsegv.sh: Likewise.
19358 * debug/pcprofiledump.c: Likewise.
19359 * debug/xtrace.sh: Likewise.
19360 * elf/ldconfig.c: Likewise.
19361 * elf/ldd.bash.in: Likewise.
19362 * elf/pldd.c: Likewise.
19363 * elf/sotruss.ksh: Likewise.
19364 * elf/sprof.c: Likewise.
19365 * iconv/iconv_prog.c: Likewise.
19366 * iconv/iconvconfig.c: Likewise.
19367 * locale/programs/locale.c: Likewise.
19368 * locale/programs/localedef.c: Likewise.
19369 * login/programs/pt_chown.c: Likewise.
19370 * malloc/memusage.sh: Likewise.
19371 * malloc/memusagestat.c: Likewise.
19372 * malloc/mtrace.pl: Likewise.
19373 * nscd/nscd.c: Likewise.
19374 * nss/getent.c: Likewise.
19375 * nss/makedb.c: Likewise.
19376 * posix/getconf.c: Likewise.
19378 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19380 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19383 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19385 * math/bits/mathcalls.h (modf): Use __nonnull.
19387 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19389 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19390 (split): Use macro CN instead of the bare value.
19391 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19393 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19394 instead of the bare value.
19395 (power1): Likewise.
19397 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19399 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19401 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19403 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19405 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19406 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19407 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19408 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19410 2012-12-28 Andreas Jaeger <aj@suse.de>
19412 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19413 values are from Linux 3.7.
19415 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19416 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19418 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19420 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19423 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19425 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19426 variables with preprocessor constants.
19427 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19428 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19429 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19431 2012-12-27 Bruno Haible <bruno@clisp.org>
19434 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19437 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19439 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19440 and use variable directly.
19441 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19443 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19445 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19446 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19448 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19449 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19450 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19451 include directive. Remove local variable MPONE.
19452 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19453 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19454 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19456 2012-12-25 David S. Miller <davem@davemloft.net>
19458 * version.h (RELEASE): Set to "development".
19459 (VERSION): Set to "2.17.90".
19460 * NEWS: Add 2.18 section.
19462 2012-12-21 David S. Miller <davem@davemloft.net>
19464 * po/hr.po: Update from translation team.
19466 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19468 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19470 2012-12-19 Steve Ellcey <sellcey@mips.com>
19472 * NEWS: Mention new memcpy for MIPS.
19474 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19476 * manual/contrib.texi (Contributors): Spelling correction.
19478 2012-12-15 David S. Miller <davem@davemloft.net>
19480 * po/ru.po: Update from translation team.
19482 2012-12-13 David S. Miller <davem@davemloft.net>
19484 * NEWS: Mention IFUNC testsuite enhancements.
19486 * po/pl.po: Update from translation team.
19487 * po/bg.po: Likewise.
19489 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19490 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19492 2012-12-11 David S. Miller <davem@davemloft.net>
19494 * po/sv.po: Update from translation team.
19496 * po/vi.po: Update from translation team.
19498 * po/cs.po: Update from translation team.
19500 * po/de.po: Update from translation team.
19501 * po/eo.po: Likewise.
19502 * po/nl.po: Likewise.
19504 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19507 * manual/argp.texi (Argp Helper Functions): Move node to follow
19508 Argp Parsing State.
19511 * manual/conf.texi (Limits on File System Capacity): Mention if
19512 terminating null is included in the max size.
19514 2012-12-10 Andreas Jaeger <aj@suse.de>
19516 * po/cs.po: Update from translation team.
19518 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19520 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19521 void pointer and cast to uintptr_t.
19522 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19524 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19525 * sysdeps/s390/s390-64/memset.S: Likewise.
19527 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
19530 * menual/message.texi (Message Translation): Fix typos.
19531 (Helper programs for gettext): Likewise.
19533 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19536 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19539 2012-12-07 David S. Miller <davem@davemloft.net>
19541 * po/libc.pot: Update.
19543 2012-12-07 Richard Henderson <rth@redhat.com>
19546 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19547 normal/normal case to before the switch.
19548 (_FP_DIV): Likewise.
19550 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19551 Mike Frysinger <vapier@gentoo.org>
19553 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19554 check for __NR_fadvise64_64.
19556 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19558 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19559 0, not just to plain "0" as a statement.
19560 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19563 2012-12-06 Joseph Myers <joseph@codesourcery.com>
19565 * NEWS: Use sourceware.org in Bugzilla URL.
19567 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19570 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19572 * stdio-common/tst-put-error.c (do_test): Add newline to the
19573 padded test to ensure flush.
19575 2012-12-05 Jeff Law <law@redhat.com>
19577 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19579 2012-12-05 Joseph Myers <joseph@codesourcery.com>
19581 * README: Don't refer to ports add-on as distributed separately.
19582 Mention AArch64 in list of systems supported in the ports add-on.
19584 * LICENSES: Add more non-FSF copyright and license notices.
19586 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19589 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19591 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19592 10000 as width of padded output.
19594 2012-12-04 Joseph Myers <joseph@codesourcery.com>
19596 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19598 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19599 variable LX with __attribute__ ((unused)).
19600 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19602 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19603 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19604 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19605 with __attribute__ ((unused)).
19607 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
19609 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19611 2012-12-04 Joseph Myers <joseph@codesourcery.com>
19613 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19614 (CFLAGS-nldbl-acos.c): New variable.
19615 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19616 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19617 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19618 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19619 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19620 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19621 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19622 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19623 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19624 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19625 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19626 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19627 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19628 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19629 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19630 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19631 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19632 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19633 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19634 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19635 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19636 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19637 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19638 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19639 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19640 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19641 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19642 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19643 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19644 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19645 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19646 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19647 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19648 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19649 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19650 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19651 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19652 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19653 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19654 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19655 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19656 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19657 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19658 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19659 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19660 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19661 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19662 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19663 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19664 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19665 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19666 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19667 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19668 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19669 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19670 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19671 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19672 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19673 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19674 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19675 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19676 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19677 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19678 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19679 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19680 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19681 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19682 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19683 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19684 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19685 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19686 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19687 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19688 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19689 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19690 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19691 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19692 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19693 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19694 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19695 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19696 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19697 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19698 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19699 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19700 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19701 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19702 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19703 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19704 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19705 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19706 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19707 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19708 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19709 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19710 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19711 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19714 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19717 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19718 whole low double instead of just low 47 bits when splitting values
19721 2012-12-03 Allan McRae <allan@archlinux.org>
19723 * manual/stdio.texi (Predefined Printf Handlers): Remove
19724 @hsep and @vsep usage.
19726 2012-12-03 Mike Frysinger <vapier@gentoo.org>
19728 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19729 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19731 2012-12-03 Jeff Law <law@redhat.com>
19733 * time/sys/time.h (settimeofday): Do not mark TV argument
19736 2012-12-01 Mike Frysinger <vapier@gentoo.org>
19738 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19739 when currently writing and seek to current position when not.
19740 * libio/Makefile (tests): Remove bug-fclose1.
19741 * libio/bug-fclose1.c: Delete.
19743 2012-12-01 Joseph Myers <joseph@codesourcery.com>
19745 * manual/arith.texi (feenableexcept): Fix typo.
19746 (fedisableexcept): Likewise.
19748 2012-11-30 Roland McGrath <roland@hack.frob.com>
19750 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19751 second, differently-typed declaration, rather than a cast.
19753 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19755 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19756 * include/rpc/svc.h: ... here.
19758 2012-11-30 Aurelien Jarno <aurel32@debian.org>
19761 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19762 depending n and resplen2 to catch cases where answer
19765 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19767 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19768 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19770 2012-11-29 Mike Frysinger <vapier@gentoo.org>
19772 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19774 2012-11-29 Roland McGrath <roland@hack.frob.com>
19776 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19778 2012-11-28 Jeff Law <law@redhat.com>
19781 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19782 dataset_temporary. Track alloca usage into alloca_used.
19783 If dataset is large allocate and release it via malloc/free.
19785 2012-06-04 Florian Weimer <fweimer@redhat.com>
19788 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19790 2012-11-28 David S. Miller <davem@davemloft.net>
19792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19794 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19797 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19798 of pi/2 rounded to nearest to 64 bits.
19799 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19800 nearest to 64 bits.
19801 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19804 2012-11-28 Jeff Law <law@redhat.com>
19805 Martin Osvald <mosvald@redhat.com>
19808 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19809 * sunrpc/svc.c: Include time.h.
19810 (__svc_accept_failed): New function.
19811 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19812 any reason other than EINTR, call __svc_accept_failed.
19813 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19814 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19816 2012-11-28 Andreas Schwab <schwab@suse.de>
19818 * scripts/abilist.awk: Also handle indirect functions in .opd
19821 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19824 * sysdeps/x86/fpu/powl_helper.c: New file.
19825 * sysdeps/x86/fpu/Makefile: Likewise.
19826 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19828 (__ieee754_powl): Use __powl_helper for finite arguments except
19829 integer exponents below 8.
19830 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19832 (__ieee754_powl): Use __powl_helper for finite arguments except
19833 integer exponents below 8.
19834 * math/libm-test.inc (pow_test): Add more tests and enable some
19835 previously disabled tests.
19836 * sysdeps/i386/fpu/libm-test-ulps: Update.
19837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19839 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19840 Carlos O'Donell <carlos_odonell@mentor.com>
19842 * nss/makedb.c (is_prime): Assert that input is odd and greater
19843 than 4. Note that fact in a comment too.
19844 (next_prime): Add 4 to input.
19846 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19849 * libio/Makefile (tests): Add test case tst-fwrite-error.
19850 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19851 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19852 * libio/tst-fwrite-error.c: New test case.
19854 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19856 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19857 before casting to void *.
19858 * include/libc-internal.h (__pointer_type): New macro.
19859 (__integer_if_pointer_type_sub): Likewise.
19860 (__integer_if_pointer_type): Likewise.
19861 (cast_to_integer): Likewise.
19862 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19863 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19864 before casting to atomic64_t.
19865 (atomic_exchange_acq): Likewise.
19866 (__arch_exchange_and_add_body): Likewise.
19867 (__arch_add_body): Likewise.
19868 (atomic_add_negative): Likewise.
19869 (atomic_add_zero): Likewise.
19871 2012-11-26 Joseph Myers <joseph@codesourcery.com>
19873 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19874 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19875 (add_fdes): Likewise.
19876 (linear_search_fdes): Likewise.
19877 (binary_search_unencoded_fdes): Likewise.
19879 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19881 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19883 2012-11-24 Adam Conrad <adconrad@0c3.net>
19885 * configure.in: Autodetect C++ header directories.
19886 * configure: Regenerated.
19888 2012-11-23 Mike Frysinger <vapier@gentoo.org>
19890 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19892 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19896 2012-11-22 Joseph Myers <joseph@codesourcery.com>
19898 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19899 LDBL_MANT_DIG == 106]: Disable some tests.
19900 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19902 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19906 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19907 input for small inputs. Return +/- pi/2 for large inputs.
19908 * math/libm-test.inc (atan_test): Add more tests.
19910 * sysdeps/generic/unwind-dw2-fde-glibc.c
19911 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19912 __attribute__ ((unused)).
19915 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19916 x * y if x and y are nonzero and z is zero.
19919 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19920 nonzero exponents with absolute value below 0x1p-117 to +/-
19924 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19925 up arguments below 2**-450, not just those below 2**-500.
19926 * math/libm-test.inc (hypot_test): Add another test.
19929 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19930 Return a+b for ratio over 2**120, not 2**60.
19931 * math/libm-test.inc (hypot_test): Add another test.
19933 * math/libm-test.inc (clog_test): Use
19934 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19935 (clog10_test): Likewise.
19938 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19940 2012-11-22 Andreas Schwab <schwab@suse.de>
19942 * sysdeps/i386/fpu/libm-test-ulps: Update.
19944 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19946 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19947 printf output with newline.
19949 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19952 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19953 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19954 -z nodlopen, -z initfirst and -z execstack support.
19955 * configure: Regenerated.
19957 * elf/elf.h (DF_1_NODIRECT): New macro.
19958 (DF_1_IGNMULDEF): Likewise.
19959 (DF_1_NOKSYMS): Likewise.
19960 (DF_1_NOHDR): Likewise.
19961 (DF_1_EDITED): Likewise.
19962 (DF_1_NORELOC): Likewise.
19963 (DF_1_SYMINTPOSE): Likewise.
19964 (DF_1_GLOBAUDIT): Likewise.
19965 (DF_1_SINGLETON): Likewise.
19966 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19967 DT_1_SUPPORTED_MASK bits.
19968 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19970 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19972 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19974 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19976 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19979 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19980 (sendmmsg): Move declarations...
19981 * socket/sys/socket.h: ... here.
19982 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19983 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19985 * socket/recvmmsg.c: ... this new file.
19986 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19987 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19988 definition of __sendmmsg hidden.
19989 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19990 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19991 Move ENOSYS stub into and include it from...
19992 * socket/sendmmsg.c: ... this new file.
19993 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19994 (sysdep_routines): Move recvmmsg and sendmmsg...
19995 * socket/Makefile (routines): ... here.
19996 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19997 (GLIBC_PRIVATE): Add __sendmmsg.
19998 * include/sys/socket.h (__sendmmsg): Add declarations.
19999 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20002 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20004 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20005 variable I1 with __attribute__ ((unused)).
20006 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20008 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20010 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20011 DUMMY variables with __attribute__ ((unused)).
20013 * bits/byteswap.h: Include <bits/types.h>.
20014 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20016 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20018 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20019 string_t. Do not manually set errno.
20020 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20021 length with __strnlen. Make sure to both set errno and return it on
20024 2012-11-19 David S. Miller <davem@davemloft.net>
20026 With help from Joseph Myers.
20027 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20028 very large arguments properly.
20029 * math/libm-test.inc (atan_test): New tests.
20030 (atan2_test): New tests.
20031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20034 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20037 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20040 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20041 [POSIX] (EADDRNOTAVAIL): Likewise.
20042 [POSIX] (EAFNOSUPPORT): Likewise.
20043 [POSIX] (EALREADY): Likewise.
20044 [POSIX] (ECONNABORTED): Likewise.
20045 [POSIX] (ECONNREFUSED): Likewise.
20046 [POSIX] (ECONNRESET): Likewise.
20047 [POSIX] (EDESTADDRREQ): Likewise.
20048 [POSIX] (EDQUOT): Likewise.
20049 [POSIX] (EHOSTUNREACH): Likewise.
20050 [POSIX] (EIDRM): Likewise.
20051 [POSIX] (EISCONN): Likewise.
20052 [POSIX] (ELOOP): Likewise.
20053 [POSIX] (EMULTIHOP): Likewise.
20054 [POSIX] (ENETDOWN): Likewise.
20055 [POSIX] (ENETUNREACH): Likewise.
20056 [POSIX] (ENOBUFS): Likewise.
20057 [POSIX] (ENODATA): Likewise.
20058 [POSIX] (ENOLINK): Likewise.
20059 [POSIX] (ENOMSG): Likewise.
20060 [POSIX] (ENOPROTOOPT): Likewise.
20061 [POSIX] (ENOSR): Likewise.
20062 [POSIX] (ENOSTR): Likewise.
20063 [POSIX] (ENOTCONN): Likewise.
20064 [POSIX] (ENOTSOCK): Likewise.
20065 [POSIX] (EOPNOTSUPP): Likewise.
20066 [POSIX] (EOVERFLOW): Likewise.
20067 [POSIX] (EPROTO): Likewise.
20068 [POSIX] (EPROTONOSUPPORT): Likewise.
20069 [POSIX] (EPROTOTYPE): Likewise.
20070 [POSIX] (ESTALE): Likewise.
20071 [POSIX] (ETIME): Likewise.
20072 [POSIX] (ETXTBSY): Likewise.
20073 [POSIX] (EWOULDBLOCK): Likewise.
20074 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20075 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20076 [POSIX] (SEEK_CUR): Likewise.
20077 [POSIX] (SEEK_END): Likewise.
20078 [POSIX || UNIX98] (mode_t): Do not require.
20079 [POSIX] (off_t): Likewise.
20080 [POSIX] (pid_t): Likewise.
20081 [POSIX] (sys/stat.h): Do not allow header.
20082 [POSIX] (unistd.h): Likewise.
20083 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20084 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20085 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20086 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20088 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20089 sigevent): Specify elements.
20090 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20092 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20093 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20095 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20096 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20097 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20098 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20099 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20100 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20101 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20102 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20103 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20104 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20105 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20106 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20107 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20108 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20110 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20112 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20114 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20116 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20117 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20118 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20119 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20120 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20121 Specify lower bound on value.
20122 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20123 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20124 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20125 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20126 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20127 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20128 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20129 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20131 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20133 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20134 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20135 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20136 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20137 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20138 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20139 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20140 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20141 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20142 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20143 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20144 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20145 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20146 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20147 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20148 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20150 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20152 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20153 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20154 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20155 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20156 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20157 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20159 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20160 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20161 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20162 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20163 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20164 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20165 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20167 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20168 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20169 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20170 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20171 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20172 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20173 specify as optional.
20174 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20175 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20176 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20177 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20178 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20179 [XPG3] (NL_LANGMAX): Likewise.
20180 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20181 [POSIX || XPG3] (NL_NMAX): Likewise.
20182 [POSIX || XPG3] (NL_SETMAX): Likewise.
20183 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20184 [XPG3] (NZERO): Likewise.
20185 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20186 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20187 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20188 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20189 (REG_ERANGE): Expect.
20190 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20192 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20193 Use (void) in prototype.
20194 [POSIX] (*_t): Allow.
20195 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20196 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20197 (WRDE_BADVAL): Expect.
20199 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20201 [XPG3 || XPG4] (O_RSYNC): Likewise.
20202 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20204 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20205 [XPG3 || XPG4] (sigqueue): Likewise.
20206 [XPG3 || XPG4] (sigtimedwait): Likewise.
20207 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20208 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20209 [XPG3 || XPG4] (vsnprintf): Likewise.
20210 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20212 [XPG3 || XPG4] (blksize_t): Likewise.
20213 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20215 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20216 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20217 [XPG3 || XPG4] (struct itimerspec): Likewise.
20218 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20219 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20220 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20221 [XPG3 || XPG4] (clockid_t): Likewise.
20222 [XPG3 || XPG4] (timer_t): Likewise.
20223 [XPG3 || XPG4] (clock_getres): Likewise.
20224 [XPG3 || XPG4] (clock_gettime): Likewise.
20225 [XPG3 || XPG4] (clock_settime): Likewise.
20226 [XPG3 || XPG4] (nanosleep): Likewise.
20227 [XPG3 || XPG4] (timer_create): Likewise.
20228 [XPG3 || XPG4] (timer_delete): Likewise.
20229 [XPG3 || XPG4] (timer_gettime): Likewise.
20230 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20231 [XPG3 || XPG4] (timer_settime): Likewise.
20232 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20233 [XPG3 || XPG4] (getlogin_r): Likewise.
20234 [XPG3 || XPG4] (pread): Likewise.
20235 [XPG3 || XPG4] (pthread_atfork): Likewise.
20236 [XPG3 || XPG4] (pwrite): Likewise.
20239 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20242 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20244 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20245 finalizing MALLSTREAM.
20247 * sysdeps/mach/hurd/syncfs.c: New file.
20249 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20252 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20253 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20254 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20255 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20256 (_nss_dns_gethostbyname4_r): Likewise.
20257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20258 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20260 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20263 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20265 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20267 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20268 * elf/cache.c (print_entry): Print ",AArch64" for
20271 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20272 * elf/cache.c (print_entry): Print ",hard-float" for
20275 2012-11-18 David S. Miller <davem@davemloft.net>
20277 With help from Joseph Myers.
20278 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20280 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20282 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20283 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20285 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20286 * math/libm-test.inc (y0_test): New tests.
20287 (y1_test): New tests.
20288 * sysdeps/i386/fpu/libm-test-ulps: Update.
20289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20292 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20294 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20296 * configure: Regenerated.
20298 2012-11-17 David S. Miller <davem@davemloft.net>
20301 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20302 nonzero exponents with absolute value below 0x1p-128 to +/-
20305 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20307 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20309 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20311 * posix/getconf-speclist.c: New file.
20312 * posix/posix-envs.def: Likewise.
20313 * posix/confstr.c (START_ENV_GROUP): New macro.
20314 (END_ENV_GROUP): Likewise.
20315 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20316 (KNOWN_PRESENT_ENV_STRING): Likewise.
20317 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20318 (UNKNOWN_ENVIRONMENT): Likewise.
20319 (confstr): Include posix-envs.def instead of handling
20320 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20321 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20322 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20323 (END_ENV_GROUP): Likewise.
20324 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20325 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20326 (UNKNOWN_ENVIRONMENT): Likewise.
20327 (__sysconf): Include posix-envs.def instead of handling associated
20328 cases directly here.
20329 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20330 preprocessing getconf-speclist.c rather than running getconf or
20331 generating empty file.
20333 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20335 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20337 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20340 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20342 2012-11-16 David S. Miller <davem@davemloft.net>
20344 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20345 smaller than LDBL_EPSILON/2.0L, just return xm1.
20347 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20349 * elf/tst-array1.c (init): Set constructor priority to 1000.
20350 (fini): Set destructor priority to 1000.
20351 * elf/tst-array2dep.c: Likewise.
20353 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20356 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20357 (_IO_new_file_xsputn): Also return EOF if none of the input
20358 data was written when overflow failed.
20359 * libio/iopadn.c (_IO_padn): Likewise.
20360 * libio/iowpadn.c (_IO_wpadn): Likewise.
20361 * stdio-common/tst-put-error.c: Add copyright notice.
20362 (do_test): Add case for printing padded string.
20363 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20364 _IO_padn returned error.
20365 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20366 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20369 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20371 * libio/libioP.h: Add comment note that the references to C++
20372 bits are now obsolete.
20374 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20376 * math/libm-test.inc (check_complex): Use asprintf.
20378 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20380 * debug/pcprofiledump.c (print_version): Update copyright year.
20381 * malloc/memusagestat.c (print_version): Likewise.
20383 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20386 * elf/Makefile (tests): Add tst-audit8.
20387 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20388 ($(objpfx)tst-audit8.out): New target.
20389 (tst-audit8-ENV): New variable.
20390 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20391 audit if l_reloc_result is NULL.
20392 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20393 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20394 * elf/tst-audit8.c: New file.
20396 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20398 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20399 * misc/Makefile (CFLAGS-select.c): Define.
20400 * posix/Makefile (CFLAGS-pause.c): Define.
20402 2012-11-13 David S. Miller <davem@davemloft.net>
20404 * crypt/Makefile: Move test targets after toplevel Rules
20405 inclusion. Grab any necessary sysdep routines when linking.
20406 * crypt/md5.c (md5_process_block): Remove define, we will always
20407 name it __md5_process_block.
20408 (md5_finish_ctx): Update md5_process_block call.
20409 (md5_stream): Likewise.
20410 (md5_process_bytes): Likewise.
20411 (md5_process_block): Rename to __md5_process_block and move to ...
20412 * crypt/md5-block.c: ... here.
20413 * crypt/sha256.c (sha256_process_block): Move to ...
20414 * crypt/sha256-block.c: ... here.
20415 * crypt/sha512.c (sha512_process_block): Move to ...
20416 * crypt/sha512-block.c: ... here.
20417 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20419 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20420 * sysdeps/sparc/sparc64/multiarch/Makefile
20421 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20423 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20424 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20426 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20427 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20428 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20429 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20430 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20431 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20432 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20433 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20434 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20436 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20437 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20439 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20441 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20443 * timezone/tzselect.ksh: Update from tzcode git revision
20444 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20445 * timezone/zdump.c: Likewise.
20446 * timezone/zic.c: Likewise.
20447 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20448 in TZVERSION setting, not $(PKGVERSION).
20449 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20450 REPORT_BUGS_TO settings.
20453 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20456 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20458 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20459 detection to immediately after _FP_ROUND().
20460 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20463 2012-11-11 David S. Miller <davem@davemloft.net>
20465 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20467 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20468 __close rather than their public counterparts.
20470 2012-11-10 Joseph Myers <joseph@codesourcery.com>
20472 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20474 [UNIX98] (sem_timedwait): Do not expect.
20475 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20476 [XPG4 || UNIX98] (sockatmark): Do not expect.
20477 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20478 (clock_getcpuclockid): Do not expect.
20479 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20480 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20482 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20483 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20484 [UNIX98] (vwscanf): Likewise.
20485 [UNIX98] (vswscanf): Likewise.
20487 2012-11-09 Joseph Myers <joseph@codesourcery.com>
20489 * timezone/version.h: Remove file.
20490 * timezone/README: Do not refer to version.h.
20491 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20492 $(objpfx)version.h.
20493 ($(objpfx)zdump.o): Likewise.
20494 ($(objpfx)version.h): New target.
20496 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20498 * timezone/README: Don't mention modification to tzselect.ksh.
20499 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20500 work on unmodified tzselect.ksh. Substitute version numbers in
20503 * Makefile (format-me): Remove.
20504 (INSTALL): Adjust indentation. Use commands directly instead of
20505 using $(format-me).
20507 * aclocal.m4 (ACX_PKGVERSION): New macro.
20508 (ACX_BUGURL): Likewise.
20509 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20510 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20511 (REPORT_BUGS_TO): Likewise.
20512 * configure: Regenerated.
20513 * config.h.in (PKGVERSION): New macro.
20514 (REPORT_BUGS_TO): Likewise.
20515 * config.make.in (PKGVERSION): New variable.
20516 (PKGVERSION_TEXI): Likewise.
20517 (REPORT_BUGS_TO): Likewise.
20518 (REPORT_BUGS_TEXI): Likewise.
20519 * Makefile (format-me): Use -I$(common-objpfx)manual.
20520 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20521 ($(common-objpfx)manual/%): New target.
20522 (manual/%): Remove target.
20523 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20524 (print_version): Use PKGVERSION.
20525 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20526 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20527 and REPORT_BUGS_TO.
20528 ($(objpfx)xtrace): Likewise.
20529 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20530 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20531 (print_version): Use PKGVERSION.
20532 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20533 (do_version): Use PKGVERSION.
20534 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20536 (common-ldd-rewrite): Likewise.
20537 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20538 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20539 (print_version): Use PKGVERSION.
20540 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20541 * elf/pldd.c (argp_program_bug_address): Remove variable.
20542 (more_help): New function.
20543 (argp): Use more_help.
20544 (print_version): Use PKGVERSION.
20545 * elf/sln.c (main): Use PKGVERSION.
20546 (usage): Use REPORT_BUGS_TO.
20547 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20548 (top level): Use PKGVERSION.
20549 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20550 (print_version): Use PKGVERSION.
20551 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20552 (print_version): Use PKGVERSION.
20553 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20554 (print_version): Use PKGVERSION.
20555 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20556 (print_version): Use PKGVERSION.
20557 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20558 (print_version): Use PKGVERSION.
20559 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20560 (print_version): Use PKGVERSION.
20561 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20563 ($(objpfx)memusage): Likewise.
20564 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20565 (do_version): Use PKGVERSION.
20566 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20567 (print_version): Use PKGVERSION.
20568 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20569 ($PKGVERSION): New variable.
20570 ($REPORT_BUGS_TO): Likewise.
20571 (usage): Use $REPORT_BUGS_TO.
20572 (top level): Use $PKGVERSION.
20573 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20574 ($(objpfx)pkgvers.texi): New rule.
20575 ($(objpfx)stamp-pkgvers): Likewise.
20576 * manual/install.texi: Include pkgvers.texi.
20577 (--with-pkgversion): Document new configure option.
20578 (--with-bugurl): Likewise.
20579 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20580 than necessarily for this particular distribution. Use
20581 REPORT_BUGS_TO for where to report bugs.
20582 * INSTALL: Regenerated.
20583 * manual/libc.texinfo: Include pkgvers.texi.
20584 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20585 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20586 (print_version): Use PKGVERSION.
20587 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20588 (print_version): Use PKGVERSION.
20589 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20590 (print_version): Use PKGVERSION.
20591 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20592 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20594 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20595 (print_version): Use PKGVERSION.
20596 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20597 (print_version): Use PKGVERSION.
20598 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20601 * timezone/checktab.awk: Update from tzcode 2012i.
20602 * timezone/ialloc.c: Likewise.
20603 * timezone/private.h: Likewise.
20604 * timezone/scheck.c: Likewise.
20605 * timezone/tzfile.h: Likewise.
20606 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20607 (TZVERSION): Hardcode tzcode version number.
20608 * timezone/zdump.c: Update from tzcode 2012i.
20609 * timezone/zic.c: Likewise.
20610 * timezone/version.h: New file.
20611 * timezone/README: Describe version.h. Update upstream location.
20614 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20615 (mktemp): Enable declaration.
20616 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20617 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20618 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20619 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20621 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20623 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20625 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20627 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20629 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20633 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20634 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20635 for copies of such integer values.
20636 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20637 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20639 2012-11-09 Andreas Jaeger <aj@suse.de>
20641 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20642 definitions and declarations that are provided by
20643 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20645 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20647 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20648 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20649 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20652 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20654 * elf/elf.h: Update comment before AArch64 relocations.
20656 2012-11-07 David S. Miller <davem@davemloft.net>
20658 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20659 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20660 (__start_context): Declare.
20661 (__makecontext_ret): Delete.
20662 (__makecontext): Hook up __start_context instead of
20664 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20665 (sysdep_routines): Add __start_context when in stdlib.
20667 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20669 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20670 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20671 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20673 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20674 (READELF): New variable. Use it instead of hardcoded "readelf".
20676 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20678 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20679 * sysdeps/x86/Makefile: Here.
20680 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20681 * sysdeps/x86/tst-xmmymm.sh: This.
20683 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20685 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20687 [UNIX98] (pthread_barrier_t): Do not expect.
20688 [UNIX98] (pthread_barrierattr_t): Likewise.
20689 [UNIX98] (pthread_spinlock_t): Likewise.
20690 [UNIX98] (pthread_barrier_destroy): Likewise.
20691 [UNIX98] (pthread_barrier_init): Likewise.
20692 [UNIX98] (pthread_barrier_wait): Likewise.
20693 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20694 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20695 [UNIX98] (pthread_barrierattr_init): Likewise.
20696 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20697 [UNIX98] (pthread_getcpuclockid): Likewise.
20698 [UNIX98] (pthread_mutex_timedlock): Likewise.
20699 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20700 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20701 [UNIX98] (pthread_sigmask): Likewise.
20702 [UNIX98] (pthread_spin_destroy): Likewise.
20703 [UNIX98] (pthread_spin_init): Likewise.
20704 [UNIX98] (pthread_spin_lock): Likewise.
20705 [UNIX98] (pthread_spin_trylock): Likewise.
20706 [UNIX98] (pthread_spin_unlock): Likewise.
20707 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20709 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20710 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20711 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20712 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20713 [XPG3 || XPG4] (pthread_key_t): Likewise.
20714 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20715 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20716 [XPG3 || XPG4] (pthread_once_t): Likewise.
20717 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20718 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20719 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20720 [XPG3 || XPG4] (pthread_t): Likewise.
20722 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20724 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20726 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20727 Change function return type to int.
20729 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20730 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20731 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20732 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20733 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20734 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20735 [!POSIX] (posix_madvise): Likewise.
20736 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20738 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20739 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20740 (mode_t): Likewise.
20741 (posix_mem_offset): Likewise.
20742 (posix_typed_mem_get_info): Likewise.
20743 (posix_typed_mem_open): Likewise.
20745 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20746 Change condition to [XOPEN2K8].
20748 * conform/conformtest.pl: Preprocess allow-header data with -x c
20749 instead of from stdin.
20750 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20751 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20752 [C99-based standards] (cerfc): Likewise.
20753 [C99-based standards] (cexp2): Likewise.
20754 [C99-based standards] (cexpm1): Likewise.
20755 [C99-based standards] (clog10): Likewise.
20756 [C99-based standards] (clog1p): Likewise.
20757 [C99-based standards] (clog2): Likewise.
20758 [C99-based standards] (clgamma): Likewise.
20759 [C99-based standards] (ctgamma): Likewise.
20760 [C99-based standards] (cerff): Likewise.
20761 [C99-based standards] (cerfcf): Likewise.
20762 [C99-based standards] (cexp2f): Likewise.
20763 [C99-based standards] (cexpm1f): Likewise.
20764 [C99-based standards] (clog10f): Likewise.
20765 [C99-based standards] (clog1pf): Likewise.
20766 [C99-based standards] (clog2f): Likewise.
20767 [C99-based standards] (clgammaf): Likewise.
20768 [C99-based standards] (ctgammaf): Likewise.
20769 [C99-based standards] (cerfl): Likewise.
20770 [C99-based standards] (cerfcl): Likewise.
20771 [C99-based standards] (cexp2l): Likewise.
20772 [C99-based standards] (cexpm1l): Likewise.
20773 [C99-based standards] (clog10l): Likewise.
20774 [C99-based standards] (clog1pl): Likewise.
20775 [C99-based standards] (clog2l): Likewise.
20776 [C99-based standards] (clgammal): Likewise.
20777 [C99-based standards] (ctgammal): Likewise.
20778 * conform/data/inttypes.h-data [C99-based standards]: Include
20779 stdint.h-data. Remove all expectations for stdint.h contents.
20780 [C99-based standards] (PRI*): Do not allow.
20781 [C99-based standards] (SCN*): Likewise.
20782 [C99-based standards] (*_t): Likewise.
20783 [C99-based-standards] (PRId8): Expect macro.
20784 [C99-based-standards] (PRIi8): Likewise.
20785 [C99-based-standards] (PRIo8): Likewise.
20786 [C99-based-standards] (PRIu8): Likewise.
20787 [C99-based-standards] (PRIx8): Likewise.
20788 [C99-based-standards] (PRIX8): Likewise.
20789 [C99-based-standards] (SCNd8): Likewise.
20790 [C99-based-standards] (SCNi8): Likewise.
20791 [C99-based-standards] (SCNo8): Likewise.
20792 [C99-based-standards] (SCNu8): Likewise.
20793 [C99-based-standards] (SCNx8): Likewise.
20794 [C99-based-standards] (PRIdLEAST8): Likewise.
20795 [C99-based-standards] (PRIiLEAST8): Likewise.
20796 [C99-based-standards] (PRIoLEAST8): Likewise.
20797 [C99-based-standards] (PRIuLEAST8): Likewise.
20798 [C99-based-standards] (PRIxLEAST8): Likewise.
20799 [C99-based-standards] (PRIXLEAST8): Likewise.
20800 [C99-based-standards] (SCNdLEAST8): Likewise.
20801 [C99-based-standards] (SCNiLEAST8): Likewise.
20802 [C99-based-standards] (SCNoLEAST8): Likewise.
20803 [C99-based-standards] (SCNuLEAST8): Likewise.
20804 [C99-based-standards] (SCNxLEAST8): Likewise.
20805 [C99-based-standards] (PRIdFAST8): Likewise.
20806 [C99-based-standards] (PRIiFAST8): Likewise.
20807 [C99-based-standards] (PRIoFAST8): Likewise.
20808 [C99-based-standards] (PRIuFAST8): Likewise.
20809 [C99-based-standards] (PRIxFAST8): Likewise.
20810 [C99-based-standards] (PRIXFAST8): Likewise.
20811 [C99-based-standards] (SCNdFAST8): Likewise.
20812 [C99-based-standards] (SCNiFAST8): Likewise.
20813 [C99-based-standards] (SCNoFAST8): Likewise.
20814 [C99-based-standards] (SCNuFAST8): Likewise.
20815 [C99-based-standards] (SCNxFAST8): Likewise.
20816 [C99-based-standards] (PRId16): Likewise.
20817 [C99-based-standards] (PRIi16): Likewise.
20818 [C99-based-standards] (PRIo16): Likewise.
20819 [C99-based-standards] (PRIu16): Likewise.
20820 [C99-based-standards] (PRIx16): Likewise.
20821 [C99-based-standards] (PRIX16): Likewise.
20822 [C99-based-standards] (SCNd16): Likewise.
20823 [C99-based-standards] (SCNi16): Likewise.
20824 [C99-based-standards] (SCNo16): Likewise.
20825 [C99-based-standards] (SCNu16): Likewise.
20826 [C99-based-standards] (SCNx16): Likewise.
20827 [C99-based-standards] (PRIdLEAST16): Likewise.
20828 [C99-based-standards] (PRIiLEAST16): Likewise.
20829 [C99-based-standards] (PRIoLEAST16): Likewise.
20830 [C99-based-standards] (PRIuLEAST16): Likewise.
20831 [C99-based-standards] (PRIxLEAST16): Likewise.
20832 [C99-based-standards] (PRIXLEAST16): Likewise.
20833 [C99-based-standards] (SCNdLEAST16): Likewise.
20834 [C99-based-standards] (SCNiLEAST16): Likewise.
20835 [C99-based-standards] (SCNoLEAST16): Likewise.
20836 [C99-based-standards] (SCNuLEAST16): Likewise.
20837 [C99-based-standards] (SCNxLEAST16): Likewise.
20838 [C99-based-standards] (PRIdFAST16): Likewise.
20839 [C99-based-standards] (PRIiFAST16): Likewise.
20840 [C99-based-standards] (PRIoFAST16): Likewise.
20841 [C99-based-standards] (PRIuFAST16): Likewise.
20842 [C99-based-standards] (PRIxFAST16): Likewise.
20843 [C99-based-standards] (PRIXFAST16): Likewise.
20844 [C99-based-standards] (SCNdFAST16): Likewise.
20845 [C99-based-standards] (SCNiFAST16): Likewise.
20846 [C99-based-standards] (SCNoFAST16): Likewise.
20847 [C99-based-standards] (SCNuFAST16): Likewise.
20848 [C99-based-standards] (SCNxFAST16): Likewise.
20849 [C99-based-standards] (PRId32): Likewise.
20850 [C99-based-standards] (PRIi32): Likewise.
20851 [C99-based-standards] (PRIo32): Likewise.
20852 [C99-based-standards] (PRIu32): Likewise.
20853 [C99-based-standards] (PRIx32): Likewise.
20854 [C99-based-standards] (PRIX32): Likewise.
20855 [C99-based-standards] (SCNd32): Likewise.
20856 [C99-based-standards] (SCNi32): Likewise.
20857 [C99-based-standards] (SCNo32): Likewise.
20858 [C99-based-standards] (SCNu32): Likewise.
20859 [C99-based-standards] (SCNx32): Likewise.
20860 [C99-based-standards] (PRIdLEAST32): Likewise.
20861 [C99-based-standards] (PRIiLEAST32): Likewise.
20862 [C99-based-standards] (PRIoLEAST32): Likewise.
20863 [C99-based-standards] (PRIuLEAST32): Likewise.
20864 [C99-based-standards] (PRIxLEAST32): Likewise.
20865 [C99-based-standards] (PRIXLEAST32): Likewise.
20866 [C99-based-standards] (SCNdLEAST32): Likewise.
20867 [C99-based-standards] (SCNiLEAST32): Likewise.
20868 [C99-based-standards] (SCNoLEAST32): Likewise.
20869 [C99-based-standards] (SCNuLEAST32): Likewise.
20870 [C99-based-standards] (SCNxLEAST32): Likewise.
20871 [C99-based-standards] (PRIdFAST32): Likewise.
20872 [C99-based-standards] (PRIiFAST32): Likewise.
20873 [C99-based-standards] (PRIoFAST32): Likewise.
20874 [C99-based-standards] (PRIuFAST32): Likewise.
20875 [C99-based-standards] (PRIxFAST32): Likewise.
20876 [C99-based-standards] (PRIXFAST32): Likewise.
20877 [C99-based-standards] (SCNdFAST32): Likewise.
20878 [C99-based-standards] (SCNiFAST32): Likewise.
20879 [C99-based-standards] (SCNoFAST32): Likewise.
20880 [C99-based-standards] (SCNuFAST32): Likewise.
20881 [C99-based-standards] (SCNxFAST32): Likewise.
20882 [C99-based-standards] (PRId64): Likewise.
20883 [C99-based-standards] (PRIi64): Likewise.
20884 [C99-based-standards] (PRIo64): Likewise.
20885 [C99-based-standards] (PRIu64): Likewise.
20886 [C99-based-standards] (PRIx64): Likewise.
20887 [C99-based-standards] (PRIX64): Likewise.
20888 [C99-based-standards] (SCNd64): Likewise.
20889 [C99-based-standards] (SCNi64): Likewise.
20890 [C99-based-standards] (SCNo64): Likewise.
20891 [C99-based-standards] (SCNu64): Likewise.
20892 [C99-based-standards] (SCNx64): Likewise.
20893 [C99-based-standards] (PRIdLEAST64): Likewise.
20894 [C99-based-standards] (PRIiLEAST64): Likewise.
20895 [C99-based-standards] (PRIoLEAST64): Likewise.
20896 [C99-based-standards] (PRIuLEAST64): Likewise.
20897 [C99-based-standards] (PRIxLEAST64): Likewise.
20898 [C99-based-standards] (PRIXLEAST64): Likewise.
20899 [C99-based-standards] (SCNdLEAST64): Likewise.
20900 [C99-based-standards] (SCNiLEAST64): Likewise.
20901 [C99-based-standards] (SCNoLEAST64): Likewise.
20902 [C99-based-standards] (SCNuLEAST64): Likewise.
20903 [C99-based-standards] (SCNxLEAST64): Likewise.
20904 [C99-based-standards] (PRIdFAST64): Likewise.
20905 [C99-based-standards] (PRIiFAST64): Likewise.
20906 [C99-based-standards] (PRIoFAST64): Likewise.
20907 [C99-based-standards] (PRIuFAST64): Likewise.
20908 [C99-based-standards] (PRIxFAST64): Likewise.
20909 [C99-based-standards] (PRIXFAST64): Likewise.
20910 [C99-based-standards] (SCNdFAST64): Likewise.
20911 [C99-based-standards] (SCNiFAST64): Likewise.
20912 [C99-based-standards] (SCNoFAST64): Likewise.
20913 [C99-based-standards] (SCNuFAST64): Likewise.
20914 [C99-based-standards] (SCNxFAST64): Likewise.
20915 [C99-based-standards] (PRIdMAX): Likewise.
20916 [C99-based-standards] (PRIiMAX): Likewise.
20917 [C99-based-standards] (PRIoMAX): Likewise.
20918 [C99-based-standards] (PRIuMAX): Likewise.
20919 [C99-based-standards] (PRIxMAX): Likewise.
20920 [C99-based-standards] (PRIXMAX): Likewise.
20921 [C99-based-standards] (SCNdMAX): Likewise.
20922 [C99-based-standards] (SCNiMAX): Likewise.
20923 [C99-based-standards] (SCNoMAX): Likewise.
20924 [C99-based-standards] (SCNuMAX): Likewise.
20925 [C99-based-standards] (SCNxMAX): Likewise.
20926 [C99-based-standards] (PRIdPTR): Likewise.
20927 [C99-based-standards] (PRIiPTR): Likewise.
20928 [C99-based-standards] (PRIoPTR): Likewise.
20929 [C99-based-standards] (PRIuPTR): Likewise.
20930 [C99-based-standards] (PRIxPTR): Likewise.
20931 [C99-based-standards] (PRIXPTR): Likewise.
20932 [C99-based-standards] (SCNdPTR): Likewise.
20933 [C99-based-standards] (SCNiPTR): Likewise.
20934 [C99-based-standards] (SCNoPTR): Likewise.
20935 [C99-based-standards] (SCNuPTR): Likewise.
20936 [C99-based-standards] (SCNxPTR): Likewise.
20937 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20939 * conform/data/stdint.h-data: Update comments to clarify
20941 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20943 [C99-based standards] (INT8_MAX): Likewise.
20944 [C99-based standards] (INT16_MIN): Likewise.
20945 [C99-based standards] (INT16_MAX): Likewise.
20946 [C99-based standards] (INT32_MIN): Likewise.
20947 [C99-based standards] (INT32_MAX): Likewise.
20948 [C99-based standards] (INT64_MIN): Likewise.
20949 [C99-based standards] (INT64_MAX): Likewise.
20950 [C99-based standards] (UINT8_MAX): Likewise.
20951 [C99-based standards] (UINT16_MAX): Likewise.
20952 [C99-based standards] (UINT32_MAX): Likewise.
20953 [C99-based standards] (UINT64_MAX): Likewise.
20954 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20955 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20956 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20957 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20958 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20959 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20960 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20961 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20962 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20963 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20964 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20965 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20966 [C99-based standards] (INT_FAST8_MIN): Likewise.
20967 [C99-based standards] (INT_FAST8_MAX): Likewise.
20968 [C99-based standards] (INT_FAST16_MIN): Likewise.
20969 [C99-based standards] (INT_FAST16_MAX): Likewise.
20970 [C99-based standards] (INT_FAST32_MIN): Likewise.
20971 [C99-based standards] (INT_FAST32_MAX): Likewise.
20972 [C99-based standards] (INT_FAST64_MIN): Likewise.
20973 [C99-based standards] (INT_FAST64_MAX): Likewise.
20974 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20975 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20976 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20977 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20978 [C99-based standards] (INTPTR_MIN): Likewise.
20979 [C99-based standards] (INTPTR_MAX): Likewise.
20980 [C99-based standards] (UINTPTR_MAX): Likewise.
20981 [C99-based standards] (INTMAX_MIN): Likewise.
20982 [C99-based standards] (INTMAX_MAX): Likewise.
20983 [C99-based standards] (UINTMAX_MAX): Likewise.
20984 [C99-based standards] (PTRDIFF_MIN): Likewise.
20985 [C99-based standards] (PTRDIFF_MAX): Likewise.
20986 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20987 [C99-based standards] (SIZE_MAX): Likewise.
20988 [C99-based standards] (WCHAR_MAX): Likewise.
20989 [C99-based standards] (WINT_MAX): Likewise.
20990 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20991 constraint on value.
20992 [C99-based standards] (WCHAR_MIN): Likewise.
20993 [C99-based standards] (WINT_MIN): Likewise.
20994 [C99-based standards] (*_t): Allow.
20995 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20996 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20997 Include math.h-data and complex.h-data. Remove all expectations
20998 of math.h and complex.h contents.
20999 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21001 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21002 (struct tm): Expect tag.
21003 [C99-based-standards] (wcstof): Expect function.
21004 [C99-based-standards] (wcstold): Likewise.
21005 [C99-based-standards] (wcstoll): Likewise.
21006 [C99-based-standards] (wcstoull): Likewise.
21007 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21008 macro-int-constant. Specify type.
21009 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21010 constraint on value.
21011 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21013 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21015 [ISO C standards]: Do not allow headers.
21016 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21017 wcs[abcdefghijklmnopqrstuvwxyz]*.
21018 [ISO C standards] (*_t): Do not allow.
21019 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21021 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21022 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21024 [ISO C standards]: Do not allow headers.
21025 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21026 is[abcdefghijklmnopqrstuvwxyz]*.
21027 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21028 to[abcdefghijklmnopqrstuvwxyz]*.
21029 [ISO C standards] (*_t): Do not allow.
21030 * conform/data/stdalign.h-data: New file.
21031 * conform/data/stdbool.h-data: Likewise.
21032 * conform/data/stdnoreturn.h-data: Likewise.
21034 2012-11-07 Roland McGrath <roland@hack.frob.com>
21037 * manual/filesys.texi (Directory Entries): Typo fix.
21038 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21040 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21042 * elf/elf.h (EM_AARCH64): New macro.
21043 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21044 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21045 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21046 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21047 (R_AARCH64_TLSDESC): Likewise.
21048 (NT_ARM_TLS): Likewise.
21049 (NT_ARM_HW_BREAK): Likewise.
21050 (NT_ARM_HW_WATCH): Likewise.
21052 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21055 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21056 (__ieee754_powl): Saturate nonzero exponents with absolute value
21057 below 0x1p-79 to +/- 0x1p-79.
21058 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21059 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21060 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21061 nonzero exponents with absolute value below 0x1p-32 to +/-
21063 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21064 (__ieee754_powl): Saturate nonzero exponents with absolute value
21065 below 0x1p-79 to +/- 0x1p-79.
21066 * math/libm-test.inc (pow_test): Add more tests.
21068 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21070 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21071 _dl_s390_cap_flags with kernel. Increase string length.
21072 (_dl_s390_platforms): Add z196 and zEC12.
21074 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21076 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21077 Change XOPEN21K to XOPEN2K.
21079 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21081 * string/memmove.c: Use memcpy when possible.
21083 2012-11-06 Andreas Jaeger <aj@suse.de>
21085 * po/eo.po: Update from translation team.
21087 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21091 exponent and small x and y exponents, scale x or y up. Increase
21092 by 2 the exponent used in scaling up.
21093 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21094 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21095 * math/libm-test.inc (fma_test): Add more tests.
21096 (fma_test_towardzero): Likewise.
21097 (fma_test_downward): Likewise.
21098 (fma_test_upward): Likewise.
21100 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21103 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21107 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21108 namespace for names of struct fields.
21109 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21111 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21112 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21114 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21117 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21119 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21121 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21125 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21128 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21132 definitely overflow as x * y not x * y + z.
21133 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21134 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21135 * math/libm-test.inc (fma_test): Add more tests.
21136 (fma_test_towardzero): Likewise.
21137 (fma_test_downward): Likewise.
21138 (fma_test_upward): Likewise.
21140 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21144 * include/stub-tag.h: Remove file.
21145 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21147 * manual/maint.texi (Porting): Don't reference it.
21148 * Makerules ($(objpfx)stubs): Likewise.
21149 * dirent/closedir.c: Don't include <stub-tag.h>.
21150 * dirent/dirfd.c: Likewise.
21151 * dirent/fdopendir.c: Likewise.
21152 * dirent/getdents.c: Likewise.
21153 * dirent/getdents64.c: Likewise.
21154 * dirent/opendir.c: Likewise.
21155 * dirent/readdir.c: Likewise.
21156 * dirent/readdir64.c: Likewise.
21157 * dirent/readdir64_r.c: Likewise.
21158 * dirent/readdir_r.c: Likewise.
21159 * dirent/rewinddir.c: Likewise.
21160 * dirent/seekdir.c: Likewise.
21161 * dirent/telldir.c: Likewise.
21162 * gmon/profil.c: Likewise.
21163 * grp/setgroups.c: Likewise.
21164 * inet/if_index.c: Likewise.
21165 * io/access.c: Likewise.
21166 * io/chdir.c: Likewise.
21167 * io/chmod.c: Likewise.
21168 * io/chown.c: Likewise.
21169 * io/close.c: Likewise.
21170 * io/dup.c: Likewise.
21171 * io/dup2.c: Likewise.
21172 * io/dup3.c: Likewise.
21173 * io/euidaccess.c: Likewise.
21174 * io/faccessat.c: Likewise.
21175 * io/fchdir.c: Likewise.
21176 * io/fchmod.c: Likewise.
21177 * io/fchmodat.c: Likewise.
21178 * io/fchown.c: Likewise.
21179 * io/fchownat.c: Likewise.
21180 * io/fcntl.c: Likewise.
21181 * io/flock.c: Likewise.
21182 * io/fstatfs.c: Likewise.
21183 * io/fstatfs64.c: Likewise.
21184 * io/fstatvfs.c: Likewise.
21185 * io/fstatvfs64.c: Likewise.
21186 * io/futimens.c: Likewise.
21187 * io/fxstat.c: Likewise.
21188 * io/fxstat64.c: Likewise.
21189 * io/fxstatat.c: Likewise.
21190 * io/fxstatat64.c: Likewise.
21191 * io/getcwd.c: Likewise.
21192 * io/isatty.c: Likewise.
21193 * io/lchmod.c: Likewise.
21194 * io/lchown.c: Likewise.
21195 * io/link.c: Likewise.
21196 * io/linkat.c: Likewise.
21197 * io/lseek.c: Likewise.
21198 * io/lseek64.c: Likewise.
21199 * io/lxstat64.c: Likewise.
21200 * io/mkdir.c: Likewise.
21201 * io/mkdirat.c: Likewise.
21202 * io/mkfifo.c: Likewise.
21203 * io/mkfifoat.c: Likewise.
21204 * io/open.c: Likewise.
21205 * io/open64.c: Likewise.
21206 * io/openat.c: Likewise.
21207 * io/openat64.c: Likewise.
21208 * io/pipe.c: Likewise.
21209 * io/pipe2.c: Likewise.
21210 * io/poll.c: Likewise.
21211 * io/posix_fadvise.c: Likewise.
21212 * io/posix_fadvise64.c: Likewise.
21213 * io/posix_fallocate.c: Likewise.
21214 * io/posix_fallocate64.c: Likewise.
21215 * io/read.c: Likewise.
21216 * io/readlink.c: Likewise.
21217 * io/readlinkat.c: Likewise.
21218 * io/rmdir.c: Likewise.
21219 * io/sendfile.c: Likewise.
21220 * io/sendfile64.c: Likewise.
21221 * io/statfs.c: Likewise.
21222 * io/statfs64.c: Likewise.
21223 * io/statvfs.c: Likewise.
21224 * io/statvfs64.c: Likewise.
21225 * io/symlink.c: Likewise.
21226 * io/symlinkat.c: Likewise.
21227 * io/ttyname.c: Likewise.
21228 * io/ttyname_r.c: Likewise.
21229 * io/umask.c: Likewise.
21230 * io/unlink.c: Likewise.
21231 * io/unlinkat.c: Likewise.
21232 * io/utime.c: Likewise.
21233 * io/utimensat.c: Likewise.
21234 * io/write.c: Likewise.
21235 * io/xmknod.c: Likewise.
21236 * io/xmknodat.c: Likewise.
21237 * io/xstat.c: Likewise.
21238 * io/xstat64.c: Likewise.
21239 * login/getpt.c: Likewise.
21240 * login/grantpt.c: Likewise.
21241 * login/unlockpt.c: Likewise.
21242 * math/e_acoshl.c: Likewise.
21243 * math/e_acosl.c: Likewise.
21244 * math/e_asinl.c: Likewise.
21245 * math/e_atan2l.c: Likewise.
21246 * math/e_atanhl.c: Likewise.
21247 * math/e_coshl.c: Likewise.
21248 * math/e_expl.c: Likewise.
21249 * math/e_fmodl.c: Likewise.
21250 * math/e_gammal_r.c: Likewise.
21251 * math/e_hypotl.c: Likewise.
21252 * math/e_j0l.c: Likewise.
21253 * math/e_j1l.c: Likewise.
21254 * math/e_jnl.c: Likewise.
21255 * math/e_lgammal_r.c: Likewise.
21256 * math/e_log10l.c: Likewise.
21257 * math/e_log2l.c: Likewise.
21258 * math/e_logl.c: Likewise.
21259 * math/e_powl.c: Likewise.
21260 * math/e_rem_pio2l.c: Likewise.
21261 * math/e_sinhl.c: Likewise.
21262 * math/e_sqrtl.c: Likewise.
21263 * math/fclrexcpt.c: Likewise.
21264 * math/fedisblxcpt.c: Likewise.
21265 * math/feenablxcpt.c: Likewise.
21266 * math/fegetenv.c: Likewise.
21267 * math/fegetexcept.c: Likewise.
21268 * math/fegetround.c: Likewise.
21269 * math/feholdexcpt.c: Likewise.
21270 * math/fesetenv.c: Likewise.
21271 * math/fesetround.c: Likewise.
21272 * math/feupdateenv.c: Likewise.
21273 * math/fgetexcptflg.c: Likewise.
21274 * math/fraiseexcpt.c: Likewise.
21275 * math/fsetexcptflg.c: Likewise.
21276 * math/ftestexcept.c: Likewise.
21277 * math/k_cosl.c: Likewise.
21278 * math/k_rem_pio2l.c: Likewise.
21279 * math/k_sinl.c: Likewise.
21280 * math/k_tanl.c: Likewise.
21281 * math/s_asinhl.c: Likewise.
21282 * math/s_atanl.c: Likewise.
21283 * math/s_cbrtl.c: Likewise.
21284 * math/s_erfl.c: Likewise.
21285 * math/s_expm1l.c: Likewise.
21286 * math/s_log1pl.c: Likewise.
21287 * math/s_tanhl.c: Likewise.
21288 * misc/acct.c: Likewise.
21289 * misc/brk.c: Likewise.
21290 * misc/chflags.c: Likewise.
21291 * misc/chroot.c: Likewise.
21292 * misc/fchflags.c: Likewise.
21293 * misc/fgetxattr.c: Likewise.
21294 * misc/flistxattr.c: Likewise.
21295 * misc/fremovexattr.c: Likewise.
21296 * misc/fsetxattr.c: Likewise.
21297 * misc/fsync.c: Likewise.
21298 * misc/ftruncate.c: Likewise.
21299 * misc/futimes.c: Likewise.
21300 * misc/futimesat.c: Likewise.
21301 * misc/getdomain.c: Likewise.
21302 * misc/getdtsz.c: Likewise.
21303 * misc/gethostid.c: Likewise.
21304 * misc/gethostname.c: Likewise.
21305 * misc/getloadavg.c: Likewise.
21306 * misc/getpagesize.c: Likewise.
21307 * misc/getsysstats.c: Likewise.
21308 * misc/getxattr.c: Likewise.
21309 * misc/gtty.c: Likewise.
21310 * misc/ioctl.c: Likewise.
21311 * misc/lgetxattr.c: Likewise.
21312 * misc/listxattr.c: Likewise.
21313 * misc/llistxattr.c: Likewise.
21314 * misc/lremovexattr.c: Likewise.
21315 * misc/lsetxattr.c: Likewise.
21316 * misc/lutimes.c: Likewise.
21317 * misc/madvise.c: Likewise.
21318 * misc/mincore.c: Likewise.
21319 * misc/mlock.c: Likewise.
21320 * misc/mlockall.c: Likewise.
21321 * misc/mmap.c: Likewise.
21322 * misc/mprotect.c: Likewise.
21323 * misc/msync.c: Likewise.
21324 * misc/munlock.c: Likewise.
21325 * misc/munlockall.c: Likewise.
21326 * misc/munmap.c: Likewise.
21327 * misc/preadv.c: Likewise.
21328 * misc/preadv64.c: Likewise.
21329 * misc/ptrace.c: Likewise.
21330 * misc/pwritev.c: Likewise.
21331 * misc/pwritev64.c: Likewise.
21332 * misc/readv.c: Likewise.
21333 * misc/reboot.c: Likewise.
21334 * misc/remap_file_pages.c: Likewise.
21335 * misc/removexattr.c: Likewise.
21336 * misc/revoke.c: Likewise.
21337 * misc/select.c: Likewise.
21338 * misc/setdomain.c: Likewise.
21339 * misc/setegid.c: Likewise.
21340 * misc/seteuid.c: Likewise.
21341 * misc/sethostid.c: Likewise.
21342 * misc/sethostname.c: Likewise.
21343 * misc/setregid.c: Likewise.
21344 * misc/setreuid.c: Likewise.
21345 * misc/setxattr.c: Likewise.
21346 * misc/sstk.c: Likewise.
21347 * misc/stty.c: Likewise.
21348 * misc/swapoff.c: Likewise.
21349 * misc/swapon.c: Likewise.
21350 * misc/sync.c: Likewise.
21351 * misc/syncfs.c: Likewise.
21352 * misc/syscall.c: Likewise.
21353 * misc/truncate.c: Likewise.
21354 * misc/ualarm.c: Likewise.
21355 * misc/usleep.c: Likewise.
21356 * misc/ustat.c: Likewise.
21357 * misc/utimes.c: Likewise.
21358 * misc/vhangup.c: Likewise.
21359 * misc/writev.c: Likewise.
21360 * posix/_exit.c: Likewise.
21361 * posix/alarm.c: Likewise.
21362 * posix/execve.c: Likewise.
21363 * posix/fexecve.c: Likewise.
21364 * posix/fork.c: Likewise.
21365 * posix/fpathconf.c: Likewise.
21366 * posix/getaddrinfo.c: Likewise.
21367 * posix/getegid.c: Likewise.
21368 * posix/geteuid.c: Likewise.
21369 * posix/getgid.c: Likewise.
21370 * posix/getgroups.c: Likewise.
21371 * posix/getlogin.c: Likewise.
21372 * posix/getlogin_r.c: Likewise.
21373 * posix/getpgid.c: Likewise.
21374 * posix/getpid.c: Likewise.
21375 * posix/getppid.c: Likewise.
21376 * posix/getresgid.c: Likewise.
21377 * posix/getresuid.c: Likewise.
21378 * posix/getsid.c: Likewise.
21379 * posix/getuid.c: Likewise.
21380 * posix/glob64.c: Likewise.
21381 * posix/nanosleep.c: Likewise.
21382 * posix/pathconf.c: Likewise.
21383 * posix/pause.c: Likewise.
21384 * posix/posix_madvise.c: Likewise.
21385 * posix/pread.c: Likewise.
21386 * posix/pread64.c: Likewise.
21387 * posix/pwrite.c: Likewise.
21388 * posix/pwrite64.c: Likewise.
21389 * posix/sched_getaffinity.c: Likewise.
21390 * posix/sched_getp.c: Likewise.
21391 * posix/sched_gets.c: Likewise.
21392 * posix/sched_primax.c: Likewise.
21393 * posix/sched_primin.c: Likewise.
21394 * posix/sched_rr_gi.c: Likewise.
21395 * posix/sched_setaffinity.c: Likewise.
21396 * posix/sched_setp.c: Likewise.
21397 * posix/sched_sets.c: Likewise.
21398 * posix/sched_yield.c: Likewise.
21399 * posix/setgid.c: Likewise.
21400 * posix/setlogin.c: Likewise.
21401 * posix/setpgid.c: Likewise.
21402 * posix/setresgid.c: Likewise.
21403 * posix/setresuid.c: Likewise.
21404 * posix/setsid.c: Likewise.
21405 * posix/setuid.c: Likewise.
21406 * posix/sleep.c: Likewise.
21407 * posix/spawni.c: Likewise.
21408 * posix/sysconf.c: Likewise.
21409 * posix/times.c: Likewise.
21410 * posix/wait.c: Likewise.
21411 * posix/wait3.c: Likewise.
21412 * posix/wait4.c: Likewise.
21413 * posix/waitpid.c: Likewise.
21414 * resolv/gai_sigqueue.c: Likewise.
21415 * resource/getpriority.c: Likewise.
21416 * resource/getrlimit.c: Likewise.
21417 * resource/getrusage.c: Likewise.
21418 * resource/nice.c: Likewise.
21419 * resource/setpriority.c: Likewise.
21420 * resource/setrlimit.c: Likewise.
21421 * resource/ulimit.c: Likewise.
21422 * rt/aio_cancel.c: Likewise.
21423 * rt/aio_fsync.c: Likewise.
21424 * rt/aio_read.c: Likewise.
21425 * rt/aio_sigqueue.c: Likewise.
21426 * rt/aio_suspend.c: Likewise.
21427 * rt/aio_write.c: Likewise.
21428 * rt/clock_getres.c: Likewise.
21429 * rt/clock_gettime.c: Likewise.
21430 * rt/clock_nanosleep.c: Likewise.
21431 * rt/clock_settime.c: Likewise.
21432 * rt/lio_listio.c: Likewise.
21433 * rt/mq_close.c: Likewise.
21434 * rt/mq_getattr.c: Likewise.
21435 * rt/mq_notify.c: Likewise.
21436 * rt/mq_open.c: Likewise.
21437 * rt/mq_receive.c: Likewise.
21438 * rt/mq_send.c: Likewise.
21439 * rt/mq_setattr.c: Likewise.
21440 * rt/mq_timedreceive.c: Likewise.
21441 * rt/mq_timedsend.c: Likewise.
21442 * rt/mq_unlink.c: Likewise.
21443 * rt/shm_open.c: Likewise.
21444 * rt/shm_unlink.c: Likewise.
21445 * rt/timer_create.c: Likewise.
21446 * rt/timer_delete.c: Likewise.
21447 * rt/timer_getoverr.c: Likewise.
21448 * rt/timer_gettime.c: Likewise.
21449 * rt/timer_settime.c: Likewise.
21450 * setjmp/__longjmp.c: Likewise.
21451 * setjmp/setjmp.c: Likewise.
21452 * signal/kill.c: Likewise.
21453 * signal/killpg.c: Likewise.
21454 * signal/raise.c: Likewise.
21455 * signal/sigaction.c: Likewise.
21456 * signal/sigaltstack.c: Likewise.
21457 * signal/sigblock.c: Likewise.
21458 * signal/sigignore.c: Likewise.
21459 * signal/sigintr.c: Likewise.
21460 * signal/signal.c: Likewise.
21461 * signal/sigpause.c: Likewise.
21462 * signal/sigpending.c: Likewise.
21463 * signal/sigqueue.c: Likewise.
21464 * signal/sigreturn.c: Likewise.
21465 * signal/sigset.c: Likewise.
21466 * signal/sigsetmask.c: Likewise.
21467 * signal/sigstack.c: Likewise.
21468 * signal/sigsuspend.c: Likewise.
21469 * signal/sigtimedwait.c: Likewise.
21470 * signal/sigvec.c: Likewise.
21471 * signal/sigwait.c: Likewise.
21472 * signal/sigwaitinfo.c: Likewise.
21473 * signal/sysv_signal.c: Likewise.
21474 * socket/accept.c: Likewise.
21475 * socket/accept4.c: Likewise.
21476 * socket/bind.c: Likewise.
21477 * socket/connect.c: Likewise.
21478 * socket/getpeername.c: Likewise.
21479 * socket/getsockname.c: Likewise.
21480 * socket/getsockopt.c: Likewise.
21481 * socket/isfdtype.c: Likewise.
21482 * socket/listen.c: Likewise.
21483 * socket/recv.c: Likewise.
21484 * socket/recvfrom.c: Likewise.
21485 * socket/recvmsg.c: Likewise.
21486 * socket/send.c: Likewise.
21487 * socket/sendmsg.c: Likewise.
21488 * socket/sendto.c: Likewise.
21489 * socket/setsockopt.c: Likewise.
21490 * socket/shutdown.c: Likewise.
21491 * socket/sockatmark.c: Likewise.
21492 * socket/socket.c: Likewise.
21493 * socket/socketpair.c: Likewise.
21494 * stdio-common/ctermid.c: Likewise.
21495 * stdio-common/cuserid.c: Likewise.
21496 * stdio-common/remove.c: Likewise.
21497 * stdio-common/rename.c: Likewise.
21498 * stdio-common/renameat.c: Likewise.
21499 * stdio-common/tempname.c: Likewise.
21500 * stdlib/getcontext.c: Likewise.
21501 * stdlib/makecontext.c: Likewise.
21502 * stdlib/setcontext.c: Likewise.
21503 * stdlib/swapcontext.c: Likewise.
21504 * stdlib/system.c: Likewise.
21505 * streams/fattach.c: Likewise.
21506 * streams/fdetach.c: Likewise.
21507 * streams/getmsg.c: Likewise.
21508 * streams/getpmsg.c: Likewise.
21509 * streams/putmsg.c: Likewise.
21510 * streams/putpmsg.c: Likewise.
21511 * sysdeps/unix/bsd/getpt.c: Likewise.
21512 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21513 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21514 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21517 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21518 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21519 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21520 * sysvipc/msgctl.c: Likewise.
21521 * sysvipc/msgget.c: Likewise.
21522 * sysvipc/msgrcv.c: Likewise.
21523 * sysvipc/msgsnd.c: Likewise.
21524 * sysvipc/semctl.c: Likewise.
21525 * sysvipc/semget.c: Likewise.
21526 * sysvipc/semop.c: Likewise.
21527 * sysvipc/semtimedop.c: Likewise.
21528 * sysvipc/shmat.c: Likewise.
21529 * sysvipc/shmctl.c: Likewise.
21530 * sysvipc/shmdt.c: Likewise.
21531 * sysvipc/shmget.c: Likewise.
21532 * termios/tcdrain.c: Likewise.
21533 * termios/tcflow.c: Likewise.
21534 * termios/tcflush.c: Likewise.
21535 * termios/tcgetattr.c: Likewise.
21536 * termios/tcgetpgrp.c: Likewise.
21537 * termios/tcsendbrk.c: Likewise.
21538 * termios/tcsetattr.c: Likewise.
21539 * termios/tcsetpgrp.c: Likewise.
21540 * time/adjtime.c: Likewise.
21541 * time/clock.c: Likewise.
21542 * time/getitimer.c: Likewise.
21543 * time/gettimeofday.c: Likewise.
21544 * time/setitimer.c: Likewise.
21545 * time/settimeofday.c: Likewise.
21546 * time/stime.c: Likewise.
21547 * time/time.c: Likewise.
21549 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
21551 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21554 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21556 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21558 2012-11-03 Joseph Myers <joseph@codesourcery.com>
21561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21562 FE_TONEAREST before applying Dekker multiplication and Knuth
21563 addition. Clear inexact exceptions and check for exact zero
21564 results afterwards.
21565 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21566 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21567 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21568 * math/libm-test.inc (fma_test): Add more tests.
21569 (fma_test_towardzero): Likewise.
21570 (fma_test_downward): Likewise.
21571 (fma_test_upward): Likewise.
21572 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21574 (libc_fesetround): New macro.
21575 (libc_fesetroundf): Likewise.
21576 (libc_fesetroundl): Likewise.
21577 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21579 (libc_fesetround_387): Likewise.
21580 (libc_fesetroundf): New macro.
21581 (libc_fesetround): Likewise.
21582 (libc_fesetroundl): Likewise.
21583 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21585 (libc_fesetroundf): New macro.
21586 (libc_fesetround): Likewise.
21587 (libc_fesetroundl): Likewise.
21588 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21589 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21590 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21592 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21593 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21595 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21596 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21598 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21602 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21603 integer constant usable in #if and use that to give value to enum
21605 (FE_DIVBYZERO): Likewise.
21606 (FE_UNDERFLOW): Likewise.
21607 (FE_OVERFLOW): Likewise.
21608 (FE_INVALID): Likewise.
21609 (FE_INVALID_SNAN): Likewise.
21610 (FE_INVALID_ISI): Likewise.
21611 (FE_INVALID_IDI): Likewise.
21612 (FE_INVALID_ZDZ): Likewise.
21613 (FE_INVALID_IMZ): Likewise.
21614 (FE_INVALID_COMPARE): Likewise.
21615 (FE_INVALID_SOFTWARE): Likewise.
21616 (FE_INVALID_SQRT): Likewise.
21617 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21618 (FE_TONEAREST): Likewise.
21619 (FE_TOWARDZERO): Likewise.
21620 (FE_UPWARD): Likewise.
21621 (FE_DOWNWARD): Likewise.
21622 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21623 (FE_DIVBYZERO): Likewise.
21624 (FE_OVERFLOW): Likewise.
21625 (FE_UNDERFLOW): Likewise.
21626 (FE_INEXACT): Likewise.
21627 (FE_TONEAREST): Likewise.
21628 (FE_DOWNWARD): Likewise.
21629 (FE_UPWARD): Likewise.
21630 (FE_TOWARDZERO): Likewise.
21631 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21632 (FE_UNDERFLOW): Likewise.
21633 (FE_OVERFLOW): Likewise.
21634 (FE_DIVBYZERO): Likewise.
21635 (FE_INVALID): Likewise.
21636 (FE_TONEAREST): Likewise.
21637 (FE_TOWARDZERO): Likewise.
21638 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21639 (FE_OVERFLOW): Likewise.
21640 (FE_UNDERFLOW): Likewise.
21641 (FE_DIVBYZERO): Likewise.
21642 (FE_INEXACT): Likewise.
21643 (FE_TONEAREST): Likewise.
21644 (FE_TOWARDZERO): Likewise.
21645 (FE_UPWARD): Likewise.
21646 (FE_DOWNWARD): Likewise.
21647 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21648 (FE_DIVBYZERO): Likewise.
21649 (FE_OVERFLOW): Likewise.
21650 (FE_UNDERFLOW): Likewise.
21651 (FE_INEXACT): Likewise.
21652 (FE_TONEAREST): Likewise.
21653 (FE_DOWNWARD): Likewise.
21654 (FE_UPWARD): Likewise.
21655 (FE_TOWARDZERO): Likewise.
21657 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21659 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21661 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21663 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21664 commands. Quote $PWD.
21665 (blacklist_exports): Don't use remove_newlines. Replace "declare
21667 (remove_newlines): Remove.
21669 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21671 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21672 * stdlib/stdlib.h (atof): Moved to ...
21673 * include/bits/stdlib-float.h: Here. New file.
21674 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21675 * stdlib/bits/stdlib-float.h: New file.
21676 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21678 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21681 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21683 * conform/conformtest.pl (@headers): Add fenv.h.
21684 * conform/data/fenv.h-data: New file.
21685 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21686 include of <math/fenv.h>.
21688 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21689 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21690 && !UNIX98]. Enables tests for XOPEN2K8.
21691 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21692 POSIX2008]: Likewise.
21694 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21695 (struct rusage): Do not expect type or its members.
21698 * math/math.h (FP_NAN): Define macro to integer constant usable in
21699 #if and use that to give value to enum constant.
21700 (FP_INFINITE): Likewise.
21701 (FP_ZERO): Likewise.
21702 (FP_SUBNORMAL): Likewise.
21703 (FP_NORMAL): Likewise.
21705 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21707 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21708 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21711 2012-11-02 Roland McGrath <roland@hack.frob.com>
21713 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21714 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21715 autoconf-time if not.
21716 * configure.in: Remove AC_PREREQ.
21718 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21720 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21721 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21722 of the internal implementation.
21724 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21726 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21727 except include of <misc/sys/syslog.h>.
21729 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21732 function returns with a NULL context exit with zero.
21734 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21736 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21738 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21740 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21741 (run_program_cmd): This.
21742 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21743 (tst_langinfo): New variable. Use it.
21745 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21747 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21748 floating point opcodes.
21750 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21752 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21755 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21757 * sysdeps/mach/hurd/powerpc: Remove directory.
21758 * sysdeps/mach/powerpc: Likewise.
21760 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21762 * scripts/check-local-headers.sh: Ignore c++ headers.
21764 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21766 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21767 __libc_cleanup_region_start argument.
21769 2012-11-01 Joseph Myers <joseph@codesourcery.com>
21773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21774 x * y using scaling, not as x * y + z.
21775 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21776 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21777 * math/libm-test.inc (fma_test): Add more tests.
21778 (fma_test_towardzero): Likewise.
21779 (fma_test_downward): Likewise.
21780 (fma_test_upward): Likewise.
21782 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21784 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21786 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21788 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21791 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21793 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21795 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21802 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21805 Fix the order of the list for glibc 2.17.
21806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21809 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21813 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21816 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21817 for low part of x being zero before using __atanl (y).
21818 * math/libm-test.inc (atan2_test): Add another test.
21820 * manual/install.texi (Configuring and compiling): Document
21821 general use of test-wrapper and test-wrapper-env.
21822 * INSTALL: Regenerated.
21824 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21825 (__fma): Do not extract and scale down low bits on after-rounding
21826 systems when result rounded to normal precision would have normal
21828 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21829 (__fmal): Do not extract and scale down low bits on after-rounding
21830 systems when result rounded to normal precision would have normal
21832 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21833 (__fmal): Do not extract and scale down low bits on after-rounding
21834 systems when result rounded to normal precision would have normal
21836 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21838 (fma_test): Add more tests.
21839 (fma_test_towardzero): Likewise.
21840 (fma_test_downward): Likewise.
21841 (fma_test_upward): Likewise.
21843 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21845 * sysdeps/i386/tininess.h: Renamed to ...
21846 * sysdeps/x86/tininess.h: This.
21847 * sysdeps/x86_64/tininess.h: Removed.
21849 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21851 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21852 input. Use $(build-program-cmd).
21853 ($(objpfx)tst-array1-static.out): Likewise.
21854 ($(objpfx)tst-array2.out): Likewise.
21855 ($(objpfx)tst-array3.out): Likewise.
21856 ($(objpfx)tst-array4.out): Likewise.
21857 ($(objpfx)tst-array5.out): Likewise.
21858 ($(objpfx)tst-array5-static.out): Likewise.
21860 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21862 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21865 * nss/nsswitch.h (nss_interface_function): Provide new
21866 macro for use with NSS functions.
21867 * grp/initgroups.c: Use new macro.
21868 * nss/getXXbyYY.c: Likewise.
21869 * nss/getXXbyYY_r.c: Likewise.
21870 * nss/getXXent.c: Likewise.
21871 * nss/getXXent_r.c: Likewise.
21872 * sysdeps/posix/getaddrinfo.c: Likewise.
21874 2012-10-30 Andreas Jaeger <aj@suse.de>
21876 * po/ru.po: Update Russion translation from translation project.
21878 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21883 result and shift together with sticky bit instead of replicating
21884 round-to-nearest rounding.
21885 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21886 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21887 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21888 missing underflow exceptions.
21889 (fma_test_towardzero): Add more tests.
21890 (fma_test_downward): Likewise.
21891 (fma_test_upward): Likewise.
21894 * sysdeps/generic/tininess.h: New file.
21895 * sysdeps/i386/tininess.h: Likewise.
21896 * sysdeps/sh/tininess.h: Likewise.
21897 * sysdeps/x86_64/tininess.h: Likewise.
21898 * stdlib/tst-strtod-underflow.c: Likewise.
21899 * stdlib/tst-tininess.c: Likewise.
21900 * stdlib/strtod_l.c: Include <tininess.h>.
21901 (round_and_return): Do not set errno for exact underflow cases.
21902 Force an underflow exception when setting errno for underflow.
21903 Determine underflow based on rounding to normal precision if
21904 TININESS_AFTER_ROUNDING.
21905 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21906 ERANGE for exact underflow cases.
21907 * stdlib/Makefile (tests): Add tst-tininess and
21908 tst-strtod-underflow.
21909 ($(objpfx)tst-tininess): Use $(link-libm).
21910 ($(objpfx)tst-strtod-underflow): Likewise.
21912 2012-10-30 Andreas Jaeger <aj@suse.de>
21915 * elf/Makefile (tests): Remove conditional for have-initfini-array
21916 since this is now always required and the variable does not exist
21918 (tests-static): Likewise.
21919 (modules-names): Likewise.
21921 * po/eo.po: Add Esperanto translation from translation project.
21923 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21924 merged with constructor/destructor.
21925 (init_array): Likewise.
21926 * elf/tst-array2dep.c (fini_array): Likewise.
21927 (init_array): Likewise.
21929 2012-10-29 Mike Frysinger <vapier@gentoo.org>
21931 * manual/message.texi: Delete @cartouche tags.
21933 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21935 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21937 * sysdeps/mach/hurd/fsync.c: Likewise.
21939 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21940 [_POSIX_REALTIME_SIGNALS]: Change condition to
21941 [_POSIX_REALTIME_SIGNALS > 0].
21943 2012-10-27 Andreas Jaeger <aj@suse.de>
21945 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21946 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21947 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21948 [__WORDSIZE != 64]: Likewise.
21950 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21952 * iconvdata/tst-table.sh: Remove ${SHELL}.
21953 * iconvdata/tst-tables.sh: Likewise.
21955 2012-10-25 David S. Miller <davem@davemloft.net>
21957 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21958 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21961 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21963 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21964 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21965 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21968 2012-10-25 Roland McGrath <roland@hack.frob.com>
21970 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21971 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21974 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21975 Jim Blandy <jimb@codesourcery.com>
21977 * scripts/cross-test-ssh.sh: New file.
21978 * manual/install.texi (Configuring and compiling): Document use of
21980 * INSTALL: Regenerated.
21982 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21984 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21987 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21989 * Makeconfig (run-program-prefix): Fix comment.
21991 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21992 Jim Blandy <jimb@codesourcery.com>
21994 * Makeconfig (test-wrapper): New variable,
21995 (test-wrapper-env): Likewise.
21996 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21997 (run-built-tests): Define to yes.
21998 (run-program-prefix): Use $(test-wrapper).
21999 (built-program-cmd): Likewise.
22000 * Rules (make-test-out): Use $(test-wrapper-env) and
22001 $(host-built-program-cmd).
22002 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22003 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22005 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22006 $(test-wrapper-env) to tst-rtld-load-self.sh.
22007 ($(objpfx)order2.out): Use $(test-wrapper).
22008 ($(objpfx)tst-initorder.out): Likewise.
22009 ($(objpfx)tst-initorder2.out): Likewise.
22010 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22011 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22012 (test_wrapper_env): New variable. Use it to run ld.so.
22013 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22014 Use it to run ld.so.
22015 (test_wrapper_env): Likewise.
22016 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22017 $(test-wrapper) to run-iconv-test.sh.
22018 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22019 (ICONV): Use $test_wrapper.
22020 * posix/Makefile ($(objpfx)globtest.out): Pass
22021 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22022 globtest.sh, not $(run-program-prefix).
22023 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22024 (test_wrapper): Likewise.
22025 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22026 set together with run_via_rtld_prefix.
22027 (run_program_prefix): Define in terms of test_wrapper and
22028 run_via_rtld_prefix.
22030 2012-10-24 Roland McGrath <roland@hack.frob.com>
22032 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22033 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22037 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22038 Declare __clock_getres, __clock_gettime, __clock_settime,
22039 __clock_nanosleep, and __clock_getcpuclockid.
22040 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22041 Remove librt_hidden_def (clock_gettime).
22042 * sysdeps/unix/clock_gettime.c: Likewise.
22043 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22044 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22045 * rt/clock_getres.c: Define __clock_getres as an alias.
22046 * sysdeps/posix/clock_getres.c: Likewise.
22047 * rt/clock_settime.c: Define __clock_settime as an alias.
22048 * sysdeps/unix/clock_settime.c: Likewise.
22049 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22050 * sysdeps/unix/clock_nanosleep.c: Likewise.
22051 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22052 * rt/clock-compat.c: New file.
22053 * rt/Makefile (librt-routines): Add clock-compat and move
22054 $(clock-routines) to ...
22055 (routines): ... here, new variable.
22056 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22057 Don't add get_clockfreq here.
22058 * rt/Versions (libc: GLIBC_2.17): New version set.
22059 Add clock_* symbols here.
22060 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22061 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22062 (GLIBC_2.17): Add clock_* symbols.
22063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22065 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22074 * NEWS: Mention the move.
22076 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22077 Use __open, __read, __close rather than their public counterparts.
22078 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22079 (__get_clockfreq_via_cpuinfo): Likewise.
22080 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22081 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22083 * config.h.in (HAVE_IFUNC): New #undef.
22084 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22086 * configure: Regenerated.
22088 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22090 * configure.in: Move READELF check to start of file.
22091 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22092 libc_cv_asm_gnu_indirect_function in the process.
22093 * configure: Regenerated.
22095 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22097 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22098 send the output to /dev/null.
22099 (libc_cv_cc_with_libunwind): Likewise.
22100 (libc_cv_as_noexecstack): Likewise.
22101 * configure: Regenerate.
22103 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22105 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22107 * posix/globtest.sh (TMPDIR): Do not set.
22108 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22109 (testout): Likewise.
22111 2012-10-24 Andreas Jaeger <aj@suse.de>
22113 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22114 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22115 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22116 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22117 posix_fadvise64, posix_fallocate64.
22119 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22120 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22121 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22123 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22125 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22127 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22128 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22129 <bits/fcntl-linux.h>.
22130 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22132 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22133 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22134 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22135 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22136 [__WORDSIZE != 64]: Likewise.
22138 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22140 * Makeconfig (run-built-tests): New variable.
22141 * Rules [$(cross-compiling) = yes]: Change condition to
22142 [$(run-built-tests) = no].
22143 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22144 to [$(run-built-tests) = yes].
22145 * elf/Makefile [$(cross-compiling) = no]: Likewise
22146 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22147 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22148 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22149 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22150 * io/Makefile [$(cross-compiling) = no]: Likewise.
22151 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22152 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22153 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22154 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22155 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22156 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22157 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22158 * string/Makefile [$(cross-compiling) = no]: Likewise.
22160 * posix/Makefile ($(objpfx)globtest.out): Pass
22161 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22162 $(rtld-installed-name).
22163 * posix/globtest.sh (elf_objpfx): Remove variable.
22164 (rtld_installed_name): Likewise.
22165 (library_path): Likewise.
22166 (run_program_prefix): New variable. Use for running globtest
22169 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22170 Joseph Myers <joseph@codesourcery.com>
22172 * Makeconfig (host-built-program-cmd): New variable.
22173 * elf/Makefile (tst-stackguard1-ARGS): Use
22174 $(host-built-program-cmd).
22175 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22176 (tst-spawn-ARGS): Likewise.
22177 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22179 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22180 Jim Blandy <jimb@codesourcery.com>
22182 * Makeconfig (run-via-rtld-prefix): New variable.
22183 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22184 (built-program-cmd): Likewise.
22186 2012-10-22 Andreas Jaeger <aj@suse.de>
22188 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22189 __O_RSYNC if it exists, otherwise to O_SYNC.
22191 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22192 Joseph Myers <joseph@codesourcery.com>
22194 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22196 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22198 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22201 2012-10-22 Andreas Jaeger <aj@suse.de>
22203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22205 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22207 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22208 bits/fcntl-linux.h.
22210 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22211 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22218 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22219 Joseph Myers <joseph@codesourcery.com>
22221 * config.make.in (NM): New variable.
22223 2012-10-21 Andreas Jaeger <aj@suse.de>
22225 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22226 definitions and declarations that are provided by
22227 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22229 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22232 * elf/Makefile (tests-static): Add tst-leaks1-static.
22233 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22234 ($(objpfx)tst-leaks1-static): New rule.
22235 ($(objpfx)tst-leaks1-static-mem): Likewise.
22236 (tst-leaks1-static-ENV): New macro.
22237 * elf/dl-open.c (dl_open_worker): Check the main application
22238 only if SHARED is defined.
22239 * elf/tst-leaks1-static.c: New file.
22241 2012-10-20 Andreas Jaeger <aj@suse.de>
22243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22244 generic values for Linux.
22245 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22246 and declarations that are provided by <bits/fcntl-linux.h> and
22247 include <bits/fcntl-linux.h>.
22248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22251 2012-10-20 Roland McGrath <roland@hack.frob.com>
22253 * io/fcntl.h: Move include of <bits/types.h> to the top and
22254 include it unconditionally.
22256 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22258 * wcsmbs/Makefile (tests-ifunc): New variable.
22259 (tests): Add $(tests-ifunc).
22260 * wcsmbs/test-wcschr-ifunc.c: New file.
22261 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22262 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22263 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22264 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22265 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22267 * string/Makefile (tests-ifunc): New variable.
22268 (tests): Add $(tests-ifunc).
22269 * string/test-memccpy.c (TEST_NAME): New macro.
22270 * string/test-memchr.c (TEST_NAME): Likewise.
22271 * string/test-memcmp.c (TEST_NAME): Likewise.
22272 * string/test-memcpy.c (TEST_NAME): Likewise.
22273 * string/test-memmem.c (TEST_NAME): Likewise.
22274 * string/test-memmove.c (TEST_NAME): Likewise.
22275 * string/test-memset.c (TEST_NAME): Likewise.
22276 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22277 * string/test-stpcpy.c (TEST_NAME): Likewise.
22278 * string/test-stpncpy.c (TEST_NAME): Likewise.
22279 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22280 * string/test-strcasestr.c (TEST_NAME): Likewise.
22281 * string/test-strcat.c (TEST_NAME): Likewise.
22282 * string/test-strchr.c (TEST_NAME): Likewise.
22283 * string/test-strcmp.c(TEST_NAME): Likewise.
22284 * string/test-strcpy.c (TEST_NAME): Likewise.
22285 * string/test-strcspn.c (TEST_NAME): Likewise.
22286 * string/test-strlen.c (TEST_NAME): Likewise.
22287 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22288 * string/test-strncmp.c (TEST_NAME): Likewise.
22289 * string/test-strncpy.c (TEST_NAME): Likewise.
22290 * string/test-strnlen.c (TEST_NAME): Likewise.
22291 * string/test-strpbrk.c (TEST_NAME): Likewise.
22292 * string/test-strrchr.c (TEST_NAME): Likewise.
22293 * string/test-strspn.c (TEST_NAME): Likewise.
22294 * string/test-strstr.c (TEST_NAME): Likewise.
22295 * string/test-bcopy-ifunc.c: New file.
22296 * string/test-bzero-ifunc.c: Likewise.
22297 * string/test-memccpy-ifunc.c: Likewise.
22298 * string/test-memchr-ifunc.c: Likewise.
22299 * string/test-memcmp-ifunc.c: Likewise.
22300 * string/test-memcpy-ifunc.c: Likewise.
22301 * string/test-memmem-ifunc.c: Likewise.
22302 * string/test-memmove-ifunc.c: Likewise.
22303 * string/test-mempcpy-ifunc.c: Likewise.
22304 * string/test-memset-ifunc.c: Likewise.
22305 * string/test-rawmemchr-ifunc.c: Likewise.
22306 * string/test-stpcpy-ifunc.c: Likewise.
22307 * string/test-stpncpy-ifunc.c: Likewise.
22308 * string/test-strcasecmp-ifunc.c: Likewise.
22309 * string/test-strcasestr-ifunc.c: Likewise.
22310 * string/test-strcat-ifunc.c: Likewise.
22311 * string/test-strchr-ifunc.c: Likewise.
22312 * string/test-strchrnul-ifunc.c: Likewise.
22313 * string/test-strcmp-ifunc.c: Likewise.
22314 * string/test-strcpy-ifunc.c: Likewise.
22315 * string/test-strcspn-ifunc.c: Likewise.
22316 * string/test-strlen-ifunc.c: Likewise.
22317 * string/test-strncasecmp-ifunc.c: Likewise.
22318 * string/test-strncat-ifunc.c: Likewise.
22319 * string/test-strncmp-ifunc.c: Likewise.
22320 * string/test-strncpy-ifunc.c: Likewise.
22321 * string/test-strnlen-ifunc.c: Likewise.
22322 * string/test-strpbrk-ifunc.c: Likewise.
22323 * string/test-strrchr-ifunc.c: Likewise.
22324 * string/test-strspn-ifunc.c: Likewise.
22325 * string/test-strstr-ifunc.c: Likewise.
22327 * debug/Makefile (tests-ifunc): New variable.
22328 (tests): Add $(tests-ifunc).
22329 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22330 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22331 * debug/test-stpcpy_chk-ifunc.c: New file.
22332 * debug/test-strcpy_chk-ifunc.c: Likewise.
22334 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22337 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22338 header is not read in.
22340 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22342 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22343 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22344 directly. Pass built executable to script as
22345 $(built-program-cmd).
22346 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22347 $testprogram without using LD_LIBRARY_PATH and $ldso.
22349 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22350 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22351 $(rtld-installed-name).
22352 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22353 (rtld_installed_name): Likewise.
22354 (library_path): Likewise.
22355 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22356 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22357 $(run-program-prefix) to tst-tables.sh.
22358 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22359 it to run tst-table-from and tst-table-to.
22360 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22361 Pass it to tst-table.sh.
22362 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22363 $(run-program-prefix) to tst-gettext.sh.
22364 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22366 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22368 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22369 to run tst-gettext.
22370 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22371 to run tst-gettext2.
22372 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22373 to run tst-translit.
22374 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22375 $(run-program-prefix) to tst-mtrace.sh.
22376 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22378 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22379 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22380 $(rtld-installed-name).
22381 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22382 (rtld_installed_name): Likewise.
22383 (run_program_prefix): New variable. Use it to run wordexp-test.
22385 * Makeconfig (ARCH): Remove all definitions.
22386 (machine): Likewise.
22387 [ARCH]: Remove conditional code.
22388 [!objdir]: Give error.
22389 [!objdir] (objpfx): Remove.
22390 [!objdir] (common-objpfx): Likewise.
22391 [!objdir] (common-objdir): Likewise.
22392 * configure.in (config_makefile): Remove. Hardcode Makefile in
22393 AC_CONFIG_FILES call.
22394 * configure: Regenerated.
22397 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22399 (testout): Likewise.
22401 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22402 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22403 $(rtld-installed-name).
22404 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22405 (rtld_installed_name): Likwise.
22406 (runit): Remove function.
22407 (run_getconf): New variable, Use it for running getconf binary.
22409 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22412 * string/test-memmem.c (check_result): New function.
22413 (do_one_test): Use it.
22414 (check1): New function.
22415 (test_main): Use it.
22417 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22419 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22421 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22423 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22424 (_G_LSEEK64): Likewise.
22425 (_G_MMAP64): Likewise.
22426 (_G_FSTAT64): Likewise.
22427 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22428 (_G_LSEEK64): Likewise.
22429 (_G_MMAP64): Likewise.
22430 (_G_FSTAT64): Likewise.
22431 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22432 unconditional. Call __mmap64 directly.
22433 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22434 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22435 __lseek64 directly.
22436 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22437 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22439 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22440 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22441 __lseek64 directly.
22442 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22443 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22444 __lseek64 directly.
22445 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22446 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22447 __lseek64 directly.
22448 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22449 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22450 __fxstat64 directly.
22451 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22452 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22454 (freopen64) [!_G_OPEN64]: Remove conditional code.
22455 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22457 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22458 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22460 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22461 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22463 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22464 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22466 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22467 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22469 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22470 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22472 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22473 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22475 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22477 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22480 * manual/memory.texi (Malloc Tunable Parameters): Add note
22481 about free list pointers overwriting some perturb bytes.
22482 Wording suggested by Roland McGrath.
22484 2012-10-17 Joseph Myers <joseph@codesourcery.com>
22486 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22487 (lgamma_test): Likewise.
22488 (tgamma_test): Likewise.
22490 2012-10-16 Florian Weimer <fweimer@redhat.com>
22493 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22494 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22496 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22498 * NEWS: Mention BZ #14716.
22499 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22500 when removing AVAILABLE1_USES_J macro.
22502 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22504 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22505 (__bswap_64): __uint64_t for unsigned 64-bit int.
22507 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22509 * include/string.h (memmem): Declare libc hidden alias.
22510 * string/memmem.c (memmem): Define libc hidden alias.
22511 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22512 __read, __close instead of open, read, close.
22514 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22516 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22517 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22519 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22520 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22521 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22523 (__rawmemchr_sse2): Likewise.
22524 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22525 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22526 (__strchr_sse2): Likewise.
22527 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22528 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22529 (__strcasecmp_sse2): Likewise.
22530 (__strncasecmp_sse2): Likewise.
22531 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22532 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22533 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22534 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22535 (__strrchr_sse2): Likewise.
22536 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22538 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22539 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22540 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22541 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22542 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22543 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22544 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22545 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22546 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22547 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22548 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22549 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22550 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22551 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22552 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22553 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22554 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22555 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22556 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22557 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22558 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22559 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22560 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22561 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22562 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22563 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22564 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22565 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22566 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22567 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22569 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22571 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22572 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22573 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22574 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22576 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22578 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22579 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22580 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22581 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22583 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22584 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22585 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22586 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22587 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22588 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22589 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22590 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22591 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22592 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22593 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22594 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22595 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22596 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22597 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22598 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22599 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22600 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22601 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22602 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22603 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22604 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22605 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22606 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22607 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22608 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22609 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22610 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22611 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22612 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22613 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22614 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22615 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22616 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22617 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22618 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22619 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22620 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22621 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22622 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22623 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22625 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22626 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22627 * include/ifunc-impl-list.h: New file.
22628 * misc/ifunc-impl-list.c: Likewise.
22629 * misc/Makefile (routines): Add ifunc-impl-list.
22630 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22631 * string/test-string.h: Include <ifunc-impl-list.h>.
22632 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22633 impl_array): New variables.
22634 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22636 (test_init): Call __libc_ifunc_impl_list to initialize
22637 func_list if TEST_IFUNC and TEST_NAME are defined.
22639 * string/Makefile (strop-tests): Add bcopy and bzero.
22640 * string/test-bcopy.c: New file.
22641 * string/test-bzero.c: Likewise.
22642 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22644 * string/test-memset.c: Support bzero test if TEST_BZERO is
22646 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22648 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22650 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22653 2012-10-10 Joseph Myers <joseph@codesourcery.com>
22655 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22656 * configure: Regenerated.
22658 * Makeconfig (+link-static-before-libc): Don't include
22659 $(link-static-libc).
22661 * libio/libio.h (_IO_pos_t): Remove.
22663 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22665 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22668 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22670 * crypt/crypt-entry.c: Include fips-private.h.
22671 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22672 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22673 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22674 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22676 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22678 * crypt/crypt-private.h: Include stdbool.h.
22679 (_ufc_setup_salt_r): Return bool.
22680 * crypt/crypt-entry.c: Include errno.h.
22681 (__crypt_r): Return NULL with EINVAL for bad salt.
22682 * crypt/crypt_util.c (bad_for_salt): New.
22683 (_ufc_setup_salt_r): Check that salt is long enough and within
22684 the specified alphabet.
22685 * crypt/badsalttest.c: New file.
22686 * crypt/Makefile (tests): Add it.
22687 ($(objpfx)badsalttest): New.
22689 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22691 * NEWS: Add entry for BZ #14602.
22693 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22695 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22697 * math/libm-test.inc: Update comment listing what functions and
22699 (isgreater_test): New function.
22700 (isgreaterequal_test): Likewise.
22701 (isless_test): Likewise.
22702 (islessequal_test): Likewise.
22703 (islessgreater_test): Likewise.
22704 (isunordered_test): Likewise.
22705 (main): Call the new functions.
22707 2012-10-09 Roland McGrath <roland@hack.frob.com>
22709 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22710 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22711 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22712 * sysdeps/i386/configure: Regenerated.
22713 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22714 * sysdeps/mach/configure: Regenerated.
22715 * sysdeps/mach/hurd/configure: Regenerated.
22716 * sysdeps/powerpc/configure: Regenerated.
22717 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22718 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22719 * sysdeps/s390/s390-32/configure: Regenerated.
22720 * sysdeps/s390/s390-64/configure: Regenerated.
22721 * sysdeps/sh/configure: Regenerated.
22722 * sysdeps/sparc/configure: Regenerated.
22723 * sysdeps/unix/sysv/linux/configure: Regenerated.
22724 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22725 * sysdeps/x86_64/configure: Regenerated.
22727 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22728 defined. Don't check if MAP is NULL.
22730 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22732 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22733 (_G_stat64): Likewise.
22734 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22735 (_G_stat64): Likewise.
22736 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22737 instead of struct _G_stat64.
22738 * libio/fileops.c (mmap_remap_check): Likewise.
22739 (decide_maybe_mmap): Likewise.
22740 (_IO_new_file_seekoff): Likewise.
22741 (_IO_file_stat): Likewise.
22742 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22744 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22745 instead of struct _G_stat64.
22746 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22748 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22751 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22753 (CHECK_EOL): New macro.
22754 (two_way_short_needle): Check beginning of haystack for EOL. Use
22756 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22757 Replace with CHECK_EOL.
22758 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22759 Replace with CHECK_EOL.
22761 2012-10-08 Joseph Myers <joseph@codesourcery.com>
22763 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22765 * math/libm-test.inc: Update comment listing what functions and
22767 (finite_test): New function.
22768 (isinf_test): Likewise.
22769 (isnan_test): Likewise.
22770 (fpclassify_test): Test subnormal input.
22771 (isfinite_test): Likewise.
22772 (isnormal_test): Likewise.
22773 (main): Call the new functions.
22775 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22778 * Makerules (%.dynsym): Force C locale when running
22779 $(OBJDUMP) --dynamic-syms.
22781 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22783 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22786 2012-10-06 David S. Miller <davem@davemloft.net>
22788 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22789 upper 32-bits of the length value in %o2 since we use branch-on-register
22790 tests which consider the entire 64-bit register.
22792 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22794 * string/test-strstr.c (check2): Add a test for page boundary.
22796 2012-10-05 David S. Miller <davem@davemloft.net>
22798 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22799 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22801 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22803 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22804 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22805 and bzero when HWCAP_SPARC_CRYPTO is present.
22807 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22810 * string/test-strstr.c (check2): New function.
22811 (test_main): Call check2.
22813 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22815 * string/bug-strcasestr1.c (do_test): Moved to ...
22816 * string/test-strcasestr.c (check1): Here. New function.
22817 (do_one_test): Break out result checking code into ...
22818 (check_result): This. New function.
22819 (do_one_test): Call check_result.
22820 (test_main): Call check1.
22821 * string/bug-strchr1.c (do_test): Moved to ...
22822 * string/test-strchr.c (check1): Here. New function.
22823 (do_one_test): Break out result checking code into ...
22824 (check_result): This. New function.
22825 (do_one_test): Call check_result.
22826 (test_main): Call check1.
22827 * string/bug-strstr1.c (main): Moved to ...
22828 * string/test-strstr.c (check1): Here. New function.
22829 (do_one_test): Break out result checking code into ...
22830 (check_result): This. New function.
22831 (do_one_test): Call check_result.
22832 (test_main): Call check1.
22833 * string/bug-strcasestr1.c: Removed.
22834 * string/bug-strchr1.c: Likewise.
22835 * string/bug-strstr1.c: Likewise.
22837 * elf/Makefile (dl-routines): Add hwcaps.
22838 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22839 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22840 (_dl_important_hwcaps): Moved to ...
22841 * elf/dl-hwcaps.c: Here. New file.
22842 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22845 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22846 if IS_IN_rtld isn't defined.
22848 * elf/dl-support.c (_dl_sysinfo_map): New.
22849 Include "get-dynamic-info.h" and "setup-vdso.h".
22850 (_dl_non_dynamic_init): Call setup_vdso.
22851 * elf/dynamic-link.h: Don't include <assert.h>.
22852 (elf_get_dynamic_info): Moved to ...
22853 * elf/get-dynamic-info.h: Here. New file.
22854 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22855 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22856 * elf/setup-vdso.h: Here. New file.
22857 * elf/rtld.c: Include "setup-vdso.h".
22858 (dl_main): Call setup_vdso.
22860 2012-10-05 Joseph Myers <joseph@codesourcery.com>
22862 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22863 creal in comment listing functions tested. List finite, isinf,
22864 isnan, isless, islessequal, isgreater, isgreaterequal,
22865 islessgreater, isunordered, lgamma_r and pow10 as functions and
22866 macros not tested. Mention which functions not tested are aliases
22867 for other functions. Fix typo. Note that signs of NaNs are not
22870 * scripts/config.guess: Update from config.git.
22871 * scripts/config.sub: Likewise.
22873 2012-10-04 Roland McGrath <roland@hack.frob.com>
22875 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22876 * misc/madvise.c (madvise): Renamed to __madvise.
22877 Make madvise a weak alias.
22878 * include/sys/mman.h: Declare __madvise.
22879 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22880 * sysdeps/unix/syscalls.list
22881 (madvise): Make __madvise the strong name, and madvise a weak alias.
22882 * sysdeps/unix/sysv/linux/syscalls.list
22883 (madvise, mmap): Remove redundant entries.
22884 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22885 * malloc/malloc.c (mtrim): Likewise.
22886 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22888 2012-10-03 Roland McGrath <roland@hack.frob.com>
22890 * sysdeps/mach/hurd/dl-cache.c: File removed.
22891 * config.h.in (USE_LDCONFIG): New #undef.
22892 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22893 * configure: Regenerated.
22894 * elf/Makefile (dl-routines): Add dl-cache only under
22895 [$(use-ldconfig) = yes].
22896 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22897 cache on [USE_LDCONFIG].
22898 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22900 * elf/rtld.c (dl_main): Likewise.
22902 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22904 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22905 _SC_LEVEL4_CACHE_LINESIZE.
22907 2012-10-03 Roland McGrath <roland@hack.frob.com>
22909 * sysdeps/unix/bsd/confstr.h: File removed.
22911 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
22913 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22916 2012-10-02 Roland McGrath <roland@hack.frob.com>
22918 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22919 Make 'mapoff' field ElfW(Off) rather than off_t.
22921 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22923 * nscd/Makefile: Remove nscd-cflags and all its users.
22924 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22925 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22928 * malloc.c (malloc_printerr): Clarify error message.
22930 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22934 Set bit_FMA_Usable if FMA is supported.
22935 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22937 (bit_FMA4_Usable): Updated.
22938 (index_FMA_Usable): New macro.
22939 (CPUID_FMA): Likewise
22940 (HAS_FMA): Defined with bit_FMA_Usable.
22942 2012-10-01 Roland McGrath <roland@hack.frob.com>
22944 * bits/types.h (__swblk_t): Type removed.
22945 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22946 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22947 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22948 (__SWBLK_T_TYPE): Likewise.
22949 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22950 (__SWBLK_T_TYPE): Likewise.
22951 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22952 (__SWBLK_T_TYPE): Likewise.
22953 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22954 (__SWBLK_T_TYPE): Likewise.
22956 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
22957 Honza Horak <hhorak@redhat.com>
22959 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22960 (xdr_mapname): Use YPMAXMAP as maxsize.
22961 (xdr_peername): Use YPMAXPEER as maxsize.
22962 (xdr_keydat): Use YPAXRECORD as maxsize.
22963 (xdr_valdat): Use YPMAXRECORD as maxsize.
22965 2012-10-01 Roland McGrath <roland@hack.frob.com>
22967 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22969 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22970 * csu/init-first.c: ... here.
22971 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22972 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22973 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22974 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22975 * sysdeps/i386/init-first.c: File removed.
22976 * sysdeps/sh/init-first.c: File removed.
22978 2012-10-01 Joseph Myers <joseph@codesourcery.com>
22981 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22982 if x * y might underflow to zero and z is zero.
22983 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22984 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22985 * math/libm-test.inc (min_subnorm_value): New variable.
22986 (fma_test): Add more tests.
22987 (fma_test_towardzero): Likewise.
22988 (fma_test_downward): Likewise
22989 (fma_test_upward): Likewise.
22990 (initialize): Set min_subnorm_value.
22992 2012-09-29 Joseph Myers <joseph@codesourcery.com>
22995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22997 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22998 mode for addition resulting in exact zero.
22999 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23000 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23002 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23003 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23004 * math/libm-test.inc (fma_test): Add more tests.
23005 (fma_test_towardzero): New function.
23006 (fma_test_downward): Likewise.
23007 (fma_test_upward): Likewise.
23008 (main): Call the new functions.
23010 2012-09-28 David S. Miller <davem@davemloft.net>
23012 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23014 2012-09-28 Roland McGrath <roland@hack.frob.com>
23016 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23017 instead of SIGALRM.
23019 * sysdeps/gnu/_G_config.h: Moved to ...
23020 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23021 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23022 * sysdeps/generic/_G_config.h: ... here.
23024 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23026 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23028 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23029 Conditionalize target on [libnss_test1.so-version].
23031 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23033 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23034 (elfobjdir): Move out of conditionals.
23036 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23037 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23038 (__nss_lookup_function): Conditionalize label remove_from_tree on
23039 [!DO_STATIC_NSS || SHARED], matching its only use.
23041 2012-09-28 David S. Miller <davem@davemloft.net>
23043 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23044 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23046 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23048 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23049 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23050 when HWCAP_SPARC_CRYPTO is present.
23052 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23054 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23056 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23059 * stdio-common/vfprintf.c (process_string_arg): Revert
23062 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23064 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23066 * stdio-common/tst-sprintf.c: Include <locale.h>
23067 (main): Test sprintf's handling of incomplete multibyte
23070 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23072 * elf/dl-runtime.c (VERSYMIDX): Removed.
23073 * elf/dl-version.c (VERSYMIDX): Likewise.
23074 * elf/do-rel.h (VERSYMIDX): Likewise.
23075 (VALIDX): Likewise.
23076 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23077 * elf/rtld.c (VALIDX): Likewise.
23078 (ADDRIDX): Likewise.
23079 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23080 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23081 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23082 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23083 (VALIDX): Likewise.
23084 (ADDRIDX): Likewise.
23086 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23088 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23090 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23093 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23095 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23096 addresses are in the same scope as 192.0.2/24.
23097 * posix/gai.conf: Document new scope table defaults.
23099 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23102 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23103 for ftell. Compute offsets from write pointers instead.
23104 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23106 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23109 * libio/Makefile (tests): New test case tst-fseek.
23110 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23111 combination works in wide mode.
23112 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23113 state when the external buffer state changes.
23115 2012-09-27 David S. Miller <davem@davemloft.net>
23118 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23119 pass reloc->r_addend in as the 'high' argument to
23120 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23124 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23126 * rt/tst-aio2.c: Include <pthread.h>.
23127 * rt/tst-aio3.c: Likewise.
23129 2012-09-27 Steve Ellcey <sellcey@mips.com>
23131 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23133 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23135 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23136 contents on [SHARED].
23138 2012-09-26 Marek Polacek <polacek@redhat.com>
23142 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23143 for C++ and GCC <4.3 as well as for non GCC compilers.
23145 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23149 2012-09-25 Roland McGrath <roland@hack.frob.com>
23151 * Makefile.in (all, install): Declare with .PHONY.
23152 Reported by Michael Hope <michael.hope@linaro.org>.
23154 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23156 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23157 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23159 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23161 (sydep_routines): Add the new and the internal functions.
23162 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23163 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23165 (GLIBC_2.17): Add the new function.
23166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23167 (GLIBC_2.17): Likewise.
23168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23169 (GLIBC_2.17): Likewise.
23170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23171 (GLIBC_2.17): Likewise.
23172 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23174 2012-09-25 Alan Modra <amodra@gmail.com>
23176 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23177 Add release barrier before setting once_control to say
23178 initialisation is done. Add hints on lwarx. Use macro in
23180 (clear_once_control): Add release barrier.
23182 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23185 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23187 * math/s_clog10.c (__clog10): Likewise.
23188 * math/s_clog10f.c (__clog10f): Likewise.
23189 * math/s_clog10l.c (__clog10l): Likewise.
23190 * math/s_clogf.c (__clogf): Likewise.
23191 * math/s_clogl.c (__clogl): Likewise.
23192 * math/Makefile (libm-calls): Add x2y2m1.
23193 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23194 (__x2y2m1): Likewise.
23195 (__x2y2m1l): Likewise.
23196 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23197 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23198 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23199 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23200 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23201 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23202 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23203 * sysdeps/i386/fpu/libm-test-ulps: Update.
23204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23207 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23208 int as type of variable DEPTH.
23209 (glob): Use size_t instead of int as type of variables NEWCOUNT
23212 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23214 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23215 Add s_sincosf-sse2.
23216 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23217 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23218 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23219 macros for using routine as __sincosf_ia32.
23220 Use macro for function declaration and weak_alias.
23221 * sysdeps/i386/fpu/libm-test-ulps: Update.
23223 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23226 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23227 subnormal argument.
23228 * math/s_cexpf.c (__cexpf): Likewise.
23229 * math/s_csinf.c (__csinf): Likewise.
23230 * math/s_csinhf.c (__csinhf): Likewise.
23231 * math/s_ctanf.c (__ctanf): Likewise.
23232 * math/s_ctanhf.c (__ctanhf): Likewise.
23233 * math/s_ccosh.c (__ccoshf): Likewise.
23234 * math/s_cexp.c (__cexpl): Likewise.
23235 * math/s_csin.c (__csin): Likewise.
23236 * math/s_csinh.c (__csinh): Likewise.
23237 * math/s_ctan.c (__ctan): Likewise.
23238 * math/s_ctanh.c (ctanh): Likewise.
23239 * math/s_ccoshl.c (__ccoshl): Likewise.
23240 * math/s_cexpl.c (__cexpl): Likewise.
23241 * math/s_csinl.c (__csinl): Likewise.
23242 * math/s_csinhl.c (__csinhl): Likewise.
23243 * math/s_ctanl.c (__ctanl): Likewise.
23244 * math/s_ctanhl.c (__ctanhl): Likewise.
23246 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23248 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23249 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23250 (_IO_off_t): Define to __off_t, not _G_off_t.
23251 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23252 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23253 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23254 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23255 type of __dummy and __dummy2 fields.
23256 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23257 (_G_ssize_t): Likewise.
23258 (_G_off_t): Likewise.
23259 (_G_pid_t): Likewise.
23260 (_G_uid_t): Likewise.
23261 (_G_wchar_t): Likewise.
23262 (_G_wint_t): Likewise.
23263 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23264 (_G_ssize_t): Likewise.
23265 (_G_off_t): Likewise.
23266 (_G_pid_t): Likewise.
23267 (_G_uid_t): Likewise.
23268 (_G_wchar_t): Likewise.
23269 (_G_wint_t): Likewise.
23270 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23271 (_G_ssize_t): Likewise.
23272 (_G_off_t): Likewise.
23273 (_G_pid_t): Likewise.
23274 (_G_uid_t): Likewise.
23275 (_G_wchar_t): Likewise.
23276 (_G_wint_t): Likewise.
23278 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23280 * malloc/arena.c: Include malloc-sysdep.h.
23281 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23282 is sufficient to shrink the heap or an unmap is needed.
23283 * sysdeps/generic/malloc-sysdep.h: New file. Define
23284 new function check_may_shrink_heap.
23285 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23286 new function check_may_shrink_heap.
23288 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23290 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23293 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23295 * catgets/test-gencat.sh: Add "set -e".
23296 * elf/tst-pathopt.sh: Likewise.
23297 * grp/tst_fgetgrent.sh: Likewise.
23298 * iconvdata/run-iconv-test.sh: Likewise.
23299 * intl/tst-gettext.sh: Likewise.
23300 * intl/tst-gettext2.sh: Likewise.
23301 * intl/tst-gettext4.sh: Likewise.
23302 * intl/tst-gettext6.sh: Likewise.
23303 * intl/tst-translit.sh: Likewise.
23304 * io/ftwtest-sh: Likewise.
23305 * libio/test-freopen.sh: Likewise.
23306 * malloc/tst-mtrace.sh: Likewise.
23307 * posix/globtest.sh: Likewise.
23308 * posix/tst-getconf.sh: Likewise.
23309 * posix/wordexp-tst.sh: Likewise.
23310 * stdio-common/tst-printf.sh: Likewise.
23311 * stdio-common/tst-unbputc.sh: Likewise.
23312 * stdlib/tst-fmtmsg.sh: Likewise.
23313 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23314 * catgets/Makefile: Do not specify -e option when running
23315 testsuite shell scripts.
23316 * elf/Makefile: Likewise.
23317 * grp/Makefile: Likewise.
23318 * iconvdata/Makefile: Likewise.
23319 * intl/Makefile: Likewise.
23320 * io/Makefile: Likewise.
23321 * libio/Makefile: Likewise.
23322 * malloc/Makefile: Likewise.
23323 * posix/Makefile: Likewise.
23324 * stdio-common/Makefile: Likewise.
23325 * stdlib/Makefile: Likewise.
23326 * sysdeps/x86_64/Makefile: Likewise.
23328 * io/ftwtest-sh: Add copyright header.
23329 * posix/globtest.sh: Likewise.
23330 * posix/tst-getconf.sh: Likewise.
23331 * posix/wordexp-tst.sh: Likewise.
23332 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23334 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23337 * Makeconfig (+link): Defined as $(+link-static) if
23338 $(build-shared) isn't yes.
23339 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23341 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23343 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23346 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23347 new chunk size with MALLOC_ALIGN_MASK.
23349 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23352 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23354 (__printf_fphex): Determine rounding using get_rounding_mode and
23356 * stdio-common/tst-printf-round.c (struct hex_test): New
23358 (hex_tests): New variable.
23359 (test_hex_in_one_mode): New function.
23360 (do_test): Also run tests for hex float output.
23362 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23364 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23365 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23366 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23367 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23368 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23369 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23370 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23371 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23373 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23375 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23376 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23377 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23378 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23380 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23383 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23385 * elf/tst-rtld-load-self.sh: New test.
23386 * elf/Makefile: Run it.
23388 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23390 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23391 (tst-writev-ENV): Remove.
23392 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23394 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23396 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23398 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23400 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23402 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23404 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23405 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23406 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23409 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23412 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23413 * config.make.in (have-cpp-asm-debuginfo): Removed.
23414 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23415 * configure: Regenerated.
23417 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23420 * stdio-common/printf_fp.c: Include <stdbool.h> and
23422 (___printf_fp): Determine rounding using get_rounding_mode and
23424 * stdio-common/tst-printf-round.c: New file.
23425 * stdio-common/Makefile (tests): Add tst-printf-round.
23426 (link-libm): New variable.
23427 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23429 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23432 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23433 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23435 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23438 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23440 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23441 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23442 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23443 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23445 2012-09-12 Joseph Myers <joseph@codesourcery.com>
23448 * include/rounding-mode.h: New file.
23449 * sysdeps/generic/get-rounding-mode.h: Likewise.
23450 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23451 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23452 (MAX_VALUE): New macro.
23453 (MIN_VALUE): Likewise.
23454 (overflow_value): New function.
23455 (underflow_value): Likewise.
23456 (round_and_return): Use overflow_value and underflow_value to
23457 determine return values in overflow and underflow cases. Use
23458 round_away to determine rounding depending on rounding mode.
23459 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23460 determine return values in overflow and underflow cases.
23461 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23462 (struct test_results): New structure.
23463 (struct test): Use struct test_results to store expected results
23464 for all rounding modes.
23465 (TEST): Include expected results for all rounding modes.
23466 (test_in_one_mode): New function.
23467 (do_test): Use test_in_one_mode to compute and check results.
23468 Check results for all rounding modes.
23469 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23472 2012-12-09 Allan McRae <allan@archlinux.org>
23474 * sysdeps/i386/fpu/libm-test-ulps: Update
23476 2012-09-11 Joseph Myers <joseph@codesourcery.com>
23478 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23479 (_G_int32_t): Likewise.
23480 (_G_uint16_t): Likewise.
23481 (_G_uint32_t): Likewise.
23482 (_G_HAVE_BOOL): Likewise.
23483 (_G_HAVE_ATEXIT): Likewise.
23484 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23485 (_G_HAVE_IO_FILE_OPEN): Likewise.
23486 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23487 (_G_int32_t): Likewise.
23488 (_G_uint16_t): Likewise.
23489 (_G_uint32_t): Likewise.
23490 (_G_HAVE_BOOL): Likewise.
23491 (_G_HAVE_ATEXIT): Likewise.
23492 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23493 (_G_HAVE_IO_FILE_OPEN): Likewise.
23494 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23495 (_G_int32_t): Likewise.
23496 (_G_uint16_t): Likewise.
23497 (_G_uint32_t): Likewise.
23498 (_G_HAVE_BOOL): Likewise.
23499 (_G_HAVE_ATEXIT): Likewise.
23500 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23501 (_G_HAVE_IO_FILE_OPEN): Likewise.
23503 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23505 * csu/libc-tls.c: Update copyright years.
23507 2012-09-10 Joseph Myers <joseph@codesourcery.com>
23509 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23510 [!_G_USING_THUNKS]: Remove conditional code.
23511 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23512 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23514 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23515 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23516 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23517 (_G_VTABLE_LABEL_PREFIX): Likewise.
23518 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23519 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23520 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23521 (_G_VTABLE_LABEL_PREFIX): Likewise.
23522 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23523 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23524 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23525 (_G_VTABLE_LABEL_PREFIX): Likewise.
23526 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23528 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23530 * libio/Makefile: Include ../Makeconfig before tests.
23531 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23532 only if $(build-shared) is yes.
23534 * iconv/gconv_db.c: Update copyright years.
23536 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23538 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23539 unwind info if defined PIC. Fix special cases description.
23540 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23542 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23544 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23546 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23548 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23550 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23553 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23554 (LDLIBS-tst-chk4): This.
23555 (LDFLAGS-tst-chk5): Renamed to ...
23556 (LDLIBS-tst-chk5): This.
23557 (LDFLAGS-tst-chk6): Renamed to ...
23558 (LDLIBS-tst-chk6): This.
23559 (LDFLAGS-tst-lfschk4): Renamed to ...
23560 (LDLIBS-tst-lfschk4): This.
23561 (LDFLAGS-tst-lfschk5): Renamed to ...
23562 (LDLIBS-tst-lfschk5): This.
23563 (LDFLAGS-tst-lfschk6): Renamed to ...
23564 (LDLIBS-tst-lfschk6): This.
23566 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23567 on $(common-objpfx)soversions.mk.
23569 2012-09-07 Joseph Myers <joseph@codesourcery.com>
23572 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23575 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23577 * malloc/arena.c (arena_get_retry): New function that gets
23578 another arena for the caller to try its request on.
23579 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23580 current arena cannot fulfill the request.
23581 (__libc_memalign): Likewise.
23582 (__libc_memalign): Likewise.
23583 (__libc_pvalloc): Likewise.
23584 (__libc_calloc): Likewise.
23586 2012-09-05 John Tobey <john.tobey@gmail.com>
23589 * manual/arith.texi (Operations on Complex): Fix description
23590 of carg branch cut.
23592 2012-09-06 Joseph Myers <joseph@codesourcery.com>
23595 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23599 * manual/memory.texi (Memory): Make order of menu items match
23602 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23604 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23605 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23606 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23608 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23610 * csu/libc-tls.c (static_dtv): Renamed to ...
23611 (_dl_static_dtv): This. Make it global.
23612 (_dl_initial_dtv): Removed.
23613 (__libc_setup_tls): Updated.
23614 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23615 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23618 2012-09-06 Petr Machata <pmachata@redhat.com>
23620 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23621 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23622 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23623 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23625 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23628 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23629 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23632 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23635 * Makeconfig (link-static-before-libc): Replace $(+prector)
23637 (link-static-after-libc): Replace $(+postctor) with
23639 (link-bounded): Replace $(+prector)/$(+postctor) with
23640 $(+prectorT)/$(+postctorT).
23641 (+prectorT): New macro.
23642 (+postctorT): Likewise.
23644 2012-09-06 Joseph Myers <joseph@codesourcery.com>
23646 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23647 (round_str): Handle values above the maximum for IBM long double
23649 * stdlib/tst-strtod-round.c (tests): Regenerated.
23651 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23653 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23655 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23656 zarch_nohighgprs around the zarch optimized routines.
23657 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23658 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23659 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23662 2012-09-05 David S. Miller <davem@davemloft.net>
23664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23666 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23667 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23668 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23669 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23672 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23674 * malloc/arena.c: Fold copyright years.
23675 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23677 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23679 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23681 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23683 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23685 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23687 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23688 change internal state upon failure.
23690 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23692 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23693 * malloc/memusage.c (mmap): Likewise.
23694 (mmap64, mremap): Likewise. Adjust name in comment.
23696 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23698 * libio/fileops.c: Fix typos in comments.
23699 * libio/oldfileops.c: Likewise.
23700 * libio/wfileops.c: Likewise.
23702 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23705 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23706 (tst-malloc-usable-ENV): Set environment for test case.
23707 * malloc/hooks.c (malloc_check_get_size): New function to get
23709 * malloc/malloc.c (musable): Use malloc_check_get_size.
23710 * malloc/tst-malloc-usable.c: New test case.
23712 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23714 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23716 2012-09-05 Allan McRae <allan@archlinux.org>
23719 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23720 determine header location.
23721 * configure: Regenerated.
23723 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23725 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23727 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23728 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23730 (test): Regenerate.
23732 2012-09-04 David S. Miller <davem@davemloft.net>
23734 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23735 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23736 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23738 2012-09-04 Florian Weimer <fweimer@redhat.com>
23740 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23743 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23745 2012-09-04 Joseph Myers <joseph@codesourcery.com>
23748 * libio/iogetdelim.c: Include <limits.h>.
23749 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23750 + len + 1 would overflow.
23752 2012-09-03 Andreas Jaeger <aj@suse.de>
23754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23755 * sysdeps/i386/fpu/libm-test-ulps: Update.
23757 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23759 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23760 Add s_sinf-sse2, s_conf-sse2.
23762 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23763 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23764 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23765 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23767 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23768 for using routine as __sinf_ia32.
23769 Use macro for function declaration and weak_alias.
23770 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23771 for using routine as __cosf_ia32.
23772 Use macro for function declaration and weak_alias.
23774 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23775 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23777 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23778 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23781 * math/libm-test.inc (cos_test): Add more test cases.
23782 (sin_test): Likewise.
23783 (sincos_test): Likewise.
23785 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23787 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23788 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23790 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23792 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23795 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23796 first element of the GOT.
23797 (elf_machine_load_address): Return the difference between
23798 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23800 2012-09-01 Allan McRae <allan@archlinux.org>
23803 * configure.in (AWK): Require gawk version 3.0 or later.
23804 * configure: Regenerated.
23806 2012-09-01 Joseph Myers <joseph@codesourcery.com>
23808 * sysdeps/unix/sysv/linux/kernel-features.h
23809 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23810 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23811 [__NR_clock_getres]: Make code unconditional.
23812 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23813 (clock_getcpuclockid): Remove code left unreachable by removal of
23815 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23816 code unconditional.
23817 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23818 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23819 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23820 Make code unconditional.
23821 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23822 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23823 * sysdeps/unix/sysv/linux/clock_settime.c
23824 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23826 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23827 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23829 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23832 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23833 scripts/test-installation.pl.
23835 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23836 and $ld_so_version if it is set.
23838 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23841 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23842 failure if reading from procfs failed.
23843 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23845 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23847 * sysdeps/unix/sysv/linux/kernel-features.h
23848 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23849 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23850 Remove conditional code.
23851 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23852 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23853 Remove conditional code.
23854 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23855 * sysdeps/unix/sysv/linux/i386/fxstat.c
23856 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23857 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23858 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23859 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23860 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23861 * sysdeps/unix/sysv/linux/i386/lxstat.c
23862 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23863 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23864 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23865 Remove conditional code.
23866 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23867 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23868 Remove conditional code.
23869 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23870 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23871 <kernel-features.h>.
23872 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23874 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23875 Remove conditional code.
23876 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23877 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23878 Remove conditional.
23880 2012-08-27 Mike Frysinger <vapier@gentoo.org>
23883 * NEWS: Add fixed bug number.
23885 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23888 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23889 underflowing exponent in case of negative sign.
23890 * stdlib/tst-strtod-round-data: Add more tests.
23891 * stdlib/tst-strtod-round.c (tests): Regenerated.
23894 * stdlib/strtod_l.c (NDIG): Remove.
23895 (HEXNDIG): Likewise.
23896 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23897 smallest representable value.
23898 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23899 lie within an exact representation of 1/2 ulp of the result.
23900 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23902 (TENS_P9_IDX): Define unconditionally.
23903 (TENS_P9_SIZE): Likewise.
23904 (TENS_P10_IDX): Likewise.
23905 (TENS_P10_SIZE): Likewise.
23906 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23907 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23908 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23909 entries for 10^2^13 and 10^2^14.
23910 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23911 (TENS_P13_IDX): Define.
23912 (TENS_P13_SIZE): Likewise.
23913 (TENS_P14_IDX): Likewise.
23914 (TENS_P14_SIZE): Likewise.
23915 (_fpioconst_pow10): Change array size to
23916 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23918 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23919 1024]: Add entries for 10^2^13 and 10^2^14.
23920 [LAST_POW10 > _LAST_POW10]: Remove #error.
23921 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23922 (_fpioconst_pow10): Change array size to
23923 FPIOCONST_POW10_ARRAY_SIZE.
23924 * stdlib/gen-fpioconst.c: New file.
23925 * stdlib/gen-tst-strtod-round.c: Likewise.
23926 * stdlib/tst-strtod-round-data: Likewise.
23927 * stdlib/tst-strtod-round.c: Likewise.
23928 * stdlib/Makefile (tests): Add tst-strtod-round.
23931 * stdlib/strtod_l.c: Include <stdint.h>.
23932 (NDEBUG): Do not define.
23933 (round_and_return): Change EXPONENT parameter to type intmax_t.
23934 Rearrange calculations to avoid internal overflow possibilities.
23935 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23936 Rearrange calculations to avoid internal overflow possibilities.
23937 Assert that number fits inside MPNSIZE limbs.
23938 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23939 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23940 calculations and add assertions to avoid internal overflow
23941 possibilities. Add casts to avoid signed/unsigned operations.
23942 * stdlib/tst-strtod-overflow.c: New file.
23943 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23945 2012-08-25 Marek Polacek <polacek@redhat.com>
23947 * time/time.h: Fix some typos in comments.
23949 2012-08-23 Roland McGrath <roland@hack.frob.com>
23951 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23952 * posix/tst-rfc3484-2.c: Likewise.
23953 * posix/tst-rfc3484-3.c: Likewise.
23955 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23957 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23958 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23960 2012-08-23 Joseph Myers <joseph@codesourcery.com>
23962 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23963 #include of fxstatat64.c.
23965 2012-08-22 Roland McGrath <roland@hack.frob.com>
23967 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23968 * shadow/getspent_r.c: Likewise.
23969 * shadow/getspnam.c: Likewise.
23970 * shadow/getspnam_r.c: Likewise.
23971 * gshadow/getsgent.c: Likewise.
23972 * gshadow/getsgent_r.c: Likewise.
23973 * gshadow/getsgnam.c: Likewise.
23974 * gshadow/getsgnam_r.c: Likewise.
23975 * inet/getnetbyad.c: Likewise.
23976 * inet/getnetbyad_r.c: Likewise.
23977 * inet/getnetbynm.c: Likewise.
23978 * inet/getnetbynm_r.c: Likewise.
23979 * inet/getnetent.c: Likewise.
23980 * inet/getnetent_r.c: Likewise.
23981 * inet/getproto.c: Likewise.
23982 * inet/getproto_r.c: Likewise.
23983 * inet/getprtent.c: Likewise.
23984 * inet/getprtent_r.c: Likewise.
23985 * inet/getprtname.c: Likewise.
23986 * inet/getprtname_r.c: Likewise.
23987 * inet/getrpcbyname.c: Likewise.
23988 * inet/getrpcbyname_r.c: Likewise.
23989 * inet/getrpcbynumber.c: Likewise.
23990 * inet/getrpcbynumber_r.c: Likewise.
23991 * inet/getrpcent.c: Likewise.
23992 * inet/getrpcent_r.c: Likewise.
23993 * inet/getaliasent.c: Likewise.
23994 * inet/getaliasent_r.c: Likewise.
23995 * inet/getaliasname.c: Likewise.
23996 * inet/getaliasname_r.c: Likewise.
23997 * nscd/getgrgid_r.c: Likewise.
23998 * nscd/getgrnam_r.c: Likewise.
23999 * nscd/gethstbyad_r.c: Likewise.
24000 * nscd/gethstbynm3_r.c: Likewise.
24001 * nscd/getpwnam_r.c: Likewise.
24002 * nscd/getpwuid_r.c: Likewise.
24003 * nscd/getsrvbynm_r.c: Likewise.
24004 * nscd/getsrvbypt_r.c: Likewise.
24005 * nscd/gai.c: Likewise.
24007 * configure.in (build_nscd): New substituted variable, set
24008 by --disable-build-nscd and defaults to $use_nscd.
24009 * configure: Regenerated.
24010 * config.make.in (build-nscd): New substituted variable.
24011 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24012 Change conditional to require [$(build-nscd) = yes] as well.
24013 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24016 * configure.in (use_nscd): New substituted variable, set by
24017 --disable-nscd. If enabled, define USE_NSCD.
24018 * configure: Regenerated.
24019 * config.h.in: Add USE_NSCD.
24020 * config.make.in (use-nscd): New substituted variable.
24021 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24022 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24023 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24024 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24025 (CFLAGS-getgrnam_r.c): Likewise.
24026 (CFLAGS-initgroups.c): Likewise.
24027 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24028 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24030 * inet/getnetgrent_r.c
24031 (nscd_setnetgrent): New function, broken out of ...
24032 (setnetgrent): ... here. Call it.
24033 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24034 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24035 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24036 * nscd/Makefile (routines, aux): Move definitions after include of
24037 Makeconfig. Conditionalize on [$(use-nscd) != no].
24038 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24039 Conditionalize on [USE_NSCD].
24040 (is_nscd, nscd_init_cb): Likewise.
24041 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24042 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24043 * nss/nss_db/db-init.c: Likewise.
24044 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24046 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24047 (make_request): Use it.
24048 (cache_valid_p): New function.
24049 (__check_pf): Use it.
24050 * NEWS: Add item for --disable-nscd.
24052 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24054 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24055 to support sed >= 4.2.1-20-ga9bf076.
24056 * configure: Regenerated.
24058 2012-08-22 Roland McGrath <roland@hack.frob.com>
24060 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24061 Conditionalize whole body on [IREL].
24063 2012-08-22 Jeff Law <law@redhat.com>
24066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24067 if the family is PF_UNSPEC.
24069 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24071 * Makerules (lib-version): Rename from V.
24072 (install-lib-nosubdir): Change V to lib-version.
24074 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24077 * powerpc32/power6/wcschr.c: New file.
24078 * powerpc32/power6/wcscpy.c: New file.
24079 * powerpc32/power6/wcsrchr.c: New file.
24080 * powerpc64/power6/wcschr.c: New file.
24081 * powerpc64/power6/wcscpy.c: New file.
24082 * powerpc64/power6/wcsrchr.c: New file.
24084 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24086 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24087 (two_way_short_needle): Use it.
24088 * string/strstr.c (AVAILABLE1_USES_J): Define.
24089 * string/strcasestr.c: Likewise.
24091 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24093 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24096 * NEWS: Add an entry.
24097 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24098 define their defaults.
24099 (two_way_short_needle): Detect end-of-string on-the-fly.
24100 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24101 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24102 * string/bug-strcasestr1.c: New test.
24103 * string/Makefile: Run it.
24105 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24108 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24109 the first character.
24111 2012-08-21 Roland McGrath <roland@hack.frob.com>
24113 * csu/elf-init.c (__libc_csu_irel): Function removed.
24114 * csu/libc-start.c (apply_irel): New function.
24115 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24117 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24119 * sysdeps/unix/sysv/linux/kernel-features.h
24120 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24121 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24122 <kernel-features.h>.
24123 [__NR_fadvise64_64]: Make code unconditional.
24124 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24125 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24126 !__NR_fadvise64_64)]: Likewise.
24127 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24128 !__NR_fadvise64_64))]: Likewise.
24129 [__NR_fadvise64]: Make code unconditional.
24130 [!__NR_fadvise64]: Remove conditional code.
24131 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24132 <kernel-features.h>.
24133 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24135 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24138 not include <kernel-features.h>.
24139 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24141 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24143 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24144 include <kernel-features.h>.
24145 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24147 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24150 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24152 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24153 slight instruction rearrangements per scrollpipe analysis.
24154 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24156 2012-08-20 Roland McGrath <roland@hack.frob.com>
24158 * manual/syslog.texi (syslog; vsyslog, closelog):
24159 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24160 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24162 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24163 DSOCAPS to match condition on defining it.
24165 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24167 * sysdeps/unix/sysv/linux/kernel-features.h
24168 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24170 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24171 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24173 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24174 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24176 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24177 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24179 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24180 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24182 * sysdeps/unix/sysv/linux/kernel-features.h
24183 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24184 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24186 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24187 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24188 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24189 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24190 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24191 Make code unconditional.
24192 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24193 (__mmap64) [!__NR_mmap2]: Likewise.
24194 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24195 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24196 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24197 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24198 [__NR_mmap2]: Make code unconditional.
24199 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24200 (__mmap64) [!__NR_mmap2]: Likewise.
24202 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24204 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24206 2012-08-18 Andreas Jaeger <aj@suse.de>
24208 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24210 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24212 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24213 * include/unistd.h (__have_sock_cloexec): Likewise.
24214 (__have_pipe2): Likewise.
24215 (__have_dup3): Likewise.
24217 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24220 * include/unistd.h (__have_pipe2): Change define into an extern int.
24221 (__have_dup3): Likewise.
24222 * socket/have_sock_cloexec.c: Include fcntl.h.
24223 (__have_pipe2): New variable.
24224 (__have_dup3): Likewise.
24226 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24228 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24230 2012-08-17 Marek Polacek <polacek@redhat.com>
24232 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24233 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24235 2012-08-17 Roland McGrath <roland@hack.frob.com>
24237 * configure.in: Add AC_SUBST for sysheaders.
24238 * configure: Regenerated.
24239 * config.make.in (sysheaders): New substituted variable.
24241 * sysdeps/unix/mkfifo.c: Moved ...
24242 * sysdeps/posix/mkfifo.c: ... here.
24243 * sysdeps/unix/mkfifoat.c: Moved ...
24244 * sysdeps/posix/mkfifoat.c: ... here.
24246 * sysdeps/unix/utime.c: Moved ...
24247 * sysdeps/posix/utime.c: ... here.
24249 * sysdeps/unix/time.c: Moved ...
24250 * sysdeps/posix/time.c: ... here.
24251 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24252 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24254 * sysdeps/unix/nice.c: Moved ...
24255 * sysdeps/posix/nice.c: ... here.
24257 * sysdeps/unix/alarm.c: Moved ...
24258 * sysdeps/posix/alarm.c: ... here.
24260 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24262 2012-08-17 Jeff Law <law@redhat.com>
24264 * intl/Makefile (codeset_mo): New variable.
24265 ($(codeset_mo)): New target.
24266 (tst-codeset.out): Depend on that. Remove explicit rule.
24267 (tst-gettext3.out, tst-gettext5.out): Likewise.
24268 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24269 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24270 * intl/tst-codeset.sh: Remove.
24271 * intl/tst-gettext3.sh: Likewise.
24272 * intl/tst-gettext5.sh: Likewise.
24274 2012-08-17 Roland McGrath <roland@hack.frob.com>
24276 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24277 * sysdeps/unix/syscalls.list: ... here.
24279 * sysdeps/posix/getaddrinfo.c
24280 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24281 (gaiconf_init, gaiconf_reload): Use them.
24282 [!_STATBUF_ST_NSEC]
24283 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24284 Define using time_t rather than struct timespec.
24286 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24287 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24289 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24291 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24292 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24295 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24296 __libc_cleanup_push argument.
24298 * bits/param.h: New file.
24299 * misc/sys/param.h: New file.
24300 * include/sys/param.h: New file.
24301 * misc/Makefile (headers): Add bits/param.h.
24302 * sysdeps/generic/sys/param.h: File removed.
24303 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24304 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24305 * sysdeps/mach/hurd/bits/param.h: New file.
24306 * sysdeps/mach/hurd/sys/param.h: File removed.
24308 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24311 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24313 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24314 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24317 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24318 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24319 rather than -D_IO_MTSAFE_IO conditionally.
24320 * stdio-common/Makefile (CPPFLAGS): Likewise.
24321 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24322 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24323 Use $(libio-mtsafe).
24324 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24325 of -D_IO_MTSAFE_IO.
24326 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24327 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24328 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24329 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24330 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24331 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24332 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24333 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24334 (CFLAGS-fread_u_chk.c): Likewise.
24335 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24336 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24337 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24338 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24339 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24340 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24341 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24342 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24343 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24345 * libio/Makefile: Test [$(libc-reentrant) = yes]
24346 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24349 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24350 * sysdeps/pthread/configure: File removed.
24351 * sysdeps/pthread/Makeconfig: New file.
24352 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24353 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24355 2012-08-16 Gary Benson <gbenson@redhat.com>
24357 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24358 unmapping the first object in a namespace.
24360 2012-08-16 Roland McGrath <roland@hack.frob.com>
24362 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24363 (__internal_setnetgrent): ... this. Add internal_function to
24364 definition. Add libc_hidden_def.
24365 (setnetgrent): Update caller.
24366 (internal_endnetgrent): Renamed to ...
24367 (__internal_endnetgrent): ... this. Add internal_function to
24368 definition. Add libc_hidden_def.
24369 (endnetgrent): Update caller.
24370 (internal_getnetgrent_r): Renamed to ...
24371 (__internal_getnetgrent_r): ... this. Add internal_function to
24372 definition. Add libc_hidden_def.
24373 (__getnetgrent_r): Update caller.
24374 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24376 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24378 * stdlib/longlong.h: Update from GCC.
24380 2012-08-16 Roland McGrath <roland@hack.frob.com>
24382 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24383 on _QL, which is set by umul_ppmm but never used.
24384 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24385 variables, which are set by GMP macros but never used.
24386 * stdio-common/_itowa.c (_itowa): Likewise.
24387 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24388 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24390 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24392 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24393 struct La_sh_regs is not constant.
24394 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24395 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24396 and struct La_sparc64_regs are not constant.
24398 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24400 * sysdeps/unix/sysv/linux/kernel-features.h
24401 (__ASSUME_POSIX_TIMERS): Remove.
24402 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24403 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24404 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24405 Make code unconditional.
24406 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24407 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24408 Make code unconditional.
24409 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24410 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24411 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24412 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24413 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24414 Make code unconditional.
24415 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24416 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24417 (__libc_missing_posix_timers): Remove.
24419 2012-08-15 Roland McGrath <roland@hack.frob.com>
24421 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24422 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24424 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24426 * elf/dl-sym.c: Include <stdlib.h>.
24428 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24429 constants, which avoids warnings in 32-bit builds.
24431 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24432 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24434 * misc/lseek.c: File moved to ...
24435 * io/lseek.c: ... here.
24437 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24439 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24440 shifting LEN more than 31 bits at once.
24442 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24445 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24446 segmentation fault for a case of two empty input strings.
24447 * string/test-strncasecmp.c (check1): Renamed to...
24448 (bz12205): ...this.
24449 (bz14195): Add new testcase for two empty input strings and N > 0.
24450 (test_main): Call new testcase, adapt for renamed function.
24452 2012-08-15 Andreas Jaeger <aj@suse.de>
24455 * crypt/md5test2.c: New test, based on test supplied by Serge
24456 Belyshev <belyshev@depni.sinp.msu.ru>.
24457 * crypt/Makefile (xtests): Add md5test-giant..
24458 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24460 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24463 * crypt/md5.c (md5_process_block): Don't assume the buffer
24464 length is less than 2**32.
24465 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24466 length is less than 2**64.
24468 2012-08-15 Roland McGrath <roland@hack.frob.com>
24470 * string/str-two-way.h: Include <sys/param.h>.
24471 (MAX): Macro removed.
24473 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24474 Move #define and #undef of memmove to just before and after
24475 including <string.h>.
24477 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24478 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24479 and after including <string.h>. Move declarations of
24480 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24481 to before #include "string/memmove.c".
24483 * include/dirent.h: Declare __getdirentries.
24485 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24486 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24488 2012-08-14 Mike Frysinger <vapier@gentoo.org>
24490 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24491 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24492 * sysdeps/i386/configure: Regenerated.
24493 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24494 STABS_CURRENT_FILE, and STABS_FUN.
24495 (END): Remove call to STABS_FUN_END.
24496 (STABS_CURRENT_FILE1): Delete.
24497 (STABS_CURRENT_FILE): Likewise.
24498 (STABS_FUN): Likewise.
24499 (STABS_FUN_END): Likewise.
24500 (STABS_FUN2): Likewise.
24501 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24502 * sysdeps/x86_64/configure: Regenerated.
24504 2012-08-14 Roland McGrath <roland@hack.frob.com>
24506 * elf/dl-open.c: Include <atomic.h>.
24507 * elf/dl-lookup.c: Likewise.
24509 2012-08-14 Joseph Myers <joseph@codesourcery.com>
24511 * sysdeps/unix/sysv/linux/kernel-features.h
24512 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24513 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24515 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24517 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24518 condition on __ASSUME_CLONE_THREAD_FLAGS.
24520 2012-08-14 Andreas Jaeger <aj@suse.de>
24522 * sysdeps/i386/fpu/libm-test-ulps: Update.
24524 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24526 * include/atomic.h (atomic_exchange_and_add): Split into ...
24527 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24530 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24534 2012-08-13 Jeff Law <law@redhat.com>
24536 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24537 null byte in the output string.
24539 2012-08-10 Joseph Myers <joseph@codesourcery.com>
24541 * sysdeps/unix/sysv/linux/kernel-features.h
24542 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24543 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24544 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24545 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24546 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24547 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24548 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24550 2012-08-09 Jeff Law <law@redhat.com>
24553 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24554 When avoid_arena is set, don't retry in the that arena. Pick the
24555 next one, whatever it might be.
24556 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24557 (arena_lock): Pass in new parameter to arena_get2.
24558 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24560 (__libc_malloc): Unify retrying after main arena failure with
24561 __libc_memalign version.
24562 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24564 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24567 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24568 to __redirect_strstr.
24569 (__strstr_sse42): Use typeof __redirect_strstr.
24570 (__strstr_ia32): Likewise.
24571 (__libc_strstr): New prototype.
24572 (strstr): Renamed to ...
24573 (__libc_strstr): This.
24574 (strstr): New strong alias of __libc_strstr.
24575 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24576 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24579 (__libc_time): New prototype.
24580 (time_ifunc): Replace time with __libc_time.
24581 (time): New strong alias and hidden definition of __libc_time.
24582 (__GI_time): Remove strong alias.
24583 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24584 Include <stddef.h>.
24585 (memmove): Redefined to __redirect_memmove.
24586 (__memmove_sse2): Use typeof __redirect_memmove.
24587 (__memmove_ssse3): Likewise.
24588 (__memmove_ssse3_back): Likewise.
24589 (__libc_memmove): New prototype.
24590 (memmove): Renamed to ...
24591 (__libc_memmove): This.
24592 (memmove): New strong alias of __libc_memmove.
24594 2012-08-08 Mark Salter <msalter@redhat.com>
24597 (R_MN10300_TLS_GD): Define.
24598 (R_MN10300_TLS_LD): Likewise.
24599 (R_MN10300_TLS_LDO): Likewise.
24600 (R_MN10300_TLS_GOTIE): Likewise.
24601 (R_MN10300_TLS_IE): Likewise.
24602 (R_MN10300_TLS_LE): Likewise.
24603 (R_MN10300_TLS_DTPMOD): Likewise.
24604 (R_MN10300_TLS_DTPOFF): Likewise.
24605 (R_MN10300_TLS_TPOFF): Likewise.
24606 (R_MN10300_SYM_DIFF): Likewise.
24607 (R_MN10300_ALIGN): Likewise.
24608 (R_MN10300_NUM): Update.
24610 2012-08-08 Joseph Myers <joseph@codesourcery.com>
24612 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24615 2012-08-08 Roland McGrath <roland@hack.frob.com>
24617 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24619 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24620 sysdeps/unix -> sysdeps/posix move.
24621 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24623 2012-08-07 Allan McRae <allan@archlinux.org>
24626 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24627 (SUNOS_CPP): Likewise.
24628 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24630 (open_input): Call CPP using execvp.
24632 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24634 * sysdeps/unix/sysv/linux/kernel-features.h
24635 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24636 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24637 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24638 (__ASSUME_WAITID_SYSCALL): Likewise.
24639 * sysdeps/unix/sysv/linux/dl-execstack.c
24640 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24641 code unconditional.
24642 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24644 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24645 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24646 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24648 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24650 [__ASSUME_WAITID_SYSCALL]: Likewise.
24651 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24653 2012-08-07 Roland McGrath <roland@hack.frob.com>
24655 * sysdeps/unix/closedir.c: Renamed to ...
24656 * sysdeps/posix/closedir.c: ... here.
24657 * sysdeps/unix/dirfd.c: Renamed to ...
24658 * sysdeps/posix/dirfd.c: ... here.
24659 * sysdeps/unix/dirstream.h: Renamed to ...
24660 * sysdeps/posix/dirstream.h: ... here.
24661 * sysdeps/unix/fdopendir.c: Renamed to ...
24662 * sysdeps/posix/fdopendir.c: ... here.
24663 * sysdeps/unix/opendir.c: Renamed to ...
24664 * sysdeps/posix/opendir.c: ... here.
24665 * sysdeps/unix/readdir.c: Renamed to ...
24666 * sysdeps/posix/readdir.c: ... here.
24667 * sysdeps/unix/readdir_r.c: Renamed to ...
24668 * sysdeps/posix/readdir_r.c: ... here.
24669 * sysdeps/unix/rewinddir.c: Renamed to ...
24670 * sysdeps/posix/rewinddir.c: ... here.
24671 * sysdeps/unix/seekdir.c: Renamed to ...
24672 * sysdeps/posix/seekdir.c: ... here.
24673 * sysdeps/unix/telldir.c: Renamed to ...
24674 * sysdeps/posix/telldir.c: ... here.
24675 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24676 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24677 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24678 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24680 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24681 * bits/fcntl.h: ... here.
24683 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24685 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24686 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24687 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24688 (struct flock): Move l_start, l_len to the beginning.
24689 Use __pid_t for l_pid.
24690 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24691 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24692 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24693 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24694 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24695 [__USE_LARGEFILE64] (struct flock64): New type.
24696 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24698 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24699 * bits/dirent.h: ... here.
24701 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24702 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24704 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24706 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24707 Change from 2.6.0 to 2.6.16.
24708 * sysdeps/unix/sysv/linux/configure: Regenerated.
24709 * sysdeps/unix/sysv/linux/kernel-features.h
24710 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24711 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24713 (__ASSUME_UTIMES): Likewise.
24714 (__ASSUME_CLONE_STOPPED): Remove.
24715 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24716 architectures, not kernel version.
24717 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24718 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24719 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24720 (__ASSUME_WAITID_SYSCALL): Likewise.
24721 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24722 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24723 * README: State 2.6.16 as minimum Linux kernel version. Do not
24724 refer to older versions.
24726 2012-08-06 Roland McGrath <roland@hack.frob.com>
24728 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24729 Define alphasort64 as an alias.
24730 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24731 Define versionsort64 as an alias.
24732 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24733 Define scandir64 as an alias.
24734 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24735 Define scandirat64 as an alias.
24736 * dirent/alphasort64.c (alphasort64):
24737 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24738 * dirent/versionsort64.c: Likewise.
24739 * dirent/scandir64.c: Likewise.
24740 * dirent/scandirat64.c: Likewise.
24741 * sysdeps/wordsize-64/alphasort.c: File removed.
24742 * sysdeps/wordsize-64/alphasort64.c: File removed.
24743 * sysdeps/wordsize-64/scandir.c: File removed.
24744 * sysdeps/wordsize-64/scandir64.c: File removed.
24745 * sysdeps/wordsize-64/scandirat.c: File removed.
24746 * sysdeps/wordsize-64/scandirat64.c: File removed.
24747 * sysdeps/wordsize-64/versionsort.c: File removed.
24748 * sysdeps/wordsize-64/versionsort64.c: File removed.
24749 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24750 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24751 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24752 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24753 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24754 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24755 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24756 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24758 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24759 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24760 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24761 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24762 [defined __arch64__ || defined __sparcv9]
24763 (__INO_T_MATCHES_INO64_T): New macro.
24764 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24765 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24766 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24767 * sysdeps/unix/sysv/linux/bits/dirent.h
24768 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24769 (_DIRENT_MATCHES_DIRENT64): New macro.
24771 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24772 Define lockf64 as an alias.
24773 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24774 Define fseeko64 as an alias.
24775 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24776 Define ftello64 as an alias.
24777 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24778 Define _IO_fgetpos64 and fgetpos64 as aliases.
24779 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24780 Define _IO_fsetpos64 and fsetpos64 as aliases.
24781 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24782 Conditionalize body on this.
24783 * libio/fseeko64.c: Likewise.
24784 * libio/ftello64.c: Likewise.
24785 * libio/iofgetpos64.c: Likewise.
24786 * libio/iofsetpos64.c: Likewise.
24787 * sysdeps/wordsize-64/lockf.c: File removed.
24788 * sysdeps/wordsize-64/lockf64.c: File removed.
24789 * sysdeps/wordsize-64/fseeko.c: File removed.
24790 * sysdeps/wordsize-64/fseeko64.c: File removed.
24791 * sysdeps/wordsize-64/ftello.c: File removed.
24792 * sysdeps/wordsize-64/ftello64.c: File removed.
24793 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24794 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24795 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24796 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24797 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24798 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24799 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24800 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24801 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24802 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24803 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24804 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24805 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24806 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24808 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24809 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24810 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24811 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24812 [defined __arch64__ || defined __sparcv9]
24813 (__OFF_T_MATCHES_OFF64_T): New macro.
24814 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24815 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24816 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24817 (__OFF_T_MATCHES_OFF64_T): New macro.
24819 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24821 * stdlib/secure-getenv.c (__secure_getenv): Replace
24822 GLIBC_2_16 with GLIBC_2_17.
24824 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24826 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24827 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24829 2012-08-03 David S. Miller <davem@davemloft.net>
24831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24833 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24835 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24837 (__ASSUME_CORRECT_SI_PID): Likewise.
24838 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24839 (__ASSUME_TMPFS_NAME): Likewise.
24840 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24841 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24842 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24843 (HAVE_AUX_SECURE): Make definition unconditional.
24844 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24845 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24847 2012-08-03 Roland McGrath <roland@hack.frob.com>
24849 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24850 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24851 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24852 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24853 __eloop_threshold instead of SYMLOOP_MAX.
24855 * sysdeps/generic/eloop-threshold.h: New file.
24856 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24858 * elf/chroot_canon.c (chroot_canon): Likewise.
24860 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24863 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24864 Change to 2.6.0 everywhere.
24865 * sysdeps/unix/sysv/linux/configure: Regenerated.
24866 * sysdeps/unix/sysv/linux/kernel-features.h
24867 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24868 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24870 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24871 (__ASSUME_FUTEX_REQUEUE): Remove.
24872 (__ASSUME_STATFS64): Define unconditionally.
24873 (__ASSUME_AT_SECURE): Likewise.
24874 (__ASSUME_CORRECT_SI_PID): Likewise.
24875 (__ASSUME_TGKILL): Define without depending on kernel version for
24877 (__ASSUME_UTIMES): Likewise.
24878 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24880 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24881 (__ASSUME_TMPFS_NAME): Likewise.
24882 * README: Update reference to Linux kernel versions.
24884 2012-08-02 Marek Polacek <polacek@redhat.com>
24887 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24888 libc_cv_asm_type_prefix with %.
24889 * configure: Regenerated.
24890 * include/libc-symbols.h: Remove comment about
24891 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24892 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24893 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24894 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24895 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24896 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24897 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24898 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24899 * elf/tst-unique2mod1.c: Likewise.
24900 * elf/tst-unique1mod2.c: Likewise.
24901 * elf/tst-unique1mod1.c: Likewise.
24902 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24903 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24904 Replace ASM_TYPE_DIRECTIVE with .type.
24905 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24906 * sysdeps/i386/sysdep.h: Likewise.
24907 * sysdeps/x86_64/sysdep.h: Likewise.
24908 * sysdeps/sh/sysdep.h: Likewise.
24909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24910 Do not define ASM_TYPE_DIRECTIVE.
24911 * sysdeps/powerpc/sysdep.h: Likewise.
24912 * sysdeps/powerpc/powerpc32/sysdep.h:
24913 Replace ASM_TYPE_DIRECTIVE with .type.
24914 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24915 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24916 * sysdeps/i386/fpu/e_powf.S: Likewise.
24917 * sysdeps/i386/fpu/e_expl.S: Likewise.
24918 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24919 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24920 * sysdeps/i386/fpu/e_pow.S: Likewise.
24921 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24922 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24923 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24924 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24925 * sysdeps/i386/fpu/e_log2.S: Likewise.
24926 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24927 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24928 * sysdeps/i386/fpu/e_powl.S: Likewise.
24929 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24930 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24931 * sysdeps/i386/fpu/e_logl.S: Likewise.
24932 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24933 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24934 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24935 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24936 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24937 * sysdeps/i386/fpu/e_log.S: Likewise.
24938 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24939 * sysdeps/i386/fpu/e_logf.S: Likewise.
24940 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24941 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24942 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24943 * sysdeps/i386/fpu/e_log10.S: Likewise.
24944 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24945 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24946 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24947 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24948 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24949 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24950 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24951 * sysdeps/i386/i686/strtok.S: Likewise.
24952 * sysdeps/i386/i386-mcount.S: Likewise.
24953 * sysdeps/i386/strtok.S: Likewise.
24954 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24955 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24956 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24957 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24958 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24959 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24960 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24961 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24962 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24963 * sysdeps/x86_64/_mcount.S: Likewise.
24964 * sysdeps/x86_64/strtok.S: Likewise.
24965 * sysdeps/sh/_mcount.S: Likewise.
24967 2012-08-01 Roland McGrath <roland@hack.frob.com>
24969 * libio/iofopen.c: Include <fcntl.h>.
24970 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24971 (_IO_fopen64, fopen64): Define as aliases.
24972 * libio/iofopen64.c: Include <fcntl.h>.
24973 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24974 Conditionalize body on this.
24975 * sysdeps/wordsize-64/iofopen.c: File removed.
24976 * sysdeps/wordsize-64/iofopen64.c: File removed.
24978 2012-08-01 Marek Polacek <polacek@redhat.com>
24980 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24981 Use dlfcn directly instead of a variable.
24982 (binfmt-subdir): Do not define.
24985 2012-08-01 Joseph Myers <joseph@codesourcery.com>
24987 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24988 Remove all definitions.
24989 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24990 <kernel-features.h>.
24991 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24992 (miss_F_GETOWN_EX): Remove all definitions.
24993 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24995 [!__ASSUME_FCNTL64]: Remove conditional code.
24996 [__ASSUME_FCNTL64]: Make code unconditional.
24997 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24998 <kernel-features.h>.
24999 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25000 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25001 (lockf64) [__NR_fcntl64]: Make code unconditional.
25002 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25004 * sysdeps/unix/sysv/linux/kernel-features.h
25005 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25006 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25007 Make code unconditional.
25008 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25009 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25011 [__NR_vfork]: Make code unconditional.
25012 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25013 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25015 [__NR_vfork]: Make code unconditional.
25016 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25017 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25019 2012-08-01 Roland McGrath <roland@hack.frob.com>
25021 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25022 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25024 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25025 Define mkstemp64 as an alias.
25026 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25027 Define mkstemps64 as an alias.
25028 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25029 Define mkostemp64 as an alias.
25030 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25031 Define mkostemps64 as an alias.
25032 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25033 Conditionalize body on this.
25034 * misc/mkostemp64.c: Likewise.
25035 * misc/mkostemps64.c: Likewise.
25036 * misc/mkstemps64.c: Likewise.
25037 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25038 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25039 * sysdeps/wordsize-64/mkostemp.c: File removed.
25040 * sysdeps/wordsize-64/mkstemp.c: File removed.
25041 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25042 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25043 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25044 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25047 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25048 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25049 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25050 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25052 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25053 compat_symbol macros from <shlib-compat.h> rather than the underlying
25054 default_symbol_version and symbol_version macros, so that DEFAULT
25055 lines in shlib-versions are respected.
25056 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25058 2012-08-01 Florian Weimer <fweimer@redhat.com>
25060 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25061 Declare with warn_unused_result.
25062 (setgid, setregid, setegid, setresgid): Likewise.
25063 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25065 * WUR-REPORT: Remove set*id functions.
25067 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25069 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25071 2012-07-31 Roland McGrath <roland@hack.frob.com>
25074 * include/sys/socket.h (__libc_accept, __libc_accept4):
25075 Add attribute_hidden.
25076 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25078 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25080 * inet/getnetgrent_r.c (setup): Likewise.
25082 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25084 2012-07-31 David S. Miller <davem@davemloft.net>
25086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25088 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25091 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25092 value between 1.0 and 2.0 and smaller part has absolute value less
25094 * math/s_clog10.c (__clog10): Likewise.
25095 * math/s_clog10f.c (__clog10f): Likewise.
25096 * math/s_clog10l.c (__clog10l): Likewise.
25097 * math/s_clogf.c (__clogf): Likewise.
25098 * math/s_clogl.c (__clogl): Likewise.
25099 * math/libm-test.inc (clog_test): Add more tests.
25100 (clog10_test): Likewise.
25101 * sysdeps/i386/fpu/libm-test-ulps: Update.
25102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25104 2012-07-31 Florian Weimer <fweimer@redhat.com>
25106 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25107 Exit with zero in case no suitable GID is found, and write a
25108 message to standard error.
25110 2012-07-30 Roland McGrath <roland@hack.frob.com>
25112 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25114 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25115 (MAXPATHLEN): Removed.
25116 (NOGROUP, NODEV): New macros.
25117 (setbit, clrbit, isset, isclr): New macros.
25118 (howmany, roundup, powerof2): New macros.
25119 (DEV_BSIZE): New macro.
25121 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25122 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25124 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25125 definition on [!__NO_LONG_DOUBLE_MATH].
25127 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25128 PTR_MANGLE and PTR_DEMANGLE.
25130 * socket/accept4.c (accept4): Rename to __libc_accept4.
25131 Define accept4 as a weak alias.
25133 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25134 on [_DIRENT_HAVE_D_TYPE].
25135 * io/ftw.c (ftw_dir): Likewise.
25137 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25139 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25141 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25142 Use the BSD numbers rather than the arbitrary ones we had.
25143 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25144 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25145 (SIGXCPU, SIGXFSZ): New macros.
25148 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25149 initializer on [_LIBC_REENTRANT].
25151 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25152 definitions inside [_POSIX_MAPPED_FILES].
25154 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25156 * dirent/opendir.c: Include <fcntl.h>.
25158 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25159 (__libc_getspecific): Likewise.
25160 (__libc_key_create): Likewise.
25162 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25163 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25164 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25165 (tmpfile64): Define as alias.
25166 * sysdeps/wordsize-64/tmpfile.c: File removed.
25167 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25168 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25169 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25171 * stdio-common/vfscanf.c: Include <stdbool.h>.
25172 * nss/makedb.c: Likewise.
25173 * stdio-common/_i18n_number.h: Likewise.
25174 * argp/argp-help.c: Likewise.
25175 * posix/wordexp.c: Likewise.
25176 * sysdeps/posix/spawni.c: Likewise.
25177 * nss/nss_files/files-initgroups.c: Likewise.
25178 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25179 * nss/nss_files/files-initgroups.c: Likewise.
25180 * nss/nss_db/db-netgrp.c: Likewise.
25181 * nss/nss_db/db-initgroups.c: Likewise.
25182 * io/fchmodat.c: Include <sys/stat.h>.
25184 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25185 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25187 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25190 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25191 Add multiple inclusion protection.
25193 2012-07-27 David S. Miller <davem@davemloft.net>
25195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25197 2012-07-27 Gary Benson <gbenson@redhat.com>
25200 * elf/rtld.c: Include <stap-probe.h>.
25201 (dl_main): Added static probes "init_start" and "init_complete".
25202 * elf/dl-load.c: Include <stap-probe.h>.
25203 (lose): Take new parameter "nsid".
25204 Added static probe "map_failed".
25205 (_dl_map_object_from_fd): Pass namespace id to lose.
25206 Added static probe "map_start".
25207 (open_verify): Pass namespace id to lose.
25208 * elf/dl-open.c: Include <stap-probe.h>.
25209 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25210 and "reloc_complete".
25211 * elf/dl-close.c: Include <stap-probe.h>.
25212 (_dl_close_worker): Added static probes "unmap_start" and
25214 * elf/rtld-debugger-interface.txt: New file documenting the above.
25216 2012-07-26 Roland McGrath <roland@hack.frob.com>
25218 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25219 rather than a string variable.
25220 * sunrpc/rpc_main.c (h_output): Likewise.
25221 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25223 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25225 * inet/check_native.c: New file.
25227 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25230 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25231 if larger part has absolute value 1.0.
25232 * math/s_clog10.c (__clog10): Likewise.
25233 * math/s_clog10f.c (__clog10f): Likewise.
25234 * math/s_clog10l.c (__clog10l): Likewise.
25235 * math/s_clogf.c (__clogf): Likewise.
25236 * math/s_clogl.c (__clogl): Likewise.
25237 * math/libm-test.inc (clog_test): Add more tests.
25238 (clog10_test): Likewise.
25239 * sysdeps/i386/fpu/libm-test-ulps: Update.
25240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25242 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25243 (pltexit): Likewise.
25244 (La_regs): Likewise.
25245 (La_retval): Likewise.
25246 (int_retval): Likewise.
25247 Update #error for removed macros to refer only to definitions in
25249 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25251 (pltexit): Likewise.
25252 (La_regs): Likewise.
25253 (La_retval): Likewise.
25254 (int_retval): Likewise.
25255 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25257 (pltexit): Likewise.
25258 (La_regs): Likewise.
25259 (La_retval): Likewise.
25260 (int_retval): Likewise.
25261 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25263 (pltexit): Likewise.
25264 (La_regs): Likewise.
25265 (La_retval): Likewise.
25266 (int_retval): Likewise.
25267 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25269 (pltexit): Likewise.
25270 (La_regs): Likewise.
25271 (La_retval): Likewise.
25272 (int_retval): Likewise.
25273 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25275 (pltexit): Likewise.
25276 (La_regs): Likewise.
25277 (La_retval): Likewise.
25278 (int_retval): Likewise.
25279 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25281 (pltexit): Likewise.
25282 (La_regs): Likewise.
25283 (La_retval): Likewise.
25284 (int_retval): Likewise.
25285 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25286 macro definitions in tst-audit.h.
25287 * sysdeps/i386/tst-audit.h: New file.
25288 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25289 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25290 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25291 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25292 * sysdeps/sh/tst-audit.h: Likewise.
25293 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25294 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25295 * sysdeps/x86_64/tst-audit.h: Likewise.
25297 2012-07-26 Andreas Jaeger <aj@suse.de>
25299 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25302 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25303 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25304 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25306 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25307 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25308 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25310 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25313 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25315 (si_call_addr, si_syscall, si_arch): Define new macro.
25316 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25318 (si_call_addr, si_syscall, si_arch): Define new marcro.
25319 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25321 (si_call_addr, si_syscall, si_arch): Define new macro.
25322 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25324 (si_call_addr, si_syscall, si_arch): Define new macro.
25326 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25329 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25330 Change to 2.4.21 where previously 2.4.1.
25331 * sysdeps/unix/sysv/linux/configure: Regenerated.
25332 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25333 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25334 Linux kernel version.
25335 (__ASSUME_STD_AUXV): Remove.
25336 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25338 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25339 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25340 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25341 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25342 (__ASSUME_NETLINK_SUPPORT): Likewise.
25343 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25344 (__no_netlink_support): Remove conditional definition.
25345 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25347 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25348 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25349 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25350 (if_nameindex_ioctl): Remove.
25351 (if_nameindex_netlink): Do not handle __no_netlink_support.
25352 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25354 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25355 Remove conditional code.
25356 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25358 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25360 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25361 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25362 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25364 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25365 [!__ASSUME_STD_AUXV]: Remove conditional code.
25366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25367 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25368 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25370 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25371 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25373 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25375 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25376 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25378 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25380 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25383 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25386 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25387 code unconditional.
25388 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25390 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25392 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25395 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25397 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25400 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25401 code unconditional.
25402 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25404 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25406 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25409 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25410 code unconditional.
25411 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25413 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25415 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25418 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25420 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25421 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25422 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25423 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25424 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25425 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25426 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25427 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25428 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25429 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25430 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25431 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25432 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25433 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25434 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25435 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25436 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25437 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25438 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25440 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25441 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25442 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25444 2012-07-25 Florian Weimer <fweimer@redhat.com>
25446 * Versions.def: Add GLIBC_2.17.
25447 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25448 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25449 Introduce __libc_secure_getenv.
25450 * stdlib/Versions (2.17): Add secure_getenv
25451 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25452 * stdlib/secure-getenv.c: Rename __secure_getenv to
25453 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25454 symbol __secure_getenv for GLIBC_2.0.
25455 * stdlib/tst-secure-getenv.c: New.
25456 * stdlib/Makefile (tests): Add testcase.
25457 * manual/startup.texi (Environment Access): Document
25459 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25460 __libc_secure_getenv.
25461 * inet/ruserpass.c (ruserpass): Likewise.
25462 * malloc/mtrace.c (mtrace): Likewise.
25463 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25464 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25465 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25466 * sysdeps/posix/tempname.c: Likewise. Evaluate
25467 HAVE_SECURE_GETENV.
25468 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25469 __secure_getenv to __libc_secure_getenv.
25470 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25477 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25483 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25485 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25486 (struct La_i86_retval): Likewise.
25487 (struct La_x86_64_regs): Likewise.
25488 (struct La_x86_64_retval): Likewise.
25489 (struct La_x32_regs): Likewise.
25490 (struct La_x32_retval): Likewise.
25491 (struct La_ppc32_regs): Likewise.
25492 (struct La_ppc32_retval): Likewise.
25493 (struct La_ppc64_regs): Likewise.
25494 (struct La_ppc64_retval): Likewise.
25495 (struct La_sh_regs): Likewise.
25496 (struct La_sh_retval): Likewise.
25497 (struct La_s390_32_regs): Likewise.
25498 (struct La_s390_32_retval): Likewise.
25499 (struct La_s390_64_regs): Likewise.
25500 (struct La_s390_64_retval): Likewise.
25501 (struct La_sparc32_regs): Likewise.
25502 (struct La_sparc32_retval): Likewise.
25503 (struct La_sparc64_regs): Likewise.
25504 (struct La_sparc64_retval): Likewise.
25505 (struct audit_ifaces): Remove architecture-specific pltenter and
25507 * sysdeps/i386/ldsodefs.h: New file.
25508 * sysdeps/powerpc/ldsodefs.h: Likewise.
25509 * sysdeps/s390/ldsodefs.h: Likewise.
25510 * sysdeps/sh/ldsodefs.h: Likewise.
25511 * sysdeps/sparc/ldsodefs.h: Likewise.
25512 * sysdeps/x86_64/ldsodefs.h: Likewise.
25514 2012-07-25 Marek Polacek <polacek@redhat.com>
25517 * math/libm-test.inc (yn_test): Add another test.
25518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25519 to ERANGE when the result is +-Inf.
25520 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25521 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25522 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25523 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25525 2012-07-24 Joseph Myers <joseph@codesourcery.com>
25527 * conform/data/time.h-data (NULL): Use macro-constant. Require
25529 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25531 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25533 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25535 * configure.in <sysdeps resolving>: Correct printing
25537 * configure: Regenerate.
25539 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25541 * math/w_ilogb.c: Include <limits.h>.
25542 * math/w_ilogbl.c: Likewise.
25544 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25546 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25547 va_copy. Document allowing for unavailable va_copy only as
25548 pre-C99 compatibility.
25549 * manual/string.texi (Copying and Concatenation): Use va_copy
25550 instead of __va_copy in concat example.
25552 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25554 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25555 (__sendto): Use create_address_port. Initialize APORT and deallocate
25558 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25559 with O_NOLINK passed to __file_name_lookup.
25561 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25562 with O_NOLINK passed to __file_name_lookup.
25564 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25565 negative N or less than NGIDS.
25567 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25568 type to string_t. Set ERANGE as errno and return it if NAME is not big
25569 enough. Use memcpy instead of strncpy.
25571 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25573 * elf/Makefile (check-data): Remove.
25574 (localplt.data): New vpath directive.
25575 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25576 instead of $(check-data).
25577 * scripts/data/localplt-generic.data: Move to ...
25578 * sysdeps/generic/localplt.data: ... here.
25579 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25580 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25581 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25584 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25587 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25590 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25593 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25596 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25600 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25602 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25603 PPC32 and PPC64 files.
25604 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25605 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25607 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25609 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25610 __makecontext_ret to ...
25611 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25612 ... here and call exit if uc_link is NULL. New file.
25613 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25614 __makecontext_ret.S.
25615 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25616 __makecontext_ret to ...
25617 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25618 ... here and call exit if uc_link is NULL. New file.
25619 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25620 __makecontext_ret.S.
25622 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25624 * elf/elf.h (R_390_IRELATIVE): New definition.
25625 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25626 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25627 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25628 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25629 (elf_machine_lazy_rel): Likewise.
25630 * sysdeps/s390/dl-irel.h: New file.
25631 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25632 * sysdeps/s390/s390-64/memset.S: New asm code.
25633 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25634 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25635 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25636 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25637 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25638 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25639 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25640 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25641 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25642 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25643 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25644 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25645 * sysdeps/s390/s390-32/memset.S: New asm code.
25646 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25648 2012-07-17 Marek Polacek <polacek@redhat.com>
25651 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25652 * sysdeps/s390/s390-64/configure.in: Likewise.
25653 * sysdeps/sparc/configure.in: Likewise.
25654 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25655 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25656 * sysdeps/i386/configure.in: Likewise.
25657 * sysdeps/x86_64/configure.in: Likewise.
25658 * sysdeps/sh/configure.in: Likewise.
25659 * sysdeps/s390/s390-32/configure: Regenerated.
25660 * sysdeps/s390/s390-64/configure: Likewise.
25661 * sysdeps/x86_64/configure: Likewise.
25662 * sysdeps/sh/configure: Likewise.
25663 * sysdeps/powerpc/powerpc64/configure: Likewise.
25664 * sysdeps/powerpc/powerpc32/configure: Likewise.
25665 * sysdeps/sparc/configure: Likwise.
25666 * sysdeps/i386/configure: Likewise.
25668 * elf/dl-open.c: Comment fixes.
25670 2012-07-17 Joseph Myers <joseph@codesourcery.com>
25672 * Makefile [CXX] (check-data): Remove.
25673 [CXX] (c++-types.data): New vpath directive.
25674 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25675 vpath. Do not allow for C++ type data being missing.
25676 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25677 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25678 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25679 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25680 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25681 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25682 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25685 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25688 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25691 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25694 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25697 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25700 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25703 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25706 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25707 definitions to architecture-specific files.
25708 (TLS_IE): Likewise.
25709 (TLS_LD): Likewise.
25710 (TLS_GD): Likewise.
25711 * sysdeps/i386/tls-macros.h: New file.
25712 * sysdeps/powerpc/tls-macros.h: Likewise.
25713 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25714 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25715 * sysdeps/sh/tls-macros.h: Likewise.
25716 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25717 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25718 * sysdeps/x86_64/tls-macros.h: Likewise.
25720 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25722 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25723 zero value for regular exit case.
25725 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25726 (__start_context): Preserve zero value for regular exit case.
25728 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25729 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25731 * manual/setjmp.texi (setcontext): Clarify normal process
25732 termination when uc_link is the null pointer.
25733 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25736 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25738 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25739 preprocessor. Test for each exception mask separately.
25741 2012-07-16 Andreas Jaeger <aj@suse.de>
25743 * po/ru.po: Update from translation team.
25745 2012-07-15 Joseph Myers <joseph@codesourcery.com>
25747 * conform/data/string.h-data (NULL): Use macro-constant. Require
25749 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25750 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25751 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25752 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25753 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25755 2012-07-13 Andreas Jaeger <aj@suse.de>
25757 * po/fr.po: Update from translation team.
25759 2012-07-12 Marek Polacek <polacek@redhat.com>
25762 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25763 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25766 2012-07-12 Joseph Myers <joseph@codesourcery.com>
25769 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25770 Change to 2.4.1 where previously 2.4.0.
25771 * sysdeps/unix/sysv/linux/configure: Regenerated.
25772 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25773 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25775 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25776 (__ASSUME_AT_CLKTCK): Remove.
25777 (__ASSUME_AT_PAGESIZE): Likewise.
25778 (__ASSUME_AT_XID): Likewise.
25779 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25780 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25781 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25783 (HAVE_AUX_PAGESIZE): Likewise.
25784 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25785 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25786 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25788 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25792 the temporary buffer used to invoke __gethostbyname2_r,
25793 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25794 host_data / struct gaih_addrtuple.
25795 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25796 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25797 header file nss/nsswitch.h.
25798 * nss/nsswitch.h (global scope): Add definition of implementation
25799 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25800 resolv/nss_dns/dns-host.c).
25802 2012-07-11 Andreas Jaeger <aj@suse.de>
25804 * po/fr.po: Update from translation team.
25806 * po/sv.po: Update from translation team
25807 * po/fr.po: Another update from translation team.
25809 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25811 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25812 for subnormals or multiply small sinh result by itself.
25813 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25816 2012-07-11 David S. Miller <davem@davemloft.net>
25818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25820 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25823 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25824 (INTERNAL_MARK): Shift it here.
25826 2012-07-10 Marek Polacek <polacek@redhat.com>
25829 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25830 libc_cv_asm_global_directive with .globl.
25831 * configure: Regenerated.
25832 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25834 * sysdeps/i386/configure: Regenerated.
25835 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25837 * sysdeps/x86_64/configure: Regenerated.
25838 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25839 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25840 * elf/tst-unique2mod2.c: Likewise.
25841 * elf/tst-unique2mod1.c: Likewise.
25842 * elf/tst-unique1mod2.c: Likewise.
25843 * elf/tst-unique1mod1.c: Likewise.
25844 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25845 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25846 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25847 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25848 * sysdeps/mach/sysdep.h: Likewise.
25849 * sysdeps/i386/sysdep.h: Likewise.
25850 * sysdeps/i386/i386-mcount.S: Likewise.
25851 * sysdeps/x86_64/_mcount.S: Likewise.
25852 * sysdeps/x86_64/sysdep.h: Likewise.
25853 * sysdeps/sh/_mcount.S: Likewise.
25854 * sysdeps/sh/sysdep.h: Likewise.
25855 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25856 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25857 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25858 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25859 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25860 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25861 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25862 * locale/localeinfo.h: Likewise.
25863 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25864 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25866 2012-07-09 Roland McGrath <roland@hack.frob.com>
25869 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25871 * manual/message.texi (The Uniforum approach): Likewise.
25872 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25873 (glibc iconv Implementation): Likewise.
25875 2012-07-09 Joseph Myers <joseph@codesourcery.com>
25878 * math/s_clog.c (__clog): Avoid scaling a value down where that
25879 could result in underflow.
25880 * math/s_clog10.c (__clog10): Likewise.
25881 * math/s_clog10f.c (__clog10f): Likewise.
25882 * math/s_clog10l.c (__clog10l): Likewise.
25883 * math/s_clogf.c (__clogf): Likewise.
25884 * math/s_clogl.c (__clogl): Likewise.
25885 * math/libm-test.inc (clog_test): Add more tests.
25886 (clog10_test): Likewise.
25887 * sysdeps/i386/fpu/libm-test-ulps: Update.
25888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25890 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25893 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25894 by 7 not 8 to examine high bit of fractional part.
25897 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25898 for call to __mcount_internal.
25899 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25900 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25901 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25903 2012-07-06 Joseph Myers <joseph@codesourcery.com>
25906 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25907 approximation for values within 0x1p-13f of an odd multiple of
25909 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25910 exception. Add more tests.
25911 * sysdeps/i386/fpu/libm-test-ulps: Update.
25914 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25915 inputs and return -1 for them. Do not check for +Inf in case not
25916 reachable for +Inf.
25917 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25918 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25919 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25920 and return -1 for them. Do not check for +Inf in case not
25921 reachable for +Inf.
25922 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25924 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25925 and return -1 for them. Do not check for +Inf in case not
25926 reachable for +Inf.
25927 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25928 spurious underflow.
25929 * sysdeps/i386/fpu/libm-test-ulps: Update.
25930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25932 2012-07-06 Mike Frysinger <vapier@gentoo.org>
25934 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25936 2012-07-05 Joseph Myers <joseph@codesourcery.com>
25940 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25941 could result in spurious underflow. Scale down values above
25942 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25943 * math/s_csqrtf.c (__csqrtf): Likewise.
25944 * math/s_csqrtl.c (__csqrtl): Likewise.
25945 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25946 spurious underflow.
25947 * sysdeps/i386/fpu/libm-test-ulps: Update.
25948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25950 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25952 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25954 * catgets/xopen-msg.awk: New file.
25955 * catgets/xopen-msg.sed: Removed.
25957 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25959 * intl/po2test.awk: New file.
25960 * intl/po2test.sed: Removed.
25962 2012-07-04 Joseph Myers <joseph@codesourcery.com>
25965 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25966 or multiply small sinh result by itself.
25967 * math/s_ctanf.c (__ctanf): Likewise.
25968 * math/s_ctanh.c (__ctanh): Likewise.
25969 * math/s_ctanhf.c (__ctanhf): Likewise.
25970 * math/s_ctanhl.c (__ctanhl): Likewise.
25971 * math/s_ctanl.c (__ctanl): Likewise.
25972 * math/libm-test.inc (ctan_test_tonearest): New function.
25973 (ctan_test_towardzero): Likewise.
25974 (ctan_test_downward): Likewise.
25975 (ctan_test_upward): Likewise.
25976 (ctanh_test_tonearest): Likewise.
25977 (ctanh_test_towardzero): Likewise.
25978 (ctanh_test_downward): Likewise.
25979 (ctanh_test_upward): Likewise.
25980 (main): Call these new functions.
25981 * sysdeps/i386/fpu/libm-test-ulps: Update.
25982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25984 2012-07-03 Mike Frysinger <vapier@gentoo.org>
25986 * .gitignore: Delete /ports entry.
25988 2012-07-03 Andreas Jaeger <aj@suse.de>
25990 * po/bg.po: Update from translation team.
25991 * po/cs.po: Likewise.
25992 * po/de.po: Likewise.
25993 * po/hr.po: Likewise.
25994 * po/nl.pl: Likewise.
25995 * po/pl.po: Likewise.
25996 * po/vi.po: Likewise.
25998 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26000 * Makeconfig [!+link] (+link-before-libc): New variable.
26001 [!+link] (+link-after-libc): Likewise.
26002 [!+link] (+link-tests): Likewise.
26003 [!+link] (+link): Define in terms of $(+link-before-libc) and
26004 $(+link-after-libc).
26005 [!+link-static] (+link-static-before-libc): New variable.
26006 [!+link-static] (+link-static-after-libc): Likewise.
26007 [!+link-static] (+link-static-tests): Likewise.
26008 [!+link-static] (+link-static): Define in terms of
26009 $(+link-static-before-libc) and $(+link-static-after-libc).
26010 [build-shared] (link-libc-before-gnulib): New variable.
26011 [build-shared] (link-libc-tests): Likewise.
26012 [build-shared] (link-libc): Define in terms of
26013 $(link-libc-before-gnulib).
26014 [!build-shared] (link-libc-tests): New variable.
26015 (link-libc-static-tests): New variable.
26016 [!gnulib] (gnulib-arch): New variable.
26017 [!gnulib] (gnulib-tests): Likewise.
26018 [!gnulib] (static-gnulib-arch): Likewise.
26019 [!gnulib] (static-gnulib-tests): Likewise.
26020 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26021 Define with "=" instead of ":=".
26022 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26023 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26024 * Rules (binaries-all-notests): New variable.
26025 (binaries-all-tests): Likewise.
26026 (binaries-static-notests): Likewise.
26027 (binaries-static-tests): Likewise.
26028 (binaries-all): Define using $(binaries-all-notests) and
26029 $(binaries-all-tests).
26030 (binaries-static): Define using $(binaries-static-notests) and
26031 $(binaries-static-tests).
26032 (binaries-shared-tests): New variable.
26033 (binaries-shared-notests): Likewise.
26034 (binaries-shared): Remove variable.
26035 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26036 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26037 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26038 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26039 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26040 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26041 * elf/Makefile (sln-modules): New variable.
26042 (extra-objs): Add $(sln-modules:=.o).
26043 (ldconfig-modules): Add static-stubs.
26044 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26045 * elf/static-stubs.c: New file.
26048 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26049 by 7 not 8 to examine high bit of fractional part. Use volatile
26050 variables when splitting into final array of floats if
26051 __FLT_EVAL_METHOD__ != 0.
26052 * math/libm-test.inc (cos_test): Add another test.
26053 (sin_test): Likewise.
26054 * sysdeps/i386/fpu/libm-test-ulps: Update.
26057 * math/libm-test.inc (cosh_test): Add more tests.
26059 * version.h (RELEASE): Set to "development".
26060 (VERSION): Set to "2.16.90".
26062 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26064 * NEWS: Update copyright. Remove last-updated date.
26065 Mention math library bug fixes and timezone data changes.
26066 * README: Mention GNU/Hurd, x32, and HPPA support status.
26068 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26070 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26072 2012-06-27 Andreas Jaeger <aj@suse.de>
26074 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26076 2012-06-25 Andreas Jaeger <aj@suse.de>
26078 * sysdeps/s390/fpu/libm-test-ulps: Update.
26080 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26081 Thomas Schwinge <thomas@codesourcery.com>
26083 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26084 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26085 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26088 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26090 * sysdeps/mach/start.c: Remove file.
26091 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26092 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26093 * sysdeps/sh/init-first.c: Likewise.
26095 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26096 registers for frame unwinding purposes, add CFI directives.
26097 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26098 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26099 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26102 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26103 __fortify_fail returning.
26104 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26106 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26107 sysdeps/sh/____longjmp_chk.S.
26108 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26109 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26110 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26111 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26113 * sysdeps/sh/abort-instr.h: New file.
26114 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26115 process in case exit returns.
26117 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26118 initialize the GOT register before use.
26120 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26121 calculation of ARGC > 4.
26123 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26124 meaningful names to some local labels.
26126 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26127 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26129 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26130 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26131 (__arch_compare_and_exchange_val_16_acq): Likewise.
26132 (__arch_compare_and_exchange_val_32_acq): Likewise.
26133 (atomic_exchange_and_add): Fix gUSA sequence.
26134 (atomic_add): Likewise.
26135 (atomic_add_negative): Likewise.
26136 (atomic_add_zero): Likewise.
26137 (atomic_bit_test_set): Likewise.
26139 2012-06-22 Andreas Schwab <schwab@redhat.com>
26142 * include/link.h (struct link_map): Add l_free_initfini.
26143 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26145 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26146 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26147 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26150 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26152 * configure.in: Use AC_LANG_SOURCE.
26153 * configure: Regenerate.
26155 2012-06-22 Roland McGrath <roland@hack.frob.com>
26157 * configure.in (libc_cv_localstatedir): New substituted variable.
26158 * configure: Regenerated.
26159 * config.make.in (localstatedir): New variable, substituted from
26160 libc_cv_localstatedir.
26161 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26162 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26163 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26164 * sysdeps/gnu/configure: Regenerated.
26166 2012-06-21 Jeff Law <law@redhat.com>
26169 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26170 free. Simplify list management for _LIBC case.
26172 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26175 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26176 Clear sign bit of 64-bit integer value before comparing against
26179 * sysdeps/mach/configure: Regenerated.
26181 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26184 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26186 2012-06-21 Jeff Law <law@redhat.com>
26189 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26190 uint16_t for elements in the "seen" array to avoid char overflows.
26191 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26192 * elf/dl-open.c (dl_open_worker): Likewise.
26194 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26196 * scripts/list-sources.sh: Scan PORTS for translations.
26197 * po/libc.pot: Regenerated.
26199 2012-06-21 Andreas Jaeger <aj@suse.de>
26202 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26204 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26205 * bits/byteswap-16.h (__bswap_16): Likewise.
26206 * bits/byteswap.h (__bswap_constant_16): Likewise.
26208 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26211 * sysdeps/i386/fpu_control.h: Removed.
26212 * sysdeps/x86_64/fpu_control.h: Moved to ...
26213 * sysdeps/x86/fpu_control.h: Here.
26215 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26216 (_FPU_SETCW): Likewise.
26218 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26221 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26222 * sysdeps/x86/fpu/bits/mathinline.h: This.
26223 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26227 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26228 functions if __x86_64__ is defined.
26230 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26232 * string/endian.h: Add !__ASSEMBLER__ condition for including
26233 conversion interfaces.
26235 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26238 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26239 of ABS(x) in calculating zero to negative powers other than odd
26241 * math/libm-test.inc (pow_test): Add more tests.
26243 2012-06-15 Andreas Jaeger <aj@suse.de>
26245 * manual/contrib.texi (Contributors): Update entry of Liubov
26246 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26249 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26251 * string/string.h: Add __wur to GNU version of strerror_r.
26253 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26256 * string/Makefile (tests): Add tst-strtok_r.
26257 * string/tst-strtok_r.c: New file.
26258 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26259 RAX_LP/RDX_LP on SAVE_PTR.
26261 2012-06-14 Roland McGrath <roland@hack.frob.com>
26263 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26265 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26267 * libm_test.inc (csqrt_test): Allow more spurious underflow
26269 (j0_test): Likewise.
26270 (j1_test): Likewise.
26271 (y0_test): Likewise.
26272 (y1_test): Likewise.
26274 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26276 * po/Makefile (libc.pot): Use UTF-8 charset.
26278 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26281 Suppress sign-conversion warning from FD_SET.
26282 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26283 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26284 not unsigned long int.
26285 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26287 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26291 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26292 __extern_always_inline instead of __extern_inline.
26293 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26294 (__signbit): Likewise.
26295 (__signbitl): Support C++ namespace.
26296 (lrintf): New inline function.
26298 (llrintf): Likewise.
26299 (llrint): Likewise.
26309 (floorf): Likewise.
26310 (nearbyint): Likewise.
26311 (nearbyintf): Likewise.
26313 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26315 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26316 non-default versions.
26318 2012-06-11 Roland McGrath <roland@hack.frob.com>
26321 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26323 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26325 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26326 (FE_UPWARD, FE_DOWNWARD): Don't define.
26327 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26328 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26330 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26332 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26333 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26335 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26337 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26338 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26339 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26340 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26342 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26345 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26346 * sysdeps/i386/fpu/Implies: New file.
26347 * sysdeps/x86_64/fpu/Implies: Likewise.
26348 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26349 * sysdeps/x86/fpu/bits/fenv.h: This.
26351 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26354 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26357 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26358 character 0xffff that matches the last element of the
26361 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26363 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26366 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26368 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26369 values higher than 25.6283.
26371 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26373 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26374 subnormal exponent extraction and add some __builtin_expect.
26375 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26376 Fix for subnormal mantissa calculation.
26378 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26380 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26381 cpu2 is -1 and errno is not ENOSYS.
26383 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26386 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26387 * sysdeps/x86/bits/string.h: This.
26388 * sysdeps/x86_64/bits/string.h: Removed.
26390 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26391 if not compiling for x86-64, but compiling for >= i486.
26393 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26394 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26396 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26397 New macro from Linux kernel 3.4.0.
26398 (FP_XSTATE_MAGIC2): Likewise.
26399 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26400 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26401 (struct _fpx_sw_bytes): New struct.
26402 (struct _xsave_hdr): Likewise.
26403 (struct _ymmh_state): Likewise.
26404 (struct _xstate): Likewise.
26406 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26407 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26408 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26409 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26410 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26411 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26413 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26414 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26415 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26416 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26417 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26418 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26420 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26423 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26424 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26425 (sysdep_headers): Include sys/platform/ppc.h.
26426 * sysdeps/powerpc/test-gettimebase.c: Test for
26427 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26428 * manual/Makefile (appendices): Include platform.texi.
26429 * manual/contrib.texi (Contributors): Update @node pointers.
26430 * manual/maint.texi (Maintenance): Likewise.
26431 (Platform): New node.
26432 * manual/platform.texi: New file. Document the new features.
26434 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26435 Jakub Jelinek <jakub@redhat.com>
26438 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26439 where __builtin_expect is unavailable.
26441 2012-06-03 David S. Miller <davem@davemloft.net>
26443 * stdlib/longlong.h: Updated from GCC.
26445 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26448 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26449 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26452 (GLIBC_2.16): Likewise.
26454 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26456 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26458 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26461 (default-abi): New variable.
26462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26463 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26465 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26467 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26469 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26472 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26473 definition. Document in comment.
26475 2012-06-01 David S. Miller <davem@davemloft.net>
26477 * stdlib/longlong.h: Updated from GCC.
26479 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26482 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26483 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26484 sys/debugreg.h sys/io.h here.
26485 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26486 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26488 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26489 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26490 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26491 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26492 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26493 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26495 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26496 Define only if __x86_64__ is defined.
26498 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26501 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26502 Use int64_t for variable i.
26503 * math/libm-test.inc (fmod_test): Add more tests.
26505 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26506 z computation is not scheduled after fetestexcept.
26507 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26508 Use math_force_eval instead of asm to ensure calculation scheduled
26509 before exception test.
26510 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26511 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26513 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26516 computation is not scheduled after fetestexcept.
26518 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26521 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26522 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26524 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26526 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26527 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26529 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26532 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26534 (__WCHAR_MIN): Support __WORDSIZE == 64.
26535 (__WCHAR_MAX): Likewise.
26537 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26538 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26541 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26542 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26545 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26546 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26548 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26549 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26551 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26552 Defined to 1 if __x86_64__ isn't defined.
26553 (_STAT_VER_LINUX_OLD): New.
26554 (st_atime): Remove duplicate.
26555 (st_mtime): Likewise.
26556 (st_ctime): Likewise.
26558 2012-05-31 David S. Miller <davem@davemloft.net>
26560 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26563 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26565 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26569 * elf/dl-reloc.c: Include <_itoa.h>.
26570 (_dl_reloc_bad_type): Remove use of INTUSE.
26571 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26572 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26573 * stdio-common/psiginfo.c (psiginfo): Likewise.
26574 * stdio-common/psignal.c (psignal): Likewise.
26575 * string/strsignal.c (strsignal): Likewise.
26576 * include/signal.h (_sys_siglist): Declare hidden proto.
26577 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26578 INTVARDEF with libc_hidden_data_def.
26579 * stdio-common/itoa-udigits.c: Likewise.
26580 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26581 (_itoa_lower_digits_internal): Remove declaration.
26582 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26583 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26584 (_sys_sigabbrev_internal): Remove aliases.
26585 (_sys_siglist): Define hidden alias.
26587 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26589 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26592 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26595 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26596 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26598 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26599 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26600 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26601 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26602 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26603 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26605 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26606 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26607 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26609 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26617 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26618 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26619 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26621 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26622 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26623 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26624 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26625 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26626 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26628 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26629 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26631 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26632 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26634 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26635 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26636 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26638 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26639 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26641 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26643 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26644 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26645 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26647 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26649 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26651 2012-05-31 Joseph Myers <joseph@codesourcery.com>
26653 * math/math.h (M_El): Use two more decimal places.
26654 (M_LOG2El): Likewise.
26655 (M_LOG10El): Likewise.
26656 (M_LN2l): Likewise.
26657 (M_LN10l): Likewise.
26659 (M_PI_2l): Likewise.
26660 (M_PI_4l): Likewise.
26661 (M_1_PIl): Likewise.
26662 (M_2_PIl): Likewise.
26663 (M_2_SQRTPIl): Likewise.
26664 (M_SQRT2l): Likewise.
26665 (M_SQRT1_2l): Likewise.
26667 2012-05-31 David S. Miller <davem@davemloft.net>
26669 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26670 values between float registers.
26671 * sysdeps/sparc/sparc64/memset.S: Likewise.
26672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26674 2012-05-31 Mike Frysinger <vapier@gentoo.org>
26676 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26677 -D_FORTIFY_SOURCE=1.
26678 (CPPFLAGS-tst-longjmp_chk.c): Define.
26679 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26680 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26681 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26682 CFLAGS-tst-wchar-h.c.
26684 2012-05-31 Marek Polacek <polacek@redhat.com>
26687 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26688 __endmntent_internal): Remove declaration.
26689 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26690 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26691 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26693 2012-05-30 David S. Miller <davem@davemloft.net>
26695 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26696 (___Q_simulate_exceptions): Use real FP ops rather than writing
26698 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26701 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26704 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26705 * sysdeps/x86/bits/xtitypes.h: This.
26707 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26708 * sysdeps/x86/bits/wordsize.h: This.
26710 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26711 * sysdeps/x86/bits/huge_vall.h: This.
26713 * sysdeps/i386/bits/select.h: Removed.
26714 * sysdeps/x86_64/bits/select.h: Renamed to ...
26715 * sysdeps/x86/bits/select.h: This.
26717 * sysdeps/i386/bits/setjmp.h: Removed.
26718 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26719 * sysdeps/x86/bits/setjmp.h: This.
26721 * sysdeps/i386/bits/mathdef.h: Removed.
26722 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26723 * sysdeps/x86/bits/mathdef.h: This.
26725 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26728 * include/sys/socket.h (__connect_internal)
26729 (__libc_sa_len_internal): Remove declaration.
26730 (__connect, __libc_sa_len): Declare hidden_proto.
26731 (SA_LEN): Remove use of INTUSE.
26732 * socket/connect.c: Add libc_hidden_def.
26733 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26734 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26735 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26737 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26738 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26739 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26740 of adding _internal alias.
26742 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26745 * sysdeps/i386/bits/link.h: Removed.
26746 * sysdeps/i386/bits/linkmap.h: Likewise.
26747 * sysdeps/x86_64/bits/link.h: Renamed to ...
26748 * sysdeps/x86/bits/link.h: This.
26749 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26750 * sysdeps/x86/bits/linkmap.h: This.
26752 * sysdeps/i386/bits/endian.h: Removed.
26753 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26754 * sysdeps/x86/bits/endian.h: This.
26756 * sysdeps/i386/bits/byteswap.h: Removed.
26757 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26758 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26759 * sysdeps/x86/bits/byteswap.h: This.
26760 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26761 * sysdeps/x86/bits/byteswap-16.h: This.
26762 * sysdeps/i386/Implies: Add x86.
26763 * sysdeps/x86_64/Implies: Likewise.
26765 2012-05-30 David S. Miller <davem@davemloft.net>
26767 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26768 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26769 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26770 (FP_TRAPPING_EXCEPTIONS): Define.
26771 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26772 (FP_TRAPPING_EXCEPTIONS): Define.
26773 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26774 subnormals only when inexact has been signalled or underflow
26775 exceptions are enabled.
26776 (_FP_PACK_CANONICAL): Likewise.
26778 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26781 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26782 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26784 2012-05-30 Richard Henderson <rth@twiddle.net>
26786 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26787 with #ifndef NOT_IN_libc.
26789 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26790 marked to avoid plt entry.
26792 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26795 * Makeconfig (default-abi): New macro.
26796 (abi-includes): Likewise.
26797 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26798 $(abi-$(default-abi)-lib-soname) for soname if defined.
26799 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26801 * Makefile (installed-stubs): Likewise.
26802 * include/stubs-biarch.h: Removed.
26803 * scripts/lib-names.awk: Only handle one library at a time.
26804 * scripts/soversions.awk: Remove WORDSIZE support.
26805 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26807 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26809 (syscall-list-default-condition): Likewise.
26810 (syscall-list-default-condition): Likewise.
26811 (syscall-list-includes): Likewise.
26812 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26813 syscall-list-* with abi-*. Handle undefined abi-variants.
26814 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26815 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26816 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26817 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26818 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26819 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26821 (syscall-list-32-options): Likewise.
26822 (syscall-list-32-condition): Likewise.
26823 (syscall-list-64-options): Likewise.
26824 (syscall-list-64-condition): Likewise.
26825 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26827 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26830 (abi-64-ld-soname): New macro.
26831 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26832 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26835 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26836 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26838 2012-05-30 Joseph Myers <joseph@codesourcery.com>
26840 * sysdeps/unix/sysv/linux/kernel-features.h
26841 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26842 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26843 include <kernel-features.h>.
26844 [!__NR_ftruncate64]: Remove conditional code.
26845 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26846 [__NR_ftruncate64]: Make code unconditional.
26847 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26848 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26849 include <kernel-features.h>.
26850 [!__NR_ftruncate64]: Remove conditional code.
26851 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26852 [__NR_ftruncate64]: Make code unconditional.
26853 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26855 include <kernel-features.h>.
26856 [!__NR_ftruncate64]: Remove conditional code.
26857 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26858 [__NR_ftruncate64]: Make code unconditional.
26859 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26861 include <kernel-features.h>.
26862 [!__NR_ftruncate64]: Remove conditional code.
26863 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26864 [__NR_ftruncate64]: Make code unconditional.
26865 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26867 * configure.in (libc_cv_fpie): Weaken to a compile test using
26868 LIBC_TRY_CC_OPTION.
26869 * configure: Regenerated.
26871 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26886 2012-05-27 David S. Miller <davem@davemloft.net>
26888 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26890 (__Q_simulate_exceptions): Return void. Change to simulate
26891 exceptions by writing into the %fsr.
26892 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26893 (__Qp_handle_exceptions): Likewise.
26895 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26896 __Qp_handle_exceptions.
26897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26898 __Qp_handle_exceptions.
26899 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26900 as unused and give dummy FP_RND_NEAREST initializer.
26901 (FP_INHIBIT_RESULTS): Define.
26902 (___Q_simulate_exceptions): Update declaration.
26903 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26905 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26906 as unused and give dummy FP_RND_NEAREST initializer.
26907 (__Qp_handle_exceptions): Update declaration.
26908 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26911 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26913 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26914 the temporary FPU control word.
26915 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26916 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26917 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26918 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26919 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26920 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26921 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26922 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26923 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26924 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26925 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26927 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26929 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26932 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26934 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26935 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26936 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26937 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26939 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26940 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26943 2012-05-27 Ulrich Drepper <drepper@gmail.com>
26945 * po/h.po: Update from translation team.
26947 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26949 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26951 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26952 handling of denormals.
26953 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26954 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26955 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26956 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26957 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26958 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26959 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26962 2012-05-26 Marek Polacek <polacek@redhat.com>
26965 * math/libm-test.inc (fma_test): Don't always expect underflow
26968 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26971 * elf/tst-execstack.c: Include stackinfo.h.
26972 (do_test): Adjust test case to ensure that pthread_getattr_np
26973 behaviour remains the same after marking stack executable.
26975 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26977 * sysdeps/unix/sysv/linux/kernel-features.h
26978 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26979 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26981 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26982 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26983 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26985 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26986 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26988 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26990 * configure.in: Define the default includes to being none.
26991 * configure: Regenerated.
26993 2012-05-25 Roland McGrath <roland@hack.frob.com>
26995 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26996 * sysdeps/x86_64/setjmp.S: Likewise.
26997 * sysdeps/i386/bsd-setjmp.S: Likewise.
26998 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26999 * sysdeps/i386/setjmp.S: Likewise.
27000 * sysdeps/i386/__longjmp.S: Likewise.
27001 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27002 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27004 * include/stap-probe.h: New file.
27005 * configure.in: Handle --enable-systemtap.
27006 * configure: Regenerated.
27007 * config.h.in (USE_STAP_PROBE): New #undef.
27008 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27009 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27010 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27012 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27015 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27016 to 2.4.0 where earlier.
27017 * sysdeps/unix/sysv/linux/configure: Regenerated.
27018 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27019 <kernel-features.h>.
27020 [__ASSUME_32BITUIDS]: Make code unconditional.
27021 [!__ASSUME_32BITUIDS]: Remove conditional code.
27022 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27023 <kernel-features.h>.
27024 [__ASSUME_32BITUIDS]: Make code unconditional.
27025 [!__ASSUME_32BITUIDS]: Remove conditional code.
27026 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27027 [__ASSUME_32BITUIDS]: Make code unconditional.
27028 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27029 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27030 <kernel-features.h>.
27031 [__ASSUME_32BITUIDS]: Make code unconditional.
27032 [!__ASSUME_32BITUIDS]: Remove conditional code.
27033 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27034 <kernel-features.h>.
27035 [__ASSUME_32BITUIDS]: Make code unconditional.
27036 [!__ASSUME_32BITUIDS]: Remove conditional code.
27037 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27038 <kernel-features.h>.
27039 [__ASSUME_32BITUIDS]: Make code unconditional.
27040 [!__ASSUME_32BITUIDS]: Remove conditional code.
27041 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27042 <kernel-features.h>.
27043 [__ASSUME_32BITUIDS]: Make code unconditional.
27044 [!__ASSUME_32BITUIDS]: Remove conditional code.
27045 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27046 <kernel-features.h>.
27047 [__ASSUME_32BITUIDS]: Make code unconditional.
27048 [!__ASSUME_32BITUIDS]: Remove conditional code.
27049 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27050 <kernel-features.h>.
27051 [__ASSUME_32BITUIDS]: Make code unconditional.
27052 [!__ASSUME_32BITUIDS]: Remove conditional code.
27053 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27054 <kernel-features.h>.
27055 [__ASSUME_32BITUIDS]: Make code unconditional.
27056 [!__ASSUME_32BITUIDS]: Remove conditional code.
27057 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27058 <kernel-features.h>.
27059 [__ASSUME_32BITUIDS]: Make code unconditional.
27060 [!__ASSUME_32BITUIDS]: Remove conditional code.
27061 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27062 <kernel-features.h>.
27063 [__ASSUME_32BITUIDS]: Make code unconditional.
27064 [!__ASSUME_32BITUIDS]: Remove conditional code.
27065 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27066 <kernel-features.h>.
27067 [__ASSUME_32BITUIDS]: Make code unconditional.
27068 [!__ASSUME_32BITUIDS]: Remove conditional code.
27069 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27070 <kernel-features.h>.
27071 [__NR_setresgid] (__setresgid): Do not declare.
27072 [__ASSUME_32BITUIDS]: Make code unconditional.
27073 [!__ASSUME_32BITUIDS]: Remove conditional code.
27074 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27075 <kernel-features.h>.
27076 [__NR_setresuid] (__setresuid): Do not declare.
27077 [__ASSUME_32BITUIDS]: Make code unconditional.
27078 [!__ASSUME_32BITUIDS]: Remove conditional code.
27079 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27080 <kernel-features.h>.
27081 [__ASSUME_32BITUIDS]: Make code unconditional.
27082 [!__ASSUME_32BITUIDS]: Remove conditional code.
27083 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27084 <kernel-features.h>.
27085 [__ASSUME_32BITUIDS]: Make code unconditional.
27086 [!__ASSUME_32BITUIDS]: Remove conditional code.
27087 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27088 <kernel-features.h>.
27089 [__ASSUME_32BITUIDS]: Make code unconditional.
27090 [!__ASSUME_32BITUIDS]: Remove conditional code.
27091 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27092 <kernel-features.h>.
27093 [__ASSUME_32BITUIDS]: Make code unconditional.
27094 [!__ASSUME_32BITUIDS]: Remove conditional code.
27095 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27096 <kernel-features.h>.
27097 [__ASSUME_32BITUIDS]: Make code unconditional.
27098 [!__ASSUME_32BITUIDS]: Remove conditional code.
27099 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27100 <kernel-features.h>.
27101 [__ASSUME_32BITUIDS]: Make code unconditional.
27102 [!__ASSUME_32BITUIDS]: Remove conditional code.
27103 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27104 <kernel-features.h>.
27105 [__ASSUME_32BITUIDS]: Make code unconditional.
27106 [!__ASSUME_32BITUIDS]: Remove conditional code.
27107 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27108 <kernel-features.h>.
27109 [__ASSUME_32BITUIDS]: Make code unconditional.
27110 [!__ASSUME_32BITUIDS]: Remove conditional code.
27111 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27112 <kernel-features.h>.
27113 [__ASSUME_32BITUIDS]: Make code unconditional.
27114 [!__ASSUME_32BITUIDS]: Remove conditional code.
27115 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27116 <kernel-features.h>.
27117 [__ASSUME_32BITUIDS]: Make code unconditional.
27118 [!__ASSUME_32BITUIDS]: Remove conditional code.
27119 * sysdeps/unix/sysv/linux/kernel-features.h
27120 (__ASSUME_SETRESUID_SYSCALL): Remove.
27121 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27122 (__ASSUME_32BITUIDS): Likewise.
27123 (__ASSUME_LDT_WORKS): Likewise.
27124 (__ASSUME_O_DIRECTORY): Likewise.
27125 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27126 architecture but not kernel version.
27127 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27128 (__ASSUME_MMAP2_SYSCALL): Likewise.
27129 (__ASSUME_STAT64_SYSCALL): Likewise.
27130 (__ASSUME_IPC64): Likewise.
27131 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27132 <kernel-features.h>.
27133 [__ASSUME_32BITUIDS]: Make code unconditional.
27134 [!__ASSUME_32BITUIDS]: Remove conditional code.
27135 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27136 <kernel-features.h>.
27137 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27138 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27139 132096]: Remove conditional code.
27140 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27141 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27142 <kernel-features.h>.
27143 [__ASSUME_32BITUIDS]: Make code unconditional.
27144 [!__ASSUME_32BITUIDS]: Remove conditional code.
27145 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27146 <kernel-features.h>.
27147 [__ASSUME_32BITUIDS]: Make code unconditional.
27148 [!__ASSUME_32BITUIDS]: Remove conditional code.
27149 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27150 <kernel-features.h>.
27151 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27153 (__setresgid): Do not declare.
27154 [__ASSUME_32BITUIDS]: Make code unconditional.
27155 [!__ASSUME_32BITUIDS]: Remove conditional code.
27156 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27157 <kernel-features.h>.
27158 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27160 (__setresuid): Do not declare.
27161 [__ASSUME_32BITUIDS]: Make code unconditional.
27162 [!__ASSUME_32BITUIDS]: Remove conditional code.
27163 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27164 <kernel-features.h>.
27165 [__ASSUME_32BITUIDS]: Make code unconditional.
27166 [!__ASSUME_32BITUIDS]: Remove conditional code.
27167 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27168 <kernel-features.h>.
27169 [__ASSUME_32BITUIDS]: Make code unconditional.
27170 [!__ASSUME_32BITUIDS]: Remove conditional code.
27172 2012-05-25 Richard Henderson <rth@twiddle.net>
27174 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27175 dl_hwcap to ifunc resolver.
27176 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27178 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27179 dl_hwcap to ifunc resolver.
27180 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27182 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27185 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27186 for |x| <= 2**-26, not 2**-57.
27187 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27190 2012-05-24 Jeff Law <law@redhat.com>
27192 * stdio-common/Makefile (tests): Add bug25.
27193 * stdio-common/bug25.c: New test.
27195 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27198 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27199 multiple of MALLOC_ALIGNMENT in size.
27200 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27202 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27204 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27206 (FILENAME_MAX): Use macro-int-constant.
27207 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27208 (_IOFBF): Use macro-int-constant.
27209 (_IOLBF): Likewise.
27210 (_IONBF): Likewise.
27211 (SEEK_CUR): Likewise.
27212 (SEEK_END): Likewise.
27213 (SEEK_SET): Likewise.
27214 (TMP_MAX): Likewise.
27215 (EOF): Use macro-int-constant. Require < 0.
27216 (NULL): Use macro-constant. Require == 0.
27217 (stdin): Require type to be FILE *.
27218 (stdout): Likewise.
27219 (stderr): Likewise.
27220 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27221 macro-int-constant.
27222 (EXIT_SUCCESS): Likewise.
27223 (NULL): Use macro-constant. Require == 0.
27224 (RAND_MAX): Use macro-int-constant.
27225 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27226 [C99-based standards] (strtof): Require function.
27227 [C99-based standards] (strtold): Likewise.
27228 [C99-based standards] (strtoll): Likewise.
27229 [C99-based standards] (strtoull): Likewise.
27230 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27231 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27232 [ISO || ISO99 || ISO11] (math.h): Likewise.
27233 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27234 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27235 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27237 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27240 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27241 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27242 * intl/dgettext.c (DCGETTEXT): Likewise.
27243 * intl/gettext.c (DCGETTEXT): Likewise.
27244 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27245 * posix/regex_internal.h (gettext): Likewise.
27246 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27247 Remove declaration.
27248 * include/argz.h (__argz_count_internal)
27249 (__argz_stringify_internal): Remove declaration.
27250 (__argz_count, __argz_stringify): Declare hidden proto.
27251 * intl/dcgettext.c: Remove use of INTDEF.
27252 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27253 * string/argz-stringify.c: Likewise.
27254 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27255 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27256 Declare hidden proto.
27257 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27258 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27259 Declare hidden proto.
27260 * include/stdio.h (__asprintf_internal): Don't declare.
27261 (__asprintf): Don't define as macro. Declare hidden proto.
27262 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27263 (__fsetlocking): Declare hidden proto.
27264 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27265 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27267 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27268 (_IO_setlinebuf): Remove use of INTUSE.
27269 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27270 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27271 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27272 Remove declaration.
27273 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27274 (_IO_do_flush): Remove use of INTUSE.
27275 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27276 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27277 (_IO_adjust_column, _IO_least_wmarker)
27278 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27279 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27280 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27281 (_IO_default_doallocate, _IO_wdefault_doallocate)
27282 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27283 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27284 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27285 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27286 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27287 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27288 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27289 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27290 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27291 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27292 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27293 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27294 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27296 (_IO_flush_all_internal, _IO_adjust_column_internal)
27297 (_IO_default_uflow_internal, _IO_default_finish_internal)
27298 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27299 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27300 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27301 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27302 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27303 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27304 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27305 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27306 (_IO_file_close_internal, _IO_file_close_it_internal)
27307 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27308 (_IO_file_init_internal, _IO_file_attach_internal)
27309 (_IO_file_fopen_internal, _IO_file_read_internal)
27310 (_IO_file_sync_internal, _IO_file_seek_internal)
27311 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27312 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27313 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27314 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27315 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27316 (_IO_list_all_internal, _IO_link_in_internal)
27317 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27318 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27319 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27320 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27321 (_IO_do_write_internal, _IO_padn_internal)
27322 (_IO_getline_info_internal, _IO_getline_internal)
27323 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27324 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27325 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27326 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27327 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27328 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27329 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27330 with libc_hidden_ver, remove use of INTUSE.
27331 * libio/genops.c: Likewise.
27332 * libio/freopen.c: Likewise.
27333 * libio/freopen64.c: Likewise.
27334 * libio/iofclose.c: Likewise.
27335 * libio/iofdopen.c: Likewise.
27336 * libio/iofflush.c: Likewise.
27337 * libio/iofflush_u.c: Likewise.
27338 * libio/iofgets.c: Likewise.
27339 * libio/iofgets_u.c: Likewise.
27340 * libio/iofopen.c: Likewise.
27341 * libio/iofopncook.c: Likewise.
27342 * libio/iofread.c: Likewise.
27343 * libio/iofread_u.c: Likewise.
27344 * libio/ioftell.c: Likewise.
27345 * libio/iofwrite.c: Likewise.
27346 * libio/iogetline.c: Likewise.
27347 * libio/iogets.c: Likewise.
27348 * libio/iogetwline.c: Likewise.
27349 * libio/iopadn.c: Likewise.
27350 * libio/iopopen.c: Likewise.
27351 * libio/ioseekoff.c: Likewise.
27352 * libio/ioseekpos.c: Likewise.
27353 * libio/iosetbuffer.c: Likewise.
27354 * libio/iosetvbuf.c: Likewise.
27355 * libio/ioungetc.c: Likewise.
27356 * libio/ioungetwc.c: Likewise.
27357 * libio/iovdprintf.c: Likewise.
27358 * libio/iovsprintf.c: Likewise.
27359 * libio/iovsscanf.c: Likewise.
27360 * libio/memstream.c: Likewise.
27361 * libio/obprintf.c: Likewise.
27362 * libio/oldfileops.c: Likewise.
27363 * libio/oldiofclose.c: Likewise.
27364 * libio/oldiofdopen.c: Likewise.
27365 * libio/oldiofopen.c: Likewise.
27366 * libio/oldiopopen.c: Likewise.
27367 * libio/oldstdfiles.c: Likewise.
27368 * libio/putc.c: Likewise.
27369 * libio/setbuf.c: Likewise.
27370 * libio/setlinebuf.c: Likewise.
27371 * libio/stdfiles.c: Likewise.
27372 * libio/strops.c: Likewise.
27373 * libio/vasprintf.c: Likewise.
27374 * libio/vscanf.c: Likewise.
27375 * libio/vsnprintf.c: Likewise.
27376 * libio/vswprintf.c: Likewise.
27377 * libio/wfiledoalloc.c: Likewise.
27378 * libio/wfileops.c: Likewise.
27379 * libio/wgenops.c: Likewise.
27380 * libio/wmemstream.c: Likewise.
27381 * libio/wstrops.c: Likewise.
27382 * libio/__fpurge.c: Likewise.
27383 * libio/__fsetlocking.c: Likewise.
27384 * assert/assert.c: Likewise.
27385 * debug/fgets_chk.c: Likewise.
27386 * debug/fgets_u_chk.c: Likewise.
27387 * debug/fread_chk.c: Likewise.
27388 * debug/fread_u_chk.c: Likewise.
27389 * debug/gets_chk.c: Likewise.
27390 * debug/obprintf_chk.c: Likewise.
27391 * debug/vasprintf_chk.c: Likewise.
27392 * debug/vdprintf_chk.c: Likewise.
27393 * debug/vsnprintf_chk.c: Likewise.
27394 * debug/vsprintf_chk.c: Likewise.
27395 * malloc/mtrace.c: Likewise.
27396 * misc/error.c: Likewise.
27397 * misc/syslog.c: Likewise.
27398 * stdio-common/asprintf.c: Likewise.
27399 * stdio-common/fxprintf.c: Likewise.
27400 * stdio-common/getw.c: Likewise.
27401 * stdio-common/isoc99_fscanf.c: Likewise.
27402 * stdio-common/isoc99_scanf.c: Likewise.
27403 * stdio-common/isoc99_vfscanf.c: Likewise.
27404 * stdio-common/isoc99_vscanf.c: Likewise.
27405 * stdio-common/isoc99_vsscanf.c: Likewise.
27406 * stdio-common/printf-prs.c: Likewise.
27407 * stdio-common/printf_fp.c: Likewise.
27408 * stdio-common/printf_fphex.c: Likewise.
27409 * stdio-common/printf_size.c: Likewise.
27410 * stdio-common/putw.c: Likewise.
27411 * stdio-common/scanf.c: Likewise.
27412 * stdio-common/sprintf.c: Likewise.
27413 * stdio-common/tmpfile.c: Likewise.
27414 * stdio-common/vfprintf.c: Likewise.
27415 * stdio-common/vfscanf.c: Likewise.
27416 * stdlib/strfmon_l.c: Likewise.
27417 * sunrpc/openchild.c: Likewise.
27418 * sunrpc/xdr_stdio.c: Likewise.
27419 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27420 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27422 2012-05-24 Roland McGrath <roland@hack.frob.com>
27424 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27426 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27427 in the third column, to generate for the shared library an IFUNC
27428 that uses _dl_vdso_vsym.
27429 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27430 * Makeconfig (object-suffixes-noshared): New variable.
27432 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27433 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27434 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27435 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27438 * include/sys/time.h (__gettimeofday): Remove macro.
27439 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27440 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27442 (__gettimeofday): Add libc_hidden_def.
27443 (gettimeofday): Add libc_hidden_weak.
27444 * sysdeps/mach/gettimeofday.c: Likewise.
27445 * sysdeps/posix/gettimeofday.c: Likewise.
27446 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27447 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27448 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27449 (__gettimeofday_internal): Remove strong_alias.
27450 (__gettimeofday): Add libc_hidden_def.
27451 (gettimeofday): Add libc_hidden_weak.
27452 * sysdeps/unix/syscalls.list (gettimeofday):
27453 Remove __gettimeofday_internal alias.
27455 2012-05-24 Daniel Jacobowitz <drow@false.org>
27456 H.J. Lu <hongjiu.lu@intel.com>
27459 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27460 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27461 (largebin_index_32_big): New.
27462 (largebin_index): Use it for 16-byte alignment.
27463 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27464 correction with front_misalign.
27466 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27494 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27495 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27497 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27501 * math/libm-test.inc (exp_test): Add test from bug 14036.
27502 (pow_test): Add test from bug 10846.
27504 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27506 (special_function): Do not include flags in test name.
27507 (parse_args): Likewise.
27508 * sysdeps/i386/fpu/libm-test-ulps: Update.
27509 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27510 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27511 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27514 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27516 * math/libm-test.inc ("Philosophy"): Update comment about
27518 (UNDERFLOW_EXCEPTION): New macro.
27519 (UNDERFLOW_EXCEPTION_OK): Likewise.
27520 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27521 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27522 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27523 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27524 (INVALID_EXCEPTION_OK): Update value.
27525 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27526 (OVERFLOW_EXCEPTION_OK): Likewise.
27527 (IGNORE_ZERO_INF_SIGN): Likewise.
27528 (test_exceptions): Handle underflow exceptions.
27529 (acos_test): Update for underflow exception expectations.
27530 (cexp_test): Likewise.
27531 (clog_test): Likewise.
27532 (clog10_test): Likewise.
27533 (csqrt_test): Likewise.
27534 (ctan_test): Likewise.
27535 (ctanh_test): Likewise.
27536 (exp_test): Likewise.
27537 (exp10_test): Likewise.
27538 (exp2_test): Likewise.
27539 (expm1_test): Likewise.
27540 (fma_test): Likewise.
27541 (j0_test): Likewise.
27542 (jn_test): Likewise.
27543 (nexttoward_test): Likewise.
27544 (pow_test): Likewise.
27545 (scalbn_test): Likewise.
27546 (scalbln_test): Likewise.
27547 (tan_test): Likewise.
27548 (y1_test): Likewise.
27549 * sysdeps/i386/fpu/libm-test-ulps: Update.
27550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27552 2012-05-23 David S. Miller <davem@davemloft.net>
27554 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27555 (__libc_sigaction): Remove unused local variables.
27557 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27559 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27561 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27563 mktime: avoid signed integer overflow
27564 * time/mktime.c (__mktime_internal): Do not mishandle the case
27565 where diff == INT_MIN.
27567 mktime: simplify computation of average
27568 * time/mktime.c (ranged_convert): Use new time_t_avg function
27569 instead of rolling our own (probably-slower) code.
27571 mktime: do not assume signed right shift propagates sign bit
27572 * time/mktime.c (isdst_differ): New static function.
27573 (__mktime_internal): No need to normalize tm_isdst now.
27574 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27577 mktime: merge another wrapv change from gnulib
27578 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27579 from some compilers.
27581 mktime: remove incorrect attempt at unusual arithmetics
27582 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27583 The code didn't really work on such machines anyway.
27584 (TYPE_MINIMUM): Assume two's complement.
27585 (twos_complement_arithmetic): Verify that long_int and time_t
27586 are two's complement (or unsigned, in the latter case).
27588 mktime: check signed shifts on long_int and time_t, too
27589 * time/mktime.c (SHR): Check that shifts work as desired
27590 on the types long_int and time_t too, as SHR is used on
27593 mktime: do not assume 'long' is wide enough
27594 * time/mktime.c (verify): Move decl up.
27595 (long_int): New type.
27596 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27597 to remove assumption in the code that 'long' is wide enough to
27598 store year values. This assumption is not true on x32 and on
27599 some non-glibc platforms.
27601 mktime: merge wrapv change from gnulib
27602 * time/mktime.c (WRAPV): New macro.
27603 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27604 (guess_time_tm, __mktime_internal): Do not assume that signed
27605 integer overflow wraps around; modern compilers generate code
27606 where this assumption is no longer valid.
27608 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27610 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27611 Replace "jmp L(pseudo_end)" with "ret".
27612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27615 2012-05-23 Andreas Jaeger <aj@suse.de>
27617 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27618 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27620 2012-05-23 Andreas Jaeger <aj@suse.de>
27621 Maximilian Attems <max@stro.at>
27623 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27626 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27628 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27629 code so that pseudo_end is just ret and the stack pointer is
27630 correct also for static library in error case.
27632 2012-05-23 Joseph Myers <joseph@codesourcery.com>
27634 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27635 move to syscalls.list.
27636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27641 * manual/install.texi (Running make install): Do not mention Linux
27642 kernel version for which pt_chown is not needed.
27643 (Linux): Do not mention problems with nscd with 2.0 kernels.
27644 * INSTALL: Regenerated.
27646 2012-05-23 Andreas Jaeger <aj@suse.de>
27648 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27649 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27651 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27652 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27653 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27654 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27655 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27656 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27657 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27658 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27659 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27660 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27661 * sysdeps/unix/sysv/linux/bits/in.h
27662 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27664 2012-05-22 Roland McGrath <roland@hack.frob.com>
27666 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27667 (PREPARE_VERSION): Just use assert instead, it will be elided
27668 under [NDEBUG] anyway.
27670 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27672 * sysdeps/unix/sysv/linux/Makefile: Include
27673 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27674 (sysdep_routines): Remove sysctl.
27675 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27676 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27677 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27678 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27679 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27681 2012-05-22 Andreas Jaeger <aj@suse.de>
27683 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27684 that pseudo_end is just ret and the stack pointer is correct also
27685 for static library in error case.
27687 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27690 * nss/nsswitch.c (defconfig_entries): New variable.
27691 (__nss_database_lookup): Don't leak defconfig entries.
27692 (nss_parse_service_list): Don't leak on error paths.
27693 (free_database_entries): New function.
27694 (free_defconfig): New function.
27695 (free_mem): Move common code to free_database_entries.
27697 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27699 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27701 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27703 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27704 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27707 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27708 (INTERNAL_SYSCALL_TYPES): Likewise.
27709 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27710 (LOAD_REGS_TYPES_[1-6]): Likewise.
27711 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27712 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27714 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27716 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27717 copysignl for GLIBC_2_0.
27718 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27719 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27721 logbl for GLIBC_2_0.
27722 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27723 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27725 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27727 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27728 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27730 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27733 * time/mktime.c: Update copyright years.
27735 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27737 mktime: merge comment-quoting-style change from gnulib
27738 * time/mktime.c: Quote 'like this' in comments.
27739 The GNU coding standards suggest that we no longer quote `like this',
27740 as "`" and "'" are typically rendered asymmetrically nowadays.
27741 The typical gnulib style is to quote 'like this' when quoting
27742 code, and "like this" when quoting English.
27744 * time/mktime.c (compile-command): Add "-I.".
27746 mktime: merge mktime-internal.h change from gnulib
27747 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27749 mktime: merge time_r change from gnulib
27750 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27752 mktime: merge DEBUG change from gnulib
27753 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27754 case system <time.h> has a #define.
27756 mktime: merge <sys/types.h> change from gnulib
27757 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27758 since <time.t> is now guaranteed to define time_t.
27760 mktime: merge HAVE_CONFIG_H change from gnulib
27761 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27763 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27768 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27770 (struct rusage): Use anonymous union to pad each field to
27773 2012-05-21 David S. Miller <davem@davemloft.net>
27775 * Makefules (o-iterator): Remove .s cases.
27776 (compile-command.s): Delete.
27777 (COMPILE.s): Delete.
27778 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27780 2012-05-21 Joseph Myers <joseph@codesourcery.com>
27782 * configure.in (libc_cv_predef_stack_protector): Only consider
27783 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27784 * configure: Regenerated.
27786 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27788 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27789 New macro. Use R*LP on int and pointer.
27790 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27791 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27792 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27793 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27795 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27796 [__WORDSIZE_TIME64_COMPAT32] instead of
27797 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27798 (struct utmp): Likewise.
27799 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27800 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27802 (__WORDSIZE_TIME64_COMPAT32): This.
27803 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27804 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27805 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27806 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27807 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27808 (__WORDSIZE_TIME64_COMPAT32): New macro.
27810 2012-05-21 Andreas Jaeger <aj@suse.de>
27812 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27813 only if [SHARED]. Add prototype for __wcschr_ia32.
27815 2012-05-21 Roland McGrath <roland@hack.frob.com>
27817 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27818 of %rbp unmolested in the jmp_buf while mangling the low bits.
27819 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27820 unmolested high bits of %rbp while demangling the low bits.
27821 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27823 2012-05-21 Andreas Jaeger <aj@suse.de>
27825 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27826 * sunrpc/svc_simple.c: Use it for registerrpc.
27827 * sunrpc/xcrypt.c: Use it for passwd2des.
27829 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27831 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27833 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27834 Don't define if [__SYSCALL_WORDSIZE != 32].
27835 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27838 2012-05-21 Bruno Haible <bruno@clisp.org>
27839 Andreas Jaeger <aj@suse.de>
27841 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27842 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27843 inptr and inend for must_buffer_ch.
27844 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27845 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27846 * stdio-common/Makefile (tests): Remove bug15.
27847 (bug15-ENV): Remove macro.
27848 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27851 2012-05-19 Andreas Jaeger <aj@suse.de>
27852 Roland McGrath <roland@hack.frob.com>
27854 * manual/contrib.texi: Completely rewritten. It contains now an
27855 alphabetical list of contributors and their contributions.
27857 2012-05-21 Richard Henderson <rth@twiddle.net>
27859 * misc/getauxval.c (__getauxval): Use unsigned long int.
27860 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27861 (getauxval): Use unsigned long int.
27863 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27865 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27867 2012-05-21 Roland McGrath <roland@hack.frob.com>
27869 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27870 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27871 __alignof__ (long double).
27873 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27877 2012-05-20 Richard Henderson <rth@twiddle.net>
27879 * misc/getauxval.c: New file.
27880 * misc/sys/auxv.h: New file.
27881 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27882 (routines): Add getauxval.
27883 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27884 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27885 * elf/dl-sysdep.c (_dl_auxv): Remove.
27886 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27887 * elf/dl-support.c (_dl_auxv): New variable.
27888 (_dl_aux_init): Initialize it.
27889 * manual/startup.texi (Auxiliary Vector): New node.
27890 * sysdeps/generic/bits/hwcap.h: New file.
27891 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27892 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27893 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27894 * sysdeps/sparc/sysdep.h: ... here. Include it.
27895 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27896 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27902 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27908 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27912 2012-05-19 David S. Miller <davem@davemloft.net>
27914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27916 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27919 * math/s_ccosh.c: Include <float.h>
27920 (__ccosh): Avoid internal overflow calculating sinh and cosh
27921 values before multiplying by sin and cos values.
27922 * math/s_ccoshf.c: Likewise.
27923 * math/s_ccoshl.c: Likewise.
27924 * math/s_csin.c: Likewise.
27925 * math/s_csinf.c: Likewise.
27926 * math/s_csinl.c: Likewise.
27927 * math/s_csinh.c: Likewise.
27928 * math/s_csinhf.c: Likewise.
27929 * math/s_csinhl.c: Likewise.
27930 * math/libm-test.inc (ccos_test): Add more tests.
27931 (ccosh_test): Likewise.
27932 (csin_test): Likewise.
27933 (csinh_test): Likewise.
27934 * sysdeps/i386/fpu/libm-test-ulps: Update.
27935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27937 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27939 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27940 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27942 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27944 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27946 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27947 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27948 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27949 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27950 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27951 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27952 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27953 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27954 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27955 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27956 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27957 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27958 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27959 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27960 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27961 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27962 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27963 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27964 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27965 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27966 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27967 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27968 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27969 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27970 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27971 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27972 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27973 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27974 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27975 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27976 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27978 2012-05-18 Andreas Jaeger <aj@suse.de>
27980 * csu/.gitignore: Delete.
27982 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27984 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27985 (timex): Use __syscall_slong_t.
27987 2012-05-18 Andreas Jaeger <aj@suse.de>
27988 Carlos O'Donell <carlos_odonell@mentor.com>
27990 * manual/install.texi (Configuring and compiling): Update
27991 description about files modified in the source directory.
27992 * INSTALL: Regenerated.
27994 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27996 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27997 value. Use "or" to set return value to -1.
27998 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27999 negate return value.
28001 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28003 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28004 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28005 failure if the compiler has Graphite support disabled.
28006 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28008 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28009 CFLAGS-memmove.c): Likewise.
28010 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28013 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28015 * sysdeps/x86_64/x32/_itoa.h: New file.
28017 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28018 getdents system call only if kernel and user dirents have the
28019 same d_ino and d_off.
28021 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28022 LLONG_MAX != LONG_MAX.
28023 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28024 (_fitoa_word): Likewise.
28026 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28028 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28029 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28030 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28032 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28033 include <bits/wordsize.h>. Check __x86_64__ instead of
28035 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28036 if __x86_64__ is defined. Use anonymous union on fpstate.
28038 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28041 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28043 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28044 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28045 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28046 Refer to _rtld_local_ro instead of _rtld_global_ro.
28047 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28049 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28051 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28053 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28054 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28055 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28057 * sysdeps/powerpc/powerpc32/dl-machine.c
28058 (__elf_machine_runtime_setup) [PROF]: Don't reference
28061 2012-05-18 Andreas Jaeger <aj@suse.de>
28063 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28064 function only available for GCCs before 3.4 since GCC 3.4
28065 introduced a builtin.
28067 (llrintf): Likewise.
28068 (llrint): Likewise.
28075 (nearbyint): Likewise.
28076 (nearbyintf): Likewise.
28080 (floorf): Likewise.
28082 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28084 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28085 on both fields and cast pointer to __syscall_ulong_t.
28087 * bits/types.h (__fsword_t): New type.
28088 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28089 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28091 (__FSWORD_T_TYPE): Likewise.
28092 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28093 (__FSWORD_T_TYPE): Likewise.
28094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28095 (__FSWORD_T_TYPE): Likewise.
28096 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28097 (__FSWORD_T_TYPE): Likewise.
28098 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28099 __SWORD_TYPE with __fsword_t.
28100 (statfs64): Likewise.
28102 2012-05-17 David S. Miller <davem@davemloft.net>
28104 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28106 2012-05-17 Andreas Jaeger <aj@suse.de>
28108 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28111 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28113 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28115 2012-05-17 Andreas Jaeger <aj@suse.de>
28117 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28120 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28122 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28124 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28126 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28127 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28129 2012-05-17 Andreas Jaeger <aj@suse.de>
28130 Carlos O'Donell <carlos_odonell@mentor.com>
28133 * sysdeps/x86_64/multiarch/init-arch.h
28134 (bit_YMM_Usable): Rename to...
28135 (bit_AVX_Usable): ... this.
28136 (bit_FMA4_Usable): New macro.
28137 (bit_XMM_state): New macro.
28138 (bit_YMM_state): New macro.
28139 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28140 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28141 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28142 (CPUID_OSXSAVE): New macro.
28143 (CPUID_AVX): New macro.
28144 (CPUID_FMA4): New macro.
28145 (index_YMM_Usable): Rename to...
28146 (index_AVX_Usable): ... this.
28147 (HAS_AVX): Use HAS_ARCH_FEATURE.
28148 (HAS_FMA4): Likewise.
28149 (HAS_YMM_USABLE): Remove.
28150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28151 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28153 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28154 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28155 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28156 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28157 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28159 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28161 * math/libm-test.c: Support platforms without multiple rounding modes.
28162 * math/bug-nextafter.c: Support platforms without FP exceptions.
28163 * math/bug-nexttoward.c: Likewise.
28164 * math/test-fenv.c: Likewise.
28165 * math/test-misc.c: Likewise.
28166 * stdlib/bug-getcontext.c: Likewise.
28168 2012-05-17 Andreas Jaeger <aj@suse.de>
28170 * manual/examples/search.c (critter_cmp): Change signature to
28172 * manual/string.texi (Collation Functions): Likewise.
28174 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28176 * bits/types.h: Fold copyright years.
28177 * bits/typesizes.h: Likewise.
28178 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28180 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28181 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28182 * time/time.h: Likewise.
28184 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28187 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28188 in instead of returning them. Return void.
28189 (__libc_mallinfo): Accumulate over all arenas.
28190 (__malloc_stats): Adjust for change in int_mallinfo interface.
28192 2012-05-16 Roland McGrath <roland@hack.frob.com>
28195 * configure.in (NM): Add AC_CHECK_TOOL for it.
28196 (libc_extra_cflags): New substituted variable.
28197 Check for -fstack-protector being used implicitly.
28198 * configure: Regenerated.
28199 * config.make.in (config-extra-cflags): New variable,
28200 gets @libc_extra_cflags@.
28201 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28204 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28205 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28206 * configure: Regenerated.
28207 * config.make.in (CPPUNDEFS): New substituted variable.
28208 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28209 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28210 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28212 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28214 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28215 (mq_attr): Use __syscall_slong_t.
28217 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28219 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28220 Check __x86_64__ instead of __WORDSIZE.
28221 (_STAT_VER_LINUX): Likewise.
28222 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28223 __syscall_ulong_t and __syscall_slong_t.
28224 (stat64): Likewise.
28226 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28228 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28230 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28232 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28234 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28236 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28239 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28240 include <bits/wordsize.h>. Check __x86_64__ instead of
28242 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28244 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28246 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28247 include <bits/wordsize.h>. Check __x86_64__ instead of
28249 (user_regs_struct): Use "__extension__ unsigned long long"
28250 instead of "unsigned long" if __x86_64__ is defined.
28251 (user): Likewise. Pad after pointer field if __ILP32__ is
28254 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28256 * configure.in (makeinfo): Require version 4.5 or later. Allow
28258 * configure: Regenerated.
28259 * manual/install.texi (texinfo): Increase version requirement to
28261 * INSTALL: Regenerated.
28263 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28265 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28267 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28269 * sysdeps/x86_64/x32/ffs.c: New file.
28271 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28273 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28274 defined. Use __syscall_ulong_t.
28275 (shminfo): Use __syscall_ulong_t.
28276 (shm_info): Likewise.
28278 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28281 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28283 (msgqnum_t): Use __syscall_ulong_t.
28284 (msglen_t): Likewise.
28285 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28288 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28289 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28291 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28293 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28294 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28296 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28299 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28300 include <bits/wordsize.h>. Check __x86_64__ instead of
28303 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28304 "unsigned long long int" if __x86_64__ is defined.
28305 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28307 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28308 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28309 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28311 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28313 (GET_PC): Cast to uintptr_t first.
28314 (GET_FRAME): Likewise.
28315 (GET_STACK): Likewise.
28317 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28318 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28319 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28320 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28321 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28322 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28323 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28324 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28325 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28326 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28327 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28328 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28329 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28330 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28331 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28332 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28333 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28334 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28335 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28336 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28337 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28338 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28339 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28340 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28341 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28342 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28343 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28344 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28345 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28347 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28349 * Makerules (+depfiles): Also collect depfiles from .oS in
28351 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28352 .oS, $(libnldbl-routines)).
28354 * Makerules (native-compile-mkdep-flags): Define.
28355 * sunrpc/Makefile (extra-objs): Add $(addprefix
28356 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28357 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28358 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28359 calling $(make-target-directory).
28361 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28363 * bits/types.h (__snseconds_t): Removed.
28364 * time/time.h (struct timespec): Replace __snseconds_t with
28366 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28367 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28369 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28370 (__SNSECONDS_T_TYPE): Likewise.
28371 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28372 (__SNSECONDS_T_TYPE): Likewise.
28373 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28374 (__SNSECONDS_T_TYPE): Likewise.
28376 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28378 * sysdeps/mach/hurd/bits/typesizes.h
28379 (__SYSCALL_SLONG_TYPE): New macro.
28380 (__SYSCALL_ULONG_TYPE): Likewise.
28382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28384 * bits/types.h (__syscall_slong_t): New type.
28385 (__syscall_ulong_t): Likewise.
28387 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28388 (__SYSCALL_ULONG_TYPE): Likewise.
28389 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28390 (__SYSCALL_SLONG_TYPE): Likewise.
28391 (__SYSCALL_ULONG_TYPE): Likewise.
28392 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28393 (__SYSCALL_SLONG_TYPE): Likewise.
28394 (__SYSCALL_ULONG_TYPE): Likewise.
28395 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28396 (__SYSCALL_SLONG_TYPE): Likewise.
28397 (__SYSCALL_ULONG_TYPE): Likewise.
28399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28401 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28402 Add sigaltstack-offsets.sym.
28403 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28404 <sigaltstack-offsets.h>.
28405 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28406 longjmp_msg pointer.
28407 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28408 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28410 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28412 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28414 * elf/stackguard-macros.h: Remove file.
28415 * sysdeps/generic/stackguard-macros.h: New file.
28416 * sysdeps/i386/stackguard-macros.h: Likewise.
28417 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28418 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28419 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28420 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28421 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28422 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28423 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28424 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28425 <elf/stackguard-macros.h>.
28428 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28429 __aligned__ in attribute.
28430 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28431 (gregset_t): Likewise.
28433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28435 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28436 * sysdeps/x86_64/64/Implies-after: Here. New file.
28437 * sysdeps/x86_64/x32/Implies-after: New file.
28439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28441 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28442 and access return value for _dl_profile_fixup. Use R10_LP to
28445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28447 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28451 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28452 * sysdeps/x86_64/x32/sysdep.h: New file.
28454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28456 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28457 * sysdeps/x86_64/setjmp.S: Likewise.
28459 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28461 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28462 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28463 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28464 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28465 remove unused global constant.
28467 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28469 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28470 include of <not-cancel.h>.
28472 2012-05-15 Roland McGrath <roland@hack.frob.com>
28474 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28476 2012-05-15 Jeff Law <law@redhat.com>
28477 Andreas Jaeger <aj@suse.de>
28480 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28482 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28483 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28484 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28485 code changing __hst_map_handle.map.
28487 2012-05-15 Roland McGrath <roland@hack.frob.com>
28489 * configure.in (sysnames): Look for Implies-before and Implies-after
28491 * configure: Regenerated.
28493 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28495 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28496 8-byte data alignment with LP_SIZE alignment.
28498 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28500 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28505 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28507 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28509 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28510 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28511 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28513 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28515 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28517 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28518 (stackinfo_sub_sp): Likewise.
28520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28522 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28527 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28530 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28532 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28537 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28541 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28542 into R11_LP and load __x86_64_shared_cache_size_half into
28545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28547 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28550 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28552 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28554 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28556 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28558 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28559 powerpc32/power7/fpu/s_logb.c via #include.
28560 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28561 powerpc32/power7/fpu/s_logbf.c via #include.
28562 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28563 powerpc32/power7/fpu/s_logbl.c via #include.
28565 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28567 * README.libm: Remove file.
28569 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28571 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28572 count for x32. Use R*_LP and omit operand-size suffix.
28574 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28576 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28577 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28578 * sysdeps/x86_64/x32/shlib-versions: New file.
28580 2012-05-14 Roland McGrath <roland@hack.frob.com>
28582 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28583 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28584 Use _dl_fatal_printf instead.
28586 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28588 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28589 set if not set by the user. Do not allow for being unset.
28590 * sysdeps/unix/sysv/linux/configure: Regenerated.
28592 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28594 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28595 the `q' suffix from lea and replace .quad with ASM_ADDR.
28597 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28600 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28602 (PTR_DEMANGLE): Likewise.
28604 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28606 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28608 (ASM_ADDR): Likewise.
28609 (RAX_LP): Likewise.
28610 (RBP_LP): Likewise.
28611 (RBX_LP): Likewise.
28612 (RCX_LP): Likewise.
28613 (RDI_LP): Likewise.
28614 (RSI_LP): Likewise.
28615 (RSP_LP): Likewise.
28618 (R10_LP): Likewise.
28619 (R10_LP): Likewise.
28620 (R11_LP): Likewise.
28621 (R12_LP): Likewise.
28622 (R13_LP): Likewise.
28623 (R14_LP): Likewise.
28624 (R15_LP): Likewise.
28626 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28628 * sysdeps/x86_64/x32/dl-machine.h: New file.
28630 2012-05-14 Andreas Jaeger <aj@suse.de>
28632 * manual/Makefile (subdir): Remove export of subdir.
28633 (all): Remove target.
28634 (.PHONY): Remove all from list.
28635 (mkinstalldirs): Remove.
28636 (.PHONY): Remove installdirs from list.
28637 ($(inst_infodir)/libc.info): Use make-target-directory.
28638 (installdirs): Remove.
28639 (subdir_%): Remove.
28640 (glibc-targets): Remove.
28643 ($(objpfx)stubs ../po/manual.pot): Remove.
28644 ($(objpfx)stamp%): Remove.
28645 (make-target-directory): Remove.
28646 (subdir_install): Remove.
28647 (routines): Remove.
28654 * manual/.gitignore: Remove, it's not needed anymore.
28655 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28657 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28659 (texis): Renamed to $(objpfx)texis.
28660 (texis-path): New, contains path to generated files.
28661 (chapters.%): Use texis-path for complete path, add extra argument
28663 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28664 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28665 (summary,texi, stamp-summary): Use complete path of
28666 files. Generate files in build dir.
28667 (dir-add.texi): Build in build dir.
28668 (libm-err.texi,stamp-libm-err): Likewise.
28669 (version.texi, stamp-version): Likewise.
28670 (.%c.texi): Likewise.
28671 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28672 (mostlyclean): Remove target.
28673 (realclean): Remove target.
28674 (generated): Add new variable with contents from mostlyclean and
28675 realclean, remove entries duplicated in common-mostlyclean, add
28676 stamp-libm-err and stamp-version.
28677 (generated-dirs): Add libc directory.
28678 ($(inst_infodir)/libc.info): Install files from build dir.
28680 * manual/install.texi (Configuring and compiling): Adjust since
28681 the info files are not part of the tar ball anymore.
28683 2012-05-14 Andreas Jaeger <aj@suse.de>
28685 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28688 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28691 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28692 to 2.2.0 where earlier.
28693 * sysdeps/unix/sysv/linux/configure: Regenerated.
28694 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28695 Remove conditional code.
28696 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28697 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28698 Remove conditional code.
28699 [!__NR_lchown]: Likewise.
28700 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28701 [__NR_lchown]: Likewise.
28702 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28703 comment referencing __ASSUME_LCHOWN_SYSCALL.
28704 * sysdeps/unix/sysv/linux/i386/sigaction.c
28705 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28706 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28707 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28708 Remove conditional code.
28709 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28710 (__protocol_available): Remove #if 0 code.
28711 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28713 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28714 * sysdeps/unix/sysv/linux/kernel-features.h
28715 (__ASSUME_GETCWD_SYSCALL): Don't define.
28716 (__ASSUME_REALTIME_SIGNALS): Likewise.
28717 (__ASSUME_PREAD_SYSCALL): Likewise.
28718 (__ASSUME_PWRITE_SYSCALL): Likewise.
28719 (__ASSUME_POLL_SYSCALL): Likewise.
28720 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28721 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28723 (__ASSUME_SIOCGIFNAME): Don't define.
28724 (__ASSUME_MSG_NOSIGNAL): Likewise.
28725 (__ASSUME_SENDFILE): Define unconditionally.
28726 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28727 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28729 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28730 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28731 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28732 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28733 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28734 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28735 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28737 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28738 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28740 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28741 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28743 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28746 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28749 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28752 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28755 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28756 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28758 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28759 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28760 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28761 Remove conditional code.
28762 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28763 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28764 Remove conditional code.
28765 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28766 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28767 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28768 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28769 Remove conditional code.
28770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28771 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28772 Remove conditional code.
28773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28774 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28775 Remove conditional code.
28776 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28777 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28778 Remove conditional code.
28779 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28780 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28781 Remove conditional code.
28782 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28783 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28784 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28785 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28786 * sysdeps/unix/sysv/linux/sigaction.c
28787 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28788 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28789 * sysdeps/unix/sysv/linux/sigpending.c
28790 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28791 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28792 * sysdeps/unix/sysv/linux/sigprocmask.c
28793 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28794 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28795 * sysdeps/unix/sysv/linux/sigsuspend.c
28796 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28797 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28798 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28799 (__libc_missing_rt_sigs): Remove.
28800 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28801 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28802 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28803 Remove conditional code.
28804 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28805 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28807 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28808 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28809 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28810 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28812 2012-05-14 Andreas Jaeger <aj@suse.de>
28814 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28815 it's not used in glibc.
28816 (__coshm1): Likewise.
28817 (__acosh1p): Likewise.
28820 * manual/string.texi (Copying and Concatenation): Add missing
28821 variable in concat example.
28822 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28824 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28827 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28828 __builtin_clzl with __builtin_clzll.
28830 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28833 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28836 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28838 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28839 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28840 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28841 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28843 2012-05-14 Mike Frysinger <vapier@gentoo.org>
28845 * NEWS: Update ia64 info.
28847 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28849 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28852 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28854 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28855 * sysdeps/unix/syscalls.list (dup3): Likewise.
28856 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28857 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28859 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28861 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28862 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28864 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28866 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28868 (TLS_IE): Use mov/add instead of movq/addq to load thread
28870 (TLS_GD_PREFIX): New.
28873 2012-05-11 David S. Miller <davem@davemloft.net>
28875 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28876 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28877 (_FPU_SETCW): Likewise.
28879 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28881 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28882 is 32-byte aligned.
28884 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28887 * iconvdata/gb18030.c: Update tables.
28888 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28889 characters specially.
28890 (BODY for TO_LOOP): Add encoding of missing ranges.
28892 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28895 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28896 * sysdeps/mach/hurd/dup3.c: Likewise.
28897 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28898 * sysdeps/powerpc/memmove.c:: Likewise.
28900 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28902 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28903 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28905 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28907 * elf/elf.h (R_X86_64_RELATIVE64): New.
28908 (R_X86_64_NUM): Updated.
28909 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28910 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28911 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28912 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28913 tst-quad1pie tst-quad2pie
28914 (modules-names): Add tst-quadmod1 tst-quadmod2.
28915 ($(objpfx)tst-quad1): New dependency.
28916 ($(objpfx)tst-quad2): Likewise.
28917 ($(objpfx)tst-quad1pie): Likewise.
28918 ($(objpfx)tst-quad2pie): Likewise.
28919 * sysdeps/x86_64/tst-quad1.c: New file.
28920 * sysdeps/x86_64/tst-quad1pie.c: New file.
28921 * sysdeps/x86_64/tst-quad2.c: Likewise.
28922 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28923 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28924 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28925 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28926 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28928 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28930 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28931 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28932 * streams/stropts.h (t_scalar_t): Define type.
28934 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28935 (_PATH_PRESERVE): Set to "/var/lib".
28936 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28938 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28941 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28942 if __dir_mkfile succeeded.
28944 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28945 checking for _hurd_dtablesize. Unlock it right after having
28946 finished _hurd_dtable allocation.
28948 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28950 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28951 * sysdeps/mach/hurd/configure: Regenerated.
28952 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28953 special-casing to...
28954 * sysdeps/gnu/configure.in: ... this new file.
28955 * sysdeps/unix/sysv/linux/configure: Regenerated.
28956 * sysdeps/gnu/configure: New generated file.
28958 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28959 for Linux: use nsec instead of usec, as well as:
28960 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28961 members of type struct timespec.
28962 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28964 (struct stat64): Likewise.
28965 (_STATBUF_ST_NSEC): New macro.
28966 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28968 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28969 __strtoul_internal rather than strtoul.
28971 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28973 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28976 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28978 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28979 which preserves existing values.
28980 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28982 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28984 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28985 TIMEOUT values. Return EINVAL for NFDS values either negative or
28986 greater than FD_SETSIZE.
28988 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28990 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28991 allocated, call __vm_protect to finish enabling the existing space, and
28992 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28993 allocate the remainder.
28995 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28997 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28998 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29000 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29002 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29003 sysdeps/mach/hurd/readlink.c.
29005 * posix/tst-sysconf.c (posix_options): Only use
29006 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29007 _POSIX_SYNCHRONIZED_IO when they are defined
29008 * sysdeps/mach/hurd/bits/posix_opt.h:
29009 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29010 (_XOPEN_REALTIME): Undefine macro.
29011 (_XOPEN_REALTIME_THREADS): Undefine macro.
29012 (_XOPEN_SHM): Undefine macro.
29013 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29015 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29017 (_POSIX_ASYNC_IO): Undefine macro.
29018 (_POSIX_PRIORITIZED_IO): Undefine macro.
29019 (_POSIX_SPIN_LOCKS): Define macro to -1.
29021 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29022 SA_NODEFER, SA_RESETHAND.
29023 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29024 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29027 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29029 * elf/Makefile (pldd-modules): Define unconditionally.
29031 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29033 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29035 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29037 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29038 Return ENOENT when name is empty.
29039 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29041 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29043 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29045 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29047 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29049 Fix mlock in all cases except non-readable pages.
29050 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29051 instead of VM_PROT_ALL as parameter to __vm_wire function.
29053 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29054 (__mkdir): When path is `/', just fail with EEXIST.
29055 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29057 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29059 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29060 <sys/uio.h> (for writev).
29061 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29062 and <sys/param.h> (for MIN).
29064 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29066 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29067 REQUESTED_TIME. Properly set the remaining time and return EINTR
29070 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29072 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29073 Depend on against $(link-rpcuserlibs).
29075 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29077 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29078 (__libc_stack_end): Do not use attribute_relro.
29079 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29080 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29081 to libthread-provided value.
29082 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29085 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29088 * bits/libc-lock.h (__libc_once_get): New macro.
29089 * sysdeps/mach/bits/libc-lock.h: Likewise.
29090 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29091 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29092 instead of using implementation details.
29094 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29095 * libio/freopen.c: Likewise.
29096 * libio/freopen64.c: Likewise.
29097 * misc/syslog.c: Likewise.
29098 * nscd/connections.c: Likewise.
29099 * nscd/netgroupcache.c: Likewise.
29100 * sysdeps/posix/getcwd.c: Likewise.
29102 2012-05-10 Roland McGrath <roland@hack.frob.com>
29104 * math/w_ilogbf.c: Add #include <limits.h>.
29106 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29108 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29109 path instead of returning without unlocking.
29111 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29112 immediate-write ioctls.
29113 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29115 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29117 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29118 __builtin_frame_address instead of making assumptions about the
29119 location of the return address relative to DATA. Force early load of
29120 the return address.
29121 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29122 __builtin_frame_address.
29125 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29126 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29127 implement dup3 and do some further code clean-ups.
29128 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29129 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29131 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29133 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29135 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29136 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29137 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29138 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29139 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29142 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29143 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29144 when handler == SIG_ERR, not when handler != SIG_ERR.
29146 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29148 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29149 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29152 accept4 for GNU Hurd.
29153 * include/sys/socket.h (__libc_accept4): New prototype.
29154 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29155 to implement __libc_accept4.
29156 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29158 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29160 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29161 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29162 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29163 signal-defines.sym.
29165 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29167 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29169 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29171 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29172 assertion on O_CLOEXEC flag.
29173 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29174 * hurd/intern-fd.c: Likewise.
29175 * hurd/port2fd.c: Likewise.
29177 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29180 * bits/in.h (IPV6_PKTINFO): Define new macro.
29181 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29183 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29188 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29189 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29190 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29191 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29192 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29193 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29194 * math/libm-test.inc (logb_test) : Additional logb tests.
29196 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29197 Andreas Jaeger <aj@suse.de>
29199 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29200 * configure: Regenerated.
29201 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29202 * config.make.in (link-obsolete-rpc): New substituted variable.
29203 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29204 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29205 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29206 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29207 so that libc.a contains the symbols.
29208 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29209 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29210 * sunrpc/auth_none.c: Likewise.
29211 * sunrpc/auth_unix.c: Likewise.
29212 * sunrpc/authdes_prot.c: Likewise.
29213 * sunrpc/authuxprot.c: Likewise.
29214 * sunrpc/clnt_gen.c: Likewise.
29215 * sunrpc/clnt_perr.c: Likewise.
29216 * sunrpc/clnt_raw.c: Likewise.
29217 * sunrpc/clnt_simp.c: Likewise.
29218 * sunrpc/clnt_tcp.c: Likewise.
29219 * sunrpc/clnt_udp.c: Likewise.
29220 * sunrpc/clnt_unix.c: Likewise.
29221 * sunrpc/des_crypt.c: Likewise.
29222 * sunrpc/des_soft.c: Likewise.
29223 * sunrpc/get_myaddr.c: Likewise.
29224 * sunrpc/key_call.c: Likewise.
29225 * sunrpc/key_prot.c: Likewise.
29226 * sunrpc/netname.c: Likewise.
29227 * sunrpc/pm_getmaps.c: Likewise.
29228 * sunrpc/pm_getport.c: Likewise.
29229 * sunrpc/pmap_clnt.c: Likewise.
29230 * sunrpc/pmap_prot.c: Likewise.
29231 * sunrpc/pmap_prot2.c: Likewise.
29232 * sunrpc/pmap_rmt.c: Likewise.
29233 * sunrpc/publickey.c: Likewise.
29234 * sunrpc/rpc_cmsg.c: Likewise.
29235 * sunrpc/rpc_common.c: Likewise.
29236 * sunrpc/rpc_dtable.c: Likewise.
29237 * sunrpc/rpc_prot.c: Likewise.
29238 * sunrpc/rpc_thread.c: Likewise.
29239 * sunrpc/rtime.c: Likewise.
29240 * sunrpc/svc.c: Likewise.
29241 * sunrpc/svc_auth.c: Likewise.
29242 * sunrpc/svc_raw.c: Likewise.
29243 * sunrpc/svc_run.c: Likewise.
29244 * sunrpc/svc_tcp.c: Likewise.
29245 * sunrpc/svc_udp.c: Likewise.
29246 * sunrpc/svc_unix.c: Likewise.
29247 * sunrpc/svcauth_des.c: Likewise.
29248 * sunrpc/xcrypt.c: Likewise.
29249 * sunrpc/xdr.c: Likewise.
29250 * sunrpc/xdr_array.c: Likewise.
29251 * sunrpc/xdr_float.c: Likewise.
29252 * sunrpc/xdr_intXX_t.c: Likewise.
29253 * sunrpc/xdr_mem.c: Likewise.
29254 * sunrpc/xdr_rec.c: Likewise.
29255 * sunrpc/xdr_ref.c: Likewise.
29256 * sunrpc/xdr_sizeof.c: Likewise.
29257 * sunrpc/xdr_stdio.c: Likewise.
29259 2012-05-10 Roland McGrath <roland@hack.frob.com>
29261 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29262 change. Update copyright years.
29264 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29266 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29268 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29269 Joseph Myers <joseph@codesourcery.com>
29270 Paul Pluzhnikov <ppluzhnikov@google.com>
29273 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29275 [cross-compiling] (extra-libs): Likewise.
29276 [cross-compiling] (extra-libs-others): Likewise.
29277 [cross-compiling] (librpcsvc-routines): Likewise.
29278 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29279 [cross-compiling] (omit-deps): Likewise.
29280 (sunrpc-CPPFLAGS): New variable.
29281 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29282 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29283 (cross-rpcgen-objs): New variable.
29284 (extra-objs): Append $(cross-rpcgen-objs).
29285 ($(cross-rpcgen-objs)): New rule.
29286 ($(objpfx)cross-rpcgen): Likewise.
29287 (rpcgen-cmd): Define to use $(built-program-file). Expand
29289 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29290 ($(objpfx)x%.stmp): Likewise.
29291 * sunrpc/proto.h [IS_IN_build] (_): Define.
29292 [IS_IN_build] (_libc_intl_domainname): Likewise.
29294 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29297 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29298 and R_X86_64_TPOFF64.
29300 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29302 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29303 sysdeps/unix/sysv/syscalls.list.
29306 * sysdeps/unix/sysv/syscalls.list: Remove file.
29308 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29311 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29312 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29313 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29314 (__LC_IDENTIFICATION): Make these macros useful in #if
29315 expressions, as required by C99.
29317 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29319 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29320 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29323 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29325 * stdlib/longlong.h: Updated from GCC.
29327 2012-05-09 Andreas Jaeger <aj@suse.de>
29329 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29330 default is first entry.
29331 (run_mode): Set type.
29332 (main): Remove informal message about syslog.
29333 (options): Fix typo.
29336 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29339 (llrintf): Likewise.
29340 (llrint): Likewise.
29343 (nearbyint): Likewise.
29344 (nearbyintf): Likewise.
29346 2012-05-09 Andreas Jaeger <aj@suse.de>
29347 Pedro Alves <palves@redhat.com>
29349 * nscd/nscd.c (run_mode): Use enum.
29350 (main): Cleanup coding style issue.
29352 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29353 Andreas Jaeger <aj@suse.de>
29355 * nscd/nscd.c (go_background): Replaced with...
29356 (run_mode): ... this.
29357 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29358 (options): Add -F --foreground.
29359 (main): Implement it.
29360 (parse_opt): Parse it.
29362 2012-05-09 Andreas Jaeger <aj@suse.de>
29365 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29366 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29367 -Wconversion warning.
29368 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29371 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29373 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29375 (LC_ALL): Use macro-int-constant.
29376 (LC_COLLATE): Likewise.
29377 (LC_CTYPE): Likewise.
29378 (LC_MESSAGES): Likewise.
29379 (LC_MONETARY): Likewise.
29380 (LC_NUMERIC): Likewise.
29381 (LC_TIME): Likewise.
29382 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29383 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29384 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29385 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29387 [C99-based standards] (float_t): Expect type.
29388 [C99-based standards] (double_t): Expect type.
29389 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29391 [C99-based standards] (HUGE_VALL): Likewise.
29392 [C99-based standards] (INFINITY): Likewise.
29393 [C99-based standards] (NAN): Likewise.
29394 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29395 [C99-based standards] (FP_NAN): Likewise.
29396 [C99-based standards] (FP_NORMAL): Likewise.
29397 [C99-based standards] (FP_SUBNORMAL): Likewise.
29398 [C99-based standards] (FP_ZERO): Likewise.
29399 [C99-based standards] (FP_FAST_FMA): Use
29400 optional-macro-int-constant. Specify type. Require == 1.
29401 [C99-based standards] (FP_FAST_FMAF): Likewise.
29402 [C99-based standards] (FP_FAST_FMAL): Likewise.
29403 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29404 [C99-based standards] (FP_ILOGBNAN): Likewise.
29405 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29407 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29408 [C99-based standards] (math_errhandling): Specify type.
29409 [ISO99 || ISO11] (signgam): Do not allow.
29410 [non-C99-based standards] (copysignf): Do not allow.
29411 [non-C99-based standards] (exp2f): Likewise.
29412 [non-C99-based standards] (log2f): Likewise.
29413 [non-C99-based standards] (modff): Allow.
29414 [non-C99-based standards] (erff): Do not allow.
29415 [non-C99-based standards] (erfcf): Likewise.
29416 [non-C99-based standards] (gammaf): Likewise.
29417 [non-C99-based standards] (hypotf): Likewise.
29418 [non-C99-based standards] (j0f): Likewise.
29419 [non-C99-based standards] (j1f): Likewise.
29420 [non-C99-based standards] (jnf): Likewise.
29421 [non-C99-based standards] (lgammaf): Likewise.
29422 [non-C99-based standards] (tgammaf): Likewise.
29423 [non-C99-based standards] (y0f): Likewise.
29424 [non-C99-based standards] (y1f): Likewise.
29425 [non-C99-based standards] (ynf): Likewise.
29426 [non-C99-based standards] (isnanf): Likewise.
29427 [non-C99-based standards] (acoshf): Likewise.
29428 [non-C99-based standards] (asinhf): Likewise.
29429 [non-C99-based standards] (atanhf): Likewise.
29430 [non-C99-based standards] (cbrtf): Likewise.
29431 [non-C99-based standards] (expm1f): Likewise.
29432 [non-C99-based standards] (ilogbf): Likewise.
29433 [non-C99-based standards] (log1pf): Likewise.
29434 [non-C99-based standards] (logbf): Likewise.
29435 [non-C99-based standards] (nextafterf): Likewise.
29436 [non-C99-based standards] (remainderf): Likewise.
29437 [non-C99-based standards] (rintf): Likewise.
29438 [non-C99-based standards] (scalbf): Likewise.
29439 [non-C99-based standards] (copysignl): Likewise.
29440 [non-C99-based standards] (exp2l): Likewise.
29441 [non-C99-based standards] (log2l): Likewise.
29442 [non-C99-based standards] (modfl): Allow.
29443 [non-C99-based standards] (erfl): Do not allow.
29444 [non-C99-based standards] (erfcl): Likewise.
29445 [non-C99-based standards] (gammal): Likewise.
29446 [non-C99-based standards] (hypotl): Likewise.
29447 [non-C99-based standards] (j0l): Likewise.
29448 [non-C99-based standards] (j1l): Likewise.
29449 [non-C99-based standards] (jnl): Likewise.
29450 [non-C99-based standards] (lgammal): Likewise.
29451 [non-C99-based standards] (tgammal): Likewise.
29452 [non-C99-based standards] (y0l): Likewise.
29453 [non-C99-based standards] (y1l): Likewise.
29454 [non-C99-based standards] (ynl): Likewise.
29455 [non-C99-based standards] (isnanl): Likewise.
29456 [non-C99-based standards] (acoshl): Likewise.
29457 [non-C99-based standards] (asinhl): Likewise.
29458 [non-C99-based standards] (atanhl): Likewise.
29459 [non-C99-based standards] (cbrtl): Likewise.
29460 [non-C99-based standards] (expm1l): Likewise.
29461 [non-C99-based standards] (ilogbl): Likewise.
29462 [non-C99-based standards] (log1pl): Likewise.
29463 [non-C99-based standards] (logbl): Likewise.
29464 [non-C99-based standards] (nextafterl): Likewise.
29465 [non-C99-based standards] (remainderl): Likewise.
29466 [non-C99-based standards] (rintl): Likewise.
29467 [non-C99-based standards] (scalbl): Likewise.
29468 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29469 [non-C99-based standards] (FP_*): Do not allow.
29470 [C99-based standards] (FP_*): Change to
29471 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29472 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29474 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29475 (SIG_ERR): Likewise.
29476 [X/Open-based standards] (SIG_HOLD): Likewise.
29477 (SIG_IGN): Likewise.
29478 (SIGABRT): Use macro-int-constant. Specify type. Require
29480 (SIGFPE): Likewise.
29481 (SIGILL): Likewise.
29482 (SIGINT): Likewise.
29483 (SIGSEGV): Likewise.
29484 (SIGTER): Likewise.
29485 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29486 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29487 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29488 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29489 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29490 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29491 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29492 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29493 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29494 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29495 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29496 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29497 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29498 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29499 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29500 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29501 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29502 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29503 [X/Open-based standards] (SIGTRAP): Likewise.
29504 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29505 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29506 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29507 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29508 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29511 2012-05-08 Ian Wienand <ianw@vmware.com>
29514 * time/tzset.c (__tzset_parse_tz): Update default rules for
29515 daylight time changes in the Energy Policy Act of 2005.
29517 2012-05-09 Andreas Jaeger <aj@suse.de>
29520 * elf/ldconfig.c (parse_conf): Change string to make clear that
29521 ldconfig only issued a warning if ld.so.conf does not exist.
29523 2012-05-08 David S. Miller <davem@davemloft.net>
29525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29526 movxtod instead of popping the value on the stack.
29528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29530 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29532 * config.h.in: Add HAVE_ARM_PCS_VFP.
29534 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
29537 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29538 checking but the checks are disabled for any reason.
29540 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29542 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29543 and ELF64_R_TYPE with ELFW(R_TYPE).
29545 2012-05-08 Joseph Myers <joseph@codesourcery.com>
29547 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29548 (ulimit): Likewise.
29550 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29551 (settimeofday): Likewise.
29553 2012-05-08 Mike Frysinger <vapier@gentoo.org>
29555 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29556 a struct th_u2 inside the union, and move tu_block/tu_code into
29557 a new th_u3 union of tu_block/tu_code inside of that. Move
29558 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29559 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29560 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29561 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29562 (th_stuff): Change to th_u1.tu_stuff.
29564 (th_msg): Change to th_u1.th_u2.tu_data.
29566 2012-05-07 David S. Miller <davem@davemloft.net>
29568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29571 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29572 (SETUP_PIC_REG): Use it.
29573 (SETUP_PIC_REG_LEAF): Use it.
29575 2012-05-07 Joseph Myers <joseph@codesourcery.com>
29579 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29581 (EXPL_FINITE): Likewise.
29582 (FLDLOG): Likewise.
29583 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29584 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29586 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29588 (EXPL_FINITE): Likewise.
29589 (FLDLOG): Likewise.
29590 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29591 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29593 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29594 test of -max_value argument for long double.
29595 * sysdeps/i386/fpu/libm-test-ulps: Update.
29596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29598 2012-05-06 David S. Miller <davem@davemloft.net>
29600 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29601 quad soft-float symbols whose references which are compiler
29603 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29605 2012-05-06 Joseph Myers <joseph@codesourcery.com>
29609 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29611 (EXPL_FINITE): Likewise.
29612 (FLDLOG): Likewise.
29615 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29616 Adjust comments for base varying.
29617 (__expl_finite): Change alias to EXPL_FINITE.
29618 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29620 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29621 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29622 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29623 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29624 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29626 (EXPL_FINITE): Likewise.
29627 (FLDLOG): Likewise.
29630 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29631 Adjust comments for base varying.
29632 (__expl_finite): Change alias to EXPL_FINITE.
29633 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29638 * math/libm-test.inc (check_float_internal): Correct ulp
29639 calculation for subnormal expected results.
29641 2012-05-06 Andreas Jaeger <aj@suse.de>
29643 * Makeconfig (+math-flags): New, set to -frounding-math.
29644 (+cflags): Add +math-flags so that all of glibc gets compiled with
29647 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29649 2012-05-05 Joseph Myers <joseph@codesourcery.com>
29651 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29657 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29658 (__ieee754_expl): Allow for and saturate large arguments.
29659 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29660 (u_threshold): Likewise.
29661 (__exp): Call __ieee754_exp before checking for overflow and
29663 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29664 (u_threshold): Likewise.
29665 (__expf): Call __ieee754_expf before checking for overflow and
29667 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29668 (u_threshold): Likewise.
29669 (__expl): Call __ieee754_expl before checking for overflow and
29671 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29672 (__ieee754_expl): Allow for and saturate large arguments.
29673 * math/libm-test.inc (exp_test): Add another test. Do not allow
29674 missing overflow exception on overflow.
29675 (expm1_test): Do not allow missing overflow exception on overflow.
29677 * sysdeps/i386/fpu/e_expl.c: Move to ...
29678 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29679 rather than using inline asm.
29680 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29681 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29682 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29684 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29687 (signal): Likewise.
29691 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29693 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29694 sysdeps/unix/common/syscalls.list.
29695 (fchmod): Likewise.
29696 (fchown): Likewise.
29697 (ftruncate): Likewise.
29698 (getrusage): Likewise.
29699 (gettimeofday): Likewise.
29700 (setpgid): Likewise.
29701 (setregid): Likewise.
29702 (setreuid): Likewise.
29703 (sigaction): Likewise.
29704 (truncate): Likewise.
29705 (vhangup): Likewise.
29706 * sysdeps/unix/common/syscalls.list: Remove file.
29707 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29708 * sysdeps/unix/sysv/linux/Implies: Likewise.
29710 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29712 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29714 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29718 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29721 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29724 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29727 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29730 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29733 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29736 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29740 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29744 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29747 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29751 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29755 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29757 * sysdeps/unix/common/bits/dirent.h: Remove file.
29758 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29760 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29761 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29762 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29763 * sysdeps/unix/bsd/isatty.c: Likewise.
29764 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29765 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29766 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29768 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29771 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29772 long double comparison inaccuracies.
29773 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29776 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29778 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29781 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29784 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29785 nonzero digits before rounding a hex value.
29786 * stdlib/tst-strtod.c (tests): Add another test.
29788 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29790 * sysdeps/s390/fpu/libm-test-ulps: Update.
29792 2012-05-03 Andreas Jaeger <aj@suse.de>
29794 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29795 does not get optimized out.
29796 (malloc_opt_barrier): New.
29798 2012-05-03 Andreas Jaeger <aj@suse.de>
29799 Roland McGrath <roland@hack.frob.com>
29801 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29802 intermediate file deletion.
29803 (generated): Add .symlist files.
29805 2012-05-03 Joseph Myers <joseph@codesourcery.com>
29808 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29809 Redirect under this condition.
29810 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29811 [__USE_GNU] (__dprintf_chk): Not under this condition.
29812 [__USE_GNU] (__vdprintf_chk): Likewise.
29813 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29814 under this condition.
29815 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29816 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29817 [__USE_XOPEN2K8] (vdprintf): Likewise.
29818 [__USE_GNU] (__dprintf_chk): Not under this condition.
29819 [__USE_GNU] (__vdprintf_chk): Likewise.
29820 [__USE_GNU] (dprintf): Likewise.
29821 [__USE_GNU] (vdprintf): Likewise.
29823 2012-05-03 Roland McGrath <roland@hack.frob.com>
29825 * elf/Makefile (common-generated): Set this instead of generated for
29826 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29827 $(all-built-dso)-derived lists.
29829 2012-05-03 Andreas Jaeger <aj@suse.de>
29831 * sysdeps/i386/fpu/libm-test-ulps: Update.
29834 * FAQ.in: Likewise.
29835 * scripts/gen-FAQ.pl: Likewise.
29836 * manual/install.texi (Installation): Point to online location of
29838 * Makefile (files-for-dist): Remove FAQ.
29841 2012-05-02 Allan McRae <allan@archlinux.org>
29843 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29844 (LDFLAGS-reldepmod5.so): Likewise.
29845 (LDFLAGS-reldep6mod1.so): Likewise.
29846 (LDFLAGS-reldep6mod4.so): Likewise.
29847 (LDFLAGS-reldep8mod3.so): Likewise.
29848 (LDFLAGS-unload4mod1.so): Likewise.
29849 (LDFLAGS-unload4mod2.so): Likewise.
29850 (LDFLAGS-tst-initorder): Likewise.
29851 (LDFLAGS-tst-initordera2.so): Likewise.
29852 (LDFLAGS-tst-initordera3.so): Likewise.
29853 (LDFLAGS-tst-initordera4.so): Likewise.
29854 (LDFLAGS-tst-initorderb2.so): Likewise.
29855 (LDFLAGS-noload): Likewise.
29856 (LDFLAGS-next): Likewise.
29857 (LDFLAGS-order2mod1.so): Likewise.
29858 (LDFLAGS-order2mod2.so): Likewise.
29859 (LDFLAGS-tst-initorder2): Likewise.
29860 (LDFLAGS-tst-initorder2a.so): Likewise.
29861 (LDFLAGS-tst-initorder2b.so): Likewise.
29862 (LDFLAGS-tst-initorder2c.so): Likewise.
29863 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29865 2012-05-02 David S. Miller <davem@davemloft.net>
29867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29869 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29872 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29874 2012-05-02 Andreas Jaeger <aj@suse.de>
29876 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29877 since we manipulate rounding mode.
29878 (CPPFLAGS-test-idouble.c): Likewise.
29879 (CPPFLAGS-test-ifloat.c): Likewise.
29880 (CFLAGS-test-ldouble.c): Likewise.
29881 (CFLAGS-test-double.c): Likewise.
29882 (CFLAGS-test-float.c): Likewise.
29883 (CFLAGS-test-misc.c): Likewise.
29884 (CFLAGS-test-test-fenv.c): Likewise.
29886 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29890 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29891 comparisons to determine direction to adjust input.
29893 2012-05-01 Roland McGrath <roland@hack.frob.com>
29895 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29896 output to the target.
29898 * scripts/localplt.awk: New file.
29899 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29900 (check-localplt-CFLAGS): Variable removed.
29901 ($(all-built-dso:=.jmprel)): New static pattern rule.
29902 (generated): Add those targets.
29903 (localplt-built-dso): New variable.
29904 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29906 * elf/check-localplt.c: File removed.
29908 * scripts/check-execstack.awk: New file.
29909 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29910 (check-execstack-CFLAGS): Variable removed.
29911 ($(objpfx)check-execstack.h): Target removed.
29912 ($(objpfx)execstack-default): New target.
29913 (generated): Add that instead of check-execstack.h.
29914 ($(all-built-dso:=.phdr)): New static pattern rule.
29915 (generated): Add those targets.
29916 * elf/check-execstack.c: File removed.
29918 * scripts/check-textrel.awk: New file.
29919 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29920 (check-textrel-CFLAGS): Variable removed.
29921 (all-built-dso): Use := to define.o
29922 ($(all-built-dso:=.dyn)): New static pattern rule.
29923 (generated): Add those targets.
29924 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29925 * config.make.in (READELF): New substituted variable.
29926 * elf/check-textrel.c: File removed.
29928 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29930 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29932 * conform/data/ctype.h-data [C99-based standards] (isblank):
29934 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29935 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29936 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29937 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29938 Specify type. Require positive value.
29939 (EILSEQ): Likewise.
29940 (ERANGE): Likewise.
29941 [ISO || POSIX] (EILSEQ): Do not expect.
29942 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29943 Specify type. Require positive value.
29944 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29945 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29946 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29947 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29948 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29949 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29950 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29951 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29952 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29953 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29954 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29955 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29956 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29957 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29958 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29959 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29960 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29961 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29962 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29963 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29964 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29965 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29966 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29967 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29968 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29969 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29970 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29971 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29972 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29973 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29974 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29975 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29976 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29977 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29978 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29979 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29980 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29981 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29982 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29983 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29984 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29985 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29986 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29987 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29988 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29989 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29990 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29991 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29992 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29993 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29994 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29995 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29996 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29997 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29998 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29999 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30000 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30001 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30002 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30003 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30004 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30005 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30006 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30007 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30008 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30009 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30010 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30011 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30012 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30013 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30014 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30015 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30016 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30017 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30018 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30019 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30020 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30022 (FLT_ROUNDS): Expect as macro, not constant.
30023 (FLT_MANT_DIG): Use macro-int-constant.
30024 (DBL_MANT_DIG): Likewise.
30025 (LDBL_MANT_DIG): Likewise.
30026 (FLT_DIG): Likewise.
30027 (DBL_DIG): Likewise.
30028 (LDBL_DIG): Likewise.
30029 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30030 (DBL_MIN_EXP): Likewise.
30031 (LDBL_MIN_EXP): Likewise.
30032 (FLT_MAX_EXP): Use macro-int-constant.
30033 (DBL_MAX_EXP): Likewise.
30034 (LDBL_MAX_EXP): Likewise.
30035 (FLT_MAX_10_EXP): Likewise.
30036 (DBL_MAX_10_EXP): Likewise.
30037 (LDBL_MAX_10_EXP): Likewise.
30038 (FLT_MAX): Use macro-constant.
30039 (DBL_MAX): Likewise.
30040 (LDBL_MAX): Likewise.
30041 (FLT_EPSILON): Use macro-constant. Give upper bound.
30042 (DBL_EPSILON): Likewise.
30043 (LDBL_EPSILON): Likewise.
30044 (FLT_MIN): Likewise.
30045 (DBL_MIN): Likewise.
30046 (LDBL_MIN): Likewise.
30047 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30048 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30049 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30050 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30051 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30052 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30053 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30054 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30055 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30056 [ISO11] (FLT_TRUE_MIN): Likewise.
30057 [ISO11] (LDBL_TRUE_MIN): Likewise.
30058 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30059 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30060 (SCHAR_MIN): Use macro-int-constant. Specify type.
30061 (SCHAR_MAX): Likewise.
30062 (UCHAR_MAX): Likewise.
30063 (CHAR_MIN): Likewise.
30064 (CHAR_MAX): Likewise.
30065 (MB_LEN_MAX): Use macro-int-constant.
30066 (SHRT_MIN): Use macro-int-constant. Specify type.
30067 (SHRT_MAX): Likewise.
30068 (USHRT_MAX): Likewise.
30069 (INT_MAX): Likewise.
30070 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30072 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30074 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30076 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30077 bound negative. Suffix upper bound with "L".
30078 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30080 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30082 [C99-based standards] (LLONG_MAX): Likewise.
30083 [C99-based standards] (ULLONG_MAX): Likewise.
30084 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30086 [ISO11] (max_align_t): Require type.
30087 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30089 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30090 from $CFLAGS, without defining away __attribute__ calls.
30091 (checknamespace): Use $CFLAGS_namespace.
30093 * conform/conformtest.pl (@keywords): Only include C99 keywords
30094 for standards based on C99 or C11.
30096 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30098 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30101 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30102 usability of symbols in #if.
30104 * conform/conformtest.pl: If macro or constant types start
30105 "promoted:", expect the symbol to be of the following type
30106 promoted by the integer promotions.
30108 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30109 in one place. Also handle "macro-constant".
30111 * conform/conformtest.pl: Only accept expected macro values with
30112 "==". Parse all "macro" lines in one place.
30113 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30115 * conform/conformtest.pl: Handle braced types on "constant" lines
30116 instead of handling "typed-constant".
30117 * conform/data/signal.h-data: Use "constant" instead of
30120 * conform/conformtest.pl: Handle "optional-" at start of lines in
30121 one place rather than duplicating several cases. Handle each
30122 format of "macro" line with initial "optional-".
30124 * conform/conformtest.pl: Only accept expected constant or
30125 optional-constant values with "==". Parse all "constant" lines in
30126 one place. Parse all "optional-constant" lines in one place.
30127 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30128 * conform/data/fmtmsg.h-data: Likewise.
30129 * conform/data/netinet/in.h-data: Likewise.
30130 * conform/data/tar.h-data: Likewise.
30131 * conform/data/limits.h-data: Use "==" form on "constant" and
30132 "optional-constant" lines.
30134 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30135 Use -std=c99 for XOPEN2K.
30136 (@knownproblems): Remove.
30137 (newtoken): Don't check %isknown.
30139 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30140 Do not expect macro.
30141 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30142 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30143 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30144 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30145 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30146 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30151 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30152 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30153 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30154 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30155 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30156 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30157 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30158 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30159 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30160 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30161 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30162 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30163 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30164 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30165 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30166 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30167 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30168 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30169 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30170 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30171 [XPG3] (acosh): Likewise.
30172 [XPG3] (asinh): Likewise.
30173 [XPG3] (atanh): Likewise.
30174 [XPG3] (cbrt): Likewise.
30175 [XPG3] (expm1): Likewise.
30176 [XPG3] (ilogb): Likewise.
30177 [XPG3] (log1p): Likewise.
30178 [XPG3] (logb): Likewise.
30179 [XPG3] (nextafter): Likewise.
30180 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30181 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30182 [XPG3] (remainder): Likewise.
30183 [XPG3] (rint): Likewise.
30184 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30185 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30186 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30187 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30188 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30189 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30190 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30191 [UNIX98 || XOPEN2K] (scalb): Expect.
30192 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30193 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30194 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30195 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30196 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30197 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30198 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30199 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30200 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30201 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30202 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30203 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30204 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30205 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30206 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30207 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30208 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30209 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30210 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30211 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30212 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30213 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30214 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30215 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30216 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30217 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30218 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30219 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30220 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30221 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30222 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30223 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30224 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30225 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30226 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30227 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30228 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30229 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30230 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30231 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30232 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30233 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30234 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30235 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30236 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30237 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30238 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30239 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30240 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30241 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30242 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30243 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30244 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30245 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30246 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30247 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30248 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30249 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30250 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30251 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30252 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30253 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30254 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30255 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30256 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30257 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30258 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30259 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30260 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30261 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30262 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30263 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30264 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30265 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30266 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30267 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30268 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30269 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30270 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30271 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30272 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30273 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30274 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30275 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30276 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30277 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30278 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30279 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30280 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30281 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30282 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30283 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30284 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30285 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30286 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30287 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30288 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30289 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30290 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30291 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30292 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30293 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30294 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30295 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30296 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30297 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30298 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30299 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30300 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30301 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30302 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30303 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30304 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30305 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30306 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30307 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30308 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30309 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30310 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30311 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30312 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30313 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30314 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30315 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30316 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30317 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30318 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30319 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30320 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30321 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30322 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30323 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30324 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30325 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30326 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30327 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30328 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30330 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30331 _XOPEN_SOURCE_EXTENDED for XPG4.
30333 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30335 * Makeconfig (localtime): Remove variable.
30336 (inst_localtime-file): Likewise.
30338 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30359 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30363 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30364 comparisons to determine direction to adjust input.
30365 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30366 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30367 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30369 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30371 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30373 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30374 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30376 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30378 * math/libm-test.inc (nexttoward_test): Add more tests.
30380 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30383 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30384 in version GLIBC_2.1, not GLIBC_2.0.
30385 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30388 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30391 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30393 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30394 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30395 * math/libm-test.inc (acos_test): Add more tests.
30396 (asin_test): Likewise.
30397 * sysdeps/i386/fpu/libm-test-ulps: Update.
30398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30401 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30403 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30404 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30405 * math/libm-test.inc (acos_test_tonearest): New function.
30406 (acos_test_towardzero): Likewise.
30407 (acos_test_downward): Likewise.
30408 (acos_test_upward): Likewise.
30409 (asin_test_tonearest): Likewise.
30410 (asin_test_towardzero): Likewise.
30411 (asin_test_downward): Likewise.
30412 (asin_test_upward): Likewise.
30413 (main): Call the new functions.
30414 * sysdeps/i386/fpu/libm-test-ulps: Update.
30415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30419 * math/e_exp10.c: Include <float.h>.
30420 (__ieee754_exp10): Handle underflow here rather than multiplying
30421 large negative argument by M_LN10.
30422 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30424 * math/e_exp10l.c: Include <float.h>.
30425 (__ieee754_exp10l): Handle underflow here rather than multiplying
30426 large negative argument by M_LN10l.
30427 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30428 spurious overflow exception on underflow.
30430 2012-04-29 Marek Polacek <polacek@redhat.com>
30432 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30433 (__fortify_function): New macro.
30434 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30435 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30436 __extern_always_inline.
30437 * libio/bits/stdio2.h: Likewise.
30438 * libio/bits/stdio.h: Likewise.
30439 * string/string.h: Likewise.
30440 * string/bits/string3.h: Likewise.
30441 * include/stdio.h: Likewise.
30442 * stdlib/bits/stdlib.h: Likewise.
30443 * stdlib/stdlib.h: Likewise.
30444 * rt/bits/mqueue2.h: Likewise.
30445 * rt/mqueue.h: Likewise.
30446 * posix/bits/unistd.h: Likewise.
30447 * posix/unistd.h: Likewise.
30448 * io/bits/poll2.h: Likewise.
30449 * io/bits/fcntl2.h: Likewise.
30450 * io/fcntl.h: Likewise.
30451 * io/sys/poll.h: Likewise.
30452 * misc/bits/syslog.h: Likewise.
30453 * misc/bits/syslog-ldbl.h: Likewise.
30454 * misc/sys/syslog.h: Likewise.
30455 * socket/bits/socket2.h: Likewise.
30456 * socket/sys/socket.h: Likewise.
30457 * debug/tst-chk1.c: Likewise.
30458 * wcsmbs/bits/wchar2.h: Likewise.
30459 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30460 * wcsmbs/wchar.h: Likewise.
30462 2012-04-29 Andreas Jaeger <aj@suse.de>
30464 * Makerules (tests): Remove enable-check-abi protection.
30465 (check-abi-warn): Remove.
30466 (check-abi-%): Remove check-abi-warn usage.
30468 * configure.in: Remove check-abi configure option.
30469 * configure: Regenerated.
30470 * config.make.in (enable-check-abi): Remove.
30472 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30475 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30476 double functions to double *_finite functions.
30479 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30480 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30482 * stdio-common/Makefile (tests): Add tst-sprintf3.
30483 * stdio-common/tst-sprintf3.c: New file.
30485 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30486 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30488 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30490 * conform/conformtest.pl: Remove duplicate typed-constant
30493 2012-04-28 David S. Miller <davem@davemloft.net>
30495 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30496 (check-abi-%): Remove AWK script prerequisite and explicit
30498 (check-abi): Rewrite to just diff the symlist with the abilist.
30499 (config-tls, config-abi-config): Delete, no longer used.
30500 (update-abi-%): Remove AWK script and explicit abilist directory.
30501 (update-abi): Rewrite to simply compare and conditionally copy the
30502 symlist and the sysdep abilist file. Remove update-abi-config
30504 * abilist/ld.abilist: Remove.
30505 * abilist/libBrokenLocale.abilist: Remove.
30506 * abilist/libanl.abilist: Remove.
30507 * abilist/libcrypt.abilist: Remove.
30508 * abilist/libdl.abilist: Remove.
30509 * abilist/librt.abilist: Remove.
30510 * abilist/libthread_db.abilist: Remove.
30511 * abilist/libutil.abilist: Remove.
30512 * scripts/extract-abilist.awk: Remove.
30513 * scripts/merge-abilist.awk: Remove.
30514 * sysdeps/generic/libcidn.abilist: New file.
30515 * sysdeps/generic/libnss_compat.abilist: New file.
30516 * sysdeps/generic/libnss_db.abilist: New file.
30517 * sysdeps/generic/libnss_dns.abilist: New file.
30518 * sysdeps/generic/libnss_files.abilist: New file.
30519 * sysdeps/generic/libnss_hesiod.abilist: New file.
30520 * sysdeps/generic/libnss_nis.abilist: New file.
30521 * sysdeps/generic/libnss_nisplus.abilist: New file.
30522 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30523 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30524 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30526 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30527 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30528 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30529 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30530 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30531 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30532 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30533 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30534 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30536 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30537 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30538 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30539 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30541 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30542 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30543 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30544 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30545 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30546 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30548 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30549 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30550 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30552 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30655 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30656 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30657 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30659 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30660 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30661 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30662 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30663 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30664 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30665 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30666 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30667 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30668 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30720 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30722 * conform/conformtest.pl: Fix typo in handling typed-constant from
30725 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30727 * README: Cut down references to pre-2.6 Linux kernels and
30728 Linuxthreads. Update lists of configurations in libc and ports
30729 and sort alphabetically. Say "or newer" with Linux kernel version
30732 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30734 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30737 * math/libm-test.inc (logb_test_downward): New test to expose
30738 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30741 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30744 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30746 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30747 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30749 2012-04-26 Joseph Myers <joseph@codesourcery.com>
30751 * sysdeps/unix/i386/brk.S: Remove file.
30752 * sysdeps/unix/i386/dl-brk.S: Likewise.
30753 * sysdeps/unix/i386/pipe.S: Likewise.
30754 * sysdeps/unix/i386/sigreturn.S: Likewise.
30755 * sysdeps/unix/i386/syscall.S: Likewise.
30756 * sysdeps/unix/i386/vfork.S: Likewise.
30757 * sysdeps/unix/i386/wait.S: Likewise.
30759 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30760 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30762 * configure.in (arm*-none*): Do not allow without
30763 --enable-hacker-mode.
30764 (netbsd*): Remove case setting base_os.
30765 (386bsd*): Likewise.
30766 (freebsd*): Likewise.
30769 (sunos*): Likewise.
30770 (ultrix*): Likewise.
30771 (newsos*): Likewise.
30772 (dynix*): Likewise.
30778 (minix*): Likewise.
30779 (irix4*): Likewise.
30780 (irix6*): Likewise.
30781 (solaris[2-9]*): Likewise.
30783 * configure: Regenerated.
30785 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30788 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30789 overflow or cancellation in calculating denominator.
30790 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30792 down expression to avoid unexpected rounding in newer GCCs.
30793 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30795 2012-04-26 David S. Miller <davem@davemloft.net>
30797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30798 long-double compat symbols.
30799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30813 2012-04-25 David S. Miller <davem@davemloft.net>
30815 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30816 HWCAP_* values only after the memory barriers have been defined.
30817 (atomic_full_barrier): Define.
30818 (atomic_read_barrier): Define.
30819 (atomic_write_barrier): Define.
30821 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30823 * shlib-versions: Add libgcc_s version information.
30824 * sysdeps/generic/libgcc_s.h: Remove.
30825 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30827 * sysdeps/gnu/unwind-resume.c: Likewise.
30828 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30830 2012-04-25 David S. Miller <davem@davemloft.net>
30832 * sysdeps/unix/sparc/brk.S: Delete.
30833 * sysdeps/unix/sparc/dl-brk.S: Delete.
30834 * sysdeps/unix/sparc/pipe.S: Delete.
30835 * sysdeps/unix/sparc/sysdep.S: Delete.
30836 * sysdeps/unix/sparc/sysdep.h: Delete.
30837 * sysdeps/unix/sparc/vfork.S: Delete.
30838 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30839 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30840 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30841 ret_ERRVAL, r0, r1, MOVE): Define.
30842 (JUMPTARGET): Remove.
30843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30844 sysdeps/unix/sparc/sysdep.h
30845 (ENTRY, END): Remove.
30846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30848 2012-04-25 Joseph Myers <joseph@codesourcery.com>
30850 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30851 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30854 * timezone/README: Update upstream location and email address for
30856 * timezone/zdump.c: Update from tzcode 2012b.
30857 * timezone/zic.c: Likewise.
30859 * configure.in (libc_cv_as_needed): Remove test.
30860 * configure: Regenerated.
30861 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30862 conditional definition.
30863 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30864 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30865 * config.make.in (have-as-needed): Remove variable.
30867 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30868 Paul Pluzhnikov <ppluzhnikov@google.com>
30870 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30873 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30875 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30876 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30877 * sysdeps/sh/strlen.S: Likewise.
30879 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30881 * sysdeps/unix/fork.S: Remove file.
30882 * sysdeps/unix/i386/fork.S: Likewise.
30883 * sysdeps/unix/sparc/fork.S: Likewise.
30885 * sysdeps/unix/system.c: Remove file.
30886 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30888 * sysdeps/unix/getegid.S: Remove file.
30889 * sysdeps/unix/geteuid.S: Likewise.
30891 2012-04-24 Roland McGrath <roland@hack.frob.com>
30893 * scripts/check-localplt.awk: New file.
30894 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30896 * scripts/data/localplt-generic.data: Add a comment.
30898 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30899 NODE when __dir_mkfile failed.
30900 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30901 Reported by Ludovic Courtès <ludo@gnu.org>.
30903 2012-04-24 Andreas Jaeger <aj@suse.de>
30905 * Makerules (common-clean): Also remove gen-as-const-headers
30908 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30910 * Makerules (native-compile): Do not change working directory for
30911 build. Use $(OUTPUT_OPTION) in command.
30912 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30914 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30917 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30918 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30919 * math/libm-test.inc (floor_test): Add more tests.
30920 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30922 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30924 * sysdeps/unix/getdents.c: Remove file.
30925 * sysdeps/unix/sysv/getdents.c: Likewise.
30926 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30928 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30929 sysdeps/unix/mman/syscalls.list.
30931 (mprotect): Likewise.
30933 (munmap): Likewise.
30934 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30935 * sysdeps/unix/mman/syscalls.list: Remove.
30936 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30938 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30939 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30940 * configure: Regenerated.
30941 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30942 $(libgcc_s_suffix).
30943 * config.make.in (libgcc_s_suffix): Remove variable.
30945 2012-04-23 Joseph Myers <joseph@codesourcery.com>
30947 * sysdeps/unix/sysv/gethostname.c: Move to ...
30948 * sysdeps/posix/gethostname.c: ... here.
30950 * sysdeps/unix/execve.S: Remove file.
30952 * sysdeps/unix/_exit.S: Remove file.
30954 2012-04-23 Andreas Jaeger <aj@suse.de>
30957 * manual/Makefile: Remove make dist support, there's no
30958 need for a stand-alone documentation tar ball.
30959 (TEXI2DVI): Define always, it's not in Makeconfig.
30962 (edition): Removed.
30963 (glibc-doc-$(edition).tar): Removed
30967 (ETAGS): Remove, it's in Makeconfig.
30968 (move-if-change): Remove, it's in Makeconfig.
30970 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
30973 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30974 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30975 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30976 (strtod_l, strtof_l, strtold_l): Remove __wur.
30977 It is not necessarily an error to ignore strtol's return value.
30978 One can reliably look at the stored endptr to decide whether
30979 the number had valid syntax.
30981 2012-04-21 Andreas Jaeger <aj@suse.de>
30984 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30986 2012-04-21 Joseph Myers <joseph@codesourcery.com>
30988 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30989 * sysdeps/unix/sysv/Versions: Remove file.
30991 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30996 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
30999 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31000 version from __vm86.
31002 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31004 * sysdeps/unix/common/lxstat.c: Remove file.
31005 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31007 * sysdeps/unix/sysv/Makefile: Remove file.
31009 * sysdeps/unix/sysv/direct.h: Remove file.
31011 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31012 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31013 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31014 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31015 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31016 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31017 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31019 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31021 * sysdeps/unix/xmknod.c: Remove file.
31022 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31024 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31026 * sysdeps/unix/sysv/i386/time.S: Remove file.
31028 * sysdeps/unix/fxstat.c: Remove file.
31029 * sysdeps/unix/xstat.c: Likewise.
31030 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31032 * sysdeps/unix/sysv/sigaction.c: Remove file.
31034 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31035 (sysdep_headers): Remove variable.
31036 [termio.h not in sysdep_headers] (generated): Likewise.
31037 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31038 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31039 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31040 * sysdeps/unix/sysv/tcflow.c: Likewise.
31041 * sysdeps/unix/sysv/tcflush.c: Likewise.
31042 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31043 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31044 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31045 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31046 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31048 * sysdeps/unix/siglist.c: Remove file.
31050 * sysdeps/unix/getppid.S: Remove file.
31052 * sysdeps/unix/mkdir.c: Remove file.
31053 * sysdeps/unix/rmdir.c: Likewise.
31055 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31057 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31059 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31060 errlist-compat value.
31062 2012-04-18 David S. Miller <davem@davemloft.net>
31064 * sysdeps/generic/memcopy.h (reg_char): Delete.
31065 * debug/strcat_chk.c: Use char, not reg_char.
31066 * debug/strcpy_chk.c: Likewise.
31067 * debug/strncat_chk.c: Likewise.
31068 * debug/strncpy_chk.c: Likewise.
31069 * string/memchr.c: Likewise.
31070 * string/memrchr.c: Likewise.
31071 * string/rawmemchr.c: Likewise.
31072 * string/strcat.c: Likewise.
31073 * string/strchr.c: Likewise.
31074 * string/strchrnul.c: Likewise.
31075 * string/strcmp.c: Likewise.
31076 * string/strcpy.c: Likewise.
31077 * string/strncat.c: Likewise.
31078 * string/strncmp.c: Likewise.
31079 * string/strncpy.c: Likewise.
31081 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31083 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31084 __builtin_memcopy is called when src and dest ranges are known to not
31087 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31089 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31090 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31091 fwd_align_merge macro call.
31092 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31093 bwd_align_merge macro call.
31094 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31096 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31098 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31099 bwd_align_merge macros.
31100 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31101 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31102 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31104 2012-04-18 David S. Miller <davem@davemloft.net>
31106 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31108 2012-04-18 Andreas Jaeger <aj@suse.de>
31111 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31112 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31113 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31115 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31116 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31117 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31119 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31120 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31121 Adjust for changed ldbl-128 files.
31123 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31124 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31125 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31127 2012-04-17 David S. Miller <davem@davemloft.net>
31129 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31131 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31133 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31134 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31135 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31136 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31137 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31138 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31140 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31143 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31144 * math/libm-test.inc: Add ilogb errno and exception tests.
31145 * math/w_ilogb.c: New file: ilogb wrapper.
31146 * math/w_ilogbf.c: New file: ilogbf wrapper.
31147 * math/w_ilogbl.c: New file: ilogbl wrapper.
31148 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31149 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31150 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31151 exception being thrown with 0.0 as argument.
31152 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31153 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31154 exception being thrown with 0.0 as argument.
31155 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31156 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31157 exception being thrown with 0.0 as argument.
31158 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31159 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31160 exception being thrown with 0.0 as argument.
31161 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31162 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31163 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31164 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31165 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31166 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31167 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31168 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31169 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31171 2012-04-17 Petr Baudis <pasky@ucw.cz>
31173 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31176 2012-04-16 Marek Polacek <polacek@redhat.com>
31178 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31180 2012-04-16 Marek Polacek <polacek@redhat.com>
31182 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31183 operands of fdivp instruction.
31185 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31187 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31188 * elf/tst-auditmod3b.c: Likewise.
31189 * elf/tst-auditmod4b.c: Likewise.
31190 * elf/tst-auditmod5b.c: Likewise.
31191 * elf/tst-auditmod6b.c: Likewise.
31192 * elf/tst-auditmod6c.c: Likewise.
31193 * elf/tst-auditmod7b.c: Likewise.
31194 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31195 * sysdeps/x86_64/preconfigure.in: Likewise.
31196 * sysdeps/x86_64/preconfigure: Regenerated.
31198 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31200 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31203 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31205 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31206 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31208 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31211 * locale/iso-639.def: Fix gl language name. Spotted by
31214 2012-04-12 Roland McGrath <roland@hack.frob.com>
31217 * libio/libio.h (__io_write_fn): Update comment.
31219 2012-04-12 Petr Baudis <pasky@ucw.cz>
31222 * stdio.texi (Hook Functions): The user provided writer function
31223 is not allowed to return -1.
31225 2012-04-11 David S. Miller <davem@davemloft.net>
31227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31229 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31231 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31232 Add a leading slash to rtkaio.
31234 2012-04-11 Jim Meyering <meyering@redhat.com>
31237 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31238 It is not necessarily an error to ignore fwrite's return
31239 value. One can reliably use ferror to test for errors after
31242 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31244 * bits/types.h (__snseconds_t): New type.
31245 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31247 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31248 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31249 (__SNSECONDS_T_TYPE): Likewise.
31250 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31251 (__SNSECONDS_T_TYPE): Likewise.
31252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31253 (__SNSECONDS_T_TYPE): Likewise.
31255 2012-04-10 Andreas Jaeger <aj@suse.de>
31258 * manual/time.texi (Processor Time): Return type of times is
31259 elapsed real time since an arbitrary point in the past.
31260 (CPU Time): Move CLK_TCK from here...
31261 (Processor Time): ...to here. Correct description.
31262 * manual/conf.texi (Constants for Sysconf): Correct description of
31265 2012-04-10 David S. Miller <davem@davemloft.net>
31268 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31269 where the is a gap between DT_REL(A) and DT_JMPREL.
31271 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31273 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31274 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31275 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31277 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31279 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31280 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31281 (dl_main): Handle --inhibit-cache.
31282 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31284 * elf/dl-load.c (_dl_map_object): Use it.
31285 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31287 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31290 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31291 (__ieee754_powl): Saturate large exponents rather than testing for
31292 overflow of y*log2(x).
31293 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31294 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31298 * math/s_ctan.c: Include <float.h>.
31299 (__ctan): Avoid internal overflow or cancellation in calculating
31301 * math/s_ctanf.c: Likewise.
31302 * math/s_ctanl.c: Likewise.
31303 * math/s_ctanh.c: Likewise.
31304 * math/s_ctanhf.c: Likewise.
31305 * math/s_ctanhl.c: Likewise.
31306 * math/libm-test.inc (ctan_test): Add more tests.
31307 (ctanh_test): Likewise.
31308 * sysdeps/i386/fpu/libm-test-ulps: Update.
31309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31311 2012-04-09 Andreas Jaeger <aj@suse.de>
31314 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31315 is an optional BSD extension.
31318 * manual/stdio.texi (Opening Streams): Document additional fopen
31321 2012-04-09 Roland McGrath <roland@hack.frob.com>
31323 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31324 %eax without telling the compiler.
31326 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31329 * manual/install.texi: Use sourceware.org.
31331 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31334 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31335 (__ieee754_pow): Generate overflow and underflow using huge*huge
31336 and tiny*tiny rather than just returning constant infinity or zero
31337 for large exponents.
31338 * math/libm-test.inc (pow_test): Require overflow exceptions for
31339 applicable cases of large exponents.
31342 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31343 (__ieee754_pow): Use iterative multiplication algorithm only for
31344 integer exponents with absolute value below 1024. Check for odd
31345 integer exponents when using algorithm for real exponents.
31346 * math/libm-test.inc (pow_test): Add more tests.
31347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31349 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31352 * math/libm-test.inc (exp_test): Do not allow overflow exception
31355 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31358 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31359 instead of __kernel_standard_f.
31361 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31363 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31364 * sysdeps/x86_64/memset_chk.S: Likewise.
31366 2012-04-08 Andreas Jaeger <aj@suse.de>
31369 * manual/startup.texi (Environment Access): Describe return value
31370 for putenv and setenv.
31373 * manual/filesys.texi (Directory Entries): Add description for
31377 * manual/filesys.texi (Directory Entries): Clarify that it's file
31378 system not operating system in the description of DT_UNKNOWN.
31381 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31383 2012-04-08 Stephen Compall <s11@member.fsf.org>
31386 * manual/llio.texi (Opening and Closing Files): Add cross
31387 reference to explain mode argument.
31389 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31391 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31392 * sysdeps/x86_64/memset_chk.S: Likewise.
31394 2012-04-07 David S. Miller <davem@davemloft.net>
31396 * elf/elf.h (R_SPARC_WDISP10): Define.
31397 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31399 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31400 R_SPARC_SIZE64 and R_SPARC_H34.
31402 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31404 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31405 conditions and remove no longer applicable assertion.
31407 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31409 * bits/byteswap.h: Include <features.h>.
31410 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31411 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31413 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31415 * bits/byteswap.h (__bswap_16): Removed.
31416 Include <bits/byteswap-16.h> to get __bswap_16.
31417 * sysdeps/i386/bits/byteswap.h: Likewise.
31418 * sysdeps/s390/bits/byteswap.h: Likewise.
31419 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31420 * bits/byteswap-16.h: New file.
31421 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31422 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31423 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31424 * string/Makefile (headers): Add bits/byteswap-16.h.
31426 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31429 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31431 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31432 * nss/tst-nss-static.c: New.
31434 2012-04-06 Robert Millan <rmh@gnu.org>
31437 * manual/llio.texi (File Position Primitive): lseek
31438 refers to WHENCE when it really means OFFSET.
31440 2012-04-06 Andreas Jaeger <aj@suse.de>
31442 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31443 strncmp declarations.
31445 * abilist/libc.abilist: Add __poll and __ppoll.
31447 2012-04-05 David S. Miller <davem@davemloft.net>
31449 * scripts/check-local-headers.sh: Accept a host triplet in the
31450 path matched by the exclude regexp.
31452 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31454 * sysdeps/powerpc/powerpc32/dl-machine.h
31455 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31456 * sysdeps/s390/s390-32/dl-machine.h
31457 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31458 * sysdeps/sparc/sparc32/dl-machine.h
31459 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31460 * sysdeps/sparc/sparc64/dl-machine.h
31461 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31463 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31465 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31466 undefined symbol errors.
31468 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31471 2012-04-05 Michael Matz <matz@suse.de>
31474 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31476 2012-04-05 Andreas Jaeger <aj@suse.de>
31479 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31482 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31484 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31485 which ROUND is no valid rounding mode.
31487 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31489 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31491 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31493 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31495 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31496 an exception using FPU order intentionally.
31498 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31500 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31501 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31502 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31503 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31505 2012-04-05 Simon Josefsson <simon@josefsson.org>
31508 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31509 EINVAL when BUFLEN is too smal.
31511 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31514 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31515 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31517 2012-04-03 Andreas Jaeger <aj@suse.de>
31520 * manual/setjmp.texi (System V contexts): Fix sentence.
31523 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31524 New macro for this case.
31525 [!__GNUC__] (__bswap_64): New inline function for this case.
31526 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31527 * bits/byteswap.h: Likewise.
31528 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31529 ull, guard with __GLIBC_HAVE_LONG_LONG.
31531 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31532 __GLIBC_HAVE_LONG_LONG.
31534 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31535 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31537 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31540 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31541 inptr and inend, rather than using last_ch.
31543 2012-04-02 David S. Miller <davem@davemloft.net>
31545 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31546 * stdio-common/printf-parse.h (read_int): Change return type to
31547 'int', return -1 on INT_MAX overflow.
31548 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31549 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31550 overflows INT_MAX. Check for overflow of in-format-string precision
31551 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31552 SIZE_MAX not INT_MAX for integer overflow test.
31553 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31554 skip the construct in the format string but do not record anything.
31555 * stdio-common/bug22.c: Adjust to test both width/prevision
31556 INT_MAX overflow as well as total length INT_MAX overflow. Check
31557 explicitly for proper errno values.
31559 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31561 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31563 * string/test-strcmp.c [! WIDE]: Likewise.
31564 * time/tst-mktime2.c: Likewise for INT_MAX.
31565 * string/test-string.h: #include <sys/param.h> for MIN.
31567 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31568 * sysdeps/i386/init-first.c (init): Likewise.
31569 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31570 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31571 * sysdeps/sh/init-first.c (init): Likewise.
31573 2012-04-01 Ulrich Drepper <drepper@gmail.com>
31575 * po/ru.po: Update from translation team.
31576 * po/vi.po: Likewise.
31578 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31580 * resolv/nss_dns/dns-host.c: Merge copyright years.
31582 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31584 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31585 Optimize memcpy with prefetch if
31586 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31587 src, dst pointers have unequal 16 byte alignments.
31589 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31592 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31593 from a CNAME entry and return the minimum ttl for the query.
31594 (gaih_getanswer_slice): Likewise.
31596 2012-03-30 Jeff Law <law@redhat.com>
31598 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31600 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31601 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31603 * resolv/nss_dns/dns-host.c: Update copyright year.
31605 2012-03-30 Ulrich Drepper <drepper@gmail.com>
31607 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
31608 requests to save a system call. Fix check that all bytes are sent.
31610 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31611 comments for sendmmsg.
31613 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31616 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31617 with only 1 character between 0x0041 and 0x01b0.
31618 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31619 * wcsmbs/tst-mbsnrtowcs.c: New file.
31621 2012-03-29 David S. Miller <davem@davemloft.net>
31623 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31624 small copies by hand.
31626 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31629 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31630 _nss_compat_initgroups_dyn): Fall back to malloc/free
31631 for large group memberships.
31633 2012-03-28 David S. Miller <davem@davemloft.net>
31635 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31636 that branches into memcpy.
31637 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31638 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31639 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31640 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31641 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31643 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31644 implementation too.
31645 * sysdeps/sparc/mempcpy.S: New file.
31647 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31648 the IFUNC routine in the libc case.
31649 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31651 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31652 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31653 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31654 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31655 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31656 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31657 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31658 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31660 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31661 loop to 256 bytes instead of 64 bytes and fix test signedness.
31663 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31664 * sysdeps/sparc/sparc32/Makefile: rather than here...
31665 * sysdeps/sparc/sparc64/Makefile: and here.
31667 2012-03-28 Ulrich Drepper <drepper@gmail.com>
31669 * malloc/mallocbug.c: Avoid warnings about unused variables.
31671 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31674 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31675 in the right place. Discard and retry query if response is
31676 larger than input buffer size.
31678 2012-03-28 Joseph Myers <joseph@codesourcery.com>
31683 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31684 x for large integer exponent.
31685 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31686 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31687 sign of result as needed afterwards.
31688 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31689 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31690 result for underflowing pow the same as for overflow.
31691 (__kernel_standard_l): Handle powl overflow and underflow here
31692 rather than calling __kernel_standard.
31693 * math/libm-test.inc (pow_test): Add more tests.
31708 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31709 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31710 (__kernel_standard_l): New function.
31711 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31713 * math/w_acosl.c (__acosl): Likewise.
31714 * math/w_asinl.c (__asinl): Likewise.
31715 * math/w_atan2l.c (__atan2l): Likewise.
31716 * math/w_atanhl.c (__atanhl): Likewise.
31717 * math/w_coshl.c (__coshl): Likewise.
31718 * math/w_exp10l.c (__exp10l): Likewise.
31719 * math/w_exp2l.c (__exp2l): Likewise.
31720 * math/w_fmodl.c (__fmodl): Likewise.
31721 * math/w_hypotl.c (__hypotl): Likewise.
31722 * math/w_j0l.c (__j0l, __y0l): Likewise.
31723 * math/w_j1l.c (__j1l, __y1l): Likewise.
31724 * math/w_jnl.c (__jnl, __ynl): Likewise.
31725 * math/w_lgammal.c (__lgammal): Likewise.
31726 * math/w_log10l.c (__log10l): Likewise.
31727 * math/w_log2l.c (__log2l): Likewise.
31728 * math/w_logl.c (__logl): Likewise.
31729 * math/w_powl.c (__powl): Likewise.
31730 * math/w_remainderl.c (__remainderl): Likewise.
31731 * math/w_scalbl.c (sysv_scalbl): Likewise.
31732 * math/w_sinhl.c (__sinhl): Likewise.
31733 * math/w_sqrtl.c (__sqrtl): Likewise.
31734 * math/w_tgammal.c (__tgammal): Likewise.
31735 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31736 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31737 * math/libm-test.inc (acos_test): Add more tests.
31738 (acosh_test): Likewise.
31739 (asin_test): Likewise.
31740 (atanh_test): Likewise.
31741 (exp_test): Likewise.
31742 (exp10_test): Likewise.
31743 (exp2_test): Likewise.
31744 (expm1_test): Likewise.
31745 (lgamma_test): Likewise.
31746 (log_test): Likewise.
31747 (log10_test): Likewise.
31748 (log1p_test): Likewise.
31749 (log2_test): Likewise.
31750 (pow_test): Do not allow some spurious overflow exceptions.
31751 (sqrt_test): Add more tests.
31752 (tgamma_test): Likewise.
31753 (y0_test): Likewise.
31754 (y1_test): Likewise.
31755 (yn_test): Likewise.
31757 2012-03-27 Anton Blanchard <anton@samba.org>
31759 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31761 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31762 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31763 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31765 2012-03-27 David S. Miller <davem@davemloft.net>
31767 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31769 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31770 have-as-vis3 check.
31772 2012-03-27 Andreas Jaeger <aj@suse.de>
31774 * sysdeps/x86_64/elf/configure.in: Moved to ...
31775 * sysdeps/x86_64/configure.in: ... here.
31776 * sysdeps/x86_64/elf/start.S: Moved to ...
31777 * sysdeps/x86_64/start.S: ... here.
31778 * sysdeps/x86_64/elf/configure: Delete.
31780 * sysdeps/x86_64/configure.in: Merge contents from
31781 sysdeps/i386/configure.in (without i686 check).
31783 * sysdeps/i386/elf/Versions: Merge into ...
31784 * sysdeps/i386/Versions: ... this.
31785 * sysdeps/i386/elf/Versions: Delete file.
31786 * sysdeps/i386/elf/start.S: Moved to ...
31787 * sysdeps/i386/start.S: ...here.
31788 * sysdeps/i386/elf/configure.in: Merge into...
31789 * sysdeps/i386/configure.in: ...here.
31790 * sysdeps/i386/elf/configure.in: Delete file.
31791 * sysdeps/i386/elf/configure: Delete file.
31793 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31794 * debug/backtracesyms.c: ... here.
31795 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31796 * debug/backtracesymsfd.c: ... here.
31797 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31798 * sysdeps/generic/ifunc-sel.h: ... here.
31800 * sysdeps/unix/i386/start.c: Delete file.
31801 * sysdeps/unix/sparc/start.c: Delete file.
31802 * sysdeps/unix/start.c: Delete file.
31804 * sysdeps/sh/elf/configure.in: Moved to ...
31805 * sysdeps/sh/configure.in: ... here.
31806 * sysdeps/sh/elf/start.S: Moved to ...
31807 * sysdeps/sh/start.S: ... here.
31808 * sysdeps/sh/elf/configure: Delete file.
31810 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31811 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31812 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31813 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31814 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31815 * sysdeps/powerpc/powerpc64/start.S: here.
31816 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31817 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31818 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31819 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31820 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31822 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31823 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31824 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31825 * sysdeps/powerpc/powerpc32/start.S: ... here.
31826 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31827 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31828 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31830 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31831 * sysdeps/powerpc/ifunc-sel.h: ... here.
31832 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31833 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31835 * sysdeps/sparc/elf/configure.in: Moved to ...
31836 * sysdeps/sparc/configure.in: ... here.
31837 * sysdeps/sparc/elf/configure: Delete file.
31838 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31839 * sysdeps/sparc/sparc32/start.S: ... here.
31840 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31841 * sysdeps/sparc/sparc64/start.S: ... here.
31842 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31843 * sysdeps/sparc/sparc32/Makefile: ... this.
31844 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31845 * sysdeps/sparc/sparc64/Makefile: ... this.
31847 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31848 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31849 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31850 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31851 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31852 * sysdeps/s390/s390-32/setjmp.S: ... here.
31853 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31854 * sysdeps/s390/s390-32/configure.in: ... here.
31855 * sysdeps/s390/s390-32/elf/configure: Delete file.
31856 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31857 * sysdeps/s390/s390-32/start.S: ... here.
31859 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31860 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31861 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31862 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31863 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31864 * sysdeps/s390/s390-64/setjmp.S: ... here.
31865 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31866 * sysdeps/s390/s390-64/configure.in: ... here
31867 * sysdeps/s390/s390-64/elf/configure: Delete file.
31868 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31869 * sysdeps/s390/s390-64/start.S: ... here.
31870 * sysdeps/s390/s390-64/elf/configure: Delete.
31872 * configure.in: Remove support for elf directories in sysdeps.
31874 * configure: Regenerated.
31875 * sysdeps/i386/configure: Regenerated.
31876 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31877 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31878 * sysdeps/s390/s390-32/configure: Regenerated.
31879 * sysdeps/s390/s390-64/configure: Regenerated.
31880 * sysdeps/sh/configure: Regenerated.
31881 * sysdeps/sparc/configure: Regenerated.
31882 * sysdeps/x86_64/configure: Regenerated.
31884 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31888 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31889 denormal result into account.
31891 2012-03-25 Roland McGrath <roland@hack.frob.com>
31893 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31894 Reported by Allan McRae <allan@archlinux.org>.
31896 2012-03-23 Jeff Law <law@redhat.com>
31898 * nss/getnssent.c (__nss_getent): Fix typo.
31900 2012-03-23 David S. Miller <davem@davemloft.net>
31902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31904 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31906 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31907 to pad to uint64_t for each field.
31908 (dl_tls_index): Replace unsigned long with uint64_t.
31910 2012-03-23 Daniel Jacobowitz <dmj@google.com>
31911 Paul Pluzhnikov <ppluzhnikov@google.com>
31914 * grp/Makefile (otherlibs): Don't set it.
31915 * inet/Makefile (otherlibs): Likewise.
31916 * login/Makefile (otherlibs): Likewise.
31917 * nscd/Makefile (otherlibs): Likewise.
31918 * posix/Makefile (otherlibs): Likewise.
31919 * pwd/Makefile (otherlibs): Likewise.
31920 * rt/Makefile (otherlibs): Likewise.
31921 * sunrpc/Makefile (otherlibs): Likewise.
31922 * nss/Makefile (otherlibs): Likewise.
31923 Add libnss_files to routines and static-only-routines.
31924 ($(objpfx)getent): Remove rule.
31925 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31926 static-only-routines.
31928 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31931 * math/s_cexp.c: Include <float.h>.
31932 (__cexp): Handle exp result overflowing not necessarily
31933 overflowing both real and imaginary parts of result.
31934 * math/s_cexpf.c: Likewise.
31935 * math/s_cexpl.c: Likewise.
31936 * math/libm-test.inc (cexp_test): Add more tests.
31937 * sysdeps/i386/fpu/libm-test-ulps: Update.
31938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31940 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31942 * include/link.h (ELFW): New macro.
31943 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31944 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31946 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31948 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31951 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31953 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31955 (struct La_x32_retval): Likewise.
31957 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31959 * sysdeps/x86_64/preconfigure.in: New file.
31960 * sysdeps/x86_64/preconfigure: New generated file.
31962 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31965 * math/e_exp2l.c: Include <float.h>.
31966 (__ieee754_exp2l): Handle overflow and underflow cases
31967 separately. Only pass fractional part of argument to
31969 * math/libm-test.inc (exp2_test): Add more tests.
31971 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31972 negating x to take absolute value.
31973 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31975 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31976 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31978 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31979 computing low part if x was negated.
31980 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31982 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31984 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31985 la_x32_gnu_pltexit.
31986 (pltexit): Cast int_retval to ptrdiff_t.
31987 * elf/tst-auditmod3b.c: Likewise.
31988 * elf/tst-auditmod4b.c: Likewise.
31989 * elf/tst-auditmod5b.c: Likewise.
31990 * elf/tst-auditmod6b.c: Likewise.
31991 * elf/tst-auditmod6c.c: Likewise.
31992 * elf/tst-auditmod7b.c: Likewise.
31994 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31995 and x32_gnu_pltexit.
31997 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31998 __ELF_NATIVE_CLASS.
31999 (La_x32_regs): New macro.
32000 (La_x32_retval): Likewise.
32001 (la_x32_gnu_pltenter): New function prototype.
32002 (la_x32_gnu_pltexit): Likewise.
32004 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32006 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32011 * configure.in (libc_cv_cc_nofma): Check for option to disable
32012 generation of FMA instructions.
32013 * configure: Regenerate.
32014 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32015 * sysdeps/ieee754/dbl-64/Makefile: New file.
32016 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32017 Remove brandred-fma4.
32018 (CFLAGS-brandred-fma4.c): Remove.
32019 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32020 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32022 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32025 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32027 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32028 LLONG_MAX != LONG_MAX.
32029 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32030 (_fitoa_word): Likewise.
32031 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32032 LLONG_MAX != LONG_MAX.
32033 * stdio-common/_itowa.h: Include <_itoa.h>.
32034 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32035 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32036 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32037 only if not defined.
32038 (_ITOA_WORD_TYPE): Likewise.
32039 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32040 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32042 2012-03-21 David S. Miller <davem@davemloft.net>
32044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32046 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32048 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32049 of x86_64 when setting libc_cv_slibdir, libdir and
32051 * sysdeps/unix/sysv/linux/configure: Regenerated.
32053 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32055 * manual/lang.texi (Old Varargs): Remove section.
32056 (How Variadic): Update menu.
32057 (va_start): Do not mention varargs.h.
32059 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32060 Joseph Myers <joseph@codesourcery.com>
32062 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32064 * configure: Regenerated.
32066 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32068 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32069 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32072 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32075 * Makefile (files-for-dist): Remove NOTES.
32076 (NOTES): Remove rule.
32077 * README: Don't refer to NOTES.
32078 * manual/creature.texi: Don't include macros.texi.
32079 * manual/intro.texi (creature.texi): Remove comment referring to
32082 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32083 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32084 * configure: Regenerated.
32085 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32086 LIBC_TRY_CC_OPTION.
32087 (libc_cv_as_i686): Likewise.
32088 (libc_cv_cc_avx): Likewise.
32089 (libc_cv_cc_sse2avx): Likewise.
32090 (libc_cv_cc_fma4): Likewise.
32091 (libc_cv_cc_novzeroupper): Likewise.
32092 * sysdeps/i386/configure: Regenerated.
32095 * sysdeps/i386/fpu/s_cexp.S: Remove.
32096 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32097 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32098 * math/libm-test.inc (cexp_test): Add more tests.
32099 * sysdeps/i386/fpu/libm-test-ulps: Update.
32100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32102 2012-03-21 Allan McRae <allan@archlinux.org>
32104 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32106 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32109 * math/w_exp2.c: Do not include <float.h>.
32110 (o_threshold, u_threshold): Remove.
32111 (__exp2): Calculate result before checking finiteness and calling
32113 * math/w_exp2f.c: Likewise.
32114 * math/w_exp2l.c: Likewise.
32115 * math/libm-test.inc (exp2_test): Require overflow exception for
32119 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32120 range of signed 64-bit integers before using fistpll. Remove
32121 checks for whether integers fit in mantissa bits.
32122 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32123 the range of signed 32-bit integers before using fistpl. Remove
32124 checks for whether integers fit in mantissa bits.
32125 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32126 (__ieee754_powl): Test for y outside the range of signed 64-bit
32127 integers before using fistpll. Reduce 64-bit values to 63-bit
32129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32130 divide-by-zero is raised for zero to large negative powers.
32131 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32132 (__ieee754_powl): Test for y outside the range of signed 64-bit
32133 integers before using fistpll. Reduce 64-bit values to 63-bit
32135 * math/libm-test.inc (pow_test): Add more tests.
32137 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32139 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32140 <stdio-common/_itoa.h>.
32141 * debug/segfault.c: Likewise.
32142 * elf/dl-cache.c: Likewise.
32143 * elf/dl-minimal.c: Likewise.
32144 * elf/dl-misc.c: Likewise.
32145 * elf/dl-sysdep.c: Likewise.
32146 * elf/dl-version.c: Likewise.
32147 * elf/rtld.c: Likewise.
32148 * hurd/hurdsock.c: Likewise.
32149 * hurd/lookup-retry.c: Likewise.
32150 * malloc/malloc.c: Likewise.
32151 * malloc/mtrace.c: Likewise.
32152 * nscd/nscd_getgr_r.c: Likewise.
32153 * nscd/nscd_getpw_r.c: Likewise.
32154 * nscd/nscd_getserv_r.c: Likewise.
32155 * posix/getopt_init.c: Likewise.
32156 * posix/wordexp.c: Likewise.
32157 * stdio-common/_itoa.c: Likewise.
32158 * stdio-common/printf_fphex.c: Likewise.
32159 * stdio-common/vfprintf.c: Likewise.
32160 * string/_strerror.c: Likewise.
32161 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32162 * sysdeps/i386/i686/hp-timing.h: Likewise.
32163 * sysdeps/mach/_strerror.c: Likewise.
32164 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32165 * sysdeps/mach/hurd/sethostid.c: Likewise.
32166 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32167 * sysdeps/mach/xpg-strerror.c: Likewise.
32168 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32169 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32170 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32171 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32172 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32173 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32174 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32175 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32176 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32177 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32178 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32179 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32180 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32181 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32182 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32183 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32184 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32185 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32186 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32187 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32188 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32190 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32192 * stdio-common/_itoa.h: Moved to ...
32193 * sysdeps/generic/_itoa.h: Here.
32195 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32197 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32198 instead of "_itoa.h" and "_itowa.h".
32199 * stdio-common/vfprintf.: Likewise.
32201 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32203 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32205 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32206 (__signbit): Likwise.
32207 (llrintf): Likwise.
32210 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32212 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32215 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32217 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32218 OVERFLOW_EXCEPTION_OK.
32219 * math/libm-test.inc ("Philosophy"): Update comment about
32221 (OVERFLOW_EXCEPTION): Define.
32222 (OVERFLOW_EXCEPTION_OK): Likewise.
32223 (INVALID_EXCEPTION_OK): Renumber.
32224 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32225 (IGNORE_ZERO_INF_SIGN): Likewise.
32226 (test_exceptions): Handle FE_OVERFLOW.
32227 (exp10_test): Expect overflow exceptions.
32228 (exp2_test): Likewise.
32229 (expm1_test): Likewise.
32230 (nextafter_test): Likewise.
32231 (pow_test): Likewise.
32232 (scalbn_test): Likewise.
32233 (scalbln_test): Likewise.
32235 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32237 * sysdeps/x86_64/bits/atomic.h
32238 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32240 (atomic_exchange_acq): Likewise.
32241 (__arch_exchange_and_add_body): Likewise.
32242 (__arch_add_body): Likewise.
32243 (atomic_add_negative): Likewise.
32244 (atomic_add_zero): Likewise.
32246 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32248 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32249 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32251 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32253 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32254 Check __x86_64__ instead of __WORDSIZE.
32256 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32258 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32260 2012-03-19 David S. Miller <davem@davemloft.net>
32262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32264 * sysdeps/sparc/fpu/fenv_private.h: New file.
32265 * sysdeps/sparc/fpu/math_private.h: Use it.
32266 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32268 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32269 (libc_feholdexcept_setroundl): Remove.
32270 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32272 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32273 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32275 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32277 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32278 int64_t instead of long int.
32279 (INSERT_WORDS64): Likwise.
32281 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32283 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32284 _Unwind_GetCFA return to _Unwind_Ptr first.
32286 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32289 * math/s_clog.c: Include <float.h>.
32290 (__clog): Scale large or subnormal inputs.
32291 * math/s_clogf.c: Likewise.
32292 * math/s_clogl.c: Likewise.
32293 * math/s_clog10.c: Include <float.h>.
32294 (M_LOG10_2): Define.
32295 (__clog10): Scale large or subnormal inputs.
32296 * math/s_clog10f.c: Likewise.
32297 * math/s_clog10l.c: Likewise.
32298 * math/libm-test.inc (clog_test): Add more tests.
32299 (clog10_test): Likewise.
32300 * sysdeps/i386/fpu/libm-test-ulps: Update.
32301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32304 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32306 * math/libm-test.inc (atan2_test): Add another test.
32308 * Makerules (common-objdir-compile): Remove.
32309 * sysdeps/unix/Makefile (config-generated): Do not add
32310 $(unix-generated) to variable.
32311 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32312 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32314 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32316 [generic bits/local_lim.h] (before-compile): Do not append to
32318 [generic bits/local_lim.h] (common-generated): Likewise.
32319 [generic sys/param.h] (before-compile): Do not append to variable.
32320 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32321 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32322 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32323 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32325 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32326 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32327 [generic sys/param.h] ($(addprefix
32328 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32329 [generic sys/param.h] (common-generated): Do not append to
32331 [generic sys/param.h] (sysdep_headers): Likewise.
32332 [generic bits/errno.h] (before-compile): Do not append to
32334 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32336 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32337 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32338 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32339 [generic bits/errno.h] (common-generated): Do not append to
32341 [generic bits/ioctls.h] (before-compile): Do not append to
32343 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32345 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32346 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32347 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32349 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32350 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32351 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32352 [generic bits/ioctls.h] (common-generated): Do not append to
32354 [generic sys/syscall.h] (syscall.h): Remove variable.
32355 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32357 [generic sys/syscall.h] (before-compile): Do not append to
32359 [generic sys/syscall.h] (common-generated): Likewise.
32360 * sysdeps/unix/errnos-tmpl.c: Remove file.
32361 * sysdeps/unix/errnos.awk: Likewise.
32362 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32363 * sysdeps/unix/ioctls.awk: Likewise.
32364 * sysdeps/unix/mk-local_lim.c: Likewise.
32365 * sysdeps/unix/snarf-ioctls: Likewise.
32367 2012-03-19 Richard Henderson <rth@twiddle.net>
32369 * sysdeps/i386/fpu/fenv_private.h: New file.
32370 * sysdeps/i386/fpu/math_private.h: Use it.
32371 (math_opt_barrier, math_force_eval): Remove.
32372 (libc_feholdexcept_setround_53bit): Remove.
32373 (libc_feupdateenv_53bit): Remove.
32374 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32375 (math_opt_barrier, math_force_eval): Remove.
32376 (libc_feholdexcept): Remove.
32377 (libc_feholdexcept_setround): Remove.
32378 (libc_fetestexcept, libc_fesetenv): Remove.
32379 (libc_feupdateenv_test): Remove.
32380 (libc_feupdateenv, libc_feholdsetround): Remove.
32381 (libc_feresetround): Remove.
32383 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32384 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32386 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32387 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32388 (libc_feupdateenv_testl): New.
32389 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32390 (libc_feupdateenv_testf): New.
32391 (libc_feupdateenv): Use libc_feupdateenv_test.
32392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32393 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32395 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32396 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32397 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32398 (libc_feresetround_noex): New.
32399 (libc_feresetround_noexf): New.
32400 (libc_feresetround_noexl): New.
32401 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32402 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32403 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32404 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32406 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32407 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32409 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32410 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32411 SET_RESTORE_ROUND_NOEX.
32412 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32413 SET_RESTORE_ROUND_NOEXF.
32414 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32415 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32416 (libc_feholdsetroundf): New.
32417 (libc_feresetround, libc_feresetroundf): New.
32419 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32420 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32421 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32423 * sysdeps/generic/math_private.h: Include <fenv.h>.
32424 (default_libc_feholdexcept): New.
32425 (default_libc_feholdexcept_setround): New.
32426 (default_libc_fesetenv, default_libc_feupdateenv): New.
32427 (libc_feholdexcept): Only define if undefined.
32428 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32429 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32430 (libc_feholdexcept_setroundl): Likewise.
32431 (libc_feholdexcept_setround_53bit): Likewise.
32432 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32433 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32434 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32435 (libc_feupdateenv_53bit): Likewise.
32436 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32437 (libc_feholdexcept): Convert from macro to inline function.
32438 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32439 (libc_fesetenv, libc_feupdateenv): Likewise.
32441 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32442 not previously defined.
32443 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32444 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32445 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32446 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32447 * sysdeps/ieee754/flt-32/math_private.h: New file.
32448 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32449 math_private.h below SET_FLOAT_WORD.
32450 (__isnan, __isinf_ns, __finite): Remove.
32451 (__isnanf, __isinf_nsf, __finitef): Remove.
32453 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32457 2012-03-17 David S. Miller <davem@davemloft.net>
32460 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32463 2012-03-16 David S. Miller <davem@davemloft.net>
32465 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32469 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32471 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32472 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32473 sysdep_routines when subdir is sysvipc.
32474 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32475 __getshmlba helper.
32477 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32479 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32481 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32484 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32486 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32487 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32488 (__lround): Renamed to ...
32489 (__llround): This. Replace long int with long long int.
32490 Define lround functions as aliases of llround functions.
32491 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32493 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32495 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32496 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32497 adresses to uintptr_t. Replace "long int" and "unsigned long
32498 int" with "greg_t" on va_arg.
32500 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32502 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32503 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32505 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32506 Move e_machine check before EI_CLASS check. Handle x32
32507 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32508 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32509 SKIP_EM_IA_64 and include
32510 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32512 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32513 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32514 (add_system_dir): New macro.
32516 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32517 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32519 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32530 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32532 * math/w_j0f.c (j0f): Likewise.
32534 * math/w_j0l.c (__j0l): Likewise.
32536 * math/w_j1.c (j1): Likewise.
32538 * math/w_j1f.c (j1f): Likewise.
32540 * math/w_j1l.c (__j1l): Likewise.
32542 * math/w_jn.c (jn): Likewise.
32544 * math/w_jnf.c (jnf): Likewise.
32546 * math/w_jnl.c (__jnl): Likewise.
32548 * math/libm-test.inc (j0_test): Add more tests.
32549 (j1_test): Likewise.
32550 (jn_test): Likewise. Add trailing semicolon to existing test.
32551 (y0_test): Likewise.
32552 (y1_test): Likewise.
32553 * sysdeps/i386/fpu/libm-test-ulps: Update.
32554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32558 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32559 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32560 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32561 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32562 (__tanl): Set errno for infinite argument.
32563 * sysdeps/i386/fpu/mptan.c: Remove.
32564 * sysdeps/i386/fpu/s_tan.S: Likewise.
32565 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32566 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32567 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32568 * math/libm-test.inc (tan_test): Add more tests and enable more
32569 tests for double and long double.
32570 * sysdeps/i386/fpu/libm-test-ulps: Update.
32571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32573 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32575 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32576 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32578 2012-03-16 Roland McGrath <roland@hack.frob.com>
32580 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32581 * configure.in: Use it for both main tree and add-ons.
32582 * configure: Regenerated.
32584 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32586 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32588 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32590 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32594 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32595 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32596 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32597 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32598 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32600 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32601 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32602 != 0 for prec == 2.
32603 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32604 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32605 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32606 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32607 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32608 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32609 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32610 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32611 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32612 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32613 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32614 * math/libm-test.inc (cos_test): Add more tests and enable more
32615 tests for long double.
32616 (sin_test): Likewise.
32617 (sincos_test): Likewise.
32618 * sysdeps/i386/fpu/libm-test-ulps: Update.
32619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32621 2012-03-16 David S. Miller <davem@davemloft.net>
32623 * sysdeps/sparc/fpu/math_private.h: New file.
32625 2012-03-15 David S. Miller <davem@davemloft.net>
32627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32637 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32641 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32642 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32644 * sysdeps/sparc/sparc-ifunc.h: New file.
32645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32671 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32672 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32684 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32687 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32688 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32690 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32692 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32696 2012-03-15 Andreas Jaeger <aj@suse.de>
32699 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32700 ieee754/flt-32 implementation for sin, cos and sincos.
32701 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32702 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32703 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32704 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32705 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32706 ieee754/flt-32 implementation for tan.
32708 * math/libm-test.inc (cos_test): Enable some large input tests for
32710 (sin_test): Likewise.
32711 (sincos_test): Likewise.
32712 (tan_test): Add tests for large input.
32714 * sysdeps/i386/fpu/libm-test-ulps: Update.
32716 2012-03-15 Andreas Jaeger <aj@suse.de>
32719 * math/libm-test.inc (cos_test): Add more test cases.
32720 (sin_test): Likewise.
32721 (sincos_test): Likewise.
32723 2012-03-15 Andreas Jaeger <aj@suse.de>
32726 * math/libm-test.inc (cos_test): Add a test case for large input
32728 (sin_test): Likewise.
32729 (sincos_test): Likewise.
32731 2012-03-15 Andreas Jaeger <aj@suse.de>,
32732 Joseph Myers <joseph@codesourcery.com>
32735 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32736 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32737 * sysdeps/i386/fpu/branred.c: Likewise.
32738 * sysdeps/i386/fpu/dosincos.c: Likewise.
32739 * sysdeps/i386/fpu/mpa.c: Likewise.
32740 * sysdeps/i386/fpu/s_cos.S: Likewise.
32741 * sysdeps/i386/fpu/s_sin.S: Likewise.
32742 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32743 * sysdeps/i386/fpu/sincos32.c: Likewise.
32745 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32747 (libc_feupdateenv_53bit): Define.
32748 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32750 (libc_feupdateenv_53bit): Define.
32752 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32753 53 bit (without extend i386 double precision).
32755 * math/libm-test.inc (sincos_test): Add tests for large input.
32759 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32761 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32765 2012-03-15 David S. Miller <davem@davemloft.net>
32767 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32768 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32769 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32770 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32781 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32795 fmin/fmax sysdep routines.
32796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32798 2012-03-14 David S. Miller <davem@davemloft.net>
32800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32804 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32805 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32806 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32807 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32820 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32821 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32822 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32823 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32824 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32825 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32826 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32827 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32828 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32872 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32877 * sysdeps/sparc/configure.in: New file.
32878 * sysdeps/sparc/configure: Generate.
32879 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32880 * configure: Regenerate.
32881 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32882 * config.make.in (have-as-vis3): New.
32883 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32884 available use -Av9d instead of -Av9a.
32885 * sysdeps/sparc/sparc64/Makefile: Likewise.
32886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32895 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32896 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32897 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32898 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32899 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32901 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32902 fzeros/fnegs to load 0x80000000 into a float register instead of
32904 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32906 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32910 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32911 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32912 ($(inst_includedir)/bits/syscall.h): Remove rule.
32913 ($(objpfx)bits/syscall.d): Include instead of
32914 $(objpfx)syscall-list.d.
32915 (generated): Change syscall-list.h and syscall-list.d to
32916 bits/syscall.h and bits/syscall.d.
32918 2012-03-14 Roland McGrath <roland@hack.frob.com>
32921 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32923 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32926 * math/s_csqrt.c: Include <float.h>.
32927 (__csqrt): Scale large or subnormal inputs.
32928 * math/s_csqrtf.c: Likewise.
32929 * math/s_csqrtl.c: Likewise.
32930 * math/libm-test.inc (csqrt_test): Add more tests.
32931 * sysdeps/i386/fpu/libm-test-ulps: Update.
32932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32935 * math/libm-test.inc (hypot_test): Add more tests.
32937 2012-03-13 David S. Miller <davem@davemloft.net>
32940 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32941 double-precision for the calculation instead of scaling.
32943 2012-03-13 Joseph Myers <joseph@codesourcery.com>
32945 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32946 manipulate bits before adding and subtracting TWO52[sx].
32947 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32948 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32950 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32952 2012-03-13 David S. Miller <davem@davemloft.net>
32954 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32955 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32956 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32957 rtld-global-offsets.h
32958 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32960 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32963 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32965 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32966 'err' in the ifdef scope in which it is actually used.
32968 * nss/nss_db/db-init.c: Include string.h
32970 2012-03-12 David S. Miller <davem@davemloft.net>
32972 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32973 masking out of the most significant byte of random value used.
32974 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32975 Fix coding style in previous change.
32977 * sysdeps/unix/sysv/linux/kernel-features.h
32978 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32979 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32981 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32984 2012-03-11 David S. Miller <davem@davemloft.net>
32986 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32987 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32988 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32989 for 'resultvar' otherwise things get truncated on 64-bit.
32991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32992 Fix masking out of the most significant byte of random value used.
32994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32996 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33000 2012-03-09 David S. Miller <davem@davemloft.net>
33002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33003 variables with appropriate CPP guards.
33004 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33005 frame pointer, not the stack pointer. Correct layout comments. Fix test
33006 on resulting framesize and the management of the outregs buffer for pltexit.
33007 Preserve floating point return values across _dl_call_pltexit call.
33008 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33009 framesize and the management of the outregs buffer for pltexit.
33010 Preserve floating point return values across _dl_call_pltexit
33012 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33013 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33014 (print_exit): Fix format string for return register value.
33016 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33018 * sunrpc/Makefile (others): Add rpcgen.
33019 ($(objpfx)rpcgen): Remove special build rule and dependency on
33021 * sunrpc/rpcgen.c: New file.
33023 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33026 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33027 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33028 * sysdeps/i386/crti.S: Likewise.
33029 * sysdeps/i386/crtn.S: Likewise.
33030 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33031 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33032 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33033 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33034 * sysdeps/sh/crti.S: Likewise.
33035 * sysdeps/sh/crtn.S: Likewise.
33036 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33039 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33041 * locale/programs/locfile-kw.gperf: Likewise.
33042 * locale/programs/charmap-kw.h: Regenerated.
33043 * locale/programs/locfile-kw.h: Likewise.
33046 * intl/plural.y: Replace FSF snail mail address with URL.
33047 * intl/plural.c: Regenerated.
33049 2012-03-09 Richard Henderson <rth@twiddle.net>
33051 * include/math_private.h: Remove file.
33052 * math/math_private.h: Move file ...
33053 * sysdeps/generic/math_private.h: ... here.
33055 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33056 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33057 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33059 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33060 and <math_private.h>.
33061 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33062 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33063 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33064 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33065 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33066 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33067 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33068 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33069 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33070 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33071 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33072 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33073 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33074 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33075 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33076 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33077 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33078 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33079 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33080 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33082 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33083 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33084 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33085 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33086 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33087 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33088 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33089 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33090 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33091 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33092 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33093 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33094 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33095 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33096 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33097 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33098 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33099 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33100 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33101 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33102 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33103 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33104 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33105 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33106 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33107 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33108 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33109 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33110 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33111 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33112 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33113 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33114 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33115 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33116 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33117 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33118 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33119 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33120 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33121 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33122 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33123 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33124 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33125 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33126 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33127 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33128 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33129 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33130 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33131 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33132 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33133 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33134 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33135 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33136 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33138 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33139 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33140 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33141 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33142 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33143 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33144 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33145 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33149 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33150 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33151 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33152 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33153 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33154 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33155 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33156 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33157 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33158 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33159 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33160 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33161 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33162 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33163 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33164 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33165 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33166 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33167 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33168 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33169 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33170 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33171 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33172 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33173 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33174 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33175 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33176 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33177 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33178 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33179 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33180 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33181 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33182 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33183 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33184 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33185 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33186 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33187 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33188 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33189 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33190 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33191 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33192 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33193 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33194 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33195 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33196 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33197 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33198 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33199 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33200 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33201 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33202 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33203 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33204 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33205 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33206 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33207 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33208 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33209 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33210 * sysdeps/ieee754/k_standard.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33234 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33238 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33241 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33242 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33243 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33244 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33245 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33246 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33248 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33251 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33252 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33253 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33255 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33256 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33257 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33258 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33259 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33260 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33261 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33262 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33263 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33264 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33265 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33266 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33267 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33268 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33269 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33270 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33271 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33272 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33273 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33274 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33275 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33276 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33277 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33278 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33279 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33280 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33281 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33282 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33283 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33284 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33285 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33286 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33287 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33288 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33289 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33290 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33291 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33292 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33293 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33294 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33295 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33296 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33297 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33298 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33299 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33300 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33301 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33302 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33303 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33304 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33305 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33306 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33307 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33308 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33309 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33310 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33311 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33312 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33313 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33314 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33315 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33316 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33317 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33318 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33319 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33320 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33321 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33322 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33323 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33324 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33325 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33326 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33327 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33328 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33329 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33330 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33331 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33332 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33333 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33334 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33335 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33336 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33337 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33338 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33339 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33340 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33341 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33342 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33343 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33344 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33345 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33346 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33347 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33348 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33349 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33350 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33351 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33352 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33353 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33354 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33355 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33356 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33357 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33358 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33359 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33360 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33361 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33362 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33363 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33364 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33365 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33366 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33367 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33368 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33369 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33370 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33371 * sysdeps/ieee754/s_lib_version.c: Likewise.
33372 * sysdeps/ieee754/s_matherr.c: Likewise.
33373 * sysdeps/ieee754/s_signgam.c: Likewise.
33374 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33375 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33376 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33377 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33378 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33379 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33380 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33381 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33382 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33383 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33384 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33385 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33386 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33387 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33388 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33389 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33390 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33391 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33392 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33394 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33396 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33398 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33399 * sunrpc/rpc_main.c: Likewise.
33400 * sunrpc/rpc_svcout.c: Likewise.
33402 2012-03-09 David S. Miller <davem@davemloft.net>
33404 * include/math_private.h: New file.
33406 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33408 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33409 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33410 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33411 from <bits/socket_type.h>.
33412 (enum __socket_type): Don't define here.
33413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33415 bits/socket_type.h.
33418 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33419 checking __USE_GNU.
33421 * Makerules ($(inst_includedir)/%.h): New rule.
33422 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33423 (install-others): Remove variable setting.
33424 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33426 2012-03-08 Richard Henderson <rth@twiddle.net>
33428 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33429 from macro to inline function; merge with the
33430 !__LIBC_INTERNAL_MATH_INLINES version.
33431 (__ieee754_sqrtf): Likewise.
33433 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33434 to inline function.
33435 (__rintf, __floor, __floorf): Likewise.
33437 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33438 macro to inline function.
33439 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33441 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33442 not <math/math_private.h>.
33444 2012-03-08 David S. Miller <davem@davemloft.net>
33446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33448 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33450 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33452 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33454 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33455 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33457 2012-03-08 Ulrich Drepper <drepper@gmail.com>
33459 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33460 be defined individually, they must be defined as a block. Define
33461 S for printing a string instead of hidint the different by using a
33462 macro for adding the 'l'.
33463 * stdio-common/tst-fphex-wide.c: Adjust.
33465 2012-03-07 Marek Polacek <polacek@redhat.com>
33467 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33469 2012-03-08 Marek Polacek <polacek@redhat.com>
33472 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33473 * stdio-common/tst-fphex.c: Define a few macros to make the
33474 test reusable. Use them.
33475 * stdio-common/tst-fphex-wide.c: New file.
33477 2012-03-08 Joseph Myers <joseph@codesourcery.com>
33480 * manual/macros.texi (gnusystems): New macro.
33481 (nongnusystems): Likewise.
33482 (gnulinuxhurdsystems): Likewise.
33483 (gnuhurdsystems): Likewise..
33484 (gnulinuxsystems): Likewise.
33485 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33486 variants of the GNU system, not "GNU system".
33487 * manual/conf.texi: Likewise.
33488 * manual/errno.texi: Likewise. Update example of errno macro
33490 * manual/filesys.texi: Likewise.
33491 (getumask): Document as specific to GNU/Hurd.
33492 * manual/install.texi: Likewise. Reword some references to
33494 * manual/intro.texi: Likewise.
33495 * manual/io.texi: Likewise.
33496 (File Name Portability): Detail which constraints are inapplicable
33497 to all GNU systems and which are only inapplicable to GNU/Hurd.
33498 * manual/job.texi: Likewise.
33499 * manual/llio.texi: Likewise.
33500 (O_NOCTTY): Document as present on GNU/Linux.
33501 * manual/maint.texi: Likewise.
33502 * manual/memory.texi: Likewise.
33503 * manual/pattern.texi: Likewise.
33504 * manual/pipe.texi: Likewise.
33505 * manual/process.texi: Likewise.
33506 * manual/resource.texi: Likewise.
33507 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33509 * manual/setjmp.texi: Likewise.
33510 * manual/signal.texi: Likewise.
33511 * manual/startup.texi: Likewise.
33512 * manual/stdio.texi: Likewise.
33513 * manual/terminal.texi: Likewise.
33514 (ONLCR): Document as POSIX.
33515 (OXTABS): Document availability on GNU/Linux as XTABS.
33516 (ONOEOT): Document availability separately from other bits.
33517 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33518 * manual/time.texi: Likewise.
33519 * manual/users.texi: Likewise.
33520 * INSTALL: Regenerated.
33521 * sysdeps/gnu/errlist.c: Regenerated.
33523 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33524 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33525 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33527 * configure: Regenerated.
33529 2012-03-07 Joseph Myers <joseph@codesourcery.com>
33531 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33532 default includes instead of AC_HEADER_CHECK.
33533 * sysdeps/i386/configure: Regenerated.
33536 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33537 * math/s_cacoshf.c (__cacoshf): Likewise.
33538 * math/s_cacoshl.c (__cacoshl): Likewise.
33539 * math/s_casinh.c (__casinh): Set signs of result from argument.
33540 * math/s_casinhf.c (__casinhf): Likewise.
33541 * math/s_casinhl.c (__casinhl): Likewise.
33542 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33543 (casinh_test): Add more tests.
33544 * sysdeps/i386/fpu/libm-test-ulps: Update.
33545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33547 2012-03-07 Ulrich Drepper <drepper@gmail.com>
33549 * po/zh_TW.po: Update from translation team.
33551 * login/Makefile (distribute): Remove variable.
33552 * catgets/Makefile: Likewise.
33553 * mach/Makefile: Likewise.
33554 * malloc/Makefile: Likewise.
33555 * misc/Makefile: Likewise.
33556 * iconv/Makefile: Likewise.
33557 * nscd/Makefile: Likewise.
33558 * hurd/Makefile: Likewise.
33559 * manual/Makefile: Likewise.
33560 * locale/Makefile: Likewise.
33561 * intl/Makefile: Likewise.
33562 * conform/Makefile: Likewise.
33563 * nss/Makefile: Likewise.
33564 * time/Makefile: Likewise.
33565 * soft-fp/Makefile: Likewise.
33566 * dirent/Makefile: Likewise.
33567 * gmon/Makefile: Likewise.
33568 * po/Makefile: Likewise.
33569 * rt/Makefile: Likewise.
33570 * socket/Makefile: Likewise.
33571 * math/Makefile: Likewise.
33572 * signal/Makefile: Likewise.
33573 * debug/Makefile: Likewise.
33574 * elf/Makefile: Likewise.
33575 * timezone/Makefile: Likewise.
33576 * stdlib/Makefile: Likewise.
33577 * iconvdata/Makefile: Likewise.
33578 * sunrpc/Makefile: Likewise.
33579 * io/Makefile: Likewise.
33580 * argp/Makefile: Likewise.
33581 * inet/Makefile: Likewise.
33582 * hesiod/Makefile: Likewise.
33583 * grp/Makefile: Likewise.
33584 * csu/Makefile: Likewise.
33585 * wctype/Makefile: Likewise.
33586 * crypt/Makefile: Likewise.
33587 * libio/Makefile: Likewise.
33588 * string/Makefile: Likewise.
33589 * nis/Makefile: Likewise.
33590 * resolv/Makefile: Likewise.
33591 * stdio-common/Makefile: Likewise.
33592 * wcsmbs/Makefile: Likewise.
33593 * dlfcn/Makefile: Likewise.
33594 * posix/Makefile: Likewise.
33597 * timezone/Makefile: Don't install timezone files, just the programs
33600 2012-03-06 Ulrich Drepper <drepper@gmail.com>
33602 * nss/databases.def: Add missing gshadow entry.
33604 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33606 2012-03-06 Marek Polacek <polacek@redhat.com>
33609 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33610 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33611 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33612 * stdio-common/tst-long-dbl-fphex.c: New file.
33614 2012-03-06 David S. Miller <davem@davemloft.net>
33616 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33617 (set_obp_int): New function.
33618 (get_obp_int): New function.
33619 (__get_clockfreq_via_dev_openprom): Likewise.
33620 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33621 Avoid unused variable warnings on 'val' and use builtin_expect.
33622 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33624 (INLINE_CLONE_SYSCALL): Likewise.
33626 2012-03-05 David S. Miller <davem@davemloft.net>
33628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33630 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33634 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33635 only for |x| >= 40.
33636 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33638 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
33640 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33641 Replace gettimeofday with __vdso_gettimeofday.
33643 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33644 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33645 __vdso_clock_gettime and __vdso_getcpu.
33647 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33648 time with __vdso_time.
33650 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33652 * manual/lang.texi (size_t): Note types to which size_t may be
33653 equivalent with the GNU C Library, but do not describe when
33654 differences between them are significant.
33656 2012-03-05 Andreas Jaeger <aj@suse.de>
33658 * sysdeps/i386/fpu/libm-test-ulps: Update.
33660 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33663 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33664 (__ieee754_pow): Save and restore rounding mode and use
33665 round-to-nearest for main computations.
33666 * math/libm-test.inc (pow_test_tonearest): New function.
33667 (pow_test_towardzero): Likewise.
33668 (pow_test_downward): Likewise.
33669 (pow_test_upward): Likewise.
33670 (main): Call the new functions.
33671 * sysdeps/i386/fpu/libm-test-ulps: Update.
33672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33675 * math/libm-test.inc (cosh_test_tonearest): New function.
33676 (cosh_test_towardzero): Likewise.
33677 (cosh_test_downward): Likewise.
33678 (cosh_test_upward): Likewise.
33679 (sinh_test_tonearest): Likewise.
33680 (sinh_test_towardzero): Likewise.
33681 (sinh_test_downward): Likewise.
33682 (sinh_test_upward): Likewise.
33683 (main): Call the new functions.
33684 * sysdeps/i386/fpu/libm-test-ulps: Update.
33685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33687 2012-03-05 Tom de Vries <tom@codesourcery.com>
33689 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33690 default stack guard is set in last bytes.
33691 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33693 2012-03-05 Kees Cook <keescook@chromium.org>
33695 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33698 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33699 possibly allocate from heap instead of stack.
33700 * stdio-common/bug-vfprintf-nargs.c: New file.
33701 * stdio-common/Makefile (tests): Add nargs overflow test.
33703 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33707 2012-03-03 Marek Polacek <polacek@redhat.com>
33709 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33710 * math/math_private.h: Likewise.
33711 * stdlib/tst-strtod.c: Likewise.
33712 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33713 * sysdeps/x86_64/bits/atomic.h: Likewise.
33715 2012-03-02 David S. Miller <davem@davemloft.net>
33717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33721 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33722 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33723 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33724 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33726 2012-03-02 Roland McGrath <roland@hack.frob.com>
33729 * manual/examples/README: New file, says the example source files
33730 can be used under GPL>=2.
33731 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33732 line containing just "*/".
33733 * manual/examples/add.c: Add copyright header (GPL>=2).
33734 * manual/examples/argp-ex1.c: Likewise.
33735 * manual/examples/argp-ex2.c: Likewise.
33736 * manual/examples/argp-ex3.c: Likewise.
33737 * manual/examples/argp-ex4.c: Likewise.
33738 * manual/examples/atexit.c: Likewise.
33739 * manual/examples/db.c: Likewise.
33740 * manual/examples/dir.c: Likewise.
33741 * manual/examples/dir2.c: Likewise.
33742 * manual/examples/execinfo.c: Likewise.
33743 * manual/examples/filecli.c: Likewise.
33744 * manual/examples/filesrv.c: Likewise.
33745 * manual/examples/fmtmsgexpl.c: Likewise.
33746 * manual/examples/genpass.c: Likewise.
33747 * manual/examples/inetcli.c: Likewise.
33748 * manual/examples/inetsrv.c: Likewise.
33749 * manual/examples/isockad.c: Likewise.
33750 * manual/examples/longopt.c: Likewise.
33751 * manual/examples/memopen.c: Likewise.
33752 * manual/examples/memstrm.c: Likewise.
33753 * manual/examples/mkfsock.c: Likewise.
33754 * manual/examples/mkisock.c: Likewise.
33755 * manual/examples/mygetpass.c: Likewise.
33756 * manual/examples/pipe.c: Likewise.
33757 * manual/examples/popen.c: Likewise.
33758 * manual/examples/rprintf.c: Likewise.
33759 * manual/examples/search.c: Likewise.
33760 * manual/examples/select.c: Likewise.
33761 * manual/examples/setjmp.c: Likewise.
33762 * manual/examples/sigh1.c: Likewise.
33763 * manual/examples/sigusr.c: Likewise.
33764 * manual/examples/stpcpy.c: Likewise.
33765 * manual/examples/strdupa.c: Likewise.
33766 * manual/examples/strftim.c: Likewise.
33767 * manual/examples/strncat.c: Likewise.
33768 * manual/examples/subopt.c: Likewise.
33769 * manual/examples/swapcontext.c: Likewise.
33770 * manual/examples/termios.c: Likewise.
33771 * manual/examples/testopt.c: Likewise.
33772 * manual/examples/testpass.c: Likewise.
33773 * manual/examples/timeval_subtract.c: Likewise.
33776 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33778 * manual/timeval_subtract.c.texi: ... here, new file.
33780 2012-03-02 David S. Miller <davem@davemloft.net>
33782 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33784 2012-03-02 Joseph Myers <joseph@codesourcery.com>
33787 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33788 (__sin): Save and restore rounding mode and use round-to-nearest
33789 for all computations.
33790 (__cos): Save and restore rounding mode and use round-to-nearest
33791 for all computations.
33792 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33794 (tan): Save and restore rounding mode and use round-to-nearest for
33796 * math/libm-test.inc (cos_test_tonearest): New function.
33797 (cos_test_towardzero): Likewise.
33798 (cos_test_downward): Likewise.
33799 (cos_test_upward): Likewise.
33800 (sin_test_tonearest): Likewise.
33801 (sin_test_towardzero): Likewise.
33802 (sin_test_downward): Likewise.
33803 (sin_test_upward): Likewise.
33804 (tan_test_tonearest): Likewise.
33805 (tan_test_towardzero): Likewise.
33806 (tan_test_downward): Likewise.
33807 (tan_test_upward): Likewise.
33808 (main): Call the new functions.
33809 * sysdeps/i386/fpu/libm-test-ulps: Update.
33810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33813 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33814 small n, then large n, before computing and testing k+n.
33815 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33816 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33818 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33820 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33821 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33822 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33823 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33824 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33825 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33826 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33827 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33828 * math/libm-test.inc (scalbn_test): Add more tests.
33829 (scalbln_test): Likewise.
33831 * manual/filesys.texi (mode_t): Describe constraints on size and
33832 signedness, not exact equivalence to a particular type.
33834 (ino64_t): Likewise.
33836 (nlink_t): Likewise.
33837 (blkcnt_t): Likewise.
33838 (blkcnt64_t): Likewise.
33839 * manual/llio.texi (off_t): Likewise.
33842 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33843 (__ieee754_exp): Save and restore rounding mode and use
33844 round-to-nearest for all computations.
33845 * math/libm-test.inc (exp_test_tonearest): New function.
33846 (exp_test_towardzero): Likewise.
33847 (exp_test_downward): Likewise.
33848 (exp_test_upward): Likewise.
33849 (main): Call the new functions.
33850 * sysdeps/i386/fpu/libm-test-ulps: Update.
33851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33853 2012-03-01 Chris Demetriou <cgd@google.com>
33855 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33856 have predictable order.
33858 2012-03-01 David S. Miller <davem@davemloft.net>
33860 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33862 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33863 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33864 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33865 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33867 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33868 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33869 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33871 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33872 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33873 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33874 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33875 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33879 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33880 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33881 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33883 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33884 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33885 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33886 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33887 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33888 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33889 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33890 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33891 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33892 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33893 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33894 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33895 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33896 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33897 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33899 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33900 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33901 * sysdeps/sparc/elf/configure: Regenerated.
33903 2012-03-01 Joseph Myers <joseph@codesourcery.com>
33905 * configure.in (AS, LD): Require binutils 2.20 or later.
33906 * configure: Regenerated.
33907 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33908 as required minimum version.
33909 * INSTALL: Regenerated.
33913 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33914 before squaring exponent.
33915 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33916 bottom long double and 27 bits of top long double before squaring
33918 * math/libm-test.inc (erfc_test): Add more tests.
33919 * sysdeps/i386/fpu/libm-test-ulps: Update.
33920 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33923 2012-03-01 Kai Tietz <ktietz@redhat.com>
33925 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33926 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33927 containing bit-fields.
33928 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33929 * soft-fp/single.h (_FP_UNION_S): Likewise.
33930 * soft-fp/double.h (_FP_UNION_D): Likewise.
33932 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33935 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33936 not include ../strcmp.S.
33937 [USE_AS_STRNCASECMP_L]: Likewise.
33938 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33939 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33940 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33941 (__strncasecmp_l_ia32): Define as alias to
33942 __strncasecmp_l_nonascii.
33945 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33946 * sysdeps/i386/fpu/libm-test-ulps: Update.
33947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33949 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33952 2012-02-29 Jeff Law <law@redhat.com>
33954 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33955 out of bounds read.
33957 2012-02-29 Marek Polacek <polacek@redhat.com>
33960 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33961 * elf/Makefile: Add rules to run tst-unused-dep.out.
33963 2012-02-28 David S. Miller <davem@davemloft.net>
33965 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33966 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33967 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33968 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33969 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33970 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33972 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33974 * math/libm-test.inc (llround_test): Move one test from
33975 lround_test. Use TEST_f_L in moved test.
33976 (lround_test): Move misplaced test to llround_test. Add testcase
33979 2012-02-28 Ulrich Drepper <drepper@gmail.com>
33981 * sysdeps/x86_64/fpu/e_expf.S: New file.
33982 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33984 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33987 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33988 of remain_len that may cause incomplete multi-byte character and
33990 * posix/bug-regex33.c: New file.
33991 * posix/Makefile (tests): Add bug-regex33.
33993 2012-02-28 Joseph Myers <joseph@codesourcery.com>
33995 * manual/macros.texi: New file.
33996 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33997 * manual/libc.texinfo: Include macros.texi.
33998 * manual/creatute.texi: Likewise.
33999 * manual/install.texi: Likewise.
34000 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34001 @glibcadj{} in references to the GNU C Library.
34002 * manual/charset.texi: Likewise.
34003 * manual/conf.texi: Likewise.
34004 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34005 when not using those macros.
34006 * manual/creature.texi: Likewise.
34007 * manual/crypt.texi: Likewise.
34008 * manual/errno.texi: Likewise.
34009 * manual/filesys.texi: Likewise.
34010 * manual/header.texi: Likewise.
34011 * manual/install.texi: Likewise.
34012 * manual/intro.texi: Likewise.
34013 * manual/io.texi: Likewise.
34014 * manual/job.texi: Likewise.
34015 * manual/lang.texi: Likewise.
34016 * manual/libc.texiinfo: Likewise.
34017 * manual/llio.texi: Likewise.
34018 * manual/locale.texi: Likewise.
34019 * manual/maint.texi: Likewise.
34020 * manual/math.texi: Likewise.
34021 * manual/memory.texi: Likewise.
34022 * manual/message.texi: Likewise.
34023 * manual/nss.texi: Likewise.
34024 * manual/pattern.texi: Likewise.
34025 * manual/process.texi: Likewise.
34026 * manual/resource.texi: Likewise.
34027 * manual/search.texi: Likewise.
34028 * manual/setjmp.texi: Likewise.
34029 * manual/signal.texi: Likewise.
34030 * manual/socket.texi: Likewise.
34031 * manual/startup.texi: Likewise.
34032 * manual/stdio.texi: Likewise.
34033 * manual/string.texi: Likewise.
34034 * manual/sysinfo.texi: Likewise.
34035 * manual/syslog.texi: Likewise.
34036 * manual/terminal.texi: Likewise.
34037 * manual/time.texi: Likewise.
34038 * manual/users.texi: Likewise.
34039 * INSTALL: Regenerated.
34040 * NOTES: Regenerated.
34041 * sysdeps/gnu/errlist.c: Regenerated.
34043 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34045 * include/dirent.h: Include <dirstream.h> before
34048 2012-02-28 David S. Miller <davem@davemloft.net>
34050 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34051 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34052 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34053 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34055 2012-02-27 David S. Miller <davem@davemloft.net>
34057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34059 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34060 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34063 frame pointer instead of stack pointer relative arg slot.
34064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34065 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34066 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34068 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34071 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34073 2012-02-27 David S. Miller <davem@davemloft.net>
34075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34079 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34080 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34081 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34082 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34084 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34086 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34087 later. Allow versions 5-9.
34088 * configure: Regenerated.
34089 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34090 required minimum version and 4.6 as recommended version. Do not
34091 mention bugs in GCC 2.7 and 2.8.
34092 * INSTALL: Regenerated.
34094 2012-02-27 David S. Miller <davem@davemloft.net>
34096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34100 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34101 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34102 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34103 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34105 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34106 manipulate bits before adding and subtracting TWO112[sx].
34107 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34109 2012-02-27 Roland McGrath <roland@hack.frob.com>
34112 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34113 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34114 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34115 being in POSIX, because they are in 1003.1-2008.
34117 * rt/tst-aio.c: Include <fcntl.h>.
34118 * rt/tst-aio7.c: Likewise.
34119 * rt/tst-aio64.c: Likewise.
34121 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34123 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34125 * manual/install.texi (--with-headers): Describe headers as
34126 interface headers, not private headers.
34127 (Specific advice for GNU/Linux systems): Describe use of headers
34128 from "make headers_install", not private headers from older
34130 * INSTALL: Regenerated.
34131 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34133 * sysdeps/unix/sysv/linux/configure: Regenerated.
34135 * manual/llio.texi (fclean): Remove documentation.
34137 * manual/Makefile (libc-texi-generated): New variable. Include
34139 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34140 $(libc-texi-generated), not duplicated list of files.
34141 (version.texi, stamp-version): New rules.
34142 (realclean): Remove $(libc-texi-generated), not individual files
34143 from that list. Do not remove dir-add.texinfo.
34144 * manual/libc.texinfo: Comment out uses of edition numbers and
34145 references to printed manual. Remove last-updated dates.
34146 (EDITION): Comment out.
34148 (VERSION, UPDATED): Remove.
34149 (version.texi): Include.
34151 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34153 * sysdeps/posix/spawni.c: Include <signal.h>.
34154 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34155 * sysdeps/pthread/aio_fsync.c: Likewise.
34157 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34159 * conform/Makefile (tests): Run only when not cross-compiling and
34160 when fast-check is not defined.
34162 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34163 * conform/data/limits.h-data: Fixes for POSIX2008.
34164 * conform/run-conformtest.sh: Run all tests.
34165 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34167 * include/bits/dlfcn.h: Likewise.
34168 * include/langinfo.h: Likewise.
34169 * include/monetary.h: Likewise.
34170 * include/sys/poll.h: Likewise.
34172 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34174 * posix/spawn.h: Define __need_sigset_t.
34175 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34176 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34177 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34178 to get sigevent_t only.
34179 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34180 only for __USE_GNU.
34181 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34182 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34183 process_vm_writev only for __USE_GNU.
34184 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34186 * conform/Makefile: For now ignore errors from run-conformtest.
34187 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34188 POSIX to avoid namespace pollution. Don't prepend headers.
34189 * conform/data/aio.h-data: Fixes for POSIX testing.
34190 * conform/data/fcntl.h-data: Likewise.
34191 * conform/data/glob.h-data: Likewise.
34192 * conform/data/grp.h-data: Likewise.
34193 * conform/data/pthread.h-data: Likewise.
34194 * conform/data/pwd.h-data: Likewise.
34195 * conform/data/signal.h-data: Likewise.
34196 * conform/data/spawn.h-data: Likewise.
34197 * conform/data/stdio.h-data: Likewise.
34198 * conform/data/stdlib.h-data: Likewise.
34199 * conform/data/stropts.h-data: Likewise.
34200 * conform/data/sys/mman.h-data: Likewise.
34201 * conform/data/sys/stat.h-data: Likewise.
34202 * conform/data/sys/types.h-data: Likewise.
34203 * conform/data/sys/wait.h-data: Likewise.
34204 * conform/data/time.h-data: Likewise.
34205 * conform/data/unistd.h-data: Likewise.
34206 * conform/data/utime.h-data: Likewise.
34208 * io/sys/stat.h: fchmod was always in POSIX.
34209 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34210 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34211 * rt/aio.h: Define __need_timespec before including <time.h>.
34212 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34213 struct. Add forward declaration of pthread_attr_t and use it in
34215 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34216 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34217 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34218 always remove CLK_TCK definition.
34220 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34222 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34224 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34226 * conform/run-conformtest.sh: New file.
34227 * conform/Makefile: Run run-conformtest for tests.
34228 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34231 * conform/data/uchar.h-data: New file.
34232 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34233 * conform/data/arpa/inet.h-data: Likewise.
34234 * conform/data/assert.h-data: Likewise.
34235 * conform/data/complex.h-data: Likewise.
34236 * conform/data/cpio.h-data: Likewise.
34237 * conform/data/ctype.h-data: Likewise.
34238 * conform/data/dirent.h-data: Likewise.
34239 * conform/data/dlfcn.h-data: Likewise.
34240 * conform/data/errno.h-data: Likewise.
34241 * conform/data/fcntl.h-data: Likewise.
34242 * conform/data/float.h-data: Likewise.
34243 * conform/data/fmtmsg.h-data: Likewise.
34244 * conform/data/fnmatch.h-data: Likewise.
34245 * conform/data/ftw.h-data: Likewise.
34246 * conform/data/glob.h-data: Likewise.
34247 * conform/data/grp.h-data: Likewise.
34248 * conform/data/iconv.h-data: Likewise.
34249 * conform/data/inttypes.h-data: Likewise.
34250 * conform/data/langinfo.h-data: Likewise.
34251 * conform/data/libgen.h-data: Likewise.
34252 * conform/data/limits.h-data: Likewise.
34253 * conform/data/locale.h-data: Likewise.
34254 * conform/data/math.h-data: Likewise.
34255 * conform/data/monetary.h-data: Likewise.
34256 * conform/data/mqueue.h-data: Likewise.
34257 * conform/data/ndbm.h-data: Likewise.
34258 * conform/data/net/if.h-data: Likewise.
34259 * conform/data/netdb.h-data: Likewise.
34260 * conform/data/netinet/in.h-data: Likewise.
34261 * conform/data/nl_types.h-data: Likewise.
34262 * conform/data/poll.h-data: Likewise.
34263 * conform/data/pthread.h-data: Likewise.
34264 * conform/data/pwd.h-data: Likewise.
34265 * conform/data/regex.h-data: Likewise.
34266 * conform/data/sched.h-data: Likewise.
34267 * conform/data/search.h-data: Likewise.
34268 * conform/data/semaphore.h-data: Likewise.
34269 * conform/data/setjmp.h-data: Likewise.
34270 * conform/data/signal.h-data: Likewise.
34271 * conform/data/spawn.h-data: Likewise.
34272 * conform/data/stdarg.h-data: Likewise.
34273 * conform/data/stdio.h-data: Likewise.
34274 * conform/data/stdlib.h-data: Likewise.
34275 * conform/data/string.h-data: Likewise.
34276 * conform/data/strings.h-data: Likewise.
34277 * conform/data/stropts.h-data: Likewise.
34278 * conform/data/sys/ipc.h-data: Likewise.
34279 * conform/data/sys/mman.h-data: Likewise.
34280 * conform/data/sys/msg.h-data: Likewise.
34281 * conform/data/sys/resource.h-data: Likewise.
34282 * conform/data/sys/select.h-data: Likewise.
34283 * conform/data/sys/sem.h-data: Likewise.
34284 * conform/data/sys/shm.h-data: Likewise.
34285 * conform/data/sys/socket.h-data: Likewise.
34286 * conform/data/sys/stat.h-data: Likewise.
34287 * conform/data/sys/statvfs.h-data: Likewise.
34288 * conform/data/sys/time.h-data: Likewise.
34289 * conform/data/sys/timeb.h-data: Likewise.
34290 * conform/data/sys/times.h-data: Likewise.
34291 * conform/data/sys/types.h-data: Likewise.
34292 * conform/data/sys/uio.h-data: Likewise.
34293 * conform/data/sys/un.h-data: Likewise.
34294 * conform/data/sys/utsname.h-data: Likewise.
34295 * conform/data/sys/wait.h-data: Likewise.
34296 * conform/data/syslog.h-data: Likewise.
34297 * conform/data/tar.h-data: Likewise.
34298 * conform/data/termios.h-data: Likewise.
34299 * conform/data/utime.h-data: Likewise.
34300 * conform/data/utmpx.h-data: Likewise.
34301 * conform/data/varargs.h-data: Likewise.
34302 * conform/data/wchar.h-data: Likewise.
34303 * conform/data/wctype.h-data: Likewise.
34304 * conform/data/wordexp.h-data: Likewise.
34306 * include/stropts.h: New file.
34307 * include/uchar.h: New file.
34308 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34309 * include/assert.h: Likewise.
34310 * include/ctype.h: Likewise.
34311 * include/dirent.h: Likewise.
34312 * include/dlfcn.h: Likewise.
34313 * include/fcntl.h: Likewise.
34314 * include/fnmatch.h: Likewise.
34315 * include/glob.h: Likewise.
34316 * include/grp.h: Likewise.
34317 * include/libio.h: Likewise.
34318 * include/locale.h: Likewise.
34319 * include/math.h: Likewise.
34320 * include/net/if.h: Likewise.
34321 * include/netdb.h: Likewise.
34322 * include/netinet/in.h: Likewise.
34323 * include/pthread.h: Likewise.
34324 * include/pwd.h: Likewise.
34325 * include/regex.h: Likewise.
34326 * include/sched.h: Likewise.
34327 * include/search.h: Likewise.
34328 * include/setjmp.h: Likewise.
34329 * include/signal.h: Likewise.
34330 * include/stdio.h: Likewise.
34331 * include/stdlib.h: Likewise.
34332 * include/string.h: Likewise.
34333 * include/sys/cdefs.h: Likewise.
34334 * include/sys/mman.h: Likewise.
34335 * include/sys/msg.h: Likewise.
34336 * include/sys/resource.h: Likewise.
34337 * include/sys/select.h: Likewise.
34338 * include/sys/socket.h: Likewise.
34339 * include/sys/stat.h: Likewise.
34340 * include/sys/statvfs.h: Likewise.
34341 * include/sys/time.h: Likewise.
34342 * include/sys/times.h: Likewise.
34343 * include/sys/uio.h: Likewise.
34344 * include/sys/utsname.h: Likewise.
34345 * include/sys/wait.h: Likewise.
34346 * include/termios.h: Likewise.
34347 * include/time.h: Likewise.
34348 * include/ulimit.h: Likewise.
34349 * include/unistd.h: Likewise.
34350 * include/utime.h: Likewise.
34351 * include/wchar.h: Likewise.
34352 * include/wctype.h: Likewise.
34353 * include/wordexp.h: Likewise.
34355 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34357 * time/time.h: TIME_UTC must be a macro.
34358 Make timespec_get available for ISO C11 only as well.
34360 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34362 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34363 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34365 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34367 * configure.in: Use -o not -a in test for unsupported multi-arch.
34369 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34371 * manual/texinfo.tex: Update to version 2012-01-19.16.
34373 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34375 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34377 2012-02-24 Roland McGrath <roland@hack.frob.com>
34380 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34381 * manual/fdl-1.3.texi: New file.
34382 * manual/fdl-1.1.texi: File removed.
34385 * manual/libc.texinfo (FDL_VERSION): New @set.
34386 Use it for mention of FDL in cover text.
34387 (Documentation License): Use it in @include file name.
34389 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34390 Roland McGrath <roland@hack.frob.com>
34393 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34394 not LONG_LONG_MAX and LONG_LONG_MIN.
34395 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34396 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34398 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34400 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34404 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34405 manipulate bits before adding and subtracting TWO23[sx].
34406 * math/libm-test.inc (nearbyint_test): Add more tests.
34408 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34411 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34412 bits before adding and subtracting TWO23[sx].
34413 * math/libm-test.inc (rint_test): Add more tests.
34414 (rint_test_tonearest): Likewise.
34415 (rint_test_towardzero): Likewise.
34416 (rint_test_downward): Likewise.
34417 (rint_test_upward: Likewise.
34419 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34422 * include/stdc-predef.h: New file. Extracted from features.h.
34423 * include/features.h: Include stdc-predef.h.
34424 * Makefile (headers): Add stdc-predef.h.
34425 * CONFORMANCE (Compiler limitations): Update.
34427 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34429 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34431 2012-02-21 David S. Miller <davem@davemloft.net>
34433 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34434 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34436 2012-02-20 David S. Miller <davem@davemloft.net>
34438 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34439 using a normal save/restore sequence, rather than allocating a
34440 dummy stack frame just to store a frame pointer and restore.
34441 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34443 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34445 * manual/install.texi: Fix stray word in line-wrapped comment.
34447 2012-02-20 David S. Miller <davem@davemloft.net>
34449 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34450 both binutils and gcc support GOTDATA.
34452 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34453 "rd %pc" in the PIC register setup sequences.
34455 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34456 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34457 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34458 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34459 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34461 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34462 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34463 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34464 (SYSCALL_ERROR_HANDLER): Likewise.
34465 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34466 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34468 (SYSCALL_ERROR_HANDLER): Likewise.
34470 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34471 (HAVE_GCC_GOTDATA): New.
34472 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34473 relocation support in both binutils and gcc.
34474 * sysdeps/sparc/elf/configure: Regenerate.
34476 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34477 * sysdeps/sparc/sparc32/elf/configure: Delete.
34478 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34479 * sysdeps/sparc/sparc64/elf/configure: Delete.
34480 * sysdeps/sparc/elf/configure.in: New file.
34481 * sysdeps/sparc/elf/configure: Generate.
34483 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34484 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34485 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34486 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34487 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34489 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34491 * manual/install.texi: Do not mention specific glibc version
34493 * manual/libc.texinfo (VERSION, UPDATED): Update.
34494 (@copying): Use @copyright{} and range of years.
34496 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34499 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34500 [crti.S not in sysdirs] (generated): Do not append.
34501 [crti.S not in sysdirs] (omit-deps): Likewise.
34502 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34503 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34504 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34505 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34506 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34508 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34509 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34510 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34511 * csu/defs.awk: Remove file.
34512 * sysdeps/generic/initfini.c: Likewise.
34513 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34515 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34518 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34520 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34521 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34522 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34523 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34524 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34525 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34527 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34528 (__EPOLL_PACKED): Define to empty if not defined by
34530 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34534 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34536 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34537 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34538 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34539 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34541 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34545 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34547 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34549 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34550 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34551 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34554 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34556 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34557 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34559 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34561 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34562 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34564 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34566 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34569 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34571 * math/w_acos.c: Use non-signaling floating-point comparisons.
34572 * math/w_acosf.c: Likewise.
34573 * math/w_acosh.c: Likewise.
34574 * math/w_acoshf.c: Likewise.
34575 * math/w_acoshl.c: Likewise.
34576 * math/w_acosl.c: Likewise.
34577 * math/w_asin.c: Likewise.
34578 * math/w_asinf.c: Likewise.
34579 * math/w_asinl.c: Likewise.
34580 * math/w_atanh.c: Likewise.
34581 * math/w_atanhf.c: Likewise.
34582 * math/w_atanhl.c: Likewise.
34583 * math/w_exp2.c: Likewise.
34584 * math/w_exp2f.c: Likewise.
34585 * math/w_exp2l.c: Likewise.
34586 * math/w_j0.c: Likewise.
34587 * math/w_j0f.c: Likewise.
34588 * math/w_j0l.c: Likewise.
34589 * math/w_j1.c: Likewise.
34590 * math/w_j1f.c: Likewise.
34591 * math/w_j1l.c: Likewise.
34592 * math/w_jn.c: Likewise.
34593 * math/w_jnf.c: Likewise.
34594 * math/w_log.c: Likewise.
34595 * math/w_log10.c: Likewise.
34596 * math/w_log10f.c: Likewise.
34597 * math/w_log10l.c: Likewise.
34598 * math/w_log2.c: Likewise.
34599 * math/w_log2f.c: Likewise.
34600 * math/w_log2l.c: Likewise.
34601 * math/w_logf.c: Likewise.
34602 * math/w_logl.c: Likewise.
34603 * math/w_sqrt.c: Likewise.
34604 * math/w_sqrtf.c: Likewise.
34605 * math/w_sqrtl.c: Likewise.
34606 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34607 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34608 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34609 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34610 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34612 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34615 * manual/string.texi (strnlen): Use correct parameter name in
34616 equivalent expression.
34618 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34621 * manual/users.texi (seteuid): Consistently use neweuid for
34624 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34627 * manual/nss.texi (Services in the NSS configuration): Correct
34628 list of services in example configuration file.
34630 2012-02-19 Nick Bowler <nbowler@draconx.ca>
34633 * manual/arith.texi: Remove statements about negative zero
34634 behaving identically to zero.
34636 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34639 * manual/install.texi: Do not document upgrading from libc5.
34641 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34644 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34646 2012-02-18 David S. Miller <davem@davemloft.net>
34648 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34649 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34650 %o7 across the call.
34651 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34653 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34654 SETUP_PIC_REG_LEAF.
34655 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34656 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34657 * sysdeps/sparc/crtn.S: Likewise.
34659 2012-02-17 Ulrich Drepper <drepper@gmail.com>
34661 * aout/Makefile: Remove.
34663 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34666 * manual/examples/argp-ex1.c (main): Format definition in GNU
34668 * manual/examples/argp-ex2.c (main): Likewise.
34669 * manual/examples/argp-ex3.c (main): Likewise.
34670 * manual/examples/argp-ex4.c (main): Likewise.
34671 * manual/examples/longopt.c (main): Use new-style prototype
34673 * manual/examples/strncat.c (main): Specify return type and use
34674 (void) for arguments.
34675 * manual/examples/subopt.c (main): Use char **argv argument.
34677 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34680 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34683 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34686 * manual/string.texi (strchr): Change when strchrnul is
34689 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34692 * manual/locale.texi (setlocale): Document LOCPATH.
34694 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34697 * manual/process.texi (execle): Move @dots{} before last argument.
34699 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
34702 * manual/charset.texi (Generic Charset Conversion): Fix typo
34703 (LC_TYPE -> LC_CTYPE).
34705 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34708 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34709 (scalbnf): Likewise.
34710 (scalbnl): Likewise.
34711 (scalbln): Likewise.
34712 (scalblnf): Likewise.
34713 (scalblnl): Likewise.
34714 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34715 (vwarnx): Likewise.
34718 * manual/filesys.texi (telldir): Use braces around return type.
34719 * manual/llio.texi (mmap): Add space after comma.
34720 (mmap64): Likewise.
34721 * manual/math.texi (jn): Use @var{} on parameter names.
34727 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34729 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34731 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34732 (sched_get_priority_max): Likewise.
34733 * manual/signal.texi (sigvec): Add space after comma.
34734 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34736 (if_indextoname): Likewise.
34737 (if_freenameindex): Likewise.
34738 (sendto): Use ',' instead of '.' in prototype.
34739 * manual/startup.texi (syscall): Use @dots{} instead of literal
34741 * manual/stdio.texi (__fpending): Separate initial words of
34742 paragraph from @deftypefun line.
34743 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34745 (vsyslog): Use @var{} on parameter names.
34746 * manual/terminal.texi (stty): Use @var{} on parameter names.
34747 * manual/users.texi (getutmp): Use @var{} on parameter names.
34748 (getutmpx): Likewise.
34750 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34753 * manual/stdio.texi (fopen): Fix typos in description of
34756 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34759 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34760 get clock_id definition.
34762 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
34765 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34766 (madvise): Cast every argument to void on its own.
34768 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34771 * manual/startup.texi (Exit Status): Fix typo.
34773 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34776 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34777 * manual/examples/argp-ex2.c: Likewise.
34778 * manual/examples/argp-ex3.c: Likewise.
34780 2012-02-16 Richard Henderson <rth@redhat.com>
34782 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34783 * sysdeps/s390/s390-32/initfini.c: Remove.
34784 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34785 * sysdeps/s390/s390-64/initfini.c: Remove.
34787 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34789 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34790 compiler output for sysdeps/generic/initfini.c.
34791 * sysdeps/sh/elf/initfini.c: Remove file.
34793 2012-02-16 David S. Miller <davem@davemloft.net>
34796 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34798 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34799 * sysdeps/sparc/crti.S: New file.
34800 * sysdeps/sparc/crtn.S: New file.
34801 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34802 * sysdeps/sparc/sparc64/Makefile: Likewise.
34804 2012-02-15 Mike Frysinger <vapier@gentoo.org>
34807 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34809 2012-02-15 Roland McGrath <roland@hack.frob.com>
34812 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34814 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34815 (write, read, close): Likewise.
34816 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34818 2012-02-15 Joseph Myers <joseph@codesourcery.com>
34820 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34821 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34822 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34823 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34825 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34826 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34829 2012-02-14 Marek Polacek <polacek@redhat.com>
34831 * sysdeps/x86_64/crti.S: New file.
34832 * sysdeps/x86_64/crtn.S: New file.
34833 * sysdeps/x86_64/elf/initfini.c: Remove file.
34835 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34837 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34838 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34839 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34840 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34842 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34846 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34848 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34849 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34850 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34851 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34853 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34857 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34859 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34860 __feraiseexcept instead of feraiseexcept.
34862 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34863 nanosleep invocations.
34864 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34865 strings, and add error checking for a nanosleep invocations.
34867 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34869 Replace FSF snail mail address with URLs, as per GNU coding standards.
34870 Most of the snail mail addresses were wrong anyway, and omitting
34871 them makes the source code easier to maintain. Almost all of the
34872 changes are to license notices and to locale LC_IDENTIFICATION
34873 addresses, except for this one:
34874 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34875 not its snail mail address.
34877 2012-02-09 Richard Henderson <rth@twiddle.net>
34879 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34880 of kernel-features.h.
34882 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34884 2012-02-08 Marek Polacek <polacek@redhat.com>
34886 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34887 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34888 * sysdeps/gnu/_G_config.h: Likewise.
34889 * sysdeps/generic/_G_config.h: Likewise.
34891 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34893 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34897 * sysdeps/powerpc/powerpc32/crti.S: New file.
34898 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34899 * sysdeps/powerpc/powerpc64/crti.S: New file.
34900 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34902 * Makeconfig (have-initfini): Don't set.
34903 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34904 * configure.in (nopic_initfini): Don't substitute.
34905 * config.h.in (HAVE_INITFINI): Don't #undef.
34906 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34907 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34909 2012-02-08 Joseph Myers <joseph@codesourcery.com>
34911 Support crti.S and crtn.S provided directly by architectures.
34912 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34913 [crti.S in sysdirs] (omit-deps): Likewise.
34914 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34915 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34916 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34917 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34918 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34919 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34920 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34921 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34922 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34923 compiler output for sysdeps/generic/initfini.c.
34924 * sysdeps/i386/elf/Makefile: Remove file.
34925 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34927 2012-02-07 Marek Polacek <polacek@redhat.com>
34929 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34930 * sysdeps/gnu/_G_config.h: Likewise.
34931 * sysdeps/mach/hurd/_G_config.h: Likewise.
34933 2012-02-07 Marek Polacek <polacek@redhat.com>
34935 * math/Makefile (tests): Add tst-CMPLX2.
34936 * math/tst-CMPLX2.c: New file.
34938 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34940 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34942 * math/libm-test.inc (jn_test): Add missing L suffix.
34944 2012-02-06 Marek Polacek <polacek@redhat.com>
34946 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34947 * sysdeps/i386/fpu/e_powf.S: Likewise.
34948 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34949 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34950 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34951 * sysdeps/i386/fpu/e_pow.S: Likewise.
34952 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34953 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34954 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34955 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34956 * sysdeps/i386/fpu/e_log2.S: Likewise.
34957 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34958 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34959 * sysdeps/i386/fpu/e_powl.S: Likewise.
34960 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34961 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34962 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34963 * sysdeps/i386/fpu/e_logl.S: Likewise.
34964 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34965 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34966 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34967 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34968 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34969 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34970 * sysdeps/i386/fpu/e_log.S: Likewise.
34971 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34972 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34973 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34974 * sysdeps/i386/fpu/e_logf.S: Likewise.
34975 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34976 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34977 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34978 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34979 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34980 * sysdeps/i386/fpu/e_log10.S: Likewise.
34981 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34982 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34983 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34984 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34985 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34986 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34987 * sysdeps/i386/asm-syntax.h: Likewise.
34988 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34989 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34990 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34991 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34992 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34993 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34994 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34995 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34996 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34997 * sysdeps/powerpc/sysdep.h: Likewise.
34998 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34999 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35001 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35004 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35006 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35008 * sysdeps/i386/sysdep.h: Include <features.h>.
35009 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35012 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35014 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35016 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35019 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35021 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35022 (SETUP_PIC_REG): Use GET_PC_THUNK.
35023 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35026 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35028 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35029 for non-PIC compilation.
35030 (SETUP_PIC_REG): Add .p2align directive.
35031 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35032 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35033 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35034 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35035 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35036 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35037 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35038 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35039 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35040 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35041 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35042 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35043 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35044 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35045 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35046 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35047 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35048 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35049 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35050 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35051 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35052 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35053 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35054 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35055 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35056 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35057 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35058 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35059 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35060 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35061 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35062 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35063 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35064 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35065 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35066 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35067 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35068 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35069 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35070 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35071 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35073 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35075 * math/tst-CMPLX.c: Include <stdio.h>.
35077 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35079 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35081 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35082 * sysdeps/sparc/bits/mathdef.h: Likewise.
35084 2012-01-31 Marek Polacek <polacek@redhat.com>
35086 * libio/libio.h: Don't define _PARAMS.
35087 * locale/programs/config.h: Don't define PARAMS.
35088 * stdlib/strtol_l.c: Likewise.
35089 (__strtol_l): Remove PARAMS from the prototype.
35091 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35093 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35094 names. Just use the correct names. Remove unnecessary wrapper
35096 * malloc/arena.c: Likewise.
35097 * malloc/hooks.c: Likewise.
35099 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35100 ARENA_TEST says not to. Simplify test for creation of a new arena.
35101 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35103 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35105 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35107 (update_get_addr): New function.
35108 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35109 GET_ADDR_MODULE parameter.
35111 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35113 * crypt/cert.c: Remove __STDC__ conditionals.
35114 * crypt/crypt-entry.c: Likewise.
35115 * crypt/crypt_util.c: Likewise.
35116 * libio/filedoalloc.c: Likewise.
35117 * libio/fileops.c: Likewise.
35118 * libio/genops.c: Likewise.
35119 * libio/iofclose.c: Likewise.
35120 * libio/iofdopen.c: Likewise.
35121 * libio/iofopen.c: Likewise.
35122 * libio/iofopen64.c: Likewise.
35123 * libio/iogetdelim.c: Likewise.
35124 * libio/iopopen.c: Likewise.
35125 * libio/obprintf.c: Likewise.
35126 * libio/oldfileops.c: Likewise.
35127 * libio/oldiofclose.c: Likewise.
35128 * libio/oldiofdopen.c: Likewise.
35129 * libio/oldiofopen.c: Likewise.
35130 * libio/oldiopopen.c: Likewise.
35131 * libio/wfiledoalloc.c: Likewise.
35132 * libio/wgenops.c: Likewise.
35133 * locale/programs/xmalloc.c: Likewise.
35134 * misc/syslog.c: Likewise.
35135 * stdio-common/xbug.c: Likewise.
35136 * string/memchr.c: Likewise.
35137 * string/memcmp.c: Likewise.
35138 * string/memrchr.c: Likewise.
35139 * string/rawmemchr.c: Likewise.
35140 * sysdeps/posix/getcwd.c: Likewise.
35141 * time/strftime_l.c: Likewise.
35143 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35145 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35146 * config.make.in (config-cflags-sse2avx): Define.
35147 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35150 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35152 * scripts/config.guess: Update from upstream config git repository.
35153 * scripts/config.sub: Likewise.
35155 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35157 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35159 (R_TILEPRO_*, R_TILEGX_*): New macros.
35161 * scripts/firstversions.awk: Fix bug in version range handling.
35163 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35165 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35167 * include/sys/epoll.h: New file.
35168 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35171 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35173 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35174 Avoid unnecessary __WORDSIZE == 64 test.
35175 (fmaxf): Use VEX format if possible.
35180 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35181 * math/math_private.h: Remove libc_fegetround* and
35183 * sysdeps/i386/configure.in: Check for -msse2avx.
35184 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35185 also if SSE2AVX is defined.
35186 Remove libc_fegetround* and libc_fesetround*.
35187 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35188 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35189 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35191 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35192 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35193 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35194 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35195 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35197 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35199 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35201 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35203 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35205 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35208 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35210 * Makeconfig (libm): Define.
35211 * elf/Makefile: Add rules to build and run tst-relsort1.
35212 * elf/tst-relsort1.c: New file.
35213 * elf/tst-relsort1mod1.c: New file.
35214 * elf/tst-relsort1mod2.c: New file.
35216 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35218 * math/s_ldexp.c: Remove __STDC__ conditionals.
35219 * math/s_ldexpf.c: Likewise.
35220 * math/s_ldexpl.c: Likewise.
35221 * math/s_nextafter.c: Likewise.
35222 * math/s_nexttowardf.c: Likewise.
35223 * math/s_significand.c: Likewise.
35224 * math/s_significandf.c: Likewise.
35225 * math/s_significandl.c: Likewise.
35226 * math/w_jnl.c: Likewise.
35227 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35228 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35229 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35230 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35231 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35232 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35233 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35234 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35235 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35236 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35237 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35238 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35239 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35240 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35241 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35242 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35243 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35244 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35245 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35246 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35247 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35248 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35249 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35250 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35251 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35252 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35253 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35254 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35255 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35256 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35257 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35258 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35259 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35260 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35261 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35262 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35263 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35264 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35265 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35266 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35267 * sysdeps/ieee754/k_standard.c: Likewise.
35268 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35269 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35270 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35271 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35272 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35273 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35274 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35275 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35276 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35277 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35278 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35279 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35280 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35281 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35282 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35283 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35284 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35285 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35286 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35287 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35288 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35289 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35290 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35291 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35292 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35293 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35294 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35295 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35296 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35297 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35298 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35299 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35300 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35301 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35302 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35303 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35304 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35305 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35306 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35307 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35308 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35309 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35310 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35311 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35312 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35313 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35314 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35315 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35316 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35317 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35318 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35319 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35320 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35321 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35322 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35323 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35324 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35325 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35326 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35327 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35328 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35329 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35330 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35331 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35332 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35333 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35334 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35335 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35336 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35337 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35338 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35339 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35340 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35341 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35342 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35343 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35344 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35345 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35346 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35347 * sysdeps/ieee754/s_matherr.c: Likewise.
35348 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35349 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35350 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35351 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35353 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35355 * crypt/md5.h: Remove __STDC__ conditionals.
35356 * libio/libioP.h: Likewise.
35357 * locale/programs/config.h: Likewise.
35358 * sysdeps/generic/sysdep.h: Likewise.
35359 * sysdeps/i386/asm-syntax.h: Likewise.
35360 * sysdeps/s390/asm-syntax.h: Likewise.
35361 * sysdeps/unix/sysdep.h: Likewise.
35362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35365 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35367 * libio/libio.h: Remove __STDC__ conditionals.
35368 * malloc/obstack.h: Likewise.
35369 * math/complex.h: Likewise.
35370 * math/math.h: Likewise.
35371 * sysdeps/generic/_G_config.h: Likewise.
35372 * sysdeps/gnu/_G_config.h: Likewise.
35373 * sysdeps/mach/hurd/_G_config.h: Likewise.
35374 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35375 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35376 * sysdeps/sparc/bits/mathdef.h: Likewise.
35378 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35381 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35382 Clean up HAS_* macros.
35383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35384 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35386 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35388 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35389 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35390 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35391 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35392 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35394 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35396 * elf/tst-unique3.cc (gets): Remove declaration.
35397 * elf/tst-unique3lib.cc (gets): Likewise.
35398 * elf/tst-unique3lib2.cc (gets): Likewise.
35399 * elf/tst-unique4.cc (gets): Likewise.
35401 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35403 * include/stdio.h: Add C++ protection. Add gets declarations and
35405 * debug/tst-chk1.c: Don't declare gets here.
35406 * stdio-common/tst-gets.c: Likewise.
35408 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35410 * posix/glob: Remove directory.
35412 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35414 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35416 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35418 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35419 of the non-standard EPFNOSUPPORT.
35421 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35423 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35424 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35425 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35427 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35429 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35431 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35433 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35435 * nscd/grpcache.c (cache_addgr): Likewise.
35436 * nscd/hstcache.c (cache_addhst): Likewise.
35437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35438 * nscd/pwdcache.c (cache_addpw): Likewise.
35439 * nscd/servicescache.c (cache_addserv): Likewise.
35441 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35443 * malloc/malloc.c: Various cleanups.
35444 * malloc/hooks.c: Likewise.
35446 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35447 * stdlib/bug-fmtmsg1.c: New file.
35449 * stdlib/fmtmsg.c (init): Add missing unlock.
35450 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35452 2012-01-12 Marek Polacek <polacek@redhat.com>
35454 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35457 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35459 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35460 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35461 macro to ensure uniqueness of label name.
35462 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35463 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35465 2012-01-11 Ulrich Drepper <drepper@gmail.com>
35467 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35469 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35470 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35471 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35472 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35474 2012-01-10 Ulrich Drepper <drepper@gmail.com>
35476 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35478 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35479 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35480 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35482 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35484 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35485 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35486 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35487 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35489 * math/bits/math-finite.h: Add ldexp support.
35491 2012-01-10 Marek Polacek <polacek@redhat.com>
35493 * locale/programs/localedef.h (show_archive_content): Add noreturn
35496 2012-01-09 Ulrich Drepper <drepper@gmail.com>
35498 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35500 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35502 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35504 * io/Makefile (headers): Add bits/poll2.h.
35506 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35509 typo #include statement.
35511 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35513 * include/sys/cdefs.h: Define __attribute_alloc_size.
35514 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35515 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35516 * elf/pldd.c: Likewise.
35517 * iconv/iconv_charmap.c: Likewise.
35518 * iconv/iconvconfig.c: Likewise.
35519 * iconv/strtab.c: Likewise.
35520 * locale/programs/locale.c: Likewise.
35521 * locale/programs/localedef.h: Likewise.
35522 * locale/programs/simple-hash.c: Likewise.
35523 * nscd/nscd.h: Likewise.
35524 * nss/makedb.c: Likewise.
35525 * sysdeps/generic/ldconfig.h: Likewise.
35526 * locale/programs/localedef.c: Remove xmalloc prototype.
35527 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35529 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35531 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35534 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35536 * math/Makefile (tests): Add tst-CMPLX.
35537 * math/tst-CMPLX.c: New file.
35539 * math/complex.h (CMPLXL): Fix typo.
35541 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35542 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35544 * debug/tst-chk1.c: Add poll and ppoll tests.
35545 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35546 * include/sys/poll.h: Add hidden proto for ppoll.
35547 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35548 * sysdeps/mach/hurd/ppoll.c: Likewise.
35549 * io/ppoll.c: Likewise.
35550 * debug/poll_chk.c: New file.
35551 * debug/ppoll_chk.c: New file.
35552 * include/bits/poll2.h: New file.
35553 * io/bits/poll2.h: New file.
35556 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35558 * configure.in: static is always set to yes. Remove.
35559 * config.make.in: Don't set build-static.
35560 * Makeconfig: Remove use of build-static.
35561 * dlfcn/Makefile: Likewise.
35562 * elf/Makefile: Likewise.
35563 * math/Makefile: Likewise.
35564 * misc/Makefile: Likewise.
35565 * nptl/Makefile: Likewise.
35566 * sysdeps/mach/hurd/Makefile: Likewise.
35568 * configure.in: PWD_P is not used anymore.
35569 * config.make.in: Remove PWD_P entry.
35571 * configure.in: Remove last remnants of RANLIB.
35572 No need to check for signed size_t anymore.
35573 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35575 Remove __builtin_expect test because we require at least gcc 3.4.
35576 * aclocal.m4: Likewise.
35578 * wcsmbs/mbrtoc16.c: Implement using towc function.
35579 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35580 * wcsmbs/wcsmbsload.c: Likewise.
35581 * iconv/gconv_simple.c: Likewise.
35582 * iconv/gconv_int.h: Likewise.
35583 * iconv/gconv_builtin.h: Likewise.
35584 * iconv/iconv_prog.c: Remove CHAR16 handling.
35586 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35588 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35590 * configure.in: Remove --with-elf and --enable-bounded options.
35591 Dont set base_machine for ia64. More non-ELF conditions removed.
35592 Remove testing and setting of leading underscore information.
35593 * config.make.in (build-bounded): Set to no.
35594 * config.h.in: Remove NO_UNDERSCORES entry.
35595 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35597 * csu/start.c: Remove !NO_UNDERSCORE code.
35598 * locale/localeinfo.h: Likewise.
35599 * sysdeps/generic/machine-gmon.h: Likewise.
35600 * sysdeps/generic/sysdep.h: Likewise.
35601 * sysdeps/i386/sysdep.h: Likewise.
35602 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35603 * sysdeps/mach/sysdep.h: Likewise.
35604 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35605 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35606 * sysdeps/sh/sysdep.h: Likewise.
35607 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35608 * sysdeps/unix/i386/sysdep.S: Likewise.
35609 * sysdeps/unix/sparc/start.c: Likewise.
35610 * sysdeps/unix/sparc/sysdep.S: Likewise.
35611 * sysdeps/unix/sparc/sysdep.h: Likewise.
35612 * sysdeps/unix/start.c: Likewise.
35613 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35614 * sysdeps/x86_64/sysdep.h: Likewise.
35616 2012-01-07 Ulrich Drepper <drepper@gmail.com>
35619 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35621 * argp/argp-fmtstream.h: Use const instead __const.
35622 * argp/argp.h: Likewise.
35623 * assert/assert.h: Likewise.
35624 * bits/fenv.h: Likewise.
35625 * bits/sched.h: Likewise.
35626 * bits/sigset.h: Likewise.
35627 * bits/sigthread.h: Likewise.
35628 * catgets/nl_types.h: Likewise.
35629 * conform/data/pthread.h-data: Likewise.
35630 * crypt/crypt-private.h: Likewise.
35631 * crypt/crypt.h: Likewise.
35632 * crypt/crypt_util.c: Likewise.
35633 * ctype/ctype.h: Likewise.
35634 * debug/execinfo.h: Likewise.
35635 * debug/mbsnrtowcs_chk.c: Likewise.
35636 * debug/mbsrtowcs_chk.c: Likewise.
35637 * debug/wcsnrtombs_chk.c: Likewise.
35638 * debug/wcsrtombs_chk.c: Likewise.
35639 * debug/wcstombs_chk.c: Likewise.
35640 * dirent/dirent.h: Likewise.
35641 * dlfcn/dlfcn.h: Likewise.
35642 * elf/neededtest4.c: Likewise.
35643 * grp/grp.h: Likewise.
35644 * gshadow/gshadow.h: Likewise.
35645 * iconv/gconv.h: Likewise.
35646 * iconv/gconv_int.h: Likewise.
35647 * iconv/gconv_simple.c: Likewise.
35648 * iconv/iconv.h: Likewise.
35649 * iconv/loop.c: Likewise.
35650 * iconv/skeleton.c: Likewise.
35651 * include/aio.h: Likewise.
35652 * include/aliases.h: Likewise.
35653 * include/argz.h: Likewise.
35654 * include/arpa/inet.h: Likewise.
35655 * include/assert.h: Likewise.
35656 * include/dirent.h: Likewise.
35657 * include/dlfcn.h: Likewise.
35658 * include/execinfo.h: Likewise.
35659 * include/fcntl.h: Likewise.
35660 * include/fenv.h: Likewise.
35661 * include/glob.h: Likewise.
35662 * include/grp.h: Likewise.
35663 * include/libintl.h: Likewise.
35664 * include/mntent.h: Likewise.
35665 * include/netdb.h: Likewise.
35666 * include/pwd.h: Likewise.
35667 * include/rpc/netdb.h: Likewise.
35668 * include/sched.h: Likewise.
35669 * include/search.h: Likewise.
35670 * include/shadow.h: Likewise.
35671 * include/signal.h: Likewise.
35672 * include/stdio.h: Likewise.
35673 * include/stdlib.h: Likewise.
35674 * include/string.h: Likewise.
35675 * include/sys/socket.h: Likewise.
35676 * include/sys/stat.h: Likewise.
35677 * include/sys/statfs.h: Likewise.
35678 * include/sys/statvfs.h: Likewise.
35679 * include/sys/syslog.h: Likewise.
35680 * include/sys/time.h: Likewise.
35681 * include/sys/uio.h: Likewise.
35682 * include/time.h: Likewise.
35683 * include/unistd.h: Likewise.
35684 * include/utmp.h: Likewise.
35685 * include/wchar.h: Likewise.
35686 * include/wctype.h: Likewise.
35687 * inet/aliases.h: Likewise.
35688 * inet/arpa/inet.h: Likewise.
35689 * inet/netinet/ether.h: Likewise.
35690 * inet/netinet/in.h: Likewise.
35691 * intl/libintl.h: Likewise.
35692 * io/bits/fcntl2.h: Likewise.
35693 * io/fcntl.h: Likewise.
35694 * io/ftw.h: Likewise.
35695 * io/sys/poll.h: Likewise.
35696 * io/sys/stat.h: Likewise.
35697 * io/sys/statfs.h: Likewise.
35698 * io/sys/statvfs.h: Likewise.
35699 * io/utime.h: Likewise.
35700 * libio/bits/stdio.h: Likewise.
35701 * libio/bits/stdio2.h: Likewise.
35702 * libio/libio.h: Likewise.
35703 * libio/libioP.h: Likewise.
35704 * libio/stdio.h: Likewise.
35705 * locale/lc-ctype.c: Likewise.
35706 * locale/locale.h: Likewise.
35707 * login/utmp.h: Likewise.
35708 * malloc/arena.c: Likewise.
35709 * malloc/malloc.c: Likewise.
35710 * malloc/malloc.h: Likewise.
35711 * malloc/mcheck.c: Likewise.
35712 * malloc/mtrace.c: Likewise.
35713 * math/bits/mathcalls.h: Likewise.
35714 * math/fenv.h: Likewise.
35715 * math/math_private.h: Likewise.
35716 * misc/bits/error.h: Likewise.
35717 * misc/bits/syslog.h: Likewise.
35718 * misc/err.h: Likewise.
35719 * misc/error.h: Likewise.
35720 * misc/fstab.h: Likewise.
35721 * misc/mntent.h: Likewise.
35722 * misc/regexp.h: Likewise.
35723 * misc/search.h: Likewise.
35724 * misc/sgtty.h: Likewise.
35725 * misc/sys/mman.h: Likewise.
35726 * misc/sys/syslog.h: Likewise.
35727 * misc/sys/uio.h: Likewise.
35728 * misc/sys/xattr.h: Likewise.
35729 * misc/ttyent.h: Likewise.
35730 * nis/rpcsvc/ypclnt.h: Likewise.
35731 * nss/nss.h: Likewise.
35732 * posix/bits/unistd.h: Likewise.
35733 * posix/fnmatch.h: Likewise.
35734 * posix/glob.h: Likewise.
35735 * posix/sched.h: Likewise.
35736 * posix/spawn.h: Likewise.
35737 * posix/sys/wait.h: Likewise.
35738 * posix/unistd.h: Likewise.
35739 * posix/wordexp.h: Likewise.
35740 * pwd/pwd.h: Likewise.
35741 * resolv/netdb.h: Likewise.
35742 * resource/sys/resource.h: Likewise.
35743 * rt/aio.h: Likewise.
35744 * rt/bits/mqueue2.h: Likewise.
35745 * rt/mqueue.h: Likewise.
35746 * shadow/shadow.h: Likewise.
35747 * signal/signal.h: Likewise.
35748 * socket/send.c: Likewise.
35749 * socket/sendto.c: Likewise.
35750 * socket/sys/socket.h: Likewise.
35751 * stdio-common/printf.h: Likewise.
35752 * stdlib/bits/stdlib.h: Likewise.
35753 * stdlib/fmtmsg.h: Likewise.
35754 * stdlib/monetary.h: Likewise.
35755 * stdlib/stdlib.h: Likewise.
35756 * stdlib/ucontext.h: Likewise.
35757 * streams/stropts.h: Likewise.
35758 * string/argz.h: Likewise.
35759 * string/bits/string2.h: Likewise.
35760 * string/string.h: Likewise.
35761 * string/strings.h: Likewise.
35762 * sunrpc/rpc/auth.h: Likewise.
35763 * sunrpc/rpc/auth_des.h: Likewise.
35764 * sunrpc/rpc/clnt.h: Likewise.
35765 * sunrpc/rpc/netdb.h: Likewise.
35766 * sunrpc/rpc/pmap_clnt.h: Likewise.
35767 * sunrpc/rpc/xdr.h: Likewise.
35768 * sysdeps/generic/inttypes.h: Likewise.
35769 * sysdeps/generic/net/if.h: Likewise.
35770 * sysdeps/generic/sys/swap.h: Likewise.
35771 * sysdeps/gnu/net/if.h: Likewise.
35772 * sysdeps/gnu/utmpx.h: Likewise.
35773 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35774 * sysdeps/i386/i486/bits/string.h: Likewise.
35775 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35776 * sysdeps/s390/bits/string.h: Likewise.
35777 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35778 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35779 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35780 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35781 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35782 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35783 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35784 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35785 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35786 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35787 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35788 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35789 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35790 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35791 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35792 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35793 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35795 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35796 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35797 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35798 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35799 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35800 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35801 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35802 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35803 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35804 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35805 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35806 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35807 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35808 * sysvipc/sys/ipc.h: Likewise.
35809 * sysvipc/sys/msg.h: Likewise.
35810 * sysvipc/sys/sem.h: Likewise.
35811 * sysvipc/sys/shm.h: Likewise.
35812 * termios/termios.h: Likewise.
35813 * time/sys/time.h: Likewise.
35814 * time/time.h: Likewise.
35815 * wcsmbs/bits/wchar2.h: Likewise.
35816 * wcsmbs/uchar.h: Likewise.
35817 * wcsmbs/wchar.h: Likewise.
35818 * wctype/wctype.h: Likewise.
35821 * Makeconfig: Remove all but ELF support including AIX support.
35822 * Makerules: Likewise.
35823 * config.h.in: Likewise.
35824 * config.make.in: Likewise.
35825 * configure: Likewise.
35826 * configure.in: Likewise.
35827 * csu/Makefile: Likewise.
35828 * csu/version.c: Likewise.
35829 * debug/Makefile: Likewise.
35830 * dlfcn/Makefile: Likewise.
35831 * elf/Makefile: Likewise.
35832 * extra-lib.mk: Likewise.
35833 * iconv/Makefile: Likewise.
35834 * include/libc-symbols.h: Likewise.
35835 * include/shlib-compat.h: Likewise.
35836 * resolv/Makefile: Likewise.
35837 * resolv/res_libc.c: Likewise.
35838 * rt/Makefile: Likewise.
35839 * sysdeps/i386/asm-syntax.h: Likewise.
35840 * sysdeps/i386/sysdep.h: Likewise.
35841 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35842 * sysdeps/mach/sysdep.h: Likewise.
35843 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35844 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35845 * sysdeps/s390/asm-syntax.h: Likewise.
35846 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35847 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35848 * sysdeps/sh/sysdep.h: Likewise.
35849 * sysdeps/unix/sparc/sysdep.h: Likewise.
35850 * sysdeps/wordsize-32/divdi3.c: Likewise.
35851 * sysdeps/x86_64/sysdep.h: Likewise.
35853 * argp/Versions: Remove _argp_unlock_xxx.
35856 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35857 * abilist/libBrokenLocale.abilist: Likewise.
35858 * abilist/libanl.abilist: Likewise.
35859 * abilist/libc.abilist: Likewise.
35860 * abilist/libcrypt.abilist: Likewise.
35861 * abilist/libdl.abilist: Likewise.
35862 * abilist/libm.abilist: Likewise.
35863 * abilist/libnsl.abilist: Likewise.
35864 * abilist/libpthread.abilist: Likewise.
35865 * abilist/libresolv.abilist: Likewise.
35866 * abilist/librt.abilist: Likewise.
35867 * abilist/libthread_db.abilist: Likewise.
35868 * abilist/libutil.abilist: Likewise.
35869 * abilist/libnss_db.abilist: New file.
35871 * scripts/abilist.awk: Add support for indirect functions.
35873 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35875 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35877 * shlib-versions: Remove entries for ports architectures.
35879 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35881 * elf/stackguard-macros.h: Remove support for IA-64.
35882 * elf/tst-auditmod1.c: Likewise.
35883 * sysdeps/generic/ldsodefs.h: Likewise.
35885 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35886 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35890 * configure.in: Remove --enable-omitfp support.
35892 * config.make.in: Likewise.
35893 * Makeconfig: Likewise.
35894 * manual/install.texi: Likewise.
35896 In case anyone cares, the IA-64 architecture could move to ports.
35897 * sysdeps/ia64/*: Removed.
35898 * sysdeps/unix/sysv/linux/ia64/*: Removed.
35899 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35902 * configure.in: Remove entries for unsupported architectures.
35905 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35906 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35908 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35909 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35910 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35911 fall back to using wcrtomb.
35912 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35913 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35915 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35916 * wcsmbs/tst-c16c32-1.c: New file.
35918 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35921 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35923 * elf/tst-unique3.cc: Add explicit declaration of gets.
35924 * elf/tst-unique3lib.cc: Likewise.
35925 * elf/tst-unique3lib2.cc: Likewise.
35926 * elf/tst-unique4.cc: Likewise.
35928 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35930 2012-01-06 Joseph Myers <joseph@codesourcery.com>
35933 * assert/assert.h (static_assert): Don't define for C++.
35934 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35935 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35937 2012-01-03 Ulrich Drepper <drepper@gmail.com>
35939 * iconv/loop.c (single loop): Fix assertion in storing of
35942 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35944 2012-01-01 Ulrich Drepper <drepper@gmail.com>
35946 * posix/getconf.c: Update copyright year.
35947 * nss/getent.c: Likewise.
35948 * nss/makedb.c: Likewise.
35949 * iconv/iconvconfig.c: Likewise.
35950 * iconv/iconv_prog.c: Likewise.
35951 * elf/ldconfig.c: Likewise.
35952 * elf/pldd.c: Likewise.
35953 * elf/sotruss.ksh: Likewise.
35954 * catgets/gencat.c: Likewise.
35955 * csu/version.c: Likewise.
35956 * elf/ldd.bash.in: Likewise.
35957 * elf/sprof.c (print_version): Likewise.
35958 * locale/programs/locale.c: Likewise.
35959 * locale/programs/localedef.c: Likewise.
35960 * login/programs/pt_chown.c: Likewise.
35961 * nscd/nscd.c (print_version): Likewise.
35962 * debug/xtrace.sh: Likewise.
35963 * malloc/memusage.sh: Likewise.
35964 * malloc/mtrace.pl: Likewise.
35965 * debug/catchsegv.sh: Likewise.
35967 2011-12-30 Jakub Jelinek <jakub@redhat.com>
35969 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35972 2011-12-24 Ulrich Drepper <drepper@gmail.com>
35975 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35976 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35978 * iconv/gconv_int.h: Likewise.
35979 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35980 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35981 from libc for GLIBC_2.16.
35982 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35983 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35984 * wcsmbs/uchar.h: Really define mbstate_t.
35985 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35986 * wcsmbs/c16rtomb.c: New file.
35987 * wcsmbs/mbrtoc16.c: New file.
35988 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35989 for C/POSIX locale.
35990 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35991 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35993 * wcsmbs/wchar.h: Add missing __restrict.
35995 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35998 * time/Makefile (routines): Add timespec_get.
35999 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36000 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36001 timespec for ISO C11.
36002 * time/timespec_get.c: New file.
36003 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36004 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36007 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36008 * stdlib/stdlib.h: Declare aligned_alloc.
36009 * Versions.def: Add GLIBC_2.16 for libc.
36010 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36013 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36016 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36020 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36023 * assert/assert.h (static_assert): Define.
36025 * version.h: Update for 2.16 development version.
36028 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36031 * version.h (RELEASE): Bump for 2.15 release.
36032 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36034 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36035 Patch by Marek Polacek <mpolacek@redhat.com>.
36037 * bits/byteswap.h: Protect long long constants with __extension__.
36038 * sysdeps/i386/bits/byteswap.h: Likewise.
36039 * sysdeps/ia64/bits/byteswap.h: Likewise.
36040 * sysdeps/s390/bits/byteswap.h: Likewise.
36041 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36043 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36046 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36047 destination buffer.
36048 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36050 2011-12-23 Marek Polacek <polacek@redhat.com>
36052 * elf/dl-addr.c (determine_info): Add inline keyword.
36053 * elf/tst-auditmod4b.c (check_avx): Likewise.
36054 * elf/tst-auditmod6b.c (check_avx): Likewise.
36055 * elf/tst-auditmod6c.c (check_avx): Likewise.
36056 * elf/tst-auditmod7b.c (check_avx): Likewise.
36058 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36060 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36063 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36066 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36067 processing for last bytes.
36069 2011-08-06 Bruno Haible <bruno@clisp.org>
36072 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36073 U+0385, not to U+1FEE.
36076 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36077 entry for U+00A5 U+0301.
36079 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36082 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36083 buffer for the output is too small.
36085 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36089 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36090 SSE flags if possible.
36092 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36095 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36096 processing for last bytes.
36098 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36100 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36101 (syscall-list-default-options, syscall-list-default-condition)
36102 (syscall-list-includes): Define.
36103 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36104 list of ABIs and options and #if conditions for each ABI. Do not
36105 handle common syscalls between ABIs specially.
36106 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36108 (syscall-list-variants, syscall-list-32bit-options)
36109 (syscall-list-32bit-condition, syscall-list-64bit-options)
36110 (syscall-list-64bit-condition): Define.
36111 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36112 (syscall-list-variants, syscall-list-32bit-options)
36113 (syscall-list-32bit-condition, syscall-list-64bit-options)
36114 (syscall-list-64bit-condition): Define.
36115 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36117 (syscall-list-variants, syscall-list-32bit-options)
36118 (syscall-list-32bit-condition, syscall-list-64bit-options)
36119 (syscall-list-64bit-condition): Define.
36120 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36122 (syscall-list-variants, syscall-list-32bit-options)
36123 (syscall-list-32bit-condition, syscall-list-64bit-options)
36124 (syscall-list-64bit-condition): Define.
36126 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36128 * locale/iso-639.def: Add brx entry.
36131 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36132 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36134 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36135 __feraiseexcept_renamed.
36137 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36140 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36141 EPOLLET with unsigned values.
36142 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36143 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36145 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36146 to large cancellation.
36147 * math/s_cacoshf.c: Likewise.
36148 * math/s_cacoshl.c: Likewise.
36150 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36154 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36155 * math/s_cacoshf.c: Likewise.
36156 * math/s_cacoshl.c: Likewise.
36158 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36161 * iconv/gconv.h: Define __GCONV_SWAP.
36162 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36163 * iconvdata/utf-16.c: Likewise.
36164 * iconvdata/utf-32.c: Likewise.
36166 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36169 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36170 numerator after shifting it by one limb.
36172 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36174 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36175 under [__USE_EXTERN_INLINES].
36177 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36180 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36182 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36184 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36185 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36187 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36188 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36189 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36190 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36191 for strncasecmp/strncasecmp_l compilation.
36192 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36193 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36195 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36198 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36201 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36204 * time/tzfile.c (__tzfile_read): Check values from file header.
36206 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36208 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36209 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36210 * powerpc/powerpc32/dl-start.S: Likewise.
36211 * powerpc/powerpc32/elf/start.S: Likewise.
36212 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36213 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36214 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36215 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36216 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36217 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36218 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36219 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36220 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36221 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36222 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36223 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36224 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36225 * powerpc/powerpc32/memset.S: Likewise.
36226 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36227 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36228 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36229 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36230 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36231 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36232 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36233 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36234 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36235 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36236 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36237 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36238 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36240 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36242 * math/libm-test.inc: Added more nearbyint tests.
36243 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36244 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36245 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36246 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36248 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36250 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36253 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36255 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36256 Add wcscpy-ssse3 wcscpy-c.
36257 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36258 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36259 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36260 * sysdeps/x86_64/wcschr.S: New file.
36261 * sysdeps/x86_64/wcsrchr.S: New file.
36262 * string/test-strcmp.c: Remove checking of wcscmp function for
36264 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36265 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36266 wcsrchr-sse2 wcsrchr-c.
36267 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36268 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36269 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36270 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36271 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36272 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36273 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36274 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36275 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36276 * wcsmbc/wcschr.c (WCSCHR): New macro.
36278 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36280 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36281 * wcsmbs/test-wcsrchr.c: New file.
36282 * string/test-strrchr.c: Add wcsrchr support.
36284 * wcsmbs/test-wcscpy.c: New file.
36285 * string/test-strcpy.c: Add wcscpy support.
36288 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36290 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36293 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36296 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36298 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36300 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36301 Minor optimizations.
36303 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36304 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36305 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36307 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36309 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36310 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36311 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36312 for gcc to avoid warnings.
36313 * inet/Makefile (tests): Add tst-checks.
36314 * inet/tst-checks.c: New file.
36316 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36319 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36322 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36323 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36325 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36327 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36329 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36332 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36334 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36336 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36337 conditional on GCC version.
36338 (__arch_compare_and_exchange_val_8_acq)
36339 (__arch_compare_and_exchange_val_16_acq)
36340 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36341 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36342 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36344 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36346 * sysdeps/sh/backtrace.c: New file.
36348 2011-12-02 Andreas Schwab <schwab@redhat.com>
36350 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36353 2011-12-01 Andreas Schwab <schwab@redhat.com>
36355 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36356 falling back to utime.
36358 2011-11-30 Andreas Schwab <schwab@redhat.com>
36360 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36361 expectations for float.
36363 2011-11-29 Andreas Schwab <schwab@redhat.com>
36365 * locale/weight.h (findidx): Add parameter len.
36366 * locale/weightwc.h (findidx): Likewise.
36367 * posix/fnmatch_loop.c (FCT): Adjust caller.
36368 * posix/regcomp.c (build_equiv_class): Likewise.
36369 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36370 * posix/regexec.c (check_node_accept_bytes): Likewise.
36371 * string/strcoll_l.c (STRCOLL): Likewise.
36372 * string/strxfrm_l.c (STRXFRM): Likewise.
36374 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36376 * Makefile.in: Remove CVSOPT handling.
36377 * configure.in: Remove use of AC_REVISION.
36378 * iconvdata/Makefile (distribute): No need to filter out CVS.
36379 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36382 2011-11-16 Andreas Schwab <schwab@redhat.com>
36384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36385 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36386 [USE_AS_STRNCASECMP_L]: Likewise.
36387 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36388 NO_TLS_DIRECT_SEG_REFS.
36389 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36390 Fix argument offsets for non-PIC.
36391 [USE_AS_STRNCASECMP_L]: Likewise.
36392 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36393 NO_TLS_DIRECT_SEG_REFS.
36395 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36397 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36399 * locale/loadlocale.c (_nl_load_locale): Likewise.
36401 2011-11-15 Andreas Schwab <schwab@redhat.com>
36403 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36404 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36405 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36406 (SYSCALL_GETTIME): Set errno on error.
36408 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36409 count references to noai6ai_cached.
36411 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36413 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36415 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36416 FD_CLOEXEC for /proc/self/maps.
36418 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36419 FD_CLOEXEC for /proc/meminfo.
36421 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36424 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36425 FD_CLOEXEC for given file.
36427 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36429 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36430 FD_CLOEXEC for /etc/hosts.
36431 (_gethtent): Likewise.
36433 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36435 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36436 cancellation and set FD_CLOEXEC for /etc/netgroup.
36438 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36439 reading /etc/publickey.
36441 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36442 allow cancellation when reading /etc/group.
36444 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36446 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36448 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36449 when using data file.
36451 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36453 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36454 (write_nis_obj): Use "c" and "e" in fopen.
36456 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36458 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36460 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36462 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36464 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36467 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36469 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36471 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36473 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36474 file parsing and set FD_CLOEXEC.
36476 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36478 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36480 2011-11-14 Andreas Schwab <schwab@redhat.com>
36482 * malloc/arena.c (arena_get2): Don't call reused_arena when
36483 _int_new_arena failed.
36485 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36487 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36488 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36489 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36490 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36491 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36492 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36493 to compile strcasecmp and strncasecmp.
36494 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36495 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36499 2011-11-13 Ulrich Drepper <drepper@gmail.com>
36501 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36502 locale-defines.sym to gen-as-const-headers.
36503 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36504 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36506 to compile strcasecmp and strncasecmp.
36507 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36508 strcasecmp_l and strncasecmp_l.
36509 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36510 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36511 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36512 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36513 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36514 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36515 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36516 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36517 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36518 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36519 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36521 2011-11-12 Ulrich Drepper <drepper@gmail.com>
36523 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36524 result of SYSDEP_GETTIME_CPU to retval.
36525 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36526 parameter list to macro. Remove trailing semicolon. Adjust users.
36528 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36531 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36533 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36535 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36536 from unused variable.
36538 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36540 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36543 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36546 * sunrpc/rpc_prot.c (rejected): Fix case value.
36548 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36549 unsigned long long int to avoid warnings in shift.
36551 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36553 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36556 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36557 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36558 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36560 * nis/nis_table.c (nis_list): Use variable of correct type for
36561 result of __follow_path call.
36563 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36565 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36566 of math functions ceil, trunc, floor, round, and sqrt, when
36567 avaliable on the platform.
36568 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36570 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36571 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36572 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36574 2011-10-30 Marek Polacek <mpolacek@redhat.com>
36576 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36577 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36579 2011-11-11 Roland McGrath <roland@hack.frob.com>
36581 * include/unistd.h: Fix __readlink return type.
36582 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36584 2011-11-11 Ulrich Drepper <drepper@gmail.com>
36586 * stdlib/ucontext.h: Undo last change for makecontext.
36588 2011-11-11 Andreas Schwab <schwab@redhat.com>
36590 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36592 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36593 * setjmp/setjmp.h: Mark functions as non-leaf.
36594 * setjmp/bits/setjmp2.h: Likewise.
36595 * stdlib/ucontext.h: Likewise.
36597 2011-11-10 Andreas Schwab <schwab@redhat.com>
36599 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36600 (reused_arena): Don't check arena limit.
36601 (arena_get2): Atomically check arena limit.
36603 2011-11-08 Ulrich Drepper <drepper@gmail.com>
36605 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36606 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36608 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36611 2011-11-07 Andreas Schwab <schwab@redhat.com>
36613 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36614 handler when locking.
36616 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36617 Fix size of allocated buffer.
36619 2011-11-04 Andreas Schwab <schwab@redhat.com>
36622 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36623 declarations for long double functions.
36624 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36626 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36628 2011-11-03 Andreas Schwab <schwab@redhat.com>
36630 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36633 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36636 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36638 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36640 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36642 * include/alloca.h (stackinfo_alloca_round): Define.
36643 (extend_alloca): Use it.
36644 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36645 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36648 * scripts/check-local-headers.sh: Ignore libaudit.h.
36650 * nscd/Makefile (extra-objs): Make recursively expanded.
36652 2011-11-01 Ulrich Drepper <drepper@gmail.com>
36654 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36655 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36657 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36658 * posix/tst-rfc3484-2.c: Likewise.
36659 * posix/tst-rfc3484-3.c: Likewise.
36661 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36663 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36665 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36666 process_vm_writev from libc using GLIBC_2.15 version.
36668 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36670 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36672 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36675 2011-10-31 Ulrich Drepper <drepper@gmail.com>
36678 * nss/getent.c (initgroups_keys): Show error message in case no group
36681 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36682 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36683 __bump_nl_timestamp.
36684 * nscd/connections (nscd_init): When host database is served open
36685 netlink socket and request notification about configuration changes.
36686 (main_loop_poll): Track netlink file descriptor and bump timestamp
36687 in case data becomes available.
36688 (main_loop_epoll): Likewise.
36689 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36690 (database_pers_head): Add extra_data fileds.
36691 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36692 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36693 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36695 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36696 in6ai data, call __free_in6ai.
36697 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36698 Add -DHAVE_NETLINK.
36699 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36700 interface information. Reuse previous data if netlink timestamp
36702 (__bump_nl_timestamp): New function.
36703 (__free_in6ai): New function.
36705 2011-10-30 Ulrich Drepper <drepper@gmail.com>
36707 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36708 close_not_cancel_no_status here.
36709 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36711 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36714 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36717 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36718 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36719 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36721 2011-07-03 Andreas Jaeger <aj@suse.de>
36724 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36725 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36726 * math/libm-test.inc (sin_test): Add test case.
36728 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36731 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36732 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36734 * elf/chroot_canon.c (chroot_canon): Cleanups.
36736 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36739 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36740 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36742 * string/test-strchr.c: Make usable for strchrnul testing.
36743 * string/test-strchrnul.c: New file.
36744 * string/Makefile (strop-tests): Add strchrnul.
36746 * po/it.po: Update from translation team.
36747 * po/es.po: Likewise.
36749 2011-10-28 Ulrich Drepper <drepper@gmail.com>
36751 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36752 the three constants needed as parameters. Drop the others.
36753 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36754 __m128i_strloadu_tolower.
36755 Create and initialize variable zero and use it in all the places
36756 where _mm_setzero_si128 was used.
36758 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36759 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36760 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36761 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36763 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36764 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36765 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36766 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36767 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36768 __mpranred, __mptan.
36769 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36770 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36771 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36772 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36773 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36774 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36775 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36776 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36777 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36779 2011-10-28 Andreas Schwab <schwab@redhat.com>
36781 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36782 redefine if SHARED.
36783 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36785 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36786 wide char related routines to wcsmbs subdir.
36788 2011-10-27 Andreas Schwab <schwab@redhat.com>
36791 * misc/sys/cdefs.h (__THROWNL): Define.
36792 * posix/unistd.h: Use __THREADNL instead of __THREAD
36793 for memory synchronization functions.
36795 2011-10-26 Roland McGrath <roland@hack.frob.com>
36798 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36800 * manual/stdio.texi (Obstack Streams): Node removed.
36802 2011-10-26 Andreas Schwab <schwab@redhat.com>
36804 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36805 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36806 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36808 * math/math_private.h (math_force_eval): Allow non-addressable
36810 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36812 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36814 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36815 file is not needed.
36817 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36818 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36819 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36820 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36821 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36822 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36823 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36824 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36826 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36827 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36828 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36829 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36830 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36831 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36832 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36833 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36834 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36835 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36836 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36837 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36838 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36839 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36840 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36841 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36842 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36843 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36844 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36846 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36847 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36849 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36850 place. Use VEX encoding when compiling for AVX.
36852 2011-10-25 Andreas Schwab <schwab@redhat.com>
36854 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36855 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36857 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36859 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36861 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36862 useless if() expression.
36863 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36864 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36865 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36867 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36868 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36869 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36870 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36871 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36872 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36873 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36874 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36875 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36876 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36877 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36878 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36879 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36880 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36881 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36883 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36885 2011-10-25 Andreas Schwab <schwab@redhat.com>
36887 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36889 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36891 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36893 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36894 .text section. Avoid duplicate constants.
36895 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36896 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36897 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36899 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36902 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36903 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36904 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36905 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36906 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36907 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36908 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36909 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36910 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36911 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36912 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36913 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36914 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36915 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36916 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36917 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36918 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36919 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36920 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36921 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36922 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36923 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36924 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36925 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36926 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36927 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36928 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36929 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36930 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36931 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36932 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36933 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36934 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36935 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36936 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36937 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36938 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36939 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36941 2011-10-24 Ulrich Drepper <drepper@gmail.com>
36943 * sysdeps/x86_64/dla.h: Move to ...
36944 * sysdeps/x86_64/fpu/dla.h: ...here.
36945 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36946 situations. Use __builtin_fma only for gcc 4.6 and up.
36948 * config.make.in: Add have-mfma4 entry.
36949 * configure.in: Substitute libc_cv_cc_fma4.
36950 * math/Makefile (dbl-only-routines): Add sincostab.
36951 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36952 Use __sincostab not sincos.
36953 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36955 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36956 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36957 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36958 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36960 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36961 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36962 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36963 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36965 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36966 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36968 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36969 define aliases when function name is a macro.
36970 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36971 sysdeps/ieee754/dbl-64/sincos.tbl.
36972 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36973 fma4-enabled routines.
36974 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36975 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36976 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36977 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36978 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36979 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36980 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36981 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36982 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36983 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36984 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36985 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36986 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36987 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36988 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36989 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36990 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36991 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36992 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36993 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36994 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36995 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36996 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36997 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36998 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36999 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37000 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37001 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37002 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37003 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37005 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37009 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37011 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37012 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37013 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37014 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37016 2011-10-24 Andreas Schwab <schwab@redhat.com>
37018 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37020 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37022 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37024 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37026 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37028 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37029 Remove unused variable magic_bits.
37030 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37032 * string/strnlen.c: Define and use STRNLEN macro.
37033 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37034 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37035 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37036 * wcsmbs/wcslen.c: Define and use WCSLEN.
37037 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37038 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37039 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37040 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37041 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37042 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37043 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37045 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37048 strnlen-sse2-no-bsf.
37049 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37050 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37051 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37052 Add strnlen support.
37053 (USE_AS_STRNLEN): New macro.
37054 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37055 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37056 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37057 * sysdeps/x86_64/wcslen.S: New file.
37059 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37061 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37062 XMM-moves are used for copying on small sizes.
37064 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37066 * wcsmbs/Makefile (strop-tests): Add wcschr.
37067 * wcsmbs/test-wcschr.c: New file.
37068 * string/test-strchr.c: Update.
37069 Add wcschr support.
37072 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37074 * wcsmbs/Makefile (strop-tests): Add wcslen.
37075 * wcsmbs/test-wcslen.c: New file.
37076 * string/test-strlen.c: Update.
37077 Add wcslen support.
37080 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37082 * po/it.po: Update from translation team.
37084 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37086 * sysdeps/x86_64/wcscmp.S: Update.
37087 Fix wrong comparison semantics.
37088 wcscmp shall use signed comparison not unsigned.
37089 Don't use substraction to avoid overflow bug.
37090 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37091 * wcsmbc/wcscmp.c: Likewise.
37092 * string/test-strcmp.c: Likewise.
37093 Add new tests to check cases with negative values.
37095 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37097 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37098 * sysdeps/x86_64/dla.h: ...here. New file.
37099 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37100 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37103 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37109 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37112 __ynl_finite aliases.
37114 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37118 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37120 [DLA_FMA] (EMULV): Use DLA_FMA.
37121 [DLA_FMA] (MUL12): Use EMULV.
37122 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37123 that are not needed.
37124 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37132 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37134 * math/s_nan.c: Undef __nan.
37135 * math/s_nanf.c: Undef __nanf.
37136 * math/s_nanl.c: Undef __nanl.
37137 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37140 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37142 * math/s_catan.c: Add branch predictions.
37143 * math/s_catanf.c: Likewise.
37144 * math/s_catanh.c: Likewise.
37145 * math/s_catanhf.c: Likewise.
37146 * math/s_catanhl.c: Likewise.
37147 * math/s_catanl.c: Likewise.
37148 * math/s_cexp.c: Likewise.
37149 * math/s_cexpf.c: Likewise.
37150 * math/s_cexpl.c: Likewise.
37151 * math/s_clog.c: Likewise.
37152 * math/s_clog10.c: Likewise.
37153 * math/s_clog10f.c: Likewise.
37154 * math/s_clog10l.c: Likewise.
37155 * math/s_clogf.c: Likewise.
37156 * math/s_clogl.c: Likewise.
37157 * math/s_csqrt.c: Likewise.
37158 * math/s_csqrtf.c: Likewise.
37159 * math/s_csqrtl.c: Likewise.
37160 * math/s_ctanf.c: Likewise.
37161 * math/s_ctanh.c: Likewise.
37162 * math/s_ctanhf.c: Likewise.
37163 * math/s_ctanhl.c: Likewise.
37164 * math/s_ctanl.c: Likewise.
37166 * math/math_private.h: Define __nan, __nanf, __nanl.
37167 * math/s_cacosh.c: Include <math_private.h>.
37168 * math/s_cacoshl.c: Likewise.
37169 * math/s_casinh.c: Likewise.
37170 * math/s_casinhf.c: Likewise.
37171 * math/s_casinhl.c: Likewise.
37172 * math/s_ccos.c: Rely entire on ccosh.
37173 * math/s_ccosf.c: Rely entire on ccoshf.
37174 * math/s_ccosl.c: Rely entirely on ccoshl.
37175 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37176 Remove tests for FE_INVALID.
37177 * math/s_ccoshf.c: Likewise.
37178 * math/s_ccoshl.c: Likewise.
37179 * math/s_csin.c: Likewise.
37180 * math/s_csinf.c: Likewise.
37181 * math/s_csinh.c Likewise.
37182 * math/s_csinhf.c: Likewise.
37183 * math/s_csinhl.c: Likewise.
37184 * math/s_csinl.c: Likewise.
37185 * math/s_ctan.c: Likewise.
37186 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37187 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37188 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37190 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37193 compilation problems.
37195 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37198 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37200 * sysdeps/i386/configure.in: Test for -mfma4 option.
37201 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37202 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37203 COMMON_CPUID_INDEX_80000001.
37204 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37205 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37206 use it if FMA3 is not supported.
37207 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37209 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37210 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37212 2011-10-20 Andreas Schwab <schwab@redhat.com>
37215 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37216 it would create a cycle with a link time dependency.
37218 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37220 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37222 * string/Makefile (strop-tests): Add rawmemchr.
37223 * string/test-rawmemchr.c: New file.
37225 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37226 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37227 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37228 when compiling str{,n}casecmp and when AVX is available. Hook up
37229 new optimized code in initializers.
37231 2011-10-19 Andreas Schwab <schwab@redhat.com>
37233 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37234 __feraiseexcept instead of feraiseexcept.
37236 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37238 * math/math_private.h: Define defaults for libc_fetestexcept and
37240 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37241 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37242 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37243 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37244 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37245 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37246 libc_fetestexcept and libc_feupdateenv.
37248 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37249 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37250 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37251 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37252 libc_feholdexcept_setround.
37254 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37255 Add s_nearbyint-c and s_nearbyintf-c.
37256 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37257 nearbyintf inlines.
37258 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37259 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37260 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37261 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37263 * math/math_private.h: Define defaults for libc_fegetround,
37264 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37265 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37266 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37267 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37268 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37269 standard functions.
37270 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37271 Remove comments and hacks for old compiler versions.
37272 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37273 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37274 libc_feholdexceptl.
37276 2011-10-18 Andreas Schwab <schwab@redhat.com>
37278 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37279 (__feraiseexcept_renamed): Add __NTH.
37280 (feraiseexcept): Add __NTH. Rename local variables to fix
37281 namespace violations.
37283 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37285 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37287 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37289 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37290 recently added interfaces.
37291 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37293 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37294 about macro parameter expansion.
37296 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37297 __NO_MATH_INLINES is defined. Cleanups.
37299 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37300 and __floorf is target has SSE4.1.
37301 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37302 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37303 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37304 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37306 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37308 (floorf): Likewise.
37310 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37312 2011-10-17 Andreas Schwab <schwab@redhat.com>
37314 * misc/sys/cdefs.h: Fix last change.
37316 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37319 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37321 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37323 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37324 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37325 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37326 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37327 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37328 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37329 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37330 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37331 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37332 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37333 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37334 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37335 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37336 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37337 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37338 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37339 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37340 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37341 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37342 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37343 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37344 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37346 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37347 ceil, ceilf, floor, floorf.
37349 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37350 Perform IRELATIVE relocations last.
37352 * elf/do-rel.h: Add another parameter nrelative, replacing the
37353 local variable with the same name. Change name of the function
37354 to end in Rel or Rela (uppercase).
37355 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37356 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37357 elf_dynamic_do_##reloc function.
37359 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37361 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37362 is sufficient, at least on modern CPUs.
37364 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37366 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37367 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37369 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37371 * math/bits/math-finite.h: Add entries for exp.
37372 * math/e_expl.c: Add __*_finite alias.
37373 * sysdeps/i386/fpu/e_exp.S: Likewise.
37374 * sysdeps/i386/fpu/e_expf.S: Likewise.
37375 * sysdeps/i386/fpu/e_expl.c: Likewise.
37376 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37377 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37378 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37380 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37381 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37382 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37384 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37385 is sufficient, at least on modern CPUs.
37387 * ctype/ctype-info.c (__ctype_init): Define.
37388 * include/ctype.h (__ctype_init): Declare.
37389 (__ctype_b_loc): The variable is always initialized.
37390 (__ctype_toupper_loc): Likewise.
37391 (__ctype_tolower_loc): Likewise.
37392 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37393 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37395 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37397 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37399 * configure.in: Also look in $cxxmachine/include for C++ system
37402 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37404 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37405 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37406 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37407 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37408 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37409 (USE_AS_WMEMCMP): New macro.
37411 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37412 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37413 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37414 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37415 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37416 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37417 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37418 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37419 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37420 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37421 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37422 (USE_AS_WMEMCMP): New macro.
37423 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37424 * sysdeps/string/test-memcmp.c: Update.
37425 Fix simple_wmemcmp.
37427 * wcsmbs/wmemcmp.c: Update.
37428 (WMEMCMP): New macro.
37431 2011-10-12 Andreas Jaeger <aj@suse.de>
37434 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37436 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37438 * libio/iofwide.c (do_length): Avoid warning.
37440 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37442 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37444 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37446 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37447 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37448 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37449 * sysdeps/i386/i686/fpu/e_log.S: New file.
37450 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37451 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37453 * ctype/ctype.h: Add support for inlined isXXX functions when
37454 compiling C++ code.
37456 2011-10-14 Andreas Schwab <schwab@redhat.com>
37458 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37460 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37462 2011-10-13 Roland McGrath <roland@hack.frob.com>
37465 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37467 2011-10-13 Andreas Schwab <schwab@redhat.com>
37469 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37470 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37473 * sysdeps/x86_64/memrchr.S: Check for zero size.
37475 * string/stratcliff.c: Add memrchr tests.
37477 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37480 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37481 rawmemchr-sse2 rawmemchr-sse2-bsf.
37482 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37483 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37484 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37485 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37486 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37487 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37488 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37489 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37490 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37491 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37492 * string/memrchr.c (MEMRCHR): New macro.
37494 2011-10-12 Ulrich Drepper <drepper@gmail.com>
37496 Add integration with gcc's -ffinite-math-only and optimize wrapper
37498 * Versions.def: Define GLIBC_2.15 version for libm.
37499 * math/Makefile (headers): Add bits/math-finite.h.
37500 * math/bits/math-finite.h: New file.
37501 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37502 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37503 * math/e_acoshl.c: Add __*_finite alias.
37504 * math/e_acosl.c: Likewise.
37505 * math/e_asinl.c: Likewise.
37506 * math/e_atan2l.c: Likewise.
37507 * math/e_atanhl.c: Likewise.
37508 * math/e_coshl.c: Likewise.
37509 * math/e_exp10.c: Likewise.
37510 * math/e_exp10f.c: Likewise.
37511 * math/e_exp10l.c: Likewise.
37512 * math/e_exp2l.c: Likewise.
37513 * math/e_fmodl.c: Likewise.
37514 * math/e_gammal_r.c: Likewise.
37515 * math/e_hypotl.c: Likewise.
37516 * math/e_j0l.c: Likewise.
37517 * math/e_j1l.c: Likewise.
37518 * math/e_jnl.c: Likewise.
37519 * math/e_lgammal_r.c: Likewise.
37520 * math/e_log10l.c: Likewise.
37521 * math/e_log2l.c: Likewise.
37522 * math/e_logl.c: Likewise.
37523 * math/e_powl.c: Likewise.
37524 * math/e_sinhl.c: Likewise.
37525 * math/e_sqrtl.c: Likewise.
37526 * math/e_scalb.c: Completely rewritten and optimized.
37527 * math/e_scalbf.c: Likewise.
37528 * math/e_scalbl.c: Likewise.
37529 * math/w_acos.c: Likewise.
37530 * math/w_acosf.c: Likewise.
37531 * math/w_acosl.c: Likewise.
37532 * math/w_acosh.c: Likewise.
37533 * math/w_acoshf.c: Likewise.
37534 * math/w_acoshl.c: Likewise.
37535 * math/w_asin.c: Likewise.
37536 * math/w_asinf.c: Likewise.
37537 * math/w_asinl.c: Likewise.
37538 * math/w_atan2.c: Likewise.
37539 * math/w_atan2f.c: Likewise.
37540 * math/w_atan2l.c: Likewise.
37541 * math/w_atanh.c: Likewise.
37542 * math/w_atanhf.c: Likewise.
37543 * math/w_atanhl.c: Likewise.
37544 * math/w_exp10.c: Likewise.
37545 * math/w_exp10f.c: Likewise.
37546 * math/w_exp10l.c: Likewise.
37547 * math/w_fmod.c: Likewise.
37548 * math/w_fmodf.c: Likewise.
37549 * math/w_fmodl.c: Likewise.
37550 * math/w_j0.c: Likewise.
37551 * math/w_j0f.c: Likewise.
37552 * math/w_j0l.c: Likewise.
37553 * math/w_j1.c: Likewise.
37554 * math/w_j1f.c: Likewise.
37555 * math/w_j1l.c: Likewise.
37556 * math/w_jn.c: Likewise.
37557 * math/w_jnf.c: Likewise.
37558 * math/w_log.c: Likewise.
37559 * math/w_logf.c: Likewise.
37560 * math/w_logl.c: Likewise.
37561 * math/w_log10.c: Likewise.
37562 * math/w_log10f.c: Likewise.
37563 * math/w_log10l.c: Likewise.
37564 * math/w_log2.c: Likewise.
37565 * math/w_log2f.c: Likewise.
37566 * math/w_log2l.c: Likewise.
37567 * math/w_pow.c: Likewise.
37568 * math/w_powf.c: Likewise.
37569 * math/w_powl.c: Likewise.
37570 * math/w_remainder.c: Likewise.
37571 * math/w_remainderf.c: Likewise.
37572 * math/w_remainderl.c: Likewise.
37573 * math/w_scalb.c: Likewise.
37574 * math/w_scalbf.c: Likewise.
37575 * math/w_scalbl.c: Likewise.
37576 * math/w_sqrt.c: Likewise.
37577 * math/w_sqrtf.c: Likewise.
37578 * math/w_sqrtl.c: Likewise.
37579 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37580 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37582 * math/math_private.h: Declare __kernel_standard_f.
37583 * math/w_cosh.c: Remove cruft and optimize a bit.
37584 * math/w_coshf.c: Likewise.
37585 * math/w_coshl.c: Likewise.
37586 * math/w_exp2.c: Likewise.
37587 * math/w_exp2f.c: Likewise.
37588 * math/w_exp2l.c: Likewise.
37589 * math/w_hypot.c: Likewise.
37590 * math/w_hypotf.c: Likewise.
37591 * math/w_hypotl.c: Likewise.
37592 * math/w_lgamma.c: Likewise.
37593 * math/w_lgamma_r.c: Likewise.
37594 * math/w_lgammaf.c: Likewise.
37595 * math/w_lgammaf_r.c: Likewise.
37596 * math/w_lgammal.c: Likewise.
37597 * math/w_lgammal_r.c: Likewise.
37598 * math/w_sinh.c: Likewise.
37599 * math/w_sinhf.c: Likewise.
37600 * math/w_sinhl.c: Likewise.
37601 * math/w_tgamma.c: Likewise.
37602 * math/w_tgammaf.c: Likewise.
37603 * math/w_tgammal.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37605 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37606 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37607 Minor optimizations. Pretty printing. Remove cruft.
37608 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37609 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37610 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37611 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37612 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37613 * sysdeps/i386/fpu/e_asin.S: Likewise.
37614 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37615 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37616 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37617 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37618 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37619 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37620 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37621 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37622 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37623 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37624 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37625 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37626 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37627 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37628 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37629 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37630 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37631 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37632 * sysdeps/i386/fpu/e_log.S: Likewise.
37633 * sysdeps/i386/fpu/e_log10.S: Likewise.
37634 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37635 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37636 * sysdeps/i386/fpu/e_log2.S: Likewise.
37637 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37638 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37639 * sysdeps/i386/fpu/e_logf.S: Likewise.
37640 * sysdeps/i386/fpu/e_logl.S: Likewise.
37641 * sysdeps/i386/fpu/e_pow.S: Likewise.
37642 * sysdeps/i386/fpu/e_powf.S: Likewise.
37643 * sysdeps/i386/fpu/e_powl.S: Likewise.
37644 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37645 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37646 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37647 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37648 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37649 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37650 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37651 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37652 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37653 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37654 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37664 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37666 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37667 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37668 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37669 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37670 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37671 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37673 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37674 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37675 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37676 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37677 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37678 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37679 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37680 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37681 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37682 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37683 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37684 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37685 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37686 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37687 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37688 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37689 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37690 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37691 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37692 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37693 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37694 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37695 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37696 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37697 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37698 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37699 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37700 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37701 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37702 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37703 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37704 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37705 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37706 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37707 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37708 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37709 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37710 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37711 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37713 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37714 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37715 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37716 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37717 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37718 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37719 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37720 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37721 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37722 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37724 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37725 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37726 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37727 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37728 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37729 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37730 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37731 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37732 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37733 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37734 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37735 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37736 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37737 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37738 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37739 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37740 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37741 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37742 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37743 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37744 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37745 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37746 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37747 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37748 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37749 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37750 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37751 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37752 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37753 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37754 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37755 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37756 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37757 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37758 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37759 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37760 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37761 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37762 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37763 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37764 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37765 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37766 (__isnanf): Likewise.
37767 (__isinf_ns): Likewise.
37768 (__isinf_nsf): Likewise.
37769 (__finite): Likewise.
37770 (__finitef): Likewise.
37771 (__ieee754_sqrt): Define as macro.
37772 (__ieee754_sqrtf): Define as macro.
37773 (__ieee754_sqrtl): Define as macro.
37774 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37776 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37777 __FINITE_MATH_ONLY__ consistent.
37778 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37780 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37782 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37785 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37787 2011-10-09 Ulrich Drepper <drepper@gmail.com>
37789 * po/ja.po: Update from translation team.
37791 2011-10-08 Roland McGrath <roland@hack.frob.com>
37793 * locale/programs/locarchive.c (prepare_address_space): New function.
37794 (create_archive, enlarge_archive, open_archive): Use it.
37796 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37797 inside [SHARED], where it is used.
37799 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37801 * nss/getent.c (netgroup_keys): Remove unused variable.
37802 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37804 2011-10-08 Ulrich Drepper <drepper@gmail.com>
37806 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37807 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37808 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37809 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37810 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37811 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37812 * math/Makefile (libm-calls): Add s_isinf_ns.
37813 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37814 * math/multc3.c: Likewise.
37815 * math/s_casin.c: Likewise.
37816 * math/s_casinf.c: Likewise.
37817 * math/s_casinl.c: Likewise.
37818 * math/s_ccos.c: Likewise.
37819 * math/s_ccosf.c: Likewise.
37820 * math/s_ccosl.c: Likewise.
37821 * math/s_ctan.c: Likewise.
37822 * math/s_ctanf.c: Likewise.
37823 * math/s_ctanh.c: Likewise.
37824 * math/s_ctanhf.c: Likewise.
37825 * math/s_ctanhl.c: Likewise.
37826 * math/s_ctanl.c: Likewise.
37827 * math/w_fmod.c: Likewise.
37828 * math/w_fmodf.c: Likewise.
37829 * math/w_fmodl.c: Likewise.
37830 * math/w_remainder.c: Likewise.
37831 * math/w_remainderf.c: Likewise.
37832 * math/w_remainderl.c: Likewise.
37833 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37834 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37835 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37836 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37837 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37838 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37839 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37840 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37842 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37844 * stdio-common/printf_fphex.c: Likewise.
37845 * stdio-common/printf_size.c: Likewise.
37847 * math/e_exp10.c: Include math_private.h using <...> not "...".
37848 * math/e_exp10f.c: Likewise.
37849 * math/e_exp10l.c: Likewise.
37850 * math/e_exp2l.c: Likewise.
37851 * math/e_j0l.c: Likewise.
37852 * math/e_j1l.c: Likewise.
37853 * math/e_jnl.c: Likewise.
37854 * math/e_lgammal_r.c: Likewise.
37855 * math/e_rem_pio2l.c: Likewise.
37856 * math/e_scalb.c: Likewise.
37857 * math/e_scalbf.c: Likewise.
37858 * math/e_scalbl.c: Likewise.
37859 * math/k_cosl.c: Likewise.
37860 * math/k_sinl.c: Likewise.
37861 * math/k_tanl.c: Likewise.
37862 * math/s_cacoshf.c: Likewise.
37863 * math/s_catan.c: Likewise.
37864 * math/s_catanf.c: Likewise.
37865 * math/s_catanh.c: Likewise.
37866 * math/s_catanhf.c: Likewise.
37867 * math/s_catanhl.c: Likewise.
37868 * math/s_catanl.c: Likewise.
37869 * math/s_ccosh.c: Likewise.
37870 * math/s_ccoshf.c: Likewise.
37871 * math/s_ccoshl.c: Likewise.
37872 * math/s_cexp.c: Likewise.
37873 * math/s_cexpf.c: Likewise.
37874 * math/s_cexpl.c: Likewise.
37875 * math/s_clog.c: Likewise.
37876 * math/s_clog10.c: Likewise.
37877 * math/s_clog10f.c: Likewise.
37878 * math/s_clog10l.c: Likewise.
37879 * math/s_clogf.c: Likewise.
37880 * math/s_clogl.c: Likewise.
37881 * math/s_csin.c: Likewise.
37882 * math/s_csinf.c: Likewise.
37883 * math/s_csinh.c: Likewise.
37884 * math/s_csinhf.c: Likewise.
37885 * math/s_csinhl.c: Likewise.
37886 * math/s_csinl.c: Likewise.
37887 * math/s_csqrt.c: Likewise.
37888 * math/s_csqrtf.c: Likewise.
37889 * math/s_csqrtl.c: Likewise.
37890 * math/s_ctan.c: Likewise.
37891 * math/s_ctanf.c: Likewise.
37892 * math/s_ctanh.c: Likewise.
37893 * math/s_ctanhf.c: Likewise.
37894 * math/s_ctanhl.c: Likewise.
37895 * math/s_ctanl.c: Likewise.
37896 * math/s_ldexp.c: Likewise.
37897 * math/s_ldexpf.c: Likewise.
37898 * math/s_ldexpl.c: Likewise.
37899 * math/s_significand.c: Likewise.
37900 * math/s_significandf.c: Likewise.
37901 * math/s_significandl.c: Likewise.
37902 * math/w_acos.c: Likewise.
37903 * math/w_acosf.c: Likewise.
37904 * math/w_acosh.c: Likewise.
37905 * math/w_acoshf.c: Likewise.
37906 * math/w_acoshl.c: Likewise.
37907 * math/w_acosl.c: Likewise.
37908 * math/w_asin.c: Likewise.
37909 * math/w_asinf.c: Likewise.
37910 * math/w_asinl.c: Likewise.
37911 * math/w_atan2.c: Likewise.
37912 * math/w_atan2f.c: Likewise.
37913 * math/w_atan2l.c: Likewise.
37914 * math/w_atanh.c: Likewise.
37915 * math/w_atanhf.c: Likewise.
37916 * math/w_atanhl.c: Likewise.
37917 * math/w_cosh.c: Likewise.
37918 * math/w_coshf.c: Likewise.
37919 * math/w_coshl.c: Likewise.
37920 * math/w_dremf.c: Likewise.
37921 * math/w_exp10.c: Likewise.
37922 * math/w_exp10f.c: Likewise.
37923 * math/w_exp10l.c: Likewise.
37924 * math/w_exp2.c: Likewise.
37925 * math/w_exp2f.c: Likewise.
37926 * math/w_fmod.c: Likewise.
37927 * math/w_fmodf.c: Likewise.
37928 * math/w_fmodl.c: Likewise.
37929 * math/w_hypot.c: Likewise.
37930 * math/w_hypotf.c: Likewise.
37931 * math/w_hypotl.c: Likewise.
37932 * math/w_j0.c: Likewise.
37933 * math/w_j0f.c: Likewise.
37934 * math/w_j0l.c: Likewise.
37935 * math/w_j1.c: Likewise.
37936 * math/w_j1f.c: Likewise.
37937 * math/w_j1l.c: Likewise.
37938 * math/w_jn.c: Likewise.
37939 * math/w_jnf.c: Likewise.
37940 * math/w_jnl.c: Likewise.
37941 * math/w_lgamma.c: Likewise.
37942 * math/w_lgamma_r.c: Likewise.
37943 * math/w_lgammaf.c: Likewise.
37944 * math/w_lgammaf_r.c: Likewise.
37945 * math/w_lgammal.c: Likewise.
37946 * math/w_lgammal_r.c: Likewise.
37947 * math/w_log.c: Likewise.
37948 * math/w_log10.c: Likewise.
37949 * math/w_log10f.c: Likewise.
37950 * math/w_log10l.c: Likewise.
37951 * math/w_log2.c: Likewise.
37952 * math/w_log2f.c: Likewise.
37953 * math/w_log2l.c: Likewise.
37954 * math/w_logf.c: Likewise.
37955 * math/w_logl.c: Likewise.
37956 * math/w_pow.c: Likewise.
37957 * math/w_powf.c: Likewise.
37958 * math/w_powl.c: Likewise.
37959 * math/w_remainder.c: Likewise.
37960 * math/w_remainderf.c: Likewise.
37961 * math/w_remainderl.c: Likewise.
37962 * math/w_scalb.c: Likewise.
37963 * math/w_scalbf.c: Likewise.
37964 * math/w_scalbl.c: Likewise.
37965 * math/w_sinh.c: Likewise.
37966 * math/w_sinhf.c: Likewise.
37967 * math/w_sinhl.c: Likewise.
37968 * math/w_sqrt.c: Likewise.
37969 * math/w_sqrtf.c: Likewise.
37970 * math/w_sqrtl.c: Likewise.
37971 * math/w_tgamma.c: Likewise.
37972 * math/w_tgammaf.c: Likewise.
37973 * math/w_tgammal.c: Likewise.
37975 * po/ja.po: Update from translation team.
37977 2011-09-29 Andreas Jaeger <aj@suse.de>
37980 * sunrpc/netname.c (netname2host): Fix logic.
37984 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37986 * math/w_remainder.c (__remainder): Likewise.
37987 * math/w_remainderf.c (__remainderf): Likewise.
37988 * math/libm-test.inc (remainder_test): Add test cases.
37990 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37992 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37995 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37997 * string/test-memcmp.c: Avoid unncessary #defines.
37998 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38000 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38002 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38003 Use new sse2 version for core i3 - i7 as it's faster
38004 than sse42 version.
38005 (bit_Prefer_PMINUB_for_stringop): New.
38006 * sysdeps/x86_64/rawmemchr.S: Update.
38007 Replace with faster SSE2 version.
38008 * sysdeps/x86_64/memrchr.S: New file.
38009 * sysdeps/x86_64/memchr.S: Update.
38010 Replace with faster SSE2 version.
38012 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38014 * elf/dl-load.c (lose): Add cast to avoid warning.
38016 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38018 * po/ca.po: Update from translation team.
38020 * inet/getnetgrent_r.c: Hook up nscd.
38021 * nscd/Makefile (routines): Add nscd_netgroup.
38022 (nscd-modules): Add netgroupcache.
38023 (CFLAGS-netgroupcache.c): Define.
38024 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38025 (cache_search): Add const to second parameter.
38026 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38028 (dbs): Add netgrdb entry.
38029 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38030 (verify_persistent_db): Handle netgrdb.
38031 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38032 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38034 (netgroup_response_header): Define.
38035 (innetgroup_response_header): Define.
38036 (datahead): Add netgroup_response_header and innetgroup_response_header
38038 * nscd/nscd.conf: Add entries for netgroup cache.
38039 * nscd/nscd.h (dbtype): Add netgrdb.
38040 (_PATH_NSCD_NETGROUP_DB): Define.
38041 (netgroup_iov_disabled): Declare.
38042 (xmalloc, xcalloc, xrealloc): Move declarations here.
38043 (cache_search): Adjust prototype.
38044 Add netgroup-related prototypes.
38045 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38046 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38047 (__nscd_innetgr): Declare.
38048 * nscd/selinux.c (perms): Use access_vector_t as element type and
38049 add netgroup-related initializers.
38050 * nscd/netgroupcache.c: New file.
38051 * nscd/nscd_netgroup.c: New file.
38052 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38053 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38054 For four parameters use innetgr.
38055 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38056 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38057 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38058 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38060 * nscd/connections.c (register_traced_file): Don't register file
38061 for disabled databases.
38063 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38065 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38067 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38068 from tree and freeing node.
38070 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38072 * nss/nsswitch.c (__nss_database_lookup): Handle
38073 nss_parse_service_list out of memory case.
38075 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38077 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38078 out of memory case.
38080 2011-10-04 Andreas Schwab <schwab@redhat.com>
38082 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38083 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38085 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38086 elf_machine_rela, elf_machine_lazy_rel.
38087 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38088 (ELF_DYNAMIC_DO_REL): Likewise.
38089 (ELF_DYNAMIC_DO_RELA): Likewise.
38090 (ELF_DYNAMIC_RELOCATE): Likewise.
38091 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38092 to ELF_DYNAMIC_DO_REL.
38093 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38094 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38095 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38097 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38098 skip_ifunc, don't call ifunc function if non-zero.
38099 (elf_machine_rela): Likewise.
38100 (elf_machine_lazy_rel): Likewise.
38101 (elf_machine_lazy_rela): Likewise.
38102 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38103 (elf_machine_lazy_rel): Likewise.
38104 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38106 (elf_machine_lazy_rel): Likewise.
38107 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38109 (elf_machine_lazy_rel): Likewise.
38110 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38111 (elf_machine_lazy_rel): Likewise.
38112 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38113 (elf_machine_lazy_rel): Likewise.
38114 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38115 (elf_machine_lazy_rel): Likewise.
38116 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38117 (elf_machine_lazy_rel): Likewise.
38118 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38119 (elf_machine_lazy_rel): Likewise.
38120 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38121 (elf_machine_lazy_rel): Likewise.
38123 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38125 * nss/nss_files/files-init.c (_nss_files_init): Use static
38126 initialization for all the *_traced_file variables.
38128 2011-09-28 Andreas Schwab <schwab@redhat.com>
38130 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38132 2011-09-27 Roland McGrath <roland@hack.frob.com>
38135 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38137 2011-09-27 Andreas Schwab <schwab@redhat.com>
38139 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38140 Reread the line before reparsing it.
38142 2011-09-26 Andreas Schwab <schwab@redhat.com>
38144 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38146 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38147 Maxim Kuvyrkov <maxim@codesourcery.com>
38148 Joseph Myers <joseph@codesourcery.com>
38150 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38151 if needed for __stack_chk_guard.
38153 2011-09-19 Roland McGrath <roland@hack.frob.com>
38155 * sysdeps/posix/spawni.c (script_execute): Always define it.
38156 It will be optimized away if unused.
38157 (maybe_script_execute): New function.
38158 (__spawni): Call it.
38160 * Makerules: Don't include tls.make.
38161 (config-tls): Always set to thread.
38162 * tls.make.c: File removed.
38164 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38166 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38167 * config.make.in (CPPFLAGS-config): New substituted variable.
38169 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38171 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38174 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38175 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38177 2011-09-15 Roland McGrath <roland@hack.frob.com>
38179 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38180 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38181 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38182 (CALL_FAIL): Likewise.
38183 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38184 (CALL_FAIL): Macro removed.
38185 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38187 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38189 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38190 for __FINITE_MATH_ONLY__ == 1.
38192 2011-09-15 Andreas Schwab <schwab@redhat.com>
38194 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38195 __ieee754_sqrt instead of sqrt.
38196 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38197 __ieee754_sqrtf instead of sqrtf.
38198 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38199 __floorf instead of floorf.
38200 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38201 __floorf, __truncf instead of floorf, truncf.
38203 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38205 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38207 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38208 __extern_always_inline.
38209 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38212 2011-09-14 Andreas Schwab <schwab@redhat.com>
38214 * elf/rtld.c (dl_main): Also relocate in dependency order when
38215 doing symbol dependency testing.
38217 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38219 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38220 Always define `refsym'.
38222 2011-09-13 Andreas Schwab <schwab@redhat.com>
38224 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38225 (__FD_ELT): Renamed from __FDELT.
38226 * misc/bits/select2.h (__FD_ELT): Likewise.
38227 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38228 __FD_MASK instead of __FDELT, __FDMASK.
38229 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38231 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38234 * elf/Makefile (gen-ldd): Fix pattern.
38236 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38237 (init_tls): Likewise.
38239 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38243 2011-09-12 Andreas Schwab <schwab@redhat.com>
38245 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38246 `struct cmsghdr *' instead of `void *'.
38247 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38250 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38252 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38254 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38255 ldd_rewrite_script.
38257 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38259 * configure.in: Remove --with-tls option.
38260 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38261 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38262 out in case it is missing.
38263 * sysdeps/ia64/elf/configure.in: Likewise.
38264 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38265 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38266 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38267 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38268 * sysdeps/sh/elf/configure.in: Likewise.
38269 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38270 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38271 * sysdeps/x86_64/elf/configure.in: Likewise.
38272 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38273 * sysdeps/mach/hurd/tls.h: Likewise.
38276 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38279 * configure.in: Fix use of AC_INIT.
38281 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38283 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38285 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38287 * malloc/hooks.c: Likewise.
38290 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38291 variables statically.
38292 (narenas): Initialize.
38293 (list_lock): Initialize.
38294 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38295 initializtion of main_arena and list_lock. Small cleanups.
38296 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38297 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38298 Add initializers to main_arena and mp_.
38299 (malloc_state): Remove pagesize member. Change all users to use
38302 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38303 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38304 is always initialized.
38306 * malloc/malloc.c: Removed unused configurations and dead code.
38307 * malloc/arena.c: Likewise.
38308 * malloc/hooks.c: Likewise.
38309 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38311 * include/tls.h: Removed. USE___THREAD must always be defined.
38312 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38313 * elf/dl-libc.c: Likewise.
38314 * elf/dl-tsd.c: Likewise.
38315 * include/errno.h: Likewise.
38316 * include/netdb.h: Likewise.
38317 * include/resolv.h: Likewise.
38318 * inet/herrno-loc.c: Likewise.
38319 * inet/herrno.c: Likewise.
38320 * malloc/arena.c: Likewise.
38321 * malloc/hooks.c: Likewise.
38322 * malloc/malloc.c: Likewise.
38323 * resolv/res-state.c: Likewise.
38324 * resolv/res_libc.c: Likewise.
38325 * sysdeps/i386/dl-machine.h: Likewise.
38326 * sysdeps/ia64/dl-machine.h: Likewise.
38327 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38328 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38329 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38330 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38331 * sysdeps/sh/dl-machine.h: Likewise.
38332 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38333 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38334 * sysdeps/unix/i386/sysdep.S: Likewise.
38335 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38336 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38337 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38338 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38339 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38340 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38341 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38343 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38345 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38346 * sysdeps/x86_64/dl-machine.h: Likewise.
38347 * tls.make.c: Likewise.
38349 * configure.in: Remove --with-__thread option. Make tests for
38350 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38351 tls_model attribute fail if no support is available. Remove
38353 * Makeconfig: Adjust for dropped configure option. All features are
38355 * Makerules: Likewise.
38356 * Versions.def: Likewise.
38357 * argp/argp-fmtstream.c: Likewise.
38358 * argp/argp-fmtstream.h: Likewise.
38359 * argp/argp-help.c: Likewise.
38360 * assert/assert.c: Likewise.
38361 * config.h.in: Likewise.
38362 * config.make.in: Likewise.
38363 * configure: Likewise.
38364 * configure.in: Likewise.
38365 * csu/Versions: Likewise.
38366 * csu/init.c: Likewise.
38367 * elf/tst-audit2.c: Likewise.
38368 * elf/tst-tls10.c: Likewise.
38369 * elf/tst-tls10.h: Likewise.
38370 * elf/tst-tls11.c: Likewise.
38371 * elf/tst-tls12.c: Likewise.
38372 * elf/tst-tls14.c: Likewise.
38373 * elf/tst-tlsmod11.c: Likewise.
38374 * elf/tst-tlsmod12.c: Likewise.
38375 * elf/tst-tlsmod13.c: Likewise.
38376 * elf/tst-tlsmod13a.c: Likewise.
38377 * elf/tst-tlsmod14a.c: Likewise.
38378 * elf/tst-tlsmod15b.c: Likewise.
38379 * elf/tst-tlsmod16a.c: Likewise.
38380 * elf/tst-tlsmod16b.c: Likewise.
38381 * elf/tst-tlsmod7.c: Likewise.
38382 * elf/tst-tlsmod8.c: Likewise.
38383 * elf/tst-tlsmod9.c: Likewise.
38384 * gmon/gmon.c: Likewise.
38385 * grp/fgetgrent_r.c: Likewise.
38386 * grp/putgrent.c: Likewise.
38387 * hurd/fopenport.c: Likewise.
38388 * include/libc-symbols.h: Likewise.
38389 * include/tls.h: Likewise.
38390 * intl/gettextP.h: Likewise.
38391 * intl/loadinfo.h: Likewise.
38392 * locale/global-locale.c: Likewise.
38393 * locale/localeinfo.h: Likewise.
38394 * mach/devstream.c: Likewise.
38395 * malloc/arena.c: Likewise.
38396 * malloc/set-freeres.c: Likewise.
38397 * misc/err.c: Likewise.
38398 * misc/getttyent.c: Likewise.
38399 * misc/mntent_r.c: Likewise.
38400 * posix/getopt.c: Likewise.
38401 * posix/wordexp.c: Likewise.
38402 * pwd/fgetpwent_r.c: Likewise.
38403 * resolv/Versions: Likewise.
38404 * resolv/res_hconf.c: Likewise.
38405 * shadow/fgetspent_r.c: Likewise.
38406 * shadow/putspent.c: Likewise.
38407 * stdio-common/printf_fphex.c: Likewise.
38408 * stdio-common/tmpfile.c: Likewise.
38409 * stdlib/abort.c: Likewise.
38410 * stdlib/fmtmsg.c: Likewise.
38411 * sunrpc/auth_unix.c: Likewise.
38412 * sunrpc/clnt_perr.c: Likewise.
38413 * sunrpc/clnt_tcp.c: Likewise.
38414 * sunrpc/clnt_udp.c: Likewise.
38415 * sunrpc/clnt_unix.c: Likewise.
38416 * sunrpc/openchild.c: Likewise.
38417 * sunrpc/svc_simple.c: Likewise.
38418 * sunrpc/svc_tcp.c: Likewise.
38419 * sunrpc/svc_udp.c: Likewise.
38420 * sunrpc/svc_unix.c: Likewise.
38421 * sunrpc/xdr.c: Likewise.
38422 * sunrpc/xdr_array.c: Likewise.
38423 * sunrpc/xdr_rec.c: Likewise.
38424 * sunrpc/xdr_ref.c: Likewise.
38425 * sunrpc/xdr_stdio.c: Likewise.
38427 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38429 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38431 2011-07-03 Andreas Jaeger <aj@suse.de>
38433 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38434 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38435 regenerate with gen-libm-tests.pl.
38437 2010-05-12 Petr Baudis <pasky@suse.cz>
38440 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38441 around j0() zero points by switching to j1().
38442 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38443 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38445 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38447 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38449 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38451 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38453 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38454 Patch in part by Pavel Roskin <proski@gnu.org>.
38457 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38459 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38460 Free memory block if necessary.
38463 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38464 be NULL. Don't lock in this case.
38466 2011-09-09 Roland McGrath <roland@hack.frob.com>
38468 * elf/elf.h (ELFOSABI_GNU): New macro.
38469 (ELFOSABI_LINUX): Define to that.
38471 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38473 * string/strncat.c (strncat): Undef the symbol in case it has been
38474 defined in bits/string.h.
38476 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38478 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38480 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38483 2011-08-17 Andreas Jaeger <aj@suse.de>
38485 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38487 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38488 Ian Lance Taylor <iant@google.com>
38490 * math/libm-test.inc (lround_test): New testcase.
38491 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38493 2011-09-08 Ulrich Drepper <drepper@gmail.com>
38495 * Makefile: Remove support for automatic cvs check-ins.
38496 * Makerules: Likewise.
38497 * config.make.in: Likewise.
38498 * configure.in: Likewise.
38499 * intl/Makefile: Likewise.
38500 * locale/Makefile: Likewise.
38501 * po/Makefile: Likewise.
38502 * posix/Makefile: Likewise.
38503 * sysdeps/gnu/Makefile: Likewise.
38504 * sysdeps/mach/hurd/Makefile: Likewise.
38505 * sysdeps/sparc/sparc32/Makefile: Likewise.
38508 * posix/Makefile (bug-regex32-ENV): Define.
38509 Patch by John Stanley <jpsinthemix@verizon.net>.
38511 * misc/Makefile (headers): Add bits/select2.h.
38512 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38513 * misc/bits/select2.h: New file.
38514 * include/bits/select2.h: New file.
38515 * debug/Makefile (routines): Add fdelt_chk.
38516 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38517 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38519 * debug/fdelt_chk.c: New file.
38521 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38522 * wcsmbs/test-wmemcmp.c: Likewise.
38523 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38524 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38526 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38528 * string/Makefile (strop-tests): Add memcmp.
38529 * string/test-wmemcmp.c: New file.
38530 * string/test-memcmp.c: Add wmemcmp support.
38532 2011-09-08 Roland McGrath <roland@hack.frob.com>
38535 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38538 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38539 garbage value in a __mach_port_mod_refs call in the cases of the
38540 task-self and thread-self ports.
38542 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38544 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38546 2011-09-08 Andreas Schwab <schwab@redhat.com>
38548 * elf/dl-load.c (lose): Check for non-null L.
38550 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38552 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38554 * elf/dl-libc.c (dlerror_run): Pass back error code from
38558 * elf/dl-load.c (lose): Free l_origin if it is valid.
38560 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38562 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38563 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38564 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38565 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38566 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38567 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38569 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38571 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38572 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38573 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38574 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38575 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38576 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38577 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38578 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38579 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38580 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38582 2011-08-15 Alan Modra <amodra@gmail.com>
38585 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38586 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38587 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38588 ppc_mcount to static-only-routines.
38589 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38591 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38592 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38594 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38596 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38597 for finite and infinity parameters.
38599 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38601 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38602 and add nop instructions for throughput optimization.
38603 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38605 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38607 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38608 aligned copy for power7 with vector-scalar instructions.
38609 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38611 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38613 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38616 2011-09-07 Andreas Schwab <schwab@redhat.com>
38619 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38622 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38624 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38625 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38626 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38627 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38630 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38632 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38633 Forgot to demangle the pointer.
38635 * sysdeps/i386/sysdep.h: Define atom_text_section.
38636 * sysdeps/x86_64/sysdep.h: Likewise.
38637 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38638 section with atom_text_section.
38639 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38640 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38641 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38642 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38643 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38645 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38646 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38647 already be defined. Change to take two parameters and don't assign
38648 result to variable. Adjust all users.
38649 Define INTERNAL_GETTIME if not already defined.
38650 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38653 HAVE_CLOCK_GETTIME_VSYSCALL.
38654 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38656 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38657 gettimeofday vsyscall, just use time.
38659 2011-09-06 Andreas Schwab <schwab@redhat.com>
38661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38664 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38666 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38668 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38670 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38671 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38672 syscall if possible.
38674 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38676 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38677 e_ident. Don't pass to find_mapsXX.
38678 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38680 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38682 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38683 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38684 * sysdeps/x86_64/multiarch/strchr.S: Update.
38685 Check bit_slow_BSF bit.
38686 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38687 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38688 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38690 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38693 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38695 (tryshell): Define.
38696 (__spawni): Change last parameter to be flag. Test
38697 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38698 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38699 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38700 * posix/spawni.c: Likewise.
38701 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38702 * posix/spawnp.c: Likewise. Change normal version to use
38703 SPAWN_XFLAGS_USE_PATH.
38704 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38705 SPAWN_XFLAGS_TRY_SHELL.
38708 * posix/glob.h: Remove gcc 1.x support.
38711 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38713 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38716 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38718 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38719 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38720 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38721 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38722 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38723 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38725 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38727 * sysdeps/x86_64/wcscmp.S: New file.
38729 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38730 wcscmp-c wcscmp-sse2
38731 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38732 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38733 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38734 * wcsmbs/wcscmp.c: Allow renaming.
38736 2011-09-05 David S. Miller <davem@davemloft.net>
38738 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38739 stack slot, rather than the struct return pointer slot.
38740 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38741 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38743 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38745 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38747 * po/ja.po: Update from translation team.
38750 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38751 kernel in 64-bit binaries.
38753 2011-09-01 David S. Miller <davem@davemloft.net>
38755 * elf/elf.h (HWCAP_SPARC_*): Move to..
38756 * sysdeps/sparc/sysdep.h: this new file and add new values.
38757 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38758 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38759 _DL_HWCAP_COUNT to 24.
38760 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38762 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38763 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38764 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38765 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38766 instead of magic constants.
38767 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38769 2011-08-31 David S. Miller <davem@davemloft.net>
38771 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38772 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38773 Reimplement to do errno handling inline.
38774 (SYSCALL_ERROR_HANDLER): New macro.
38775 (__SYSCALL_STRING): Do not do errno handling in asm.
38776 (__CLONE_SYSCALL_STRING): Delete.
38777 (__INTERNAL_SYSCALL_STRING): Delete.
38778 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38779 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38780 (PSEUDO): Reimplement to do errno handling inline.
38781 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38782 (SYSCALL_ERROR_HANDLER): New macro.
38783 (__SYSCALL_STRING): Do not do errno handling in asm.
38784 (__CLONE_SYSCALL_STRING): Delete.
38785 (__INTERNAL_SYSCALL_STRING): Delete.
38786 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38787 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38789 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38790 (inline_syscall*): Add 'err' argument.
38791 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38792 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38793 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38794 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38796 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38797 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38799 2011-08-30 Andreas Schwab <schwab@redhat.com>
38801 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38803 2011-08-29 Jiri Olsa <jolsa@redhat.com>
38805 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38808 2011-08-24 David S. Miller <davem@davemloft.net>
38810 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38812 2011-08-24 Andreas Schwab <schwab@redhat.com>
38814 * elf/Makefile: Add rules to build and run unload8 test.
38815 * elf/unload8.c: New file.
38816 * elf/unload8mod1.c: New file.
38817 * elf/unload8mod1x.c: New file.
38818 * elf/unload8mod2.c: New file.
38819 * elf/unload8mod3.c: New file.
38821 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38824 2011-08-23 David S. Miller <davem@davemloft.net>
38826 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38827 subtract stack bias.
38828 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38829 %sp not %fp in calculations.
38830 (_JMPBUF_UNWINDS_ADJ): Likewise.
38832 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38833 (aio_suspend): Call it to force an exception region around the
38834 AIO_MISC_WAIT() invocation.
38836 2011-08-23 Andreas Schwab <schwab@redhat.com>
38838 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38841 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38843 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38845 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38846 and <dl-machine.h>.
38847 (Elf64_FuncDesc): Remove.
38849 2011-08-22 David S. Miller <davem@davemloft.net>
38851 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38852 sigaltstack check, add missing cfi directives.
38853 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38854 missing cfi directives, and sigaltstack handling.
38856 2011-08-16 Andreas Schwab <schwab@redhat.com>
38859 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38860 object is seen twice.
38861 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38863 * elf/Makefile (distribute): Add tst-initorder2.c.
38864 (tests): Add tst-initorder2.
38865 (modules-names): Add tst-initorder2a tst-initorder2b
38866 tst-initorder2c tst-initorder2d. Add rules to build them.
38867 ($(objpfx)tst-initorder2.out): New rule.
38868 * elf/tst-initorder2.c: New file.
38869 * elf/tst-initorder2.exp: New file.
38871 2011-08-22 Andreas Schwab <schwab@redhat.com>
38873 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38875 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38876 dependencies back to end of function.
38878 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38879 $(elfobjdir)/ld.so.
38881 2011-08-21 Ulrich Drepper <drepper@gmail.com>
38883 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38884 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38885 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38886 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38887 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38888 of __vdso_gettimeofday.
38889 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38890 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38892 (_libc_vdso_platform_setup): Remove initialization of
38893 __vdso_gettimeofday and __vdso_time.
38895 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38897 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38898 and fgetc_unlocked.
38899 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38902 * elf/dl-open.c (add_to_global): Report additions to the global scope
38903 for LD_DEBUG=scopes.
38904 (dl_open_worker): Also print scope of newly loaded dependencies.
38905 (_dl_show_scope): Indicate if there is no scope.
38908 * stdio-common/Makefile (tests): Add bug24.
38909 * stdio-common/bug24.c: New file.
38911 2011-08-19 Andreas Jaeger <aj@suse.de>
38914 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38915 non-existant file when using close-on-exec mode.
38917 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38920 the very first instruction.
38922 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38923 the CFI state in the end.
38924 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38925 inclusion of dl-trampoline.h.
38926 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38928 2011-08-19 Andreas Schwab <schwab@redhat.com>
38930 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38931 expectations for long double.
38933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38934 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38936 2011-08-14 David S. Miller <davem@davemloft.net>
38938 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38939 artificual limit depends upon the system page size.
38941 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38943 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38944 * resolv/Makefile: Define CFLAGS-libresolv.
38946 2011-08-17 Andreas Schwab <schwab@redhat.com>
38948 * nss/makedb.c (compute_tables): Make variables used in nested
38951 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38953 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38954 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38955 if buffer was too small.
38957 * elf/pldd.c (main): Attach to all threads in the process.
38958 Rewrite /proc handling to use *at functions.
38960 2011-08-16 Ulrich Drepper <drepper@gmail.com>
38962 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38963 specifies first scope to show.
38964 (dl_open_worker): Update callers. Move printing scope of new
38965 object to before the relocation.
38966 * elf/rtld.c (dl_main): Update _dl_show_scope call.
38967 * sysdeps/generic/ldsodefs.h: Update declaration.
38969 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38970 string for the scope number.
38972 2011-08-14 Ulrich Drepper <drepper@gmail.com>
38974 * nscd/servicescache.c (cache_addserv): Make sure written is always
38977 2011-08-14 Roland McGrath <roland@hack.frob.com>
38979 * sysdeps/i386/i486/bits/atomic.h
38980 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38981 statement expression, so as to suppress "set but not used" warning.
38982 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38984 * string/strncat.c (STRNCAT): Use prototype definition.
38986 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38987 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38989 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38990 (localedef-modules): Add localedef.
38991 (locale-modules): Add locale.
38993 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38994 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38995 to avoid a warning.
38997 2011-08-14 David S. Miller <davem@davemloft.net>
38999 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39000 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39002 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39004 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39005 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39006 * elf/rtld.c (dl_main): Set l_name of vDSO.
39007 Call _dl_show_scope when DL_DEBUG_SCOPES.
39008 (process_dl_debug): Recognize scopes flag and also set it for all.
39009 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39010 Declare _dl_show_scope.
39012 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39013 (do_dlopen): Pass caller_dlopen to dl_open.
39014 (__libc_dlopen_mode): Initialize caller_dlopen.
39016 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39017 of libc. Make tolower call locale-independent. Optimize a bit by
39018 using isdigit instead of isalnum.
39019 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39021 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39023 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39024 was a dependency or dynamically loaded.
39026 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39028 * intl/l10nflist.c: Allow architecture-specific pop function.
39029 * sysdeps/x86_64/l10nflist.c: New file.
39031 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39034 2011-08-10 Andreas Schwab <schwab@redhat.com>
39036 * include/dirent.h: Add libc_hidden_proto for scandirat and
39037 scandirat64. Don't declare __scandirat64.
39038 * dirent/scandirat.c: Add libc_hidden_def.
39039 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39040 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39042 2011-08-10 David S. Miller <davem@davemloft.net>
39044 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39046 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39048 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39050 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39052 * Versions.def [libc]: Add GLIBC_2.15.
39053 * dirent/Makefile (routines): Add scandirat and scandirat64.
39054 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39056 * dirent/dirent.h: Declare scandirat and scandirat64.
39057 * dirent/scandirat.c: New file.
39058 * dirent/scandirat64.c: New file.
39059 * sysdeps/wordsize-64/scandirat.c: New file.
39060 * sysdeps/wordsize-64/scandirat64.c: New file.
39061 * dirent/opendir.c: Define opendirat.
39062 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39064 * dirent/scandir64.c: Adjust for scandir.c change.
39065 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39066 __scandirat64, and __scandir_cancel_handler.
39067 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39068 additional parameter and use openat instead of open (outside of ld.so).
39069 Add new __opendir as wrapper around __opendirat.
39070 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39071 here without requiring old scandirat implementation.
39073 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39075 * dirent/scandir.c (cancel_handler): Renamed to
39076 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39077 defined. Adjust users.
39078 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39079 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39081 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39083 * string/test-string.h (IMPL): Use __STRING to expand name and then
39086 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39089 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39091 * string/Makefile: Update.
39092 (strop-tests): Append strncat.
39093 * string/test-wcscmp.c: New file.
39094 New comprehensive test for wcscmp.
39095 * string/test-strcmp.c: Update.
39096 (WIDE): New define.
39098 2011-07-22 Andreas Schwab <schwab@redhat.com>
39100 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39103 2011-07-26 Andreas Schwab <schwab@redhat.com>
39105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39106 encoding to ACE if AI_IDN.
39108 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39110 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39111 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39113 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39115 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39116 Fix overflow bug in strncat.
39117 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39119 * string/test-strncat.c: Update.
39120 Add new tests for checking overflow bugs.
39122 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39125 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39126 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39127 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39128 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39129 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39130 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39131 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39132 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39134 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39135 (USE_AS_STRCAT): Define.
39136 Add strcat and strncat support.
39137 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39139 2011-07-25 Andreas Schwab <schwab@redhat.com>
39141 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39142 __n bigger than INT_MAX+1.
39143 (__strncmp_g): Likewise.
39145 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39147 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39148 * libio/stido.h: Likewise.
39150 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39155 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39156 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39157 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39158 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39159 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39162 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39165 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39167 (_dl_x86_64_save_sse): Likewise.
39169 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39173 (_dl_x86_64_save_sse): Likewise.
39175 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39177 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39179 2011-07-21 Andreas Schwab <schwab@redhat.com>
39181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39183 (_dl_x86_64_save_sse): Use correct AVX check.
39185 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39187 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39188 bug in strncpy/strncat.
39189 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39191 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39193 * string/tester.c (test_strcat): Add tests for different alignments
39194 of source and destination.
39195 (test_strncat): Likewise.
39197 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39200 * posix/glob.c (glob): Check passed in values before using them in
39201 expressions to avoid some overflows.
39202 (glob_in_dir): Likewise.
39205 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39206 check for AVX enablement so that we don't crash with old kernels and
39208 * elf/tst-audit4.c: Add same checks here.
39209 * elf/tst-audit6.c: Likewise.
39211 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39213 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39215 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39217 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39219 * po/cs.po: Update from translation team.
39220 * po/bg.po: Likewise.
39222 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39224 * misc/sys/cdefs.h: Add support for const attribute.
39225 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39226 to gnu_dev_{major,minor,makedev} functions.
39228 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39230 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39232 2011-07-20 Andreas Schwab <schwab@redhat.com>
39234 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39237 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39239 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39240 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39241 register in order to avoid conflicts with the soft frame pointer
39242 being held in r11 when necessary.
39243 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39244 (INTERNAL_VSYSCALL_NCS): Likewise.
39246 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39248 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39249 * elf/dl-fini.c (_dl_fini): Adjust caller.
39250 * elf/dl-close.c (_dl_close_worker): Likewise.
39251 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39253 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39255 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39256 "aux_cache->nlibs < 0".
39258 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39259 in the reload-count case.
39261 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39264 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39265 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39266 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39267 * sysdeps/x86_64/multiarch/strcat.S: New file.
39268 * sysdeps/x86_64/multiarch/strncat.S: New file.
39269 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39270 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39271 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39272 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39273 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39274 (USE_AS_STRCAT): Define.
39275 Add strcat and strncat support.
39276 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39277 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39278 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39279 * string/strncat.c: Update.
39280 (USE_AS_STRNCAT): Define.
39281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39282 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39284 * sysdeps/x86_64/multiarch/init-arch.h
39285 (bit_Prefer_PMINUB_for_stringop): New.
39286 (index_Prefer_PMINUB_for_stringop): Likewise.
39287 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39288 bit_Prefer_PMINUB_for_stringop.
39290 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39292 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39294 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39295 of casting of buffer.
39296 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39297 buffer32 and buffer64.
39298 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39299 writes instead of casting of buffer.
39300 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39302 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39305 2011-07-19 Andreas Schwab <schwab@redhat.com>
39307 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39309 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39311 * nscd/nscd.c (termination_handler): Don't do anything for a database
39312 if it has not yet been initialized.
39314 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39316 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39318 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39320 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39322 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39324 * po/nl.po: Update from translation team.
39325 * po/sv.po: Likewise.
39327 2011-07-16 Roland McGrath <roland@hack.frob.com>
39329 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39330 now disallowed by GCC.
39332 * configure.in (use-default-link): Default to yes if a test -shared
39333 link meets our qualifications.
39334 * configure: Regenerated.
39336 * config.make.in (output-format): New variable.
39337 * configure.in: Check for ld --print-output-format support.
39338 * configure: Regenerated.
39339 * Makerules ($(common-objpfx)format.lds)
39340 [$(output-format) != unknown]: Just use $(output-format),
39341 instead of the linker-script munging.
39343 2011-07-14 Roland McGrath <roland@hack.frob.com>
39345 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39346 of $(common-objpfx)shlib.lds.
39347 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39349 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39350 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39352 * configure.in (-z relro check): Adjust test code to add a large
39353 writable data section after it.
39354 * configure: Regenerated.
39356 2011-07-11 Roland McGrath <roland@hack.frob.com>
39358 * configure.in (-z relro check): Fix test code to make the variable
39360 * configure: Regenerated.
39362 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39364 * nscd/nscd.h (struct traced_file): Define.
39365 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39366 elements. Add traced_files.
39367 (inotify_fd): Declare.
39368 (register_traced_file): Declare.
39369 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39370 (inotify_fd): Export.
39371 (resolv_conf_descr): Remove.
39372 (nscd_init): Move inotify descriptor creation to main.
39373 Don't register files for notification here.
39374 (register_traced_file): New function.
39375 (invalidate_cache): Don't use reset_res to determine whether to call
39376 res_init, go through the list of registered files.
39377 (main_loop_poll): The inotify descriptors are now stored in the
39378 structures for the traced files.
39379 (main_loop_epoll): Likewise
39380 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39381 to __nss_disable_nscd.
39382 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39383 for a database anymore. Check the records for all the registered
39385 * nss/Makefile (libnss_files-routines): Add files-init.
39386 (libnss_db-routines): Add db-init.
39387 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39388 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39389 * nss/nss_db/db-init.c: New file.
39390 * nss/nss_files/files-init.c: New file.
39391 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39392 __nss_lookup_function.
39393 (__nss_lookup_function): Call nss_load_library.
39394 (nss_load_all_libraries): New function.
39395 (__nss_disable_nscd): Take parameter with callback function for files
39396 to register. Set is_nscd. Load all the DSOs for the NSS modules
39397 used for the cached services.
39398 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39399 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39400 options for features to all the files in nscd.
39402 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39404 2011-07-10 Roland McGrath <roland@hack.frob.com>
39406 * csu/elf-init.c (__libc_csu_init): Comment typo.
39408 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39410 * po/pl.po: Update from translation team.
39411 * po/ja.po: Likewise.
39412 * po/ru.po: Likewise.
39413 * po/ko.po: Likewise.
39414 * po/fr.po: Likewise.
39416 2011-07-09 Roland McGrath <roland@hack.frob.com>
39418 * configure.in (.ctors/.dtors header and trailer check):
39419 Use an empirical test on a built program.
39420 * configure: Regenerated.
39422 * configure.in (-z relro check): Use an empirical test on a built DSO.
39423 Detect, but do not require, on ia64.
39424 * configure: Regenerated.
39426 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39427 Update tests that use readelf to use $READELF instead.
39428 * configure: Regenerated.
39430 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39432 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39433 if the result is not used.
39435 2011-07-05 Andreas Jaeger <aj@suse.de>
39438 * stdlib/tst-strtod.c: Add testcase.
39440 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39442 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39443 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39444 The latter has a higher limit. Take additional parameter to pass to
39446 (__pathconf): Pass file to __statfs_link_max.
39447 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39449 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39453 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39454 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39456 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39457 (__statfs_filesize_max): Likewise.
39458 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39460 2011-07-05 Andreas Jaeger <aj@suse.de>
39462 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39464 2011-07-06 Marek Polacek <mpolacek@redhat.com>
39466 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39468 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39471 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39473 * Makefile (strop-tests): Add strncat.
39474 * string/test-strncat.c: New file.
39476 2011-06-30 Marek Polacek <mpolacek@redhat.com>
39478 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39480 2011-06-21 Andreas Jaeger <aj@suse.de>
39482 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39483 Copy rule from iconvdata/Makefile.
39485 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39488 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39489 but no long options are defined, just return 'W'.
39491 2011-06-22 Marek Polacek <mpolacek@redhat.com>
39494 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39496 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39498 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39500 (innetgr): Likewise.
39502 2011-07-05 Roland McGrath <roland@hack.frob.com>
39504 * config.make.in (install_root): Default to $(DESTDIR).
39506 2011-07-05 Ulrich Drepper <drepper@gmail.com>
39508 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39510 2011-07-02 Roland McGrath <roland@hack.frob.com>
39512 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39514 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39515 containing directory rather than embedding absolute directory names.
39517 * scripts/check-local-headers.sh: Rewritten using awk.
39518 Match by word, not by line. Print error messages for matches.
39519 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39521 * Makerules [shlib-lds-flags empty]:
39522 ($(common-objpfx)libc_pic.opts): New target.
39523 ($(common-objpfx)libc_pic.os.clean): New target.
39524 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39526 * config.make.in (OBJCOPY): New variable.
39527 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39528 * configure: Regenerated.
39530 * config.make.in (use-default-link): New variable.
39531 * configure.in (use_default_link): Grok --with-default-link to set it.
39532 * configure: Regenerated.
39533 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39534 (shlib-lds, shlib-lds-flags): Define to empty.
39536 * Makerules (shlib-lds): New variable.
39537 (shlib-lds-flags): New variable.
39538 (build-shlib, build-moduile, build-module-asneeded): Use it.
39539 ($(common-objpfx)libc.so): Use $(shlib-lds).
39540 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39541 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39543 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39544 DT_FLAGS/DT_FLAGS_1 with zero flags.
39546 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39547 linker script munging.
39549 2011-07-02 Ulrich Drepper <drepper@gmail.com>
39551 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39553 * crypt/sha512.c (sha512_process_block): Perform total addition using
39554 128-bit if possible.
39555 (__sha512_finish_ctx): Likewise.
39556 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39558 * crypt/sha256.c (SWAP64): Define.
39559 (sha256_process_block): Perform total addition using 64-bit if
39561 (__sha256_finish_ctx): Likewise.
39563 2011-07-01 Ulrich Drepper <drepper@gmail.com>
39565 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39566 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39567 * nscd/hstcache.c (cache_addhst): Likewise.
39568 * nscd/grpcache.c (cache_addgr): Likewise.
39569 * nscd/aicache.c (addhstaiX): Likewise
39570 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39572 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
39574 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39575 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39576 * nscd/hstcache.c (cache_addhst): Likewise.
39577 * nscd/grpcache.c (cache_addgr): Likewise.
39578 * nscd/aicache.c (addhstaiX): Likewise
39580 2011-07-01 Andreas Schwab <schwab@redhat.com>
39582 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39583 domain only when needed.
39585 2011-06-30 Andreas Schwab <schwab@redhat.com>
39587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39588 is always restored.
39590 2011-06-29 Ulrich Drepper <drepper@gmail.com>
39592 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39593 are re-adding the entry.
39594 * nscd/servicescache.c (cache_addserv): Likewise.
39596 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39598 * sysdeps/generic/dl-irel.h: fix protection against multiple
39600 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39602 2011-06-28 Ulrich Drepper <drepper@gmail.com>
39605 * malloc/memusage.sh: Fix quoting in message.
39606 * debug/xtrace.sh: Likewise.
39608 * configure.in: Remove support for --experimental-malloc option, make
39610 * config.make.in: Likewise.
39611 * malloc/Makefile: Likewise.
39613 2011-06-27 Andreas Schwab <schwab@redhat.com>
39615 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39616 two-byte characters.
39618 2011-06-27 Roland McGrath <roland@hack.frob.com>
39620 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39621 AC_CACHE_CHECK invocation.
39622 * configure: Regenerated.
39624 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39626 2011-06-27 Ulrich Drepper <drepper@gmail.com>
39629 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39630 bit from old_res_options.
39632 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39634 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39635 value type for setfct.
39637 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39639 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39640 __gettimeofday instead of gettimeofday.
39642 2011-06-26 Ulrich Drepper <drepper@gmail.com>
39644 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39646 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39648 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39650 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39653 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39656 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39657 strcpy-sse2-unaligned strncpy-sse2-unaligned
39658 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39659 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39660 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39661 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39662 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39663 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39664 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39665 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39666 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39667 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39668 (STRCPY): Support SSE2 and SSSE3 versions.
39670 2011-06-24 Ulrich Drepper <drepper@gmail.com>
39673 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39674 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39675 kernels which artificially limit size of requests.
39677 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39680 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39681 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39682 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39683 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39684 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39685 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39686 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39687 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39688 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39689 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39690 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39691 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39692 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39693 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39695 Enable unaligned load optimization for Intel Core i3, i5 and i7
39697 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39699 (index_Fast_Unaligned_Load): Define.
39700 (HAS_FAST_UNALIGNED_LOAD): Define.
39702 2011-06-23 Marek Polacek <mpolacek@redhat.com>
39704 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39706 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39709 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39710 until it is clear that the information is realy needed.
39711 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39713 2011-06-22 Andreas Schwab <schwab@redhat.com>
39715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39717 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39719 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39720 /sys/devices/system/cpu/online if it is usable.
39722 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39723 reading the information from the /proc filesystem to once a second.
39725 2011-06-21 Andreas Jaeger <aj@suse.de>
39727 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39728 NULL after inclusion of kernel headers.
39730 2011-06-21 Ulrich Drepper <drepper@gmail.com>
39732 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39733 calls to internal_setent.
39736 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39737 addresses using gethostbyname4_r ignore IPv4 addresses.
39739 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39740 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39742 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39744 2011-06-20 David S. Miller <davem@davemloft.net>
39746 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39748 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39750 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39751 (elf_irel): Use it.
39752 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39753 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39754 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39755 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39756 * sysdeps/x86_64/dl-irel.h: Likewise.
39758 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39759 * elf/dl-sym.c: Likewise.
39761 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39763 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39764 need to dereference resplen2.
39766 2011-06-14 Andreas Schwab <schwab@redhat.com>
39768 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39770 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39772 * Makeconfig: Define vardbdir and inst_vardbdir.
39773 * nss/Makefile: Add rules to install db-Makefile.
39775 * nss/nss_db/db-XXX.c: Cleanup.
39777 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39778 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39780 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39781 * nss/makedb.c: Implement -g option to specify that value strings
39782 are generated and should not be added to table iterated over for
39784 * nss/nss_db/db-initgroups.c: New file.
39786 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39789 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39790 (internal_getgrouplist): Adjust to name change.
39791 Update use_initgroups_entry if this is not the first call.
39792 * nss/databases.def: Add initgroups entry.
39794 * nss/makedb.c (compute_tables): Check result of multiple hash table
39795 sizes to minimize maximum chain length.
39797 2011-06-14 Ulrich Drepper <drepper@gmail.com>
39799 * Versions.def: Add entry for libnss_db.
39800 * shlib-versions: Likewise.
39801 * nss/Makefile: Add rules to build libnss_db.
39802 * nss/Versions: Add libnss_db information. Organize libnss_files
39804 * nss/db-Makefile: Add gshadow support. Change rules for the new
39805 makedb progra. Some minor improvements to generate smaller files.
39806 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39808 * nss/makedb.c: ...here.
39809 Improve database format to be smaller and require less memory at
39811 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39813 * nss/nss_db/db-netgrp.c: Likewise.
39814 * nss/nss_db/db-open.c: Likewise.
39815 * nss/nss_files/flies-XXX.x: Adjust comments.
39816 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39817 * nss/nss_files/files-grp.c: Likewise.
39818 * nss/nss_files/files-hosts.c: Likewise.
39819 * nss/nss_files/files-network.c: Likewise.
39820 * nss/nss_files/files-proto.c: Likewise.
39821 * nss/nss_files/files-pwd.c: Likewise.
39822 * nss/nss_files/files-rpc.c: Likewise.
39823 * nss/nss_files/files-service.c: Likewise.
39824 * nss/nss_files/files-sgrp.c: Likewise.
39825 * nss/nss_files/files-spwd.c: Likewise.
39826 * nss/nss_db/db-alias.c: Removed.
39827 * nss/nss_db/dummy-db.h: Removed.
39829 2011-06-02 Ulrich Drepper <drepper@gmail.com>
39831 * nss/makedb.c: Rewritten to not use database library.
39832 * nss/Makefile: Update to build new makedb program.
39834 2011-06-14 Andreas Jaeger <aj@suse.de>
39836 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39837 memset declaration.
39839 2011-06-10 Andreas Schwab <schwab@redhat.com>
39841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39844 2011-06-10 Roland McGrath <roland@hack.frob.com>
39846 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39847 * elf/Makefile ($(objpfx)ld.so): Likewise.
39849 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39850 Don't list ld.so twice in dependencies.
39852 * posix/bug-regex31.c: Include <stdlib.h>.
39854 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39856 * nis/nss_compat/compat-spwd.c
39857 (getspent_next_nss_netgr): Remove unused variable.
39858 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39860 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39861 nonmembers" output to use the right array.
39863 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39865 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39867 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39868 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39869 * catgets/gencat.c (read_input_file): Likewise.
39870 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39872 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39873 variable definition inside #if's controlling its use.
39875 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39877 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39879 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39881 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39884 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39886 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39887 * configure: Regenerated.
39889 * Makerules: Revert last change.
39890 * elf/Makefile: Likewise.
39892 2011-06-09 Roland McGrath <roland@hack.frob.com>
39894 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39895 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39896 (reloc-link): Likewise.
39898 2011-06-09 Ulrich Drepper <drepper@gmail.com>
39900 * elf/Makefile: Add rules to build pldd.
39901 * elf/pldd.c: New file.
39902 * elf/pldd-xx.c: New file.
39904 2011-06-07 Ulrich Drepper <drepper@gmail.com>
39906 * version.h: Update for 2.15 development version.
39908 2011-06-07 David S. Miller <davem@davemloft.net>
39910 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39912 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39913 elf_machine_lazy_rel): Likewise.
39914 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39915 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39916 elf_machine_lazy_rel): Likewise.
39917 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39918 dl_hwcap via passed in argument.
39919 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39922 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39924 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39926 2011-06-06 Roland McGrath <roland@hack.frob.com>
39929 * manual/fdl-1.1.texi: New file, verbatim from:
39930 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39931 * manual/lgpl-2.1.texi: New file, verbatim from:
39932 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39933 * manual/Makefile (licenses): New variable, list those new file names.
39935 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39937 * manual/fdl.texi: File removed.
39938 * manual/lesser.texi: File removed.
39939 * manual/libc.texinfo (Copying, Documentation License):
39940 Use new @include file names, put @appendix directive before @include.
39942 2011-06-04 Jakub Jelinek <jakub@redhat.com>
39945 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39946 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39947 (mq_open): Add __NTH.
39949 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39952 Assume Intel Core i3/i5/i7 processor if AVX is available.
39954 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39956 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39959 2011-05-31 Andreas Schwab <schwab@redhat.com>
39961 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39962 memory. Use alloca_account. Fix memory leak when retrying.
39964 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39966 * version.h (RELEASE): Bump for 2.14 release.
39967 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39969 * config.make.in (RANLIB): Remove entry.
39971 2011-05-30 Ulrich Drepper <drepper@gmail.com>
39973 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39974 (libc.pot): Work around missing support for .ksh extension in xgettext.
39977 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39978 if both request failed.
39979 (send_dg): In case of server errors clear resplen or *resplen2.
39982 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39983 when there are multiple maps.
39984 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39985 (_dl_fini): Remove test here.
39987 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39989 2011-05-29 Ulrich Drepper <drepper@gmail.com>
39992 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39993 bit from old_res_options.
39994 (gaih_inet): Likewise.
39997 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40000 * resolv/res_init.c (res_setoptions): Make the code more compact.
40003 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40007 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40009 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40012 * malloc/malloc.h: Declare malloc hook variables as volatile.
40014 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40018 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40019 raise in the comment.
40020 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40021 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40022 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40024 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40027 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40028 grow the buffers more if it already has to be sufficient.
40029 (build_wcs_upper_buffer): Likewise.
40030 * posix/regexec.c (check_matching): Likewise.
40031 (clean_state_log_if_needed): Likewise.
40032 (extend_buffers): Don't enlarge buffers beyond size of the input
40034 Patches mostly by Emil Wojak <emil@wojak.eu>.
40035 * posix/bug-regex32.c: New file.
40036 * posix/Makefile (tests): Add bug-regex32.
40038 * locale/findlocale.c (_nl_find_locale): Return right away if
40039 _nl_explode_name failed.
40040 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40042 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40044 * debug/xtrace.sh: Unify messages.
40045 * malloc/memusage.sh: Likewise.
40048 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40049 time symbol from vDSO. Substitute with vsyscall if not available.
40050 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40053 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40054 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40055 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40056 Add sendmmsg and internal_sendmmsg.
40057 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40058 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40059 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40061 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40062 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40063 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40065 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40068 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40069 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40071 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40075 * iconvdata/Makefile (tests): Add bug-iconv9.
40076 * iconvdata/bug-iconv9.c: New file.
40078 2011-05-27 Andreas Schwab <schwab@redhat.com>
40081 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40083 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40085 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40086 (struct user_regs_struct): Change intcs field back to cs.
40088 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40090 * po/ja.po: Update from translation team.
40092 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40095 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40096 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40098 2011-05-20 Andreas Schwab <schwab@redhat.com>
40100 * stdlib/longlong.h: Update from GCC.
40102 2011-05-23 Andreas Schwab <schwab@redhat.com>
40104 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40106 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40107 Add parameter name.
40108 (__sysconf): Pass it down.
40110 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40113 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40115 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40116 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40117 add in in __libc_use_alloca calls. Adjust callers.
40118 (glob): Use malloc in some situations.
40120 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40121 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40124 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40126 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40127 and CLOCK_BOOTTIME_ALARM.
40130 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40133 * string/_strerror.c (__strerror_r): Print negative errors as signed
40137 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40138 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40139 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40141 * configure.in: Fix typo in redirection and correct removal of test
40142 files in two cases.
40145 * locale/setlocale.c (new_composite_name): Fix test to check for
40146 identical name of all categories.
40149 * libio/filedoalloc.c (local_isatty): New function.
40150 (_IO_file_doallocate): Use local_isatty.
40151 * stdio-common/perror.c (perror): In case a new stream is used
40152 forward the stream error.
40153 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40156 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40161 * include/alloca.h (extend_alloca_account): Define.
40164 * posix/regex.h: Fix comments with documentation of user-accessible
40165 fields after compilation and describe correct free'ing of pattern
40166 after re_compile_pattern.
40167 Patch by Reuben Thomas <rrt@sc3d.org>.
40169 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40171 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40172 and -mno-altivec to prevent the compiler from using Altivec and/or
40173 VSX instructions when the corresponding registers are not available.
40175 2011-05-19 Andreas Schwab <schwab@redhat.com>
40177 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40179 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40181 * libio/freopen.c (freopen): Use __dup2, not dup2.
40182 * libio/freopen64.c (freopen64): Likewise.
40184 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40187 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40188 * math/Makefile (tests): Add test-powl.
40189 (CFLAGS-test-powl.c): Define.
40190 * math/test-powl.c: New file.
40192 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40194 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40196 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40199 * iconvdata/gb18030.c: Update to GB18020-2005.
40201 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40203 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40204 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40205 Patch by Aharon Robbins <arnold@skeeve.com>.
40208 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40212 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40213 through underflows.
40216 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40217 point to strings before performing equality test for error_one_per_line
40221 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40224 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40225 (struct user_fpregs_struct): Avoid __uint*_t types.
40228 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40229 symbol info. Use it instead of calling _dl_addr locally.
40230 (lock_and_info): New function.
40231 (tr_freehook): Call lock_and_info and pass symbol info as additional
40232 parameter to tr_where.
40233 (tr_mallochook): Likewise.
40234 (tr_reallochook): Likewise.
40235 (tr_memalignhook): Likewise.
40237 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40238 used and couldn't be at all thread-safe.
40240 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40242 * libio/freopen.c (freopen): Don't close old file descriptor
40243 before the new one is opened. Instead dup the new file descriptor
40244 to the old one after the new stream is created.
40245 * libio/freopen64.c (freopen64): Likewise.
40246 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40247 * libio/fileops.c (_IO_new_file_close_it): Handle new
40248 _IO_FLAGS2_NOCLOSE flag.
40249 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40250 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40251 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40252 _IO_FLAGS2_NOCLOSE flag.
40253 * include/unistd.h: Add hidden_proto for dup3.
40254 Define __have_dup3.
40255 * io/dup3.c: Define hidden symbol.
40256 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40259 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40260 when an incomplete long option is used.
40261 * posix/tst-getopt_long1.c: New file.
40262 * posix/Makefile (tests): Add tst-getopt_long1.
40265 * scripts/config.guess: Update from autoconf-2.68.
40266 * scripts/config.sub: Likewise.
40269 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40271 (has_cpuclock): ...this. New function.
40272 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40273 macro here based on has_cpuclock code.
40276 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40277 First byte (not low byte) is now always NUL.
40278 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40280 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40281 Use non-cancelable interfaces.
40284 * locale/iso-639.def: Add entry for Sorani.
40287 * include/stdlib.h: Move include protection to the right place.
40288 Define abort_msg_s. Declare __abort_msg with it.
40289 * stdlib/abort.c (__abort_msg): Adjust type.
40290 * assert/assert.c (__assert_fail_base): New function. Majority
40291 of code from __assert_fail. Allocate memory for __abort_msg with
40293 (__assert_fail): Now call __assert_fail_base.
40294 * assert/assert-perr.c: Remove bulk of implementation. Use
40295 __assert_fail_base.
40296 * include/assert.hL Declare __assert_fail_base.
40297 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40299 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40301 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40305 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40306 until all modules are registered in the DTV.
40307 * elf/Makefile: Add rules to build and run tst-tls19.
40308 * elf/tst-tls19.c: New file.
40309 * elf/tst-tls19mod1.c: New file.
40310 * elf/tst-tls19mod2.c: New file.
40311 * elf/tst-tls19mod3.c: New file.
40312 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40315 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40319 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40320 two-byte sequence errors.
40321 * iconvdata/Makefile (tests): Add bug-iconv8.
40322 * iconvdata/bug-iconv8.c: New file.
40325 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40328 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40331 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40332 (dummy_getcfa): New function.
40333 (init): Get _Unwind_GetCFA address, use dummy if not found.
40334 (backtrace_helper): In recursion check, also check whether CFA changes.
40335 (__backtrace): Completely initialize arg.
40337 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40338 storing incomplete byte sequence in state object. Avoid testing for
40339 guaranteed too small input if we know there is enough data available.
40341 2011-05-11 Andreas Schwab <schwab@redhat.com>
40343 * Makeconfig (+link-pie): Indent.
40344 * Rules (binaries-pie): Define if $(have-fpie) and
40346 (binaries-shared): Also filter out $(binaries-pie).
40347 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40348 * nscd/Makefile (others-pie): Add nscd.
40349 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40350 ($(objpfx)nscd): Remove command override.
40351 * login/Makefile (others-pie): Add pt_chown.
40352 ($(objpfx)pt_chown): Remove command override.
40353 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40354 remove command overrides.
40356 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40358 * libio/tst_putwc.c: Fix error messages.
40361 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40362 currently writing and seek to current position when not.
40363 * libio/Makefile (tests): Add bug-fclose1.
40364 * libio/bug-fclose1.c: New file.
40366 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40369 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40370 don't set DF_1_NODELETE here.
40371 (do_lookup_x): When entering new entry test for copy relocation
40372 and if necessary set DF_1_NODELETE flag.
40373 * elf/tst-unique4.cc: New file.
40374 * elf/tst-unique4.h: New file.
40375 * elf/tst-unique4lib.cc: New file.
40376 * elf/Makefile: Add rules to build and run tst-unique4.
40377 Patch by Piotr Bury <pbury@goahead.com>.
40379 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40382 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40385 * misc/mntent_r.c (addmntent): Flush the stream after the output
40388 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40389 (is_trusted_path_normalize): Skip initial colon. Append slash
40390 to empty buffer. Duplicate is_trusted_path code but allow
40391 constructed patch to be prefix.
40392 (is_dst): Allow $ORIGIN followed by /.
40393 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40394 Correct testing of result of is_trusted_path_normalize
40395 (decompose_rpath): Fix warning.
40397 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40400 * grp/initgroups.c (internal_getgrouplist): When we found the service
40401 list through the initgroups entry in nsswitch.conf do not always
40402 continue on a successful lookup. Don't always use the
40403 __nss_group_database value if it is set.
40404 * nss/nsswitch.conf (initgroups): Change action for successful db
40405 lookup to continue for compatibility.
40407 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40410 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40412 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40414 * iconvdata/tst-tables.sh: Likewise.
40415 * iconvdata/cp770.c: New file.
40416 * iconvdata/cp771.c: New file.
40417 * iconvdata/cp772.c: New file.
40418 * iconvdata/cp773.c: New file.
40419 * iconvdata/cp774.c: New file.
40420 * iconvdata/testdata/CP770: New file.
40421 * iconvdata/testdata/CP770..UTF8: New file.
40422 * iconvdata/testdata/CP771: New file.
40423 * iconvdata/testdata/CP771..UTF8: New file.
40424 * iconvdata/testdata/CP772: New file.
40425 * iconvdata/testdata/CP772..UTF8: New file.
40426 * iconvdata/testdata/CP773: New file.
40427 * iconvdata/testdata/CP773..UTF8: New file.
40428 * iconvdata/testdata/CP774: New file.
40429 * iconvdata/testdata/CP774..UTF8: New file.
40431 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40433 * iconvdata/gen-8bit-gap.sh: Likewise.
40434 * iconvdata/gen-8bit.sh: Likewise.
40436 * locale/iso-639.def: Add ary entry.
40439 * locale/C-translit.h.in: Add U20A1 transliteration.
40442 * locale/iso-639.def: Add wae entry.
40443 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40446 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40450 * locale/C-translit.h.in: Add entry for U20B9.
40451 Patch by pravin.d.s@gmail.com.
40453 2011-05-08 Ulrich Drepper <drepper@gmail.com>
40456 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40457 ENAMETOOLONG use generic getcwd.
40458 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40459 in rtld. Use *stat64.
40460 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40461 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40462 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40463 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40464 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40465 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40466 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40467 __fstatat64 macros.
40468 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40469 * dirent/rewinddir.c: Add libc_hidden_def.
40470 * sysdeps/mach/hurd/rewinddir.c: Likewise.
40471 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
40473 * include/dirent.h (__alloc_dir): Add flags parameter.
40474 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40475 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40477 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40478 from fdopendir if O_CLOEXEC is already set.
40480 2011-03-15 Alan Modra <amodra@gmail.com>
40482 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40483 l_tls_firstbyte_offset non-zero. Save padding offset in
40484 l_tls_firstbyte_offset for later use.
40485 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40486 freeing static tls block.
40488 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40490 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40491 where #ifdef was intended. The intent is to prevent ARG_MAX from
40492 being defined by the kernel headers.
40494 2011-05-07 Ulrich Drepper <drepper@gmail.com>
40497 * resolv/resolv.h: Define RES_NOTLDQUERY.
40498 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40499 no-tld-query and set RES_NOTLDQUERY.
40500 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40501 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40502 modern BIND to search name as TLD unless forbidden.
40504 2011-05-07 Petr Baudis <pasky@suse.cz>
40505 Ulrich Drepper <drepper@gmail.com>
40508 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40509 (is_trusted_path): ...to here.
40510 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40511 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40512 using is_trusted_path_normalize() in setuid scripts.
40514 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40516 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40517 __BEGIN/__END_DECLS.
40519 2011-05-06 Ulrich Drepper <drepper@gmail.com>
40521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40522 NSS_STATUS_NOTFOUND if no record was found.
40524 2011-05-05 Andreas Schwab <schwab@redhat.com>
40526 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40527 (headers-not-in-tirpc): Remove rpc/netdb.h
40528 * resolv/netdb.h: Revert last change.
40530 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40532 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40533 circular dependency between libgcc.a and libc.a.
40535 2011-05-05 Andreas Schwab <schwab@redhat.com>
40537 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40538 * nis/Makefile: Don't install rpcsvc/*.
40539 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40540 instead of <rpc/types.h>.
40541 (MAXHOSTNAMELEN): Define.
40543 2011-05-03 Andreas Schwab <schwab@redhat.com>
40545 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40547 2011-04-28 Maciej Babinski <mbabinski@google.com>
40550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40551 gethostbyname4_r when IPv6 results are possible.
40553 2011-05-02 Ulrich Drepper <drepper@gmail.com>
40556 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40557 _PC_PIPE_BUF handling.
40559 2011-04-30 Bruno Haible <bruno@clisp.org>
40562 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40563 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40565 * inet/getnameinfo.c (getnameinfo): Likewise.
40567 2011-04-29 Ulrich Drepper <drepper@gmail.com>
40569 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40570 to groups setting in database lookup.
40571 * nss/nsswitch.conf: Add initgroups entry.
40573 2011-04-22 Ulrich Drepper <drepper@gmail.com>
40576 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40578 Patch by Eric Blake <eblake@redhat.com>.
40580 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40582 * sunrpc/Makefile (need-export-routines): Add svc_run.
40583 (routines): Remove svc_run.
40584 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40585 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40586 * sunrpc/svc_run.c (svc_run): Likewise.
40587 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40589 2011-04-21 Ulrich Drepper <drepper@gmail.com>
40591 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40592 problem in reallocation in last patch.
40594 2011-04-20 Ulrich Drepper <drepper@gmail.com>
40596 * sunrpc/Makefile: Move inclusion of Rules.
40598 2011-04-19 Ulrich Drepper <drepper@gmail.com>
40600 * nss/nss_files/files-initgroups.c: New file.
40601 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40602 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40603 _nss_files_initgroups_dyn.
40605 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40607 * elf/elf.h (R_ARM_IRELATIVE): Define.
40609 2011-04-19 Ulrich Drepper <drepper@gmail.com>
40611 * po/ru.po: Update from translation team.
40613 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40615 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40618 2011-02-06 Mike Frysinger <vapier@gentoo.org>
40621 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40622 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40623 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40624 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40625 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40627 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40629 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40631 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40632 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40633 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40635 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40638 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40640 * stdlib/bug-getcontext.c: New file.
40641 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40643 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40645 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40646 instructions into .machine "z9-109".
40647 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40648 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40650 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40652 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40653 between environment variables and auxiliary vector.
40655 2011-04-16 Ulrich Drepper <drepper@gmail.com>
40657 * Makefile: Add rules to build linkobj/libc.so.
40658 * include/libc-symbols.h: Define libc_hidden_nolink.
40659 * include/rpc/auth.h: Mark functions which are to be hidden.
40660 * include/rpc/auth_des.h: Likewise.
40661 * include/rpc/auth_unix.h: Likewise.
40662 * include/rpc/clnt.h: Likewise.
40663 * include/rpc/des_crypt.h: Likewise.
40664 * include/rpc/key_prot.h: Likewise.
40665 * include/rpc/pmap_clnt.h: Likewise.
40666 * include/rpc/pmap_prot.h: Likewise.
40667 * include/rpc/pmap_rmt.h: Likewise.
40668 * include/rpc/rpc_msg.h: Likewise.
40669 * include/rpc/svc.h: Likewise.
40670 * include/rpc/svc_auth.h: Likewise.
40671 * include/rpc/xdr.h: Likewise.
40672 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40673 * nss/Makefile: Likewise.
40674 * sunrpc/Makefile: Don't install headers. Build library with normal
40675 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40676 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40677 for the compat linking library. Remove use of INTDEF/INTUSE.
40678 * sunrpc/auth_none.c: Likewise.
40679 * sunrpc/auth_unix.c: Likewise.
40680 * sunrpc/authdes_prot.c: Likewise.
40681 * sunrpc/authuxprot.c: Likewise.
40682 * sunrpc/clnt_gen.c: Likewise.
40683 * sunrpc/clnt_perr.c: Likewise.
40684 * sunrpc/clnt_raw.c: Likewise.
40685 * sunrpc/clnt_simp.c: Likewise.
40686 * sunrpc/clnt_tcp.c: Likewise.
40687 * sunrpc/clnt_udp.c: Likewise.
40688 * sunrpc/clnt_unix.c: Likewise.
40689 * sunrpc/des_crypt.c: Likewise.
40690 * sunrpc/des_soft.c: Likewise.
40691 * sunrpc/get_myaddr.c: Likewise.
40692 * sunrpc/key_call.c: Likewise.
40693 * sunrpc/key_prot.c: Likewise.
40694 * sunrpc/netname.c: Likewise.
40695 * sunrpc/pm_getmaps.c: Likewise.
40696 * sunrpc/pm_getport.c: Likewise.
40697 * sunrpc/pmap_clnt.c: Likewise.
40698 * sunrpc/pmap_prot.c: Likewise.
40699 * sunrpc/pmap_prot2.c: Likewise.
40700 * sunrpc/pmap_rmt.c: Likewise.
40701 * sunrpc/publickey.c: Likewise.
40702 * sunrpc/rpc_cmsg.c: Likewise.
40703 * sunrpc/rpc_common.c: Likewise.
40704 * sunrpc/rpc_dtable.c: Likewise.
40705 * sunrpc/rpc_prot.c: Likewise.
40706 * sunrpc/rpc_thread.c: Likewise.
40707 * sunrpc/rtime.c: Likewise.
40708 * sunrpc/svc.c: Likewise.
40709 * sunrpc/svc_auth.c: Likewise.
40710 * sunrpc/svc_authux.c: Likewise.
40711 * sunrpc/svc_raw.c: Likewise.
40712 * sunrpc/svc_run.c: Likewise.
40713 * sunrpc/svc_simple.c: Likewise.
40714 * sunrpc/svc_tcp.c: Likewise.
40715 * sunrpc/svc_udp.c: Likewise.
40716 * sunrpc/svc_unix.c: Likewise.
40717 * sunrpc/svcauth_des.c: Likewise.
40718 * sunrpc/xcrypt.c: Likewise.
40719 * sunrpc/xdr.c: Likewise.
40720 * sunrpc/xdr_array.c: Likewise.
40721 * sunrpc/xdr_float.c: Likewise.
40722 * sunrpc/xdr_intXX_t.c: Likewise.
40723 * sunrpc/xdr_mem.c: Likewise.
40724 * sunrpc/xdr_rec.c: Likewise.
40725 * sunrpc/xdr_ref.c: Likewise.
40726 * sunrpc/xdr_sizeof.c: Likewise.
40727 * sunrpc/xdr_stdio.c: Likewise.
40729 2011-04-10 Ulrich Drepper <drepper@gmail.com>
40732 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40733 * sysdeps/ia64/dl-tls.h: Likewise.
40734 * sysdeps/powerpc/dl-tls.h: Likewise.
40735 * sysdeps/s390/dl-tls.h: Likewise.
40736 * sysdeps/sh/dl-tls.h: Likewise.
40737 * sysdeps/sparc/dl-tls.h: Likewise.
40738 * sysdeps/x86_64/dl-tls.h: Likewise.
40739 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40741 2011-03-14 Andreas Schwab <schwab@redhat.com>
40743 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40744 rpath element also skip the following colon.
40745 (expand_dynamic_string_token): Add is_path parameter and pass
40746 down to DL_DST_REQUIRED and _dl_dst_substitute.
40747 (decompose_rpath): Call expand_dynamic_string_token with
40748 non-zero is_path. Ignore empty rpaths.
40749 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40752 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40757 2011-04-09 Ulrich Drepper <drepper@gmail.com>
40760 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40761 Patch by Filipe David Manana <fdmanana@apache.org>.
40763 2011-04-07 Andreas Schwab <schwab@redhat.com>
40765 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40766 Maintain aligned stack.
40767 (CHECK_RSP): Remove unused macro.
40769 2011-04-03 Ulrich Drepper <drepper@gmail.com>
40771 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40772 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40774 2011-04-02 Ulrich Drepper <drepper@gmail.com>
40776 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40778 * include/features.h: Mention __USE_XOPEN2K8 in comment.
40780 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40783 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40784 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40785 * sysdeps/x86_64/memmove.c: New file.
40786 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40787 (memcpy): Renamed to ...
40788 (__new_memcpy): This.
40789 (memcpy): Provide GLIBC_2_14 memcpy.
40790 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40791 (memcpy): Provide GLIBC_2_2_5 memcpy.
40793 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40796 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40798 2011-03-30 Andreas Schwab <schwab@redhat.com>
40800 * misc/syncfs.c: New file.
40801 * misc/Makefile (routines): Add syncfs.
40802 * posix/unistd.h: Declare syncfs.
40803 * sysdeps/unix/syscalls.list: Add syncfs.
40805 2011-04-01 Andreas Schwab <schwab@redhat.com>
40807 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40809 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40810 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40811 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40812 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40814 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40815 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40817 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40819 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40820 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40821 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40822 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40823 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40825 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40827 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40828 sync_file_range.c with -fexceptions.
40829 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40830 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40831 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40832 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40833 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40834 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40835 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40836 sync_file_range as cancellation point
40837 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40838 now a wrapper around __call_sync_file_range with cancellation handling.
40839 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40840 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40841 function name to __call_sync_file_range.
40842 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40843 Add call_sync_file_range.
40845 2011-04-01 Andreas Schwab <schwab@redhat.com>
40847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40850 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40852 * iconv/iconv.h: Fix typo in comment.
40853 * io/fcntl.h: Likewise.
40854 * libio/stdio.h: Likewise.
40855 * posix/spawn.h: Likewise.
40856 * posix/unistd.h: Likewise.
40857 * stdlib/stdlib.h: Likewise.
40858 * time/time.h: Likewise.
40859 * wcsmbs/wchar.h: Likewise.
40861 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40862 open_by_handle): Add.
40863 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40864 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40865 Augment a few comments.
40866 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40867 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40868 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40870 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40871 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40874 * io/fcntl.h (AT_EMPTY_PATH): Define.
40876 2011-03-30 Ulrich Drepper <drepper@gmail.com>
40878 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40879 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40880 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40882 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
40883 * Versions.def: Add GLIBC_2.14.
40884 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40887 2011-03-22 Ulrich Drepper <drepper@gmail.com>
40889 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40891 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40893 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40896 * string/test-strncmp.c (do_page_test): New function.
40897 (check2): Likewise.
40898 (test_main): Call check2.
40899 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40901 2011-03-20 Ulrich Drepper <drepper@gmail.com>
40904 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40905 Handle cache information in CPU leaf 4.
40906 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40908 2011-03-18 Ulrich Drepper <drepper@gmail.com>
40911 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40912 character representation.
40913 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40915 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40917 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40918 END(__isnan) to END(__isnanf) to match function entry point/label
40919 EALIGN(__isnanf,...).
40921 2011-03-10 Jakub Jelinek <jakub@redhat.com>
40923 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40925 2011-03-10 Ulrich Drepper <drepper@gmail.com>
40928 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40929 copy from the symbol referenced in the relocation to initialize the
40931 Patch by Piotr Bury <pbury@goahead.com>.
40932 * elf/Makefile: Add rules to build and tst-unique3.
40933 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40934 * elf/tst-unique3.cc: New file.
40935 * elf/tst-unique3.h: New file.
40936 * elf/tst-unique3lib.cc: New file.
40937 * elf/tst-unique3lib2.cc: New file.
40939 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40941 2011-03-10 Mike Frysinger <vapier@gentoo.org>
40943 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40944 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40947 2011-03-06 Ulrich Drepper <drepper@gmail.com>
40949 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40950 to-be-loaded object along a path to loader is ld.so.
40952 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40953 Ulrich Drepper <drepper@gmail.com>
40955 * sysdeps/x86_64/memset.S: After aligning destination, code
40956 branches to different locations depending on the value of
40957 misalignment, when multiarch is enabled. Fix this.
40959 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40961 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40962 Set _x86_64_preferred_memory_instruction for AMD processsors.
40963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40964 Set bit_Prefer_SSE_for_memop for AMD processors.
40966 2011-03-04 Ulrich Drepper <drepper@gmail.com>
40968 * libio/fmemopen.c (fmemopen): Optimize a bit.
40970 2011-03-03 Andreas Schwab <schwab@redhat.com>
40972 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40974 2011-03-03 Roland McGrath <roland@redhat.com>
40976 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40978 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40980 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40981 __bzero_ultra1 instead of __memset_ultra1.
40983 2011-02-23 Andreas Schwab <schwab@redhat.com>
40984 Ulrich Drepper <drepper@gmail.com>
40987 * include/link.h (struct link_map): Add l_orig_initfini.
40988 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40989 returning unsuccessfully.
40990 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40991 close of a file loaded at startup, restore the original l_initfini
40993 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40994 list, store the pointer.
40995 * elf/Makefile ($(objpfx)noload-mem): New rule.
40996 (noload-ENV): Define.
40997 (tests): Add $(objpfx)noload-mem.
40998 * elf/noload.c: Include <memcheck.h>.
40999 (main): Call mtrace. Close all opened handles.
41001 2011-02-17 Andreas Schwab <schwab@redhat.com>
41004 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41005 dependencies are missing.
41007 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41009 Fix __if_freereq crash: Unlike the generic version which uses free,
41011 * sysdeps/mach/hurd/ifreq.h: New file.
41013 2011-01-27 Petr Baudis <pasky@suse.cz>
41014 Ulrich Drepper <drepper@gmail.com>
41017 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41018 to extend_alloca().
41019 * stdio-common/bug23.c: New file.
41020 * stdio-common/Makefile (tests): Add bug23.
41022 2010-09-28 Andreas Schwab <schwab@redhat.com>
41023 Ulrich Drepper <drepper@gmail.com>
41026 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41027 before performing relro protection. At old place add assertion
41028 to make sure nothing changed.
41030 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41031 Glauber de Oliveira Costa <glommer@gmail.com>
41033 * elf/elf.h: Add new ARM TLS relocs.
41035 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41038 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41040 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41042 * sysdeps/wordsize-64/tst-writev.c: New file.
41044 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41046 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41047 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41048 insns in _dl_start to prevent a TOC reference before relocs are
41051 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41054 * Makeconfig: Remove RANLIB definition.
41055 * Makerules: Don't use RANLIB.
41056 * aclocal.m4: Remove ranlib test.
41057 * configure.in: No need to check for ranlib.
41058 * elf/rtld-Rules: Don't use RANLIB.
41060 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41062 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41064 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41065 inclusion protection macro.
41067 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41068 SIGRTMIN and SIGRTMAX and print information in that case only when
41069 SIGRTMIN is defined.
41071 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41073 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41074 arginfo fn returning -1.
41076 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41077 and thousands string is zero terminated.
41079 2011-02-03 Andreas Schwab <schwab@redhat.com>
41081 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41082 sysdeps/unix/sysv/linux/bits/socket.h.
41084 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41086 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41087 (__CPU_COUNT): Remove old macros.
41088 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41089 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41090 (__CPU_ALLOC, __CPU_FREE): Add macros.
41091 (__sched_cpualloc, __sched_cpufree): Add declarations.
41093 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41095 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41096 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41097 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41098 (readdhstai): Return value of addhstaiX call.
41099 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41100 (addgrbyX): Return value returned by cache_addgr.
41101 (readdgrbyname): Return value returned by addgrbyX.
41102 (readdgrbygid): Likewise.
41103 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41104 (addpwbyX): Return value returned by cache_addpw.
41105 (readdpwbyname): Return value returned by addhstbyX.
41106 (readdpwbyuid): Likewise.
41107 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41108 (addservbyX): Return value returned by cache_addserv.
41109 (readdservbyname): Return value returned by addservbyX:
41110 (readdservbyport): Likewise.
41111 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41112 (addhstbyX): Return value returned by cache_addhst.
41113 (readdhstbyname): Return value returned by addhstbyX.
41114 (readdhstbyaddr): Likewise.
41115 (readdhstbynamev6): Likewise.
41116 (readdhstbyaddrv6): Likewise.
41117 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41118 (readdinitgroups): Return value returned by addinitgroupsX.
41119 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41120 (prune_cache): Keep track of timeout value of re-added entries.
41121 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41122 * nscd/nscd.h: Adjust prototypes of readd* functions.
41124 2011-02-04 Roland McGrath <roland@redhat.com>
41126 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41127 (nis_stats): Likewise.
41128 * nis/nis_modify.c (nis_modify): Likewise.
41129 * nis/nis_remove.c (nis_remove): Likewise.
41130 * nis/nis_add.c (nis_add): Likewise.
41132 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41134 * posix/fnmatch_loop.c: Add some consts.
41136 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41138 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41141 * config.make.in (config-cflags-novzeroupper): Define.
41142 * configure.in: Substitute libc_cv_cc_novzeroupper.
41143 * elf/Makefile (AVX-CFLAGS): Define.
41144 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41145 (CFLAGS-tst-auditmod4a.c): Likewise.
41146 (CFLAGS-tst-auditmod4b.c): Likewise.
41147 (CFLAGS-tst-auditmod6b.c): Likewise.
41148 (CFLAGS-tst-auditmod6c.c): Likewise.
41149 (CFLAGS-tst-auditmod7b.c): Likewise.
41150 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41152 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41154 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41155 function to the callback.
41156 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41158 2011-02-02 Andreas Schwab <schwab@redhat.com>
41160 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41163 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41166 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41168 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41170 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41173 * elf/Makefile: Add rules to build and run new test.
41174 * elf/tst-initorder.c: New file.
41175 * elf/tst-initorder.exp: New file.
41176 * elf/tst-initordera1.c: New file.
41177 * elf/tst-initordera2.c: New file.
41178 * elf/tst-initordera3.c: New file.
41179 * elf/tst-initordera4.c: New file.
41180 * elf/tst-initorderb1.c: New file.
41181 * elf/tst-initorderb2.c: New file.
41182 * elf/tst-order-a1.c: New file.
41183 * elf/tst-order-a2.c: New file.
41184 * elf/tst-order-a3.c: New file.
41185 * elf/tst-order-a4.c: New file.
41186 * elf/tst-order-b1.c: New file.
41187 * elf/tst-order-b2.c: New file.
41188 * elf/tst-order-main.c: New file.
41189 New test case by George Gensure <werkt0@gmail.com>.
41191 2010-10-01 Andreas Schwab <schwab@redhat.com>
41193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41194 decoding ACE if AI_CANONIDN.
41196 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41198 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41200 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41202 * version.h (RELEASE): Bump for 2.13 release.
41203 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41205 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41207 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41209 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41210 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41211 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41212 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41213 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41214 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41216 * posix/getconf.c: Update copyright year.
41217 * catgets/gencat.c: Likewise.
41218 * csu/version.c: Likewise.
41219 * debug/catchsegv.sh: Likewise.
41220 * debug/xtrace.sh: Likewise.
41221 * elf/ldconfig.c: Likewise.
41222 * elf/ldd.bash.in: Likewise.
41223 * elf/sprof.c (print_version): Likewise.
41224 * iconv/iconv_prog.c: Likewise.
41225 * iconv/iconvconfig.c: Likewise.
41226 * locale/programs/locale.c: Likewise.
41227 * locale/programs/localedef.c: Likewise.
41228 * malloc/memusage.sh: Likewise.
41229 * malloc/mtrace.pl: Likewise.
41230 * nscd/nscd.c (print_version): Likewise.
41231 * nss/getent.c: Likewise.
41233 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41234 PF_CAIF, and PF_ALG.
41235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41237 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41239 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41240 (modules-names): Use them.
41241 (ifunc-test-modules, ifunc-pie-tests): Define.
41242 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41243 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41244 (test-extras): Likewise.
41245 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41246 $(compile-command.c).
41247 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41248 (all-built-dso): Define.
41249 (check-textrel.out, check-execstack.out): Depend on it.
41251 * configure.in: Don't override --enable-multi-arch.
41253 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41256 * nscd/hstcache.c (tryagain): Define.
41257 (cache_addhst): Return tryagain not notfound for temporary errors.
41258 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41261 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41264 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41265 to make the syscall.
41266 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41269 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41270 and fall back to matching as normal character if the string ends before
41271 the matching ']' is found. This is what POSIX requires.
41272 * posix/testfnm.c: Adjust test result.
41273 * posix/globtest.sh: Adjust test result. Add new test.
41274 * posix/tst-fnmatch.input: Likewise.
41275 * posix/tst-fnmatch2.c: Add new test.
41277 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41279 * elf/Makefile (check-execstack): Revert last change. Depend on
41281 (check-execstack.h): New target.
41282 (generated): Add check-execstack.h.
41283 * elf/check-execstack.c: Include "check-execstack.h".
41284 (main): Revert last change.
41285 (handle_file): Return zero if GNU_STACK is absent and
41286 DEFAULT_STACK_PERMS doesn't include PF_X.
41288 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41290 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41291 in child fails because the descriptor is already closed.
41292 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41293 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41294 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41297 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41301 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41302 temporary buffer used to handle multi lookups locally.
41303 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41305 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41307 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41310 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41312 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41313 alignment for SSE2.
41315 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41318 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41319 characters. When rounding increased number of integer digits recompute
41321 * stdio-common/tst-grouping.c: New file.
41322 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41324 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41326 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41327 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41329 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41331 * bits/select.h: Likewise.
41333 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41335 * po/ja.po: Update from translation team.
41337 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41340 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41341 implementation just like for lxstat, fxstatat, et al.
41343 2010-12-27 Jim Meyering <meyering@redhat.com>
41346 * posix/regexec.c (build_trtable): Return failure indication upon
41347 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41349 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41352 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41353 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41354 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41355 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41358 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41361 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41362 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41364 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41366 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41367 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41368 script has SORT_BY_INIT_PRIORITY.
41369 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41370 NO_CTORS_DTORS_SECTIONS is defined.
41371 * elf/soinit.c: Likewise.
41372 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41373 NO_CTORS_DTORS_SECTIONS is defined.
41374 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41375 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41376 * sysdeps/sh/init-first.c: Likewise.
41377 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41379 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41381 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41382 always use the slow path.
41384 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41386 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41387 similar rule which adds the sysdep directories to the header search in
41388 order to pick up the correct platform stackinfo.h.
41389 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41390 perform test if it is, otherwise return successfully without testing.
41391 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41392 DEFAULT_STACK_PERMS define in stackinfo.h.
41393 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41394 defined in stackinfo.h.
41395 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41396 DEFAULT_STACK_PERMS defined in stackinfo.h.
41397 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41398 * sysdeps/ia64/stackinfo.h: Likewise.
41399 * sysdeps/s390/stackinfo.h: Likewise.
41400 * sysdeps/sh/stackinfo.h: Likewise.
41401 * sysdeps/sparc/stackinfo.h: Likewise.
41402 * sysdeps/x86_64/stackinfo.h: Likewise.
41403 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41404 PF_X for powerpc64. Retain PF_X for powerpc32.
41406 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41408 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41410 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41411 GETDENTS_64BIT_ALIGNED.
41413 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41415 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41417 2010-12-10 Andreas Schwab <schwab@redhat.com>
41419 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41422 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41423 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41425 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41426 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41428 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41431 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41434 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41436 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41438 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41440 * po/it.po: Update from translation team.
41442 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41447 2010-11-30 Ulrich Drepper <drepper@gmail.com>
41449 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41451 2010-11-24 Andreas Schwab <schwab@redhat.com>
41453 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41455 (gaih_getanswer_slice): Likewise.
41457 2010-10-20 Jakub Jelinek <jakub@redhat.com>
41459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41461 2010-05-31 Petr Baudis <pasky@suse.cz>
41464 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41465 silently even in the chroot mode.
41467 2010-11-22 Ulrich Drepper <drepper@gmail.com>
41469 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41470 last patch a bit. Pretty printing
41472 2010-05-31 Petr Baudis <pasky@suse.cz>
41475 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41476 initialization of skip_initgroups_dyn.
41478 2010-11-19 Ulrich Drepper <drepper@gmail.com>
41480 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41481 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41483 2010-11-16 Ulrich Drepper <drepper@gmail.com>
41485 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41487 2010-11-11 Andreas Schwab <schwab@redhat.com>
41489 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41490 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41491 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41492 ($(objpfx)tst-fnmatch-mem): New rule.
41493 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41494 * posix/tst-fnmatch.c (main): Call mtrace.
41496 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41499 Support Intel processor model 6 and model 0x2c.
41501 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
41503 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41506 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41509 * string/test-strncasecmp.c (check_result): New function.
41510 (do_one_test): Use it.
41511 (check1): New function.
41512 (test_main): Use it.
41513 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41514 Support strcasecmp and strncasecmp.
41516 2010-11-08 Ulrich Drepper <drepper@gmail.com>
41519 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41520 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41522 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41524 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41526 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41528 * sysdeps/x86_64/multiarch/bzero.S: New file.
41529 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41530 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41531 * sysdeps/x86_64/multiarch/memset.S: New file.
41532 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41534 Set bit_Prefer_SSE_for_memop for Intel processors.
41535 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41537 (index_Prefer_SSE_for_memop): Define.
41538 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41540 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
41542 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41543 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41545 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41548 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41549 (__x86_64_raw_data_cache_size_half): Likewise.
41550 (__x86_64_raw_shared_cache_size): Likewise.
41551 (__x86_64_raw_shared_cache_size_half): Likewise.
41553 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41554 (__x86_64_raw_data_cache_size_half): Likewise.
41555 (__x86_64_raw_shared_cache_size): Likewise.
41556 (__x86_64_raw_shared_cache_size_half): Likewise.
41557 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41558 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41559 and __x86_64_raw_shared_cache_size_half. Round
41560 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41561 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41562 to multiple of 256 bytes.
41564 2010-11-03 Ulrich Drepper <drepper@gmail.com>
41567 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41568 of inacessible symlinks. Verify result of symlink before returning it.
41569 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41570 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41572 2010-10-28 Erich Ritz <erichritz@gmail.com>
41574 * math/math.h (isinf): Fix typo in comment.
41576 2010-11-01 Ulrich Drepper <drepper@gmail.com>
41578 * po/da.po: Update from translation team.
41580 2010-10-26 Ulrich Drepper <drepper@gmail.com>
41582 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41583 is added to the list.
41585 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41586 Ulrich Drepper <drepper@gmail.com>
41588 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41589 the global list here. Move code to...
41590 (_dl_add_to_namespace_list): ...here. New function.
41591 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41592 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41593 * elf/dl-load.c (lose): Don't remove the element from the list.
41594 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41595 (_dl_map_object): Likewise.
41597 2010-10-25 Ulrich Drepper <drepper@gmail.com>
41600 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41601 into all bytes of SSE register.
41602 Patch by Richard Li <richardpku@gmail.com>.
41604 2010-10-24 Ulrich Drepper <drepper@gmail.com>
41607 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41610 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41612 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41613 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41614 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41615 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41620 2010-10-22 Andreas Schwab <schwab@redhat.com>
41622 * include/dlfcn.h (__RTLD_SECURE): Define.
41623 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41624 mode & __RTLD_SECURE instead.
41625 (open_path): Rename preloaded parameter to secure.
41626 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41627 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41628 * elf/dl-deps.c (openaux): Likewise.
41629 * elf/rtld.c (struct map_args): Remove is_preloaded.
41630 (map_doit): Don't use it.
41631 (dl_main): Likewise.
41632 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41633 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41635 2010-09-09 Andreas Schwab <schwab@redhat.com>
41637 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41638 (sysd-rules-targets): Remove duplicates.
41639 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41640 rtld-%.$o dependency.
41642 2010-10-18 Andreas Schwab <schwab@redhat.com>
41644 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41645 _dl_map_object do it.
41647 2010-10-19 Ulrich Drepper <drepper@gmail.com>
41649 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41650 fast fma builtins, define the macros in the C99 standard.
41651 (FP_FAST_FMAF): Likewise.
41652 (FP_FAST_FMAL): Likewise.
41653 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41655 * bits/mathdef.h: Update copyright year.
41656 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41658 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41660 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41661 builtins, define the macros in the C99 standard.
41662 (FP_FAST_FMAF): Likewise.
41663 (FP_FAST_FMAL): Likewise.
41664 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41666 (FP_FAST_FMAF): Likewise.
41668 2010-10-15 Jakub Jelinek <jakub@redhat.com>
41671 * math/libm-test.inc (fma_test): Some new testcases.
41672 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41673 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41674 y and infinite z. Do multiplication by C already in long double.
41675 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41677 y and infinite z. Do bitwise or of inexact bit into u.d.
41678 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41679 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41680 * sysdeps/i386/fpu/s_fma.S: Removed.
41681 * sysdeps/i386/fpu/s_fmal.S: Removed.
41683 2010-10-16 Jakub Jelinek <jakub@redhat.com>
41686 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41687 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41688 computation is not scheduled after fetestexcept. Fix value
41689 of minimum denormal long double.
41691 2010-10-14 Jakub Jelinek <jakub@redhat.com>
41694 * math/libm-test.inc (fma_test): Add some more tests.
41695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41698 2010-10-15 Andreas Schwab <schwab@redhat.com>
41700 * scripts/data/localplt-s390-linux-gnu.data: New file.
41701 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41703 2010-10-13 Jakub Jelinek <jakub@redhat.com>
41706 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41707 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41709 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41711 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41712 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41713 if one of x and y is very large and the other is subnormal.
41714 * sysdeps/s390/fpu/s_fmaf.c: New file.
41715 * sysdeps/s390/fpu/s_fma.c: New file.
41716 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41717 * sysdeps/powerpc/fpu/s_fma.S: New file.
41718 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41719 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41720 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41722 2010-10-12 Jakub Jelinek <jakub@redhat.com>
41725 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41727 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41728 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41729 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41730 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41731 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41732 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41735 2010-10-12 Ulrich Drepper <drepper@redhat.com>
41738 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41739 * posix/bug-regex31.input: Add test case.
41741 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41743 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41744 * posix/bug-regex31.input: New file.
41747 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41748 (parse_sub_exp): Fix last change, use postorder.
41750 * posix/bug-regex31.c: New file.
41751 * posix/Makefile: Add rules to build and run bug-regex31.
41753 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41756 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41759 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41760 to have entries in sys_siglist.
41763 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41766 2010-10-07 Jakub Jelinek <jakub@redhat.com>
41769 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41770 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41771 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41772 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41773 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41774 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41775 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41776 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41777 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41778 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41779 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41780 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41781 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41782 * math/ftestexcept.c (fetestexcept): Likewise.
41783 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41784 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41785 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41786 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41787 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41788 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41789 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41791 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41794 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41797 2010-10-06 Ulrich Drepper <drepper@gmail.com>
41799 * string/bug-strstr1.c: New file.
41800 * string/Makefile: Add rules to build and run bug-strstr1.
41802 2010-10-05 Eric Blake <eblake@redhat.com>
41805 * string/str-two-way.h (two_way_long_needle): Always clear memory
41806 when skipping input due to the shift table.
41808 2010-10-03 Ulrich Drepper <drepper@gmail.com>
41811 * malloc/mcheck.c: Handle large requests.
41814 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41815 for strncmp and strncasecmp.
41816 * string/stratcliff.c: Add tests for strcmp and strncmp.
41817 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41819 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41821 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41824 2010-09-30 Andreas Jaeger <aj@suse.de>
41826 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41827 (CGROUP_SUPER_MAGIC): Define.
41828 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41829 Handle btrfs and cgroup file systems.
41830 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41833 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
41835 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41836 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41838 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41841 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41842 trying to locate the ELF header.
41844 2010-09-27 Andreas Schwab <schwab@redhat.com>
41847 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41848 Mask out sign-bit copies when constructing f_fsid.
41850 2010-09-24 Petr Baudis <pasky@suse.cz>
41852 * debug/stack_chk_fail_local.c: Add missing licence exception.
41853 * debug/warning-nop.c: Likewise.
41855 2010-09-15 Joseph Myers <joseph@codesourcery.com>
41857 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41858 implementing getdents64 using getdents syscall, set d_type if
41859 __ASSUME_GETDENTS32_D_TYPE.
41861 2010-09-16 Andreas Schwab <schwab@redhat.com>
41863 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41864 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41866 2010-09-21 Ulrich Drepper <drepper@redhat.com>
41869 * posix/unistd.h: Undo change of feature selection for ftruncate from
41872 2010-09-20 Ulrich Drepper <drepper@redhat.com>
41874 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41877 2010-09-20 Andreas Schwab <schwab@redhat.com>
41879 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41881 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41883 2010-09-14 Andreas Schwab <schwab@redhat.com>
41885 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41886 variables after CHECK_SP call.
41887 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41889 2010-09-13 Andreas Schwab <schwab@redhat.com>
41890 Ulrich Drepper <drepper@redhat.com>
41892 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41893 re-relocationg ld.so.
41894 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41895 _dl_init_paths call.
41896 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41899 2010-09-14 Ulrich Drepper <drepper@redhat.com>
41901 * resolv/res_init.c (__res_vinit): Count the default server we added.
41903 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41904 Ulrich Drepper <drepper@redhat.com>
41907 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41908 (____longjmp_chk): Use %ebx for saving value across system call.
41911 2010-09-06 Andreas Schwab <schwab@redhat.com>
41913 * manual/Makefile: Don't mix pattern rules with normal rules.
41915 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41917 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41919 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41920 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41921 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41922 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41923 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41926 2010-09-04 Ulrich Drepper <drepper@redhat.com>
41929 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41930 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41932 2010-09-02 Ulrich Drepper <drepper@redhat.com>
41934 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41935 * sysdeps/x86_64/addmul_1.S: Likewise.
41936 * sysdeps/x86_64/lshift.S: Likewise.
41937 * sysdeps/x86_64/mul_1.S: Likewise.
41938 * sysdeps/x86_64/rshift.S: Likewise.
41939 * sysdeps/x86_64/sub_n.S: Likewise.
41940 * sysdeps/x86_64/submul_1.S: Likewise.
41942 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41944 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41945 Define __sched_param instead of SCHED_* and sched_param when
41946 <bits/sched.h> is included with __need_schedparam defined.
41947 * bits/sched.h [__need_schedparam]
41948 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41949 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41950 (__defined_schedparam): Define to 1.
41951 (__sched_param): New structure, identical to sched_param.
41952 (__need_schedparam): Undefine.
41954 2010-08-31 Mike Frysinger <vapier@gentoo.org>
41956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41957 (epoll_create1): Declare.
41959 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41961 2010-08-31 Andreas Schwab <schwab@redhat.com>
41964 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41965 shifting retval into place.
41967 2010-09-01 Ulrich Drepper <drepper@redhat.com>
41969 * nis/rpcsvc/nis.h: Update copyright notice.
41970 * nis/rpcsvc/nis.x: Likewise.
41971 * nis/rpcsvc/nis_callback.h: Likewise.
41972 * nis/rpcsvc/nis_callback.x: Likewise.
41973 * nis/rpcsvc/nis_object.x: Likewise.
41974 * nis/rpcsvc/nis_tags.h: Likewise.
41975 * nis/rpcsvc/yp.h: Likewise.
41976 * nis/rpcsvc/yp.x: Likewise.
41977 * nis/rpcsvc/ypupd.h: Likewise.
41978 * nis/yp_xdr.c: Likewise.
41979 * nis/ypupdate_xdr.c: Likewise.
41981 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41982 mainly the body of pmap_getport. Add parameters to specify timeouts.
41983 (pmap_getport): Use __libc_rpc_getport.
41984 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41985 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41986 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41988 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41993 2010-08-27 Roland McGrath <roland@redhat.com>
41995 * sysdeps/i386/i686/multiarch/Makefile
41996 (CFLAGS-varshift.c): New variable.
41998 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42000 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42001 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42003 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42005 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42007 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42009 * sysdeps/x86_64/strlen.S: Unroll the loop.
42010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42011 strlen-sse2 strlen-sse2-bsf.
42012 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42013 __strlen_no_bsf if bit_Slow_BSF is set.
42014 (__strlen_sse42): Removed.
42015 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42016 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42018 2010-08-25 Roland McGrath <roland@redhat.com>
42020 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42021 * sysdeps/x86_64/multiarch/varshift.c: New file.
42022 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42023 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42024 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42025 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42027 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42030 strlen-sse2 strlen-sse2-bsf.
42031 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42032 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42033 (__strlen_sse2): Removed.
42034 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42035 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42037 bit_Slow_BSF for Atom.
42038 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42039 (index_Slow_BSF): Define.
42040 (HAS_SLOW_BSF): Define.
42042 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42045 * resolv/res_init.c (__res_vinit): When no server address at all
42046 is given default to loopback.
42048 2010-08-24 Roland McGrath <roland@redhat.com>
42050 * configure.in: Remove config-name.h generation.
42051 * configure: Regenerated.
42052 * config-name.in: File removed.
42053 * scripts/config-uname.sh: New file.
42054 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42055 ($(objdir)config-name.h): New target.
42057 * sunrpc/rpc_parse.h: Avoid nested comment.
42059 2010-08-24 Richard Henderson <rth@redhat.com>
42060 Ulrich Drepper <drepper@redhat.com>
42061 H.J. Lu <hongjiu.lu@intel.com>
42063 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42065 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42066 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42067 _mm_alignr_epi8 with _mm_loadu_si128.
42068 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42069 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42070 (__m128i_shift_right): Removed.
42071 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42072 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42073 * sysdeps/x86_64/multiarch/varshift.h: New file.
42074 * sysdeps/x86_64/multiarch/varshift.S: New file.
42076 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42078 * configure.in: Move assembler checks to before sysdep dir checking.
42080 2010-08-20 Petr Baudis <pasky@suse.cz>
42082 * LICENSES: Sync the sunrpc license.
42084 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42086 * sunrpc/auth_des.c: Update copyright notice once again.
42087 * sunrpc/auth_none.c: Likewise.
42088 * sunrpc/auth_unix.c: Likewise.
42089 * sunrpc/authdes_prot.c: Likewise.
42090 * sunrpc/authuxprot.c: Likewise.
42091 * sunrpc/bindrsvprt.c: Likewise.
42092 * sunrpc/clnt_gen.c: Likewise.
42093 * sunrpc/clnt_perr.c: Likewise.
42094 * sunrpc/clnt_raw.c: Likewise.
42095 * sunrpc/clnt_simp.c: Likewise.
42096 * sunrpc/clnt_tcp.c: Likewise.
42097 * sunrpc/clnt_udp.c: Likewise.
42098 * sunrpc/clnt_unix.c: Likewise.
42099 * sunrpc/des_crypt.c: Likewise.
42100 * sunrpc/des_soft.c: Likewise.
42101 * sunrpc/get_myaddr.c: Likewise.
42102 * sunrpc/getrpcport.c: Likewise.
42103 * sunrpc/key_call.c: Likewise.
42104 * sunrpc/key_prot.c: Likewise.
42105 * sunrpc/openchild.c: Likewise.
42106 * sunrpc/pm_getmaps.c: Likewise.
42107 * sunrpc/pm_getport.c: Likewise.
42108 * sunrpc/pmap_clnt.c: Likewise.
42109 * sunrpc/pmap_prot.c: Likewise.
42110 * sunrpc/pmap_prot2.c: Likewise.
42111 * sunrpc/pmap_rmt.c: Likewise.
42112 * sunrpc/rpc/auth.h: Likewise.
42113 * sunrpc/rpc/auth_unix.h: Likewise.
42114 * sunrpc/rpc/clnt.h: Likewise.
42115 * sunrpc/rpc/des_crypt.h: Likewise.
42116 * sunrpc/rpc/key_prot.h: Likewise.
42117 * sunrpc/rpc/netdb.h: Likewise.
42118 * sunrpc/rpc/pmap_clnt.h: Likewise.
42119 * sunrpc/rpc/pmap_prot.h: Likewise.
42120 * sunrpc/rpc/pmap_rmt.h: Likewise.
42121 * sunrpc/rpc/rpc.h: Likewise.
42122 * sunrpc/rpc/rpc_des.h: Likewise.
42123 * sunrpc/rpc/rpc_msg.h: Likewise.
42124 * sunrpc/rpc/svc.h: Likewise.
42125 * sunrpc/rpc/svc_auth.h: Likewise.
42126 * sunrpc/rpc/types.h: Likewise.
42127 * sunrpc/rpc/xdr.h: Likewise.
42128 * sunrpc/rpc_clntout.c: Likewise.
42129 * sunrpc/rpc_cmsg.c: Likewise.
42130 * sunrpc/rpc_common.c: Likewise.
42131 * sunrpc/rpc_cout.c: Likewise.
42132 * sunrpc/rpc_dtable.c: Likewise.
42133 * sunrpc/rpc_hout.c: Likewise.
42134 * sunrpc/rpc_main.c: Likewise.
42135 * sunrpc/rpc_parse.c: Likewise.
42136 * sunrpc/rpc_parse.h: Likewise.
42137 * sunrpc/rpc_prot.c: Likewise.
42138 * sunrpc/rpc_sample.c: Likewise.
42139 * sunrpc/rpc_scan.c: Likewise.
42140 * sunrpc/rpc_scan.h: Likewise.
42141 * sunrpc/rpc_svcout.c: Likewise.
42142 * sunrpc/rpc_tblout.c: Likewise.
42143 * sunrpc/rpc_util.c: Likewise.
42144 * sunrpc/rpc_util.h: Likewise.
42145 * sunrpc/rpcinfo.c: Likewise.
42146 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42147 * sunrpc/rpcsvc/key_prot.x: Likewise.
42148 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42149 * sunrpc/rpcsvc/mount.x: Likewise.
42150 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42151 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42152 * sunrpc/rpcsvc/rex.x: Likewise.
42153 * sunrpc/rpcsvc/rstat.x: Likewise.
42154 * sunrpc/rpcsvc/rusers.x: Likewise.
42155 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42156 * sunrpc/rpcsvc/spray.x: Likewise.
42157 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42158 * sunrpc/rtime.c: Likewise.
42159 * sunrpc/svc.c: Likewise.
42160 * sunrpc/svc_auth.c: Likewise.
42161 * sunrpc/svc_authux.c: Likewise.
42162 * sunrpc/svc_raw.c: Likewise.
42163 * sunrpc/svc_run.c: Likewise.
42164 * sunrpc/svc_simple.c: Likewise.
42165 * sunrpc/svc_tcp.c: Likewise.
42166 * sunrpc/svc_udp.c: Likewise.
42167 * sunrpc/svc_unix.c: Likewise.
42168 * sunrpc/svcauth_des.c: Likewise.
42169 * sunrpc/xcrypt.c: Likewise.
42170 * sunrpc/xdr.c: Likewise.
42171 * sunrpc/xdr_array.c: Likewise.
42172 * sunrpc/xdr_float.c: Likewise.
42173 * sunrpc/xdr_mem.c: Likewise.
42174 * sunrpc/xdr_rec.c: Likewise.
42175 * sunrpc/xdr_ref.c: Likewise.
42176 * sunrpc/xdr_sizeof.c: Likewise.
42177 * sunrpc/xdr_stdio.c: Likewise.
42179 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42182 2010-08-19 Andreas Schwab <schwab@redhat.com>
42184 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42186 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42188 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42189 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42190 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42191 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42192 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42193 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42194 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42195 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42196 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42197 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42198 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42199 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42200 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42201 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42203 2010-07-26 Anton Blanchard <anton@samba.org>
42205 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42206 * malloc/arena.c (heap_trim): Likewise.
42208 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42210 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42212 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42213 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42215 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42217 * sysdeps/i386/elf/Makefile: New file.
42219 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42221 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42222 from fanotify_init.
42223 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42226 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42228 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42230 * sysdeps/multiarch/strcmp.S: Likewise.
42232 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42234 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42235 strncase_l-nonascii.
42236 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42237 Add strncase_l-ssse3.
42238 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42239 * sysdeps/x86_64/strcmp.S: Likewise.
42240 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42241 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42242 * sysdeps/x86_64/strncase.S: New file.
42243 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42244 * sysdeps/x86_64/strncase_l.S: New file.
42245 * string/Makefile (strop-tests): Add strncasecmp.
42246 * string/test-strncasecmp.c: New file.
42248 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42251 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42252 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42254 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42256 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42258 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42260 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42261 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42262 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42264 2010-05-01 Alan Modra <amodra@gmail.com>
42266 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42267 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42268 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42269 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42270 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42271 tidying. Don't tail-call __sigjmp_save for static lib.
42272 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42274 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42275 (CALL_MCOUNT): Add eh info, and nop after bl.
42276 (TAIL_CALL_SYSCALL_ERROR): New macro.
42277 (PSEUDO_RET): Use it.
42278 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42279 Correct save location of integer regs and cr.
42280 (_dl_profile_resolve): Correct cr save location. Delete nops
42281 after bl when SHARED. Reduce cfi size a little by better
42282 placement of cfi directives.
42283 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42284 make a stack frame. Instead use parm save area as a temp.
42285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42286 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42288 Don't make a stack frame for parent, use parm save area.
42289 Increase child stack frame to 112 bytes. Don't save unused reg,
42290 and adjust reg usage. Set up cfi on error recovery and
42291 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42293 (__makecontext): Add dummy nop after jump to exit.
42294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42295 Use correct parm save area and cr save, reduce stack frame.
42296 Correct cfi for possible PSEUDO_RET frame setup.
42297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42298 Branch to local label emitted by PSEUDO_RET rather than
42301 2010-08-12 Andreas Schwab <schwab@redhat.com>
42304 * locale/programs/locale.c (print_assignment): New function.
42305 (show_locale_vars): Use it.
42307 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42309 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42311 (struct statfs64): Likewise.
42312 (_STATFS_F_FLAGS): Define.
42313 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42314 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42315 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42316 (ST_VALID): Define locally.
42317 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42318 __statvfs_getflags, use the provided value.
42319 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42320 __ASSUME_STATFS_F_FLAGS.
42322 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42324 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42325 Add sys/fanotify.h.
42326 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42327 fanotify_mask for GLIBC_2.13.
42328 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42329 fanotify_init and fanotify_mark.
42330 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42331 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42333 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42335 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42336 prlimit64 for GLIBC_2.13.
42337 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42339 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42342 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42343 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42344 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42345 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42347 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42350 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42351 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42353 * nss/Makefile: Add rules to build and run tst-nss-test1.
42354 * shlib-versions: Add entry for libnss_test1.
42355 * nss/nss_test1.c: New file.
42356 * nss/tst-nss-test1.c: New file.
42358 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42359 (__nss_configure_lookup): Set appropriate entry in
42360 __nss_configure_lookup to true.
42361 * nss/nsswitch.h: Define enum with indeces of databases in
42362 databases and __nss_database_custom arrays. Declare
42363 __nss_database_custom.
42364 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42365 to avoid using nscd when custom rules are installed.
42366 * nss/getXXbyYY_r.c: Likewise.
42367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42369 * nss/nss_files/files-parse.c: Whitespace fixes.
42371 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42374 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42375 * posix/fnmatch_loop.c: Likewise.
42377 2010-07-17 Andi Kleen <ak@linux.intel.com>
42379 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42380 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42381 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42382 * Versions.def [GLIBC_2.13]: Add.
42384 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42386 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42387 Also fail if tpwd after pwuid call is NULL.
42389 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42391 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42392 when converting to ms.
42394 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42396 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42397 EOPNOTSUPP errors with ENOTTY.
42398 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42399 EOPNOTSUPP errors with ENOTTY.
42401 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42403 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42404 Add strcasecmp_l-ssse3.
42405 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42407 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42408 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42409 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42411 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42413 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42415 * string/Makefile (strop-tests): Add strcasecmp.
42416 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42417 strcasecmp_l-nonascii.
42418 (gen-as-const-headers): Add locale-defines.sym.
42419 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42420 * sysdeps/x86_64/strcasecmp.S: New file.
42421 * sysdeps/x86_64/strcasecmp_l.S: New file.
42422 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42423 * sysdeps/x86_64/locale-defines.sym: New file.
42424 * string/test-strcasecmp.c: New file.
42426 * string/test-strcasestr.c: Test both ends of the range of characters.
42427 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42429 2010-07-29 Roland McGrath <roland@redhat.com>
42432 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42434 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42436 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42439 2010-07-27 Andreas Schwab <schwab@redhat.com>
42441 * manual/memory.texi (Malloc Tunable Parameters): Document
42444 2010-07-26 Roland McGrath <roland@redhat.com>
42447 * configure.in (-fgnu89-inline check): Set and substitute
42448 gnu89_inline, not libc_cv_gnu89_inline.
42449 * configure: Regenerated.
42450 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42452 2010-07-26 Ulrich Drepper <drepper@redhat.com>
42454 * string/test-strnlen.c: New file.
42455 * string/Makefile (strop-tests): Add strnlen.
42456 * string/tester.c (test_strnlen): Add a few more test cases.
42457 * string/tst-strlen.c: Better error reporting.
42459 * sysdeps/x86_64/strnlen.S: New file.
42461 2010-07-24 Ulrich Drepper <drepper@redhat.com>
42463 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42464 lower-latency instructions.
42466 2010-07-23 Ulrich Drepper <drepper@redhat.com>
42468 * string/test-strcasestr.c: New file.
42469 * string/test-strstr.c: New file.
42470 * string/Makefile (strop-tests): Add strstr and strcasestr.
42471 * string/str-two-way.h: Don't undefine MAX.
42472 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42474 2010-07-21 Andreas Schwab <schwab@redhat.com>
42476 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42477 strcasestr-nonascii.
42478 (CFLAGS-strcasestr-nonascii.c): Define.
42479 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42480 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42481 Remove unused attribute.
42483 2010-07-20 Roland McGrath <roland@redhat.com>
42485 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42486 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42487 ld.so.cache was broken. With it, there is no way to disable dsocaps
42488 like LD_HWCAP_MASK can disable hwcaps.
42490 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42492 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42494 2010-07-16 Ulrich Drepper <drepper@redhat.com>
42496 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42497 call in strcasestr.
42498 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42499 __strcasestr_sse42_nonascii.
42500 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42501 strcasestr-nonascii.c.
42502 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42504 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
42506 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42507 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42508 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42509 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42511 2010-07-09 Ulrich Drepper <drepper@redhat.com>
42513 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42516 2010-07-06 Andreas Schwab <schwab@redhat.com>
42519 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42522 2010-07-06 Ulrich Drepper <drepper@redhat.com>
42524 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42525 _PC_PIPE_BUF using F_GETPIPE_SZ.
42527 2010-07-05 Roland McGrath <roland@redhat.com>
42529 * manual/arith.texi (Rounding Functions): Fix rint description
42530 implicit in round description.
42532 2010-07-02 Ulrich Drepper <drepper@redhat.com>
42534 * elf/Makefile: Fix linking for a few tests to make recent linker
42537 2010-06-30 Andreas Schwab <schwab@redhat.com>
42539 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42540 $(common-objpfx)libc_nonshared.a.
42542 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
42544 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42545 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42546 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42547 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42548 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42549 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42550 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42551 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42566 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42567 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42568 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42569 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42570 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42571 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42572 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42573 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42574 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42575 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42576 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42577 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42593 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42595 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42596 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42597 * string/memmove.c (memmove): Renamed to ...
42598 (MEMMOVE): ...this. Default to memmove.
42599 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42600 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42603 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42604 mempcpy-ssse3-back memmove-ssse3-back.
42605 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42606 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42607 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42608 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42609 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42610 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42611 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42612 * sysdeps/x86_64/multiarch/memmove.c: New file.
42613 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42614 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42615 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42616 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42617 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42618 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42620 (index_Fast_Copy_Backward): Define.
42621 (HAS_ARCH_FEATURE): Define.
42622 (HAS_FAST_REP_STRING): Define.
42623 (HAS_FAST_COPY_BACKWARD): Define.
42625 2010-06-21 Andreas Schwab <schwab@redhat.com>
42627 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42628 Restore proper fallback handling.
42630 2010-06-19 Ulrich Drepper <drepper@redhat.com>
42633 * posix/group_member.c (__group_member): Correct checking loop.
42635 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42636 OOM in getpwuid_r correctly. Return error number when the caller
42637 should return, otherwise -1.
42638 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42639 call returning > 0 value.
42640 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42642 2010-06-07 Andreas Schwab <schwab@redhat.com>
42644 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42645 libc_nonshared.a from targets in modules-names.
42647 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42649 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42652 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
42654 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42655 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42656 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42657 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42659 2010-06-02 Andreas Schwab <schwab@redhat.com>
42661 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42663 2010-06-14 Ulrich Drepper <drepper@redhat.com>
42665 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42667 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42669 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42670 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42671 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42672 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42674 2010-06-14 Roland McGrath <roland@redhat.com>
42676 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42678 2010-06-07 Jakub Jelinek <jakub@redhat.com>
42680 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42681 __REDIRECT followed by __THROW.
42682 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42683 * posix/getopt.h (getopt): Likewise.
42685 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42687 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42688 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42689 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42691 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42692 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42694 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
42696 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42698 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42702 Properly check family and model.
42704 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42706 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42708 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
42710 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42712 2010-05-21 Ulrich Drepper <drepper@redhat.com>
42714 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42717 2010-05-19 Andreas Schwab <schwab@redhat.com>
42719 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42722 2010-05-21 Andreas Schwab <schwab@redhat.com>
42724 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42725 and internal_recvmmsg.
42726 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42727 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42728 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42729 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42731 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42732 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42733 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42735 2010-05-20 Andreas Schwab <schwab@redhat.com>
42737 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42739 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
42741 POWER7 optimizations.
42742 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42743 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42745 2010-05-19 Ulrich Drepper <drepper@redhat.com>
42747 * version.h: Update for 2.13 development version.
42749 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
42751 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42752 exceptions. Return 0.
42754 2010-05-07 Roland McGrath <roland@redhat.com>
42756 * elf/ldconfig.c (main): Add a const.
42758 2010-05-06 Ulrich Drepper <drepper@redhat.com>
42760 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42761 (args_options): Add no-idn option.
42762 (ahosts_keys_int): Add idn_flags to ai_flags.
42763 (parse_option): Handle 'i' option to clear idn_flags.
42765 * malloc/malloc.c (_int_free): Possible race in the most recently
42766 added check. Only act on the data if no current modification
42769 See ChangeLog.17 for earlier changes.