1 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5 2014-03-25 Andreas Schwab <schwab@suse.de>
7 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8 label to be used after in6ailist is initialized.
10 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21 (fp_formats): Update initializers.
22 (init_fp_formats): Initialize new field.
23 (output_for_one_input_case): Allow underflow for results up to
25 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
26 * math/auto-libm-test-in: Don't mark some underflows from asin and
28 * math/auto-libm-test-out: Regenerated.
29 * sysdeps/i386/fpu/libm-test-ulps: Update.
30 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32 2014-03-25 Andreas Schwab <schwab@suse.de>
34 * libio/Makefile (tst-ftell-partial-wide-ENV)
35 (tst-ftell-active-handler-ENV): Define.
37 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
39 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
41 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
45 2014-03-24 Joseph Myers <joseph@codesourcery.com>
47 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
48 * sysdeps/x86_64/fpu/multiarch/e_exp.c
49 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
51 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
54 * elf/dl-load.c (open_verify): Add mode parameter.
55 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
56 (open_path): Change from boolean 'secure' to complete flag 'mode'
57 (_dl_map_object): Adjust.
58 * elf/Makefile (tests): Add tst-dlopen-aout.
59 * elf/tst-dlopen-aout.c: New test.
61 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
64 * sysdeps/unix/sysv/linux/s390/bits/stat.h
65 (struct stat): Rename member pad0 to __glibc_reserved0.
67 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
70 * sysdeps/s390/s390-32/bits/wordsize.h
71 (__WORDSIZE32_SIZE_ULONG): New define.
72 * sysdeps/s390/s390-64/bits/wordsize.h
73 (__WORDSIZE32_SIZE_ULONG): Likewise.
74 * sysdeps/generic/stdint.h (SIZE_MAX):
75 Define as UL if __WORDSIZE32_SIZE_ULONG.
77 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
80 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
81 (__glibc_reserved0): New variable.
82 (sa_flags): Change type to int.
84 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
86 * posix/Makefile (before-compile): Use += before-compile instead
89 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
91 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
92 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
94 2014-03-20 Andreas Schwab <schwab@suse.de>
97 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
98 non-matching result from nscd.
100 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
102 * scripts/bench.py: Moved to ...
103 * benchtests/scripts/bench.py: ... here.
104 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
106 2014-03-24 Andreas Schwab <schwab@suse.de>
109 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
110 alloca_account and account alloca use for struct in6ailist.
112 2014-03-24 Joseph Myers <joseph@codesourcery.com>
115 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
116 rounding mode to recompute results that overflow to infinity or
118 * math/auto-libm-test-in: Don't mark tests as expected to fail for
120 * math/auto-libm-test-out: Regenerated.
121 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
122 (ccosh_test): Likewise.
123 (csin_test_data): Use plus_oflow.
124 (csin_test): Use ALL_RM_TEST.
125 (csinh_test_data): Use plus_oflow.
126 (csinh_test): Use ALL_RM_TEST.
127 * sysdeps/i386/fpu/libm-test-ulps: Update.
128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
130 2014-03-21 Joseph Myers <joseph@codesourcery.com>
132 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
133 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
134 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
137 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
139 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
140 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
141 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
142 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
144 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
145 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
147 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
148 * sysdeps/i386/fpu/libm-test-ulps: Update.
149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
151 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
153 * scripts/bench.pl: Remove file.
154 * scripts/bench.py: New benchmark script.
155 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
156 * benchtests/README: Mention python dependency.
157 * scripts/pylintrc: New file.
158 * scripts/pylint: New file.
160 * bits/mathdef.h: Use #ifdef instead of #if.
161 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
162 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
163 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
164 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
165 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
166 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
168 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
169 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
171 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
173 and strpbrk-ppc64 objects.
174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
175 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
176 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
177 multiarch strpbrk for POWER7.
178 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
179 multiarch strpbrk for PPC64.
180 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
182 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
185 2014-03-20 Joseph Myers <joseph@codesourcery.com>
187 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
188 (atan_test): Likewise.
189 (atanh_test_data): Use NO_TEST_INLINE for two tests.
190 (atanh_test): Use ALL_RM_TEST.
191 (atan2_test_data): Likewise.
192 (cabs_test): Likewise.
193 (cacosh_test): Likewise.
194 (carg_test): Likewise.
195 (casin_test): Likewise.
196 (casinh_test): Likewise.
197 (cbrt_test): Likewise.
198 (csqrt_test): Likewise.
199 (erf_test): Likewise.
200 (erfc_test): Likewise.
201 (pow10_test): Likewise.
202 (exp2_test): Likewise.
203 (hypot_test): Likewise.
206 (lgamma_test): Likewise.
207 (gamma_test): Likewise.
208 (sincos_test): Likewise.
209 (tanh_test): Likewise.
212 * sysdeps/i386/fpu/libm-test-ulps: Update.
213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
215 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
217 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
219 and strcspn-ppc64 objects.
220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
221 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
222 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
223 multiarch strcspn for POWER7.
224 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
225 multiarch strcspn for PPC64.
226 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
228 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
231 2014-03-20 Joseph Myers <joseph@codesourcery.com>
233 * math/gen-libm-test.pl (generate_testfile): Expect only function
234 name as argument to AUTO_TESTS_* and pass results for all rounding
236 (parse_auto_input): Separate inputs of automatic tests from
237 outputs before storing in %auto_tests.
238 * math/libm-test.inc (acos_test_data): Update call to
240 (acos_test): Use ALL_RM_TEST.
241 (acos_tonearest_test_data): Remove.
242 (acos_test_tonearest): Likewise.
243 (acos_towardzero_test_data): Likewise.
244 (acos_test_towardzero): Likewise.
245 (acos_downward_test_data): Likewise.
246 (acos_test_downward): Likewise.
247 (acos_upward_test_data): Likewise.
248 (acos_test_upward): Likewise.
249 (acosh_test_data): Update call to AUTO_TESTS_f_f.
250 (asin_test_data): Likewise.
251 (asin_test): Use ALL_RM_TEST.
252 (asin_tonearest_test_data): Remove.
253 (asin_test_tonearest): Likewise.
254 (asin_towardzero_test_data): Likewise.
255 (asin_test_towardzero): Likewise.
256 (asin_downward_test_data): Likewise.
257 (asin_test_downward): Likewise.
258 (asin_upward_test_data): Likewise.
259 (asin_test_upward): Likewise.
260 (asinh_test_data): Update call to AUTO_TESTS_f_f.
261 (atan_test_data): Likewise.
262 (atanh_test_data): Likewise.
263 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
264 (cabs_test_data): Update call to AUTO_TESTS_c_f.
265 (carg_test_data): Likewise.
266 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
267 (ccos_test_data): Update call to AUTO_TESTS_c_c.
268 (ccosh_test_data): Likewise.
269 (cexp_test_data): Likewise.
270 (clog_test_data): Likewise.
271 (clog10_test_data): Likewise.
272 (cos_test_data): Update call to AUTO_TESTS_f_f.
273 (cos_test): Use ALL_RM_TEST.
274 (cos_tonearest_test_data): Remove.
275 (cos_test_tonearest): Likewise.
276 (cos_towardzero_test_data): Likewise.
277 (cos_test_towardzero): Likewise.
278 (cos_downward_test_data): Likewise.
279 (cos_test_downward): Likewise.
280 (cos_upward_test_data): Likewise.
281 (cos_test_upward): Likewise.
282 (cosh_test_data): Update call to AUTO_TESTS_f_f.
283 (cosh_test): Use ALL_RM_TEST.
284 (cosh_tonearest_test_data): Remove.
285 (cosh_test_tonearest): Likewise.
286 (cosh_towardzero_test_data): Likewise.
287 (cosh_test_towardzero): Likewise.
288 (cosh_downward_test_data): Likewise.
289 (cosh_test_downward): Likewise.
290 (cosh_upward_test_data): Likewise.
291 (cosh_test_upward): Likewise.
292 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
293 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
294 (ctan_test_data): Likewise.
295 (ctan_test): Use ALL_RM_TEST.
296 (ctan_tonearest_test_data): Remove.
297 (ctan_test_tonearest): Likewise.
298 (ctan_towardzero_test_data): Likewise.
299 (ctan_test_towardzero): Likewise.
300 (ctan_downward_test_data): Likewise.
301 (ctan_test_downward): Likewise.
302 (ctan_upward_test_data): Likewise.
303 (ctan_test_upward): Likewise.
304 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
305 (ctanh_test): Use ALL_RM_TEST.
306 (ctanh_tonearest_test_data): Remove.
307 (ctanh_test_tonearest): Likewise.
308 (ctanh_towardzero_test_data): Likewise.
309 (ctanh_test_towardzero): Likewise.
310 (ctanh_downward_test_data): Likewise.
311 (ctanh_test_downward): Likewise.
312 (ctanh_upward_test_data): Likewise.
313 (ctanh_test_upward): Likewise.
314 (erf_test_data): Update call to AUTO_TESTS_f_f.
315 (erfc_test_data): Likewise.
316 (exp_test_data): Likewise.
317 (exp_test): Use ALL_RM_TEST.
318 (exp_tonearest_test_data): Remove.
319 (exp_test_tonearest): Likewise.
320 (exp_towardzero_test_data): Likewise.
321 (exp_test_towardzero): Likewise.
322 (exp_downward_test_data): Likewise.
323 (exp_test_downward): Likewise.
324 (exp_upward_test_data): Likewise.
325 (exp_test_upward): Likewise.
326 (exp10_test_data): Update call to AUTO_TESTS_f_f.
327 (exp10_test): Use ALL_RM_TEST.
328 (exp10_tonearest_test_data): Remove.
329 (exp10_test_tonearest): Likewise.
330 (exp10_towardzero_test_data): Likewise.
331 (exp10_test_towardzero): Likewise.
332 (exp10_downward_test_data): Likewise.
333 (exp10_test_downward): Likewise.
334 (exp10_upward_test_data): Likewise.
335 (exp10_test_upward): Likewise.
336 (exp2_test_data): Update call to AUTO_TESTS_f_f.
337 (expm1_test_data): Likewise.
338 (expm1_test): Use ALL_RM_TEST.
339 (expm1_tonearest_test_data): Remove.
340 (expm1_test_tonearest): Likewise.
341 (expm1_towardzero_test_data): Likewise.
342 (expm1_test_towardzero): Likewise.
343 (expm1_downward_test_data): Likewise.
344 (expm1_test_downward): Likewise.
345 (expm1_upward_test_data): Likewise.
346 (expm1_test_upward): Likewise.
347 (fma_test_data): Update call to AUTO_TESTS_fff_f.
348 (fma_test): Use ALL_RM_TEST.
349 (fma_towardzero_test_data): Remove.
350 (fma_test_towardzero): Likewise.
351 (fma_downward_test_data): Likewise.
352 (fma_test_downward): Likewise.
353 (fma_upward_test_data): Likewise.
354 (fma_test_upward): Likewise.
355 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
356 (j0_test_data): Update call to AUTO_TESTS_f_f.
357 (j1_test_data): Likewise.
358 (jn_test_data): Update call to AUTO_TESTS_if_f.
359 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
360 (log_test_data): Update call to AUTO_TESTS_f_f.
361 (log10_test_data): Likewise.
362 (log1p_test_data): Likewise.
363 (log2_test_data): Likewise.
364 (pow_test_data): Update call to AUTO_TESTS_ff_f.
365 (pow_tonearest_test_data): Likewise.
366 (sin_test_data): Update call to AUTO_TESTS_f_f.
367 (sin_test): Use ALL_RM_TEST.
368 (sin_tonearest_test_data): Remove.
369 (sin_test_tonearest): Likewise.
370 (sin_towardzero_test_data): Likewise.
371 (sin_test_towardzero): Likewise.
372 (sin_downward_test_data): Likewise.
373 (sin_test_downward): Likewise.
374 (sin_upward_test_data): Likewise.
375 (sin_test_upward): Likewise.
376 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
377 (sinh_test_data): Update call to AUTO_TESTS_f_f.
378 (sinh_test): Use ALL_RM_TEST.
379 (sinh_tonearest_test_data): Remove.
380 (sinh_test_tonearest): Likewise.
381 (sinh_towardzero_test_data): Likewise.
382 (sinh_test_towardzero): Likewise.
383 (sinh_downward_test_data): Likewise.
384 (sinh_test_downward): Likewise.
385 (sinh_upward_test_data): Likewise.
386 (sinh_test_upward): Likewise.
387 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
388 (sqrt_test): Use ALL_RM_TEST.
389 (sqrt_tonearest_test_data): Remove.
390 (sqrt_test_tonearest): Likewise.
391 (sqrt_towardzero_test_data): Likewise.
392 (sqrt_test_towardzero): Likewise.
393 (sqrt_downward_test_data): Likewise.
394 (sqrt_test_downward): Likewise.
395 (sqrt_upward_test_data): Likewise.
396 (sqrt_test_upward): Likewise.
397 (tan_test_data): Update call to AUTO_TESTS_f_f.
398 (tan_test): Use ALL_RM_TEST.
399 (tan_tonearest_test_data): Remove.
400 (tan_test_tonearest): Likewise.
401 (tan_towardzero_test_data): Likewise.
402 (tan_test_towardzero): Likewise.
403 (tan_downward_test_data): Likewise.
404 (tan_test_downward): Likewise.
405 (tan_upward_test_data): Likewise.
406 (tan_test_upward): Likewise.
407 (tanh_test_data): Update call to AUTO_TESTS_f_f.
408 (tgamma_test_data): Likewise.
409 (y0_test_data): Likewise.
410 (y1_test_data): Likewise.
411 (yn_test_data): Update call to AUTO_TESTS_if_f.
412 (main): Do not call removed functions.
414 2014-03-19 Joseph Myers <joseph@codesourcery.com>
416 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
417 (ldexp_test_data): Remove.
418 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
420 (scalb_test): Use ALL_RM_TEST.
422 2014-03-19 Andreas Schwab <schwab@suse.de>
424 * nscd/nscd.service: Also invalidate netgroup cache on reload.
426 2014-03-19 Joseph Myers <joseph@codesourcery.com>
429 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
430 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
431 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
432 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
433 (__ASSUME_PREADV): Undefine.
434 (__ASSUME_PWRITEV): Likewise.
436 2014-03-18 Roland McGrath <roland@hack.frob.com>
438 * bits/mman-linux.h: Add comment about non-Linux use.
439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
440 bits/mman-linux.h resting place.
442 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
443 * bits/mman-linux.h: ... here.
445 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
447 * conform/conformtest.pl: Add standard definition when calling C
448 preprocessor on data files.
449 (checknamespace): Remove unused variable.
451 2014-03-18 Joseph Myers <joseph@codesourcery.com>
453 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
454 minus_oflow, plus_uflow and minus_uflow in expected results.
455 * math/libm-test.inc (scalbn_test_data): Add more tests of
456 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
458 (scalbn_test): Use ALL_RM_TEST.
459 (scalbln_test_data): Add more tests of negative arguments. Use
460 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
461 (scalbln_test): Use ALL_RM_TEST.
463 2014-03-18 Roland McGrath <roland@hack.frob.com>
465 * scripts/abilist.awk: Ignore symbols marked with .hidden.
467 2014-03-18 Will Newton <will.newton@linaro.org>
469 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
472 2014-03-18 Joseph Myers <joseph@codesourcery.com>
474 * Makerules [!subdir] (check-abi): Exit with error status if a
477 2014-03-17 Joseph Myers <joseph@codesourcery.com>
479 * math/libm-test.inc (nearbyint_test_data): Include all tests used
480 for rint. Include results for all rounding modes.
481 (nearbyint_test): Use ALL_RM_TEST.
482 (rint_test_data): Include all tests used for nearbyint.
484 2014-03-17 Will Newton <will.newton@linaro.org>
486 * nptl/sysdeps/pthread/pthread.h: Revert previous
489 * sysdeps/generic/ldsodefs.h: Revert previous
492 * libio/genops.c: Revert previous change.
493 * libio/libioP.h: Likewise.
494 * stdio-common/vfprintf.c: Likewise.
496 * sysdeps/generic/math_private.h: Revert previous
499 * sysdeps/generic/math_private.h: Check whether
500 HAVE_RM_CTX is defined with #ifdef rather
503 * argp/argp-fmtstream.h: Check whether
504 __STRICT_ANSI__ is defined with #ifdef rather
506 * argp/argp.h: Likewise.
508 * libio/genops.c: Check whether
509 _IO_JUMPS_OFFSET is defined with #ifdef rather
511 * libio/libioP.h: Likewise.
512 * stdio-common/vfprintf.c: Likewise.
514 * sysdeps/generic/ldsodefs.h: Check whether
515 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
518 * nptl/sysdeps/pthread/pthread.h: Check
519 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
522 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
524 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
526 * libio/tst-ftell-active-handler.c (do_append_test): Add a
530 * libio/fileops.c (_IO_file_open): Seek to end of file but
531 don't cache the offset.
532 (get_file_offset): Remove function.
533 (do_ftell): Use cached offset when available.
534 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
535 don't cache the offset.
536 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
538 (do_one_test): Call it.
539 (do_ftell_test): Fix up expected old offset for a+ mode.
540 * libio/wfileops.c (do_ftell_wide): Used cached offset when
543 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
544 up test status with function return status.
545 (do_write_test): Likewise.
546 (do_append_test): Likewise.
548 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
549 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
552 2014-03-17 Joseph Myers <joseph@codesourcery.com>
554 * math/gen-libm-test.pl (parse_args): Handle results specified for
555 each rounding mode separately.
556 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
557 tests and results from lrint_tonearest_test_data,
558 lrint_towardzero_test_data, lrint_downward_test_data and
559 lrint_upward_test_data.
560 (lrint_test): Use ALL_RM_TEST.
561 (lrint_tonearest_test_data): Remove.
562 (lrint_test_tonearest): Likewise.
563 (lrint_towardzero_test_data): Likewise.
564 (lrint_test_towardzero): Likewise.
565 (lrint_downward_test_data): Likewise.
566 (lrint_test_downward): Likewise.
567 (lrint_upward_test_data): Likewise.
568 (lrint_test_upward): Likewise.
569 (llrint_test_data): Merge in per-rounding-mode tests and results
570 from llrint_tonearest_test_data, llrint_towardzero_test_data,
571 llrint_downward_test_data and llrint_upward_test_data.
572 (llrint_test): Use ALL_RM_TEST.
573 (llrint_tonearest_test_data): Remove.
574 (llrint_test_tonearest): Likewise.
575 (llrint_towardzero_test_data): Likewise.
576 (llrint_test_towardzero): Likewise.
577 (llrint_downward_test_data): Likewise.
578 (llrint_test_downward): Likewise.
579 (llrint_upward_test_data): Likewise.
580 (llrint_test_upward): Likewise.
581 (rint_test_data): Merge in per-rounding-mode tests and results
582 from rint_tonearest_test_data, rint_towardzero_test_data,
583 rint_downward_test_data and rint_upward_test_data. Add
584 per-rounding-mode results for tests not in those arrays.
585 (rint_test): Use ALL_RM_TEST.
586 (rint_tonearest_test_data): Remove.
587 (rint_test_tonearest): Likewise.
588 (rint_towardzero_test_data): Likewise.
589 (rint_test_towardzero): Likewise.
590 (rint_downward_test_data): Likewise.
591 (rint_test_downward): Likewise.
592 (rint_upward_test_data): Likewise.
593 (rint_test_upward): Likewise.
594 (main): Don't call removed functions.
596 2014-03-14 Roland McGrath <roland@hack.frob.com>
598 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
599 "Compiled on ..." crapola. It is anti-useful.
601 2014-03-14 Joseph Myers <joseph@codesourcery.com>
603 * scripts/evaluate-test.sh: Handle fourth argument to determine
604 whether test run should stop on failure.
605 * Makeconfig (stop-on-test-failure): New variable.
606 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
607 $(stop-on-test-failure).
608 * Makefile (tests): Give a summary of results from testing and
609 exit with failure status if they include an ERROR or FAIL.
611 * manual/install.texi (Configuring and compiling): Mention
612 stop-on-test-failure=y.
613 * INSTALL: Regenerated.
615 2014-03-14 Roland McGrath <roland@hack.frob.com>
617 * scripts/versionlist.awk: New file.
618 * Makerules [$(build-shared) = yes]
619 (postclean-generated): Add Versions.def, not Versions.def.v and
621 ($(common-objpfx)Versions.def.v.i): Target removed.
622 ($(common-objpfx)Versions.def): New target.
623 ($(common-objpfx)Versions.all): Depend on that rather that
624 $(common-objpfx)Versions.def.v.
625 * Versions.def: File removed.
627 * Makeconfig (+gccwarn): Add -Wundef.
628 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
629 a dl-sysdep.h breaking its contract.
630 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
631 * include/stackinfo.h: New file.
632 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
633 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
634 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
635 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
636 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
637 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
638 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
639 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
640 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
641 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
642 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
643 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
644 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
645 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
646 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
648 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
651 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
653 * math/libm-test.inc (round_test_data): Add more tests.
655 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
658 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
660 * math/libm-test.inc (nearbyint_test_data): Add more tests.
662 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
665 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
667 * math/libm-test.inc (ceil_test_data): Add more tests.
669 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
671 * math/libm-test.inc (trunc_test_data): Add more tests related to
674 2014-03-14 Roland McGrath <roland@hack.frob.com>
676 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
677 with #if rather than #ifdef.
678 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
680 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
682 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
683 first. Disable AVX-512 GCC support if assembler doesn't support
685 * sysdeps/x86_64/configure: Regenerated.
687 2014-03-13 Carlos O'Donell <carlos@redhat.com>
689 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
690 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
691 (__old_pthread_attr_setstack): Likewise.
692 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
693 [!_STACK_GROWS_DOWN]: Likewise.
695 2014-03-13 Mike Frysinger <vapier@gentoo.org>
697 * config.make.in (have-bash2): Delete.
698 * configure.ac (libc_cv_have_bash2): Delete.
699 * configure: Regenerate.
700 * elf/Makefile (common-ldd-rewrite): Rename to ...
701 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
702 (sh-ldd-rewrite): Delete.
703 (bash-ldd-rewrite): Delete.
704 (have-bash2): Delete checks.
705 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
707 2014-03-13 Mike Frysinger <vapier@gentoo.org>
709 * config.make.in (have-ksh): Delete.
711 * configure.ac (libc_cv_have_ksh): Delete.
712 * configure: Regenerate.
714 2014-03-13 Mike Frysinger <vapier@gentoo.org>
716 * elf/Makefile: Delete $(have-ksh) check.
717 ($(objpfx)sotruss): Change KSH to BASH.
718 * elf/sotruss.ksh: Rename to ...
719 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
720 function style to match POSIX. Drop ksh vim mode setting.
722 2014-03-13 Mike Frysinger <vapier@gentoo.org>
724 * manual/time.texi (Specifying the Time Zone with TZ): Change
727 2014-03-13 Mike Frysinger <vapier@gentoo.org>
729 * debug/tst-longjmp_chk2.c: Update header comment.
730 (stackoverflow_handler): Add comment. Call assert on pass value.
732 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
734 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
735 (HAVE_AVX512_ASM_SUPPORT): Likewise.
736 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
737 (La_x86_64_vector): Add zmm.
738 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
739 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
740 ($(objpfx)tst-audit10): New target.
741 ($(objpfx)tst-audit10.out): Likewise.
742 (tst-audit10-ENV): New.
743 (AVX512-CFLAGS): Likewise.
744 (CFLAGS-tst-audit10.c): Likewise.
745 (CFLAGS-tst-auditmod10a.c): Likewise.
746 (CFLAGS-tst-auditmod10b.c): Likewise.
747 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
748 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
749 * sysdeps/x86_64/configure: Regenerated.
750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
751 AVX-512 zmm register support.
752 (_dl_x86_64_save_sse): Likewise.
753 (_dl_x86_64_restore_sse): Likewise.
754 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
755 size vector registers.
756 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
757 (ZMM_SIZE): Likewise.
758 * sysdeps/x86_64/tst-audit10.c: New file.
759 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
760 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
762 2014-03-13 Roland McGrath <roland@hack.frob.com>
764 * configure.ac (HAVE_EHDR_START): New check.
765 * configure: Regenerated.
766 * config.h.in (HAVE_EHDR_START): New #undef.
767 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
768 assuming the lowest-addressed segment maps the start of the file.
770 2014-03-13 Joseph Myers <joseph@codesourcery.com>
772 * INSTALL: Regenerated.
774 2014-03-13 Will Newton <will.newton@linaro.org>
776 * manual/setjmp.texi (System V contexts): Improve
777 clarity and grammar of documentation.
779 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
782 * elf/Makefile (tests): Add tst-pie2.
783 (tests-pie): Add tst-pie2.
784 * elf/tst-pie2.c: New file.
785 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
787 * elf/rtld.c (map_doit): Load executable as lt_executable.
790 2014-03-12 Joseph Myers <joseph@codesourcery.com>
793 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
794 (__ASSUME_PSELECT): Undefine.
796 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
799 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
800 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
802 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
803 selector for static builds.
805 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
808 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
811 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
813 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
814 selector for static builds.
816 2014-03-11 Joseph Myers <joseph@codesourcery.com>
818 * sysdeps/mips/math_private.h [__mips_hard_float]
819 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
820 libc_feresetround_mips_ctx.
821 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
822 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
823 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
826 * math/s_nextafter.c (__nextafter): Do not return value from
827 overflowing computation.
828 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
829 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
830 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
832 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
834 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
835 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
837 2014-03-11 Roland McGrath <roland@hack.frob.com>
839 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
840 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
841 Move sfi_sp use from the load-multiple (that no longer sets sp) to
842 the new mov targetting sp.
844 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
848 Define it for static builds as well.
849 (NO_BZERO_IMPL): Likewise.
851 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
853 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
854 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
855 multiarch strspn for PPC64.
856 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
857 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
859 (__libc_ifunc_impl_list): Likewise.
860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
861 multiarch optimizations
862 * string/strspn.c (strspn): Using macro to redefine symbol name.
864 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
865 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
867 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
868 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
869 multiarch strncat for PPC64.
870 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
871 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
873 (__libc_ifunc_impl_list): Likewise.
874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
875 multiarch optimizations
877 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
880 * nscd/nscd.service: Make service type forking.
882 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
884 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
885 sign in non default rounding modes.
886 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
888 2014-03-08 Joseph Myers <joseph@codesourcery.com>
890 * math/libm-test.inc (ALL_RM_TEST): New macro.
891 (ceil_test): Use ALL_RM_TEST.
892 (cimag_test): Likewise.
893 (conj_test): Likewise.
894 (copysign_test): Likewise.
895 (cproj_test): Likewise.
896 (creal_test): Likewise.
897 (fabs_test): Likewise.
898 (floor_test): Likewise.
899 (fmax_test): Likewise.
900 (fmin_test): Likewise.
901 (fmod_test): Likewise.
902 (fpclassify_test): Likewise.
903 (frexp_test): Likewise.
904 (ilogb_test): Likewise.
905 (isfinite_test): Likewise.
906 (finite_test): Likewise.
907 (isgreater_test): Likewise.
908 (isgreaterequal_test): Likewise.
909 (isinf_test): Likewise.
910 (isless_test): Likewise.
911 (islessequal_test): Likewise.
912 (islessgreater_test): Likewise.
913 (isnan_test): Likewise.
914 (isnormal_test): Likewise.
915 (issignaling_test): Likewise.
916 (isunordered_test): Likewise.
917 (logb_test): Likewise.
918 (logb_downward_test_data): Remove.
919 (logb_test_downward): Likewise.
920 (lround_test): Use ALL_RM_TEST.
921 (llround_test): Likewise.
922 (modf_test): Likewise.
923 (nexttoward_test): Likewise.
924 (remainder_test): Likewise.
925 (drem_test): Likewise.
926 (remainder_tonearest_test_data): Likewise.
927 (remainder_test_tonearest): Likewise.
928 (drem_test_tonearest): Likewise.
929 (remainder_towardzero_test_data): Likewise.
930 (remainder_test_towardzero): Likewise.
931 (drem_test_towardzero): Likewise.
932 (remainder_downward_test_data): Likewise.
933 (remainder_test_downward): Likewise.
934 (drem_test_downward): Likewise.
935 (remainder_upward_test_data): Likewise.
936 (remainder_test_upward): Likewise.
937 (drem_test_upward): Likewise.
938 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
939 (round_test): Use ALL_RM_TEST.
940 (signbit_test): Likewise.
941 (trunc_test): Likewise.
942 (significand_test): Likewise.
943 (main): Don't call removed functions.
945 2014-03-07 Joseph Myers <joseph@codesourcery.com>
948 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
950 (ILL_ILLOPN): Likewise.
951 (ILL_ILLADR): Likewise.
952 (ILL_ILLTRP): Likewise.
953 (ILL_PRVOPC): Likewise.
954 (ILL_PRVREG): Likewise.
955 (ILL_COPROC): Likewise.
956 (ILL_BADSTK): Likewise.
957 (FPE_INTDIV): Likewise.
958 (FPE_INTOVF): Likewise.
959 (FPE_FLTDIV): Likewise.
960 (FPE_FLTOVF): Likewise.
961 (FPE_FLTUND): Likewise.
962 (FPE_FLTRES): Likewise.
963 (FPE_FLTINV): Likewise.
964 (FPE_FLTSUB): Likewise.
965 (SEGV_MAPERR): Likewise.
966 (SEGV_ACCERR): Likewise.
967 (BUS_ADRALN): Likewise.
968 (BUS_ADRERR): Likewise.
969 (BUS_OBJERR): Likewise.
970 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
971 (TRAP_TRACE): Likewise.
972 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
974 (CLD_KILLED): Likewise.
975 (CLD_DUMPED): Likewise.
976 (CLD_TRAPPED): Likewise.
977 (CLD_STOPPED): Likewise.
978 (CLD_CONTINUED): Likewise.
980 (POLL_OUT): Likewise.
981 (POLL_MSG): Likewise.
982 (POLL_ERR): Likewise.
983 (POLL_PRI): Likewise.
984 (POLL_HUP): Likewise.
985 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
987 (ILL_ILLOPN): Likewise.
988 (ILL_ILLADR): Likewise.
989 (ILL_ILLTRP): Likewise.
990 (ILL_PRVOPC): Likewise.
991 (ILL_PRVREG): Likewise.
992 (ILL_COPROC): Likewise.
993 (ILL_BADSTK): Likewise.
994 (FPE_INTDIV): Likewise.
995 (FPE_INTOVF): Likewise.
996 (FPE_FLTDIV): Likewise.
997 (FPE_FLTOVF): Likewise.
998 (FPE_FLTUND): Likewise.
999 (FPE_FLTRES): Likewise.
1000 (FPE_FLTINV): Likewise.
1001 (FPE_FLTSUB): Likewise.
1002 (SEGV_MAPERR): Likewise.
1003 (SEGV_ACCERR): Likewise.
1004 (BUS_ADRALN): Likewise.
1005 (BUS_ADRERR): Likewise.
1006 (BUS_OBJERR): Likewise.
1007 (BUS_MCEERR_AR): Likewise.
1008 (BUS_MCEERR_AO): Likewise.
1009 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1010 (TRAP_TRACE): Likewise.
1011 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1013 (CLD_KILLED): Likewise.
1014 (CLD_DUMPED): Likewise.
1015 (CLD_TRAPPED): Likewise.
1016 (CLD_STOPPED): Likewise.
1017 (CLD_CONTINUED): Likewise.
1018 (POLL_IN): Likewise.
1019 (POLL_OUT): Likewise.
1020 (POLL_MSG): Likewise.
1021 (POLL_ERR): Likewise.
1022 (POLL_PRI): Likewise.
1023 (POLL_HUP): Likewise.
1024 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1025 (ILL_ILLOPN): Likewise.
1026 (ILL_ILLADR): Likewise.
1027 (ILL_ILLTRP): Likewise.
1028 (ILL_PRVOPC): Likewise.
1029 (ILL_PRVREG): Likewise.
1030 (ILL_COPROC): Likewise.
1031 (ILL_BADSTK): Likewise.
1032 (FPE_INTDIV): Likewise.
1033 (FPE_INTOVF): Likewise.
1034 (FPE_FLTDIV): Likewise.
1035 (FPE_FLTOVF): Likewise.
1036 (FPE_FLTUND): Likewise.
1037 (FPE_FLTRES): Likewise.
1038 (FPE_FLTINV): Likewise.
1039 (FPE_FLTSUB): Likewise.
1040 (SEGV_MAPERR): Likewise.
1041 (SEGV_ACCERR): Likewise.
1042 (BUS_ADRALN): Likewise.
1043 (BUS_ADRERR): Likewise.
1044 (BUS_OBJERR): Likewise.
1045 (BUS_MCEERR_AR): Likewise.
1046 (BUS_MCEERR_AO): Likewise.
1047 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1048 (TRAP_TRACE): Likewise.
1049 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1051 (CLD_KILLED): Likewise.
1052 (CLD_DUMPED): Likewise.
1053 (CLD_TRAPPED): Likewise.
1054 (CLD_STOPPED): Likewise.
1055 (CLD_CONTINUED): Likewise.
1056 (POLL_IN): Likewise.
1057 (POLL_OUT): Likewise.
1058 (POLL_MSG): Likewise.
1059 (POLL_ERR): Likewise.
1060 (POLL_PRI): Likewise.
1061 (POLL_HUP): Likewise.
1062 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1064 (ILL_ILLOPN): Likewise.
1065 (ILL_ILLADR): Likewise.
1066 (ILL_ILLTRP): Likewise.
1067 (ILL_PRVOPC): Likewise.
1068 (ILL_PRVREG): Likewise.
1069 (ILL_COPROC): Likewise.
1070 (ILL_BADSTK): Likewise.
1071 (ILL_BADIADDR): Likewise.
1072 (ILL_BREAK): Likewise.
1073 (FPE_INTDIV): Likewise.
1074 (FPE_INTOVF): Likewise.
1075 (FPE_FLTDIV): Likewise.
1076 (FPE_FLTOVF): Likewise.
1077 (FPE_FLTUND): Likewise.
1078 (FPE_FLTRES): Likewise.
1079 (FPE_FLTINV): Likewise.
1080 (FPE_FLTSUB): Likewise.
1081 (FPE_DECOVF): Likewise.
1082 (FPE_DECDIV): Likewise.
1083 (FPE_DECERR): Likewise.
1084 (FPE_INVASC): Likewise.
1085 (FPE_INVDEC): Likewise.
1086 (SEGV_MAPERR): Likewise.
1087 (SEGV_ACCERR): Likewise.
1088 (SEGV_PSTKOVF): Likewise.
1089 (BUS_ADRALN): Likewise.
1090 (BUS_ADRERR): Likewise.
1091 (BUS_OBJERR): Likewise.
1092 (BUS_MCEERR_AR): Likewise.
1093 (BUS_MCEERR_AO): Likewise.
1094 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1095 (TRAP_TRACE): Likewise.
1096 (TRAP_BRANCH): Likewise.
1097 (TRAP_HWBKPT): Likewise.
1098 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1100 (CLD_KILLED): Likewise.
1101 (CLD_DUMPED): Likewise.
1102 (CLD_TRAPPED): Likewise.
1103 (CLD_STOPPED): Likewise.
1104 (CLD_CONTINUED): Likewise.
1105 (POLL_IN): Likewise.
1106 (POLL_OUT): Likewise.
1107 (POLL_MSG): Likewise.
1108 (POLL_ERR): Likewise.
1109 (POLL_PRI): Likewise.
1110 (POLL_HUP): Likewise.
1111 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1112 (ILL_ILLOPN): Likewise.
1113 (ILL_ILLADR): Likewise.
1114 (ILL_ILLTRP): Likewise.
1115 (ILL_PRVOPC): Likewise.
1116 (ILL_PRVREG): Likewise.
1117 (ILL_COPROC): Likewise.
1118 (ILL_BADSTK): Likewise.
1119 (FPE_INTDIV): Likewise.
1120 (FPE_INTOVF): Likewise.
1121 (FPE_FLTDIV): Likewise.
1122 (FPE_FLTOVF): Likewise.
1123 (FPE_FLTUND): Likewise.
1124 (FPE_FLTRES): Likewise.
1125 (FPE_FLTINV): Likewise.
1126 (FPE_FLTSUB): Likewise.
1127 (SEGV_MAPERR): Likewise.
1128 (SEGV_ACCERR): Likewise.
1129 (BUS_ADRALN): Likewise.
1130 (BUS_ADRERR): Likewise.
1131 (BUS_OBJERR): Likewise.
1132 (BUS_MCEERR_AR): Likewise.
1133 (BUS_MCEERR_AO): Likewise.
1134 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1135 (TRAP_TRACE): Likewise.
1136 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1138 (CLD_KILLED): Likewise.
1139 (CLD_DUMPED): Likewise.
1140 (CLD_TRAPPED): Likewise.
1141 (CLD_STOPPED): Likewise.
1142 (CLD_CONTINUED): Likewise.
1143 (POLL_IN): Likewise.
1144 (POLL_OUT): Likewise.
1145 (POLL_MSG): Likewise.
1146 (POLL_ERR): Likewise.
1147 (POLL_PRI): Likewise.
1148 (POLL_HUP): Likewise.
1149 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1150 (ILL_ILLOPN): Likewise.
1151 (ILL_ILLADR): Likewise.
1152 (ILL_ILLTRP): Likewise.
1153 (ILL_PRVOPC): Likewise.
1154 (ILL_PRVREG): Likewise.
1155 (ILL_COPROC): Likewise.
1156 (ILL_BADSTK): Likewise.
1157 (FPE_INTDIV): Likewise.
1158 (FPE_INTOVF): Likewise.
1159 (FPE_FLTDIV): Likewise.
1160 (FPE_FLTOVF): Likewise.
1161 (FPE_FLTUND): Likewise.
1162 (FPE_FLTRES): Likewise.
1163 (FPE_FLTINV): Likewise.
1164 (FPE_FLTSUB): Likewise.
1165 (SEGV_MAPERR): Likewise.
1166 (SEGV_ACCERR): Likewise.
1167 (BUS_ADRALN): Likewise.
1168 (BUS_ADRERR): Likewise.
1169 (BUS_OBJERR): Likewise.
1170 (BUS_MCEERR_AR): Likewise.
1171 (BUS_MCEERR_AO): Likewise.
1172 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1173 (TRAP_TRACE): Likewise.
1174 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1176 (CLD_KILLED): Likewise.
1177 (CLD_DUMPED): Likewise.
1178 (CLD_TRAPPED): Likewise.
1179 (CLD_STOPPED): Likewise.
1180 (CLD_CONTINUED): Likewise.
1181 (POLL_IN): Likewise.
1182 (POLL_OUT): Likewise.
1183 (POLL_MSG): Likewise.
1184 (POLL_ERR): Likewise.
1185 (POLL_PRI): Likewise.
1186 (POLL_HUP): Likewise.
1187 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1188 (ILL_ILLOPN): Likewise.
1189 (ILL_ILLADR): Likewise.
1190 (ILL_ILLTRP): Likewise.
1191 (ILL_PRVOPC): Likewise.
1192 (ILL_PRVREG): Likewise.
1193 (ILL_COPROC): Likewise.
1194 (ILL_BADSTK): Likewise.
1195 (FPE_INTDIV): Likewise.
1196 (FPE_INTOVF): Likewise.
1197 (FPE_FLTDIV): Likewise.
1198 (FPE_FLTOVF): Likewise.
1199 (FPE_FLTUND): Likewise.
1200 (FPE_FLTRES): Likewise.
1201 (FPE_FLTINV): Likewise.
1202 (FPE_FLTSUB): Likewise.
1203 (SEGV_MAPERR): Likewise.
1204 (SEGV_ACCERR): Likewise.
1205 (BUS_ADRALN): Likewise.
1206 (BUS_ADRERR): Likewise.
1207 (BUS_OBJERR): Likewise.
1208 (BUS_MCEERR_AR): Likewise.
1209 (BUS_MCEERR_AO): Likewise.
1210 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1211 (TRAP_TRACE): Likewise.
1212 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1214 (CLD_KILLED): Likewise.
1215 (CLD_DUMPED): Likewise.
1216 (CLD_TRAPPED): Likewise.
1217 (CLD_STOPPED): Likewise.
1218 (CLD_CONTINUED): Likewise.
1219 (POLL_IN): Likewise.
1220 (POLL_OUT): Likewise.
1221 (POLL_MSG): Likewise.
1222 (POLL_ERR): Likewise.
1223 (POLL_PRI): Likewise.
1224 (POLL_HUP): Likewise.
1225 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1226 (ILL_ILLOPN): Likewise.
1227 (ILL_ILLADR): Likewise.
1228 (ILL_ILLTRP): Likewise.
1229 (ILL_PRVOPC): Likewise.
1230 (ILL_PRVREG): Likewise.
1231 (ILL_COPROC): Likewise.
1232 (ILL_BADSTK): Likewise.
1233 (ILL_DBLFLT): Likewise.
1234 (ILL_HARDWALL): Likewise.
1235 (FPE_INTDIV): Likewise.
1236 (FPE_INTOVF): Likewise.
1237 (FPE_FLTDIV): Likewise.
1238 (FPE_FLTOVF): Likewise.
1239 (FPE_FLTUND): Likewise.
1240 (FPE_FLTRES): Likewise.
1241 (FPE_FLTINV): Likewise.
1242 (FPE_FLTSUB): Likewise.
1243 (SEGV_MAPERR): Likewise.
1244 (SEGV_ACCERR): Likewise.
1245 (BUS_ADRALN): Likewise.
1246 (BUS_ADRERR): Likewise.
1247 (BUS_OBJERR): Likewise.
1248 (BUS_MCEERR_AR): Likewise.
1249 (BUS_MCEERR_AO): Likewise.
1250 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1251 (TRAP_TRACE): Likewise.
1252 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1254 (CLD_KILLED): Likewise.
1255 (CLD_DUMPED): Likewise.
1256 (CLD_TRAPPED): Likewise.
1257 (CLD_STOPPED): Likewise.
1258 (CLD_CONTINUED): Likewise.
1259 (POLL_IN): Likewise.
1260 (POLL_OUT): Likewise.
1261 (POLL_MSG): Likewise.
1262 (POLL_ERR): Likewise.
1263 (POLL_PRI): Likewise.
1264 (POLL_HUP): Likewise.
1265 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1266 (ILL_ILLOPN): Likewise.
1267 (ILL_ILLADR): Likewise.
1268 (ILL_ILLTRP): Likewise.
1269 (ILL_PRVOPC): Likewise.
1270 (ILL_PRVREG): Likewise.
1271 (ILL_COPROC): Likewise.
1272 (ILL_BADSTK): Likewise.
1273 (FPE_INTDIV): Likewise.
1274 (FPE_INTOVF): Likewise.
1275 (FPE_FLTDIV): Likewise.
1276 (FPE_FLTOVF): Likewise.
1277 (FPE_FLTUND): Likewise.
1278 (FPE_FLTRES): Likewise.
1279 (FPE_FLTINV): Likewise.
1280 (FPE_FLTSUB): Likewise.
1281 (SEGV_MAPERR): Likewise.
1282 (SEGV_ACCERR): Likewise.
1283 (BUS_ADRALN): Likewise.
1284 (BUS_ADRERR): Likewise.
1285 (BUS_OBJERR): Likewise.
1286 (BUS_MCEERR_AR): Likewise.
1287 (BUS_MCEERR_AO): Likewise.
1288 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1289 (TRAP_TRACE): Likewise.
1290 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1292 (CLD_KILLED): Likewise.
1293 (CLD_DUMPED): Likewise.
1294 (CLD_TRAPPED): Likewise.
1295 (CLD_STOPPED): Likewise.
1296 (CLD_CONTINUED): Likewise.
1297 (POLL_IN): Likewise.
1298 (POLL_OUT): Likewise.
1299 (POLL_MSG): Likewise.
1300 (POLL_ERR): Likewise.
1301 (POLL_PRI): Likewise.
1302 (POLL_HUP): Likewise.
1303 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1304 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1307 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1308 before #include of <time.h>.
1309 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1310 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1311 (test-xfail-UNIX98/sched.h/conform): Likewise.
1313 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1315 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1316 error absence of trapping exception support.
1317 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1319 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1321 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1322 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1323 * timezone/Makefile (testdata): Move definition above include of
1325 (test-zones): New variable.
1326 (tests-special): Add zone files.
1327 (build-testdata): Use $(evaluate-test).
1329 * elf/Makefile (tests-special): Rename tests to end with .out.
1330 ($(objpfx)noload-mem): Likewise.
1331 ($(objpfx)tst-leaks1-mem): Likewise.
1332 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1333 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1334 $(objpfx)test-iconvconfig.out.
1335 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1336 set -e inside subshell and redirect output to file.
1337 * iconvdata/Makefile (generated): Rename tests to end with .out.
1339 (tests-special): Rename tests to end with .out.
1340 ($(objpfx)mtrace-tst-loading): Likewise.
1341 * intl/Makefile (generated): Likewise.
1342 (tests-special): Likewise.
1343 ($(objpfx)mtrace-tst-gettext): Likewise.
1344 * misc/Makefile (generated): Likewise.
1345 (tests-special): Likewise.
1346 ($(objpfx)tst-error1-mem): Likewise.
1347 * nptl/Makefile (tests-special): Likewise.
1348 ($(objpfx)tst-stack3-mem): Likewise.
1349 (generated): Likewise.
1350 * posix/Makefile (generated): Likewise.
1351 (tests-special): Likewise.
1352 (xtests-special): Likewise.
1353 ($(objpfx)tst-fnmatch-mem): Likewise.
1354 ($(objpfx)bug-regex2-mem): Likewise.
1355 ($(objpfx)bug-regex14-mem): Likewise.
1356 ($(objpfx)bug-regex21-mem): Likewise.
1357 ($(objpfx)bug-regex31-mem): Likewise.
1358 ($(objpfx)tst-vfork3-mem): Likewise.
1359 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1360 ($(objpfx)tst-pcre-mem): Likewise.
1361 ($(objpfx)tst-boost-mem): Likewise.
1362 ($(objpfx)bug-ga2-mem): Likewise.
1363 ($(objpfx)bug-glob2-mem): Likewise.
1364 * resolv/Makefile (generate): Likewise.
1365 (tests-special): Likewise.
1366 (xtests-special): Likewise.
1367 (generated): Likewise.
1368 ($(objpfx)mtrace-tst-leaks): Likewise.
1369 ($(objpfx)mtrace-tst-leaks2): Likewise.
1371 * scripts/merge-test-results.sh: New file.
1372 * Makefile (tests-special-notdir): New variable.
1373 (tests): Run merge-test-results.sh.
1375 * Rules (tests-special-notdir): New variable.
1376 (xtests-special-notdir): Likewise.
1377 (tests): Run merge-test-results.sh
1380 * Makeconfig (test-xfail-name): New variable.
1381 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1382 compute variable name for expected failures.
1383 * conform/Makefile (conformtest-headers-data): New variable.
1384 (conformtest-standards): Likewise.
1385 (conformtest-headers-ISO): Likewise.
1386 (conformtest-headers-ISO99): Likewise.
1387 (conformtest-headers-ISO11): Likewise.
1388 (conformtest-headers-POSIX): Likewise.
1389 (conformtest-headers-XPG3): Likewise.
1390 (conformtest-headers-XPG4): Likewise.
1391 (conformtest-headers-UNIX98): Likewise.
1392 (conformtest-headers-XOPEN2K): Likewise.
1393 (conformtest-headers-POSIX2008): Likewise.
1394 (conformtest-headers-XOPEN2K8): Likewise.
1395 (conformtest-header-list-base): Likewise.
1396 (conformtest-header-list-tests): Likewise.
1397 (conformtest-header-base): Likewise.
1398 (conformtest-header-tests): Likewise.
1399 (tests-special): Add $(conformtest-header-list-tests). If
1400 [$(fast-check) && !$(cross-compiling)], add
1401 $(conformtest-header-tests) instead of
1402 $(objpfx)run-conformtest.out.
1403 (generated): Add $(conformtest-header-list-base). If
1404 [$(fast-check) && !$(cross-compiling)], add
1405 $(conformtest-header-base). Remove previous setting.
1406 ($(conformtest-header-list-tests)): New target.
1407 (test-xfail-run-conformtest): Remove variable.
1408 ($(objpfx)run-conformtest.out): Remove target.
1409 (test-xfail-ISO11/complex.h/conform): New variable.
1410 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1411 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1412 (test-xfail-XPG3/varargs.h/conform): Likewise.
1413 (test-xfail-XPG4/varargs.h/conform): Likewise.
1414 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1415 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1416 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1417 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1418 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1419 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1420 (test-xfail-XPG3/ftw.h/conform): Likewise.
1421 (test-xfail-XPG3/grp.h/conform): Likewise.
1422 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1423 (test-xfail-XPG3/limits.h/conform): Likewise.
1424 (test-xfail-XPG3/pwd.h/conform): Likewise.
1425 (test-xfail-XPG3/search.h/conform): Likewise.
1426 (test-xfail-XPG3/signal.h/conform): Likewise.
1427 (test-xfail-XPG3/stdio.h/conform): Likewise.
1428 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1429 (test-xfail-XPG3/string.h/conform): Likewise.
1430 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1431 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1432 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1433 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1434 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1435 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1436 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1437 (test-xfail-XPG3/termios.h/conform): Likewise.
1438 (test-xfail-XPG3/time.h/conform): Likewise.
1439 (test-xfail-XPG3/unistd.h/conform): Likewise.
1440 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1441 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1442 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1443 (test-xfail-XPG4/netdb.h/conform): Likewise.
1444 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1445 (test-xfail-XPG4/signal.h/conform): Likewise.
1446 (test-xfail-XPG4/stdio.h/conform): Likewise.
1447 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1448 (test-xfail-XPG4/stropts.h/conform): Likewise.
1449 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1450 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1451 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1452 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1453 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1454 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1455 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1456 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1457 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1458 (test-xfail-XPG4/termios.h/conform): Likewise.
1459 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1460 (test-xfail-XPG4/unistd.h/conform): Likewise.
1461 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1462 (test-xfail-POSIX/sched.h/conform): Likewise.
1463 (test-xfail-POSIX/signal.h/conform): Likewise.
1464 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1465 (test-xfail-POSIX/tar.h/conform): Likewise.
1466 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1467 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1468 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1469 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1470 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1471 (test-xfail-UNIX98/sched.h/conform): Likewise.
1472 (test-xfail-UNIX98/signal.h/conform): Likewise.
1473 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1474 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1475 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1476 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1477 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1478 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1479 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1480 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1481 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1482 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1483 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1484 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1485 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1486 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1487 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1488 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1489 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1490 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1491 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1492 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1493 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1494 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1495 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1496 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1497 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1498 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1499 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1500 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1501 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1502 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1503 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1504 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1505 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1506 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1507 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1508 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1509 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1510 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1511 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1512 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1513 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1514 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1515 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1516 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1517 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1518 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1519 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1520 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1521 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1522 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1523 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1524 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1525 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1526 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1527 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1528 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1529 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1530 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1531 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1532 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1533 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1534 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1535 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1536 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1537 (conformtest-cc-flags): Likewise.
1538 ($(conformtest-header-tests): New target.
1539 * conform/check-header-lists.sh: New file.
1540 * conform/run-conformtest.sh: Remove.
1542 * conform/conformtest.pl: Allow ' and \ in values given for
1544 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1546 [POSIX] (sys/types.h): Likewise.
1547 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1549 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1551 * conform/data/signal.h-data (SIGIO): Remove expectation.
1552 [XPG3] (SIGBUS): Do not expect.
1553 [POSIX || XPG3] (SIGPOLL): Likewise.
1554 [POSIX || XPG3] (SIGPROF): Likewise.
1555 [POSIX || XPG3] (SIGSYS): Likewise.
1556 [XPG3] (SIGTRAP): Likewise.
1557 [POSIX || XPG3] (SIGURG): Likewise.
1558 [POSIX || XPG3] (SIGVTALRM): Likewise.
1559 [POSIX || XPG3] (SIGXCPU): Likewise.
1560 [POSIX || XPG3] (SIGXFSZ): Likewise.
1561 [POSIX] (SA_SIGINFO): Expect.
1562 [XPG3] (siginfo_t): Do not expect type or contents.
1563 [POSIX] (si_pid): Do not expect element.
1564 [POSIX] (si_uid): Likewise.
1565 [POSIX] (si_addr): Likewise.
1566 [POSIX] (si_status): Likewise.
1567 [POSIX] (si_band): Likewise.
1568 [XPG4] (si_value): Likewise.
1569 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1570 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1571 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1572 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1573 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1574 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1575 [POSIX || XPG3] (ILL_COPROC): Likewise.
1576 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1577 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1578 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1579 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1580 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1581 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1582 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1583 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1584 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1585 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1586 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1587 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1588 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1589 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1590 [POSIX || XPG3] (CLD_EXITED): Likewise.
1591 [POSIX || XPG3] (CLD_KILLED): Likewise.
1592 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1593 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1594 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1595 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1596 [POSIX || XPG3] (POLL_IN): Likewise.
1597 [POSIX || XPG3] (POLL_OUT): Likewise.
1598 [POSIX || XPG3] (POLL_MSG): Likewise.
1599 [POSIX || XPG3] (POLL_ERR): Likewise.
1600 [POSIX || XPG3] (POLL_PRI): Likewise.
1601 [POSIX || XPG3] (POLL_HUP): Likewise.
1602 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1603 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1604 (SIG*): Do not allow.
1605 [XPG3] (si_*): Likewise.
1606 [XPG3] (SI_*): Likewise.
1607 [XPG3 || XPG4] (sigev_*): Likewise.
1608 [XPG3 || XPG4] (SIGEV_*): Likewise.
1609 [XPG3 || XPG4] (sival_*): Likewise.
1610 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1611 [POSIX || XPG3] (BUS_*): Likewise.
1612 [POSIX || XPG3] (CLD_*): Likewise.
1613 [POSIX || XPG3] (FPE_*): Likewise.
1614 [POSIX || XPG3] (ILL_*): Likewise.
1615 [POSIX || XPG3] (POLL_*): Likewise.
1616 [POSIX || XPG3] (SEGV_*): Likewise.
1617 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1618 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1619 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1620 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1621 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1622 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1623 Specify type and value.
1624 (TVERSLEN): Likewise.
1625 (REGTYPE): Likewise.
1626 (AREGTYPE): Likewise.
1627 (LNKTYPE): Likewise.
1628 (SYMTYPE): Likewise.
1629 (CHRTYPE): Likewise.
1630 (BLKTYPE): Likewise.
1631 (DIRTYPE): Likewise.
1632 (FIFOTYPE): Likewise.
1633 (CONTTYPE): Likewise.
1638 (TUWRITE): Likewise.
1641 (TGWRITE): Likewise.
1644 (TOWRITE): Likewise.
1646 [POSIX] (TSVTX): Expect constant.
1648 2014-03-06 Joseph Myers <joseph@codesourcery.com>
1650 * Makefile (tests): Change dependencies to ....
1651 (tests-special): ... additions to this variable.
1652 (tests): Depend on $(tests-special).
1653 * Makerules (check-abi-list): New variable.
1654 (check-abi): Depend on $(check-abi-list).
1655 [$(subdir) = elf] (tests-special): Add
1656 $(objpfx)check-abi-libc.out.
1657 [$(build-shared) = yes && subdir] (tests-special): Add
1659 [$(build-shared) = yes && subdir] (tests): Do not depend on
1661 * Rules (tests): Depend on $(tests-special).
1662 (xtests): Depend on $(xtests-special).
1663 * catgets/Makefile (tests): Change dependencies to ....
1664 (tests-special): ... additions to this variable.
1665 * conform/Makefile (tests): Change dependencies to ....
1666 (tests-special): ... additions to this variable.
1667 * elf/Makefile (tests): Change dependencies to ....
1668 (tests-special): ... additions to this variable.
1669 * grp/Makefile (tests): Change dependencies to ....
1670 (tests-special): ... additions to this variable.
1671 * iconv/Makefile (xtests): Change dependencies to ....
1672 (xtests-special): ... additions to this variable.
1673 * iconvdata/Makefile (tests): Change dependencies to ....
1674 (tests-special): ... additions to this variable.
1675 * intl/Makefile (tests): Change dependencies to ....
1676 (tests-special): ... additions to this variable. Also add
1677 $(objpfx)tst-gettext.out.
1678 * io/Makefile (tests): Change dependencies to ....
1679 (tests-special): ... additions to this variable.
1680 * libio/Makefile (tests): Change dependencies to ....
1681 (tests-special): ... additions to this variable.
1682 * malloc/Makefile (tests): Change dependencies to ....
1683 (tests-special): ... additions to this variable.
1684 * misc/Makefile (tests): Change dependencies to ....
1685 (tests-special): ... additions to this variable.
1686 * nptl/Makefile (tests): Change dependencies to ....
1687 (tests-special): ... additions to this variable.
1688 * nptl_db/Makefile (tests): Change dependencies to ....
1689 (tests-special): ... additions to this variable.
1690 * posix/Makefile (tests): Change dependencies to ....
1691 (tests-special): ... additions to this variable.
1692 (xtests): Change dependencies to ....
1693 (xtests-special): ... additions to this variable.
1694 * resolv/Makefile (tests): Change dependencies to ....
1695 (tests-special): ... additions to this variable.
1696 (xtests): Change dependencies to ....
1697 (xtests-special): ... additions to this variable.
1698 * stdio-common/Makefile (tests): Change dependencies to ....
1699 (tests-special): ... additions to this variable.
1700 (do-tst-unbputc): Remove target.
1701 (do-tst-printf): Likewise.
1702 * stdlib/Makefile (tests): Change dependencies to ....
1703 (tests-special): ... additions to this variable.
1704 * string/Makefile (tests): Change dependencies to ....
1705 (tests-special): ... additions to this variable.
1706 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1707 (tests-special): ... additions to this variable.
1709 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1711 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1713 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1714 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1716 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1717 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1718 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1719 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1720 * conform/data/libgen.h-data [XPG3]: Likewise.
1721 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1722 * conform/data/ndbm.h-data [XPG3]: Likewise.
1723 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1724 * conform/data/netdb.h-data [XPG3]: Likewise.
1725 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1726 * conform/data/poll.h-data [XPG3]: Likewise.
1727 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1728 * conform/data/strings.h-data [XPG3]: Likewise.
1729 * conform/data/stropts.h-data [XPG3]: Likewise.
1730 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1731 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1732 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1734 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1735 * conform/data/sys/time.h-data [XPG3]: Likewise.
1736 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1737 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1738 * conform/data/sys/un.h-data [XPG3]: Likewise.
1739 * conform/data/syslog.h-data [XPG3]: Likewise.
1740 * conform/data/ucontext.h-data [XPG3]: Likewise.
1741 * conform/data/utmpx.h-data [XPG3]: Likewise.
1742 * conform/data/varargs.h-data [UNIX98]: Enable file.
1744 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1746 * math/libm-test.inc (struct test_f_f_data): Move expected results
1747 into structure for each rounding mode.
1748 (struct test_ff_f_data): Likewise.
1749 (struct test_ff_f_data_nexttoward): Likewise.
1750 (struct test_fi_f_data): Likewise.
1751 (struct test_fl_f_data): Likewise.
1752 (struct test_if_f_data): Likewise.
1753 (struct test_fff_f_data): Likewise.
1754 (struct test_c_f_data): Likewise.
1755 (struct test_f_f1_data): Likewise.
1756 (struct test_fF_f1_data): Likewise.
1757 (struct test_ffI_f1_data): Likewise.
1758 (struct test_c_c_data): Likewise.
1759 (struct test_cc_c_data): Likewise.
1760 (struct test_f_i_data): Likewise.
1761 (struct test_ff_i_data): Likewise.
1762 (struct test_f_l_data): Likewise.
1763 (struct test_f_L_data): Likewise.
1764 (struct test_fFF_11_data): Likewise.
1766 (RM_FE_DOWNWARD): Likewise.
1767 (RM_FE_TONEAREST): Likewise.
1768 (RM_FE_TOWARDZERO): Likewise.
1769 (RM_FE_UPWARD): Likewise.
1770 (RUN_TEST_LOOP_f_f): Update references to expected results.
1771 (RUN_TEST_LOOP_2_f): Likewise.
1772 (RUN_TEST_LOOP_fff_f): Likewise.
1773 (RUN_TEST_LOOP_c_f): Likewise.
1774 (RUN_TEST_LOOP_f_f1): Likewise.
1775 (RUN_TEST_LOOP_fF_f1): Likewise.
1776 (RUN_TEST_LOOP_fI_f1): Likewise.
1777 (RUN_TEST_LOOP_ffI_f1): Likewise.
1778 (RUN_TEST_LOOP_c_c): Likewise.
1779 (RUN_TEST_LOOP_cc_c): Likewise.
1780 (RUN_TEST_LOOP_f_i): Likewise.
1781 (RUN_TEST_LOOP_f_i_tg): Likewise.
1782 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1783 (RUN_TEST_LOOP_f_b): Likewise.
1784 (RUN_TEST_LOOP_f_b_tg): Likewise.
1785 (RUN_TEST_LOOP_f_l): Likewise.
1786 (RUN_TEST_LOOP_f_L): Likewise.
1787 (RUN_TEST_LOOP_fFF_11): Likewise.
1788 * math/gen-libm-test.pl (parse_args): Output four copies of
1789 expected results for each test.
1791 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1792 (__ASSUME_UTIMES): Remove.
1793 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1794 (__ASSUME_UTIMES): Likewise.
1796 * math/gen-auto-libm-tests.c: Update comment on output format.
1797 (output_for_one_input_case): Generate before-rounding and
1798 after-rounding information as conditions on output flags not
1799 floating-point format.
1800 * math/auto-libm-test-out: Regenerated.
1801 * math/gen-libm-test.pl (cond_value): New function.
1802 (or_cond_value): Use cond_value.
1803 (generate_testfile): Handle conditional exceptions.
1805 2014-03-05 Joseph Myers <joseph@codesourcery.com>
1807 * math/libm-test.inc (max_valid_error): New variable.
1808 (init_max_error): Take new argument specifying whether function
1809 results are exactly determined. Set max_valid_error and bound
1810 other variables for errors based on this argument.
1811 (set_max_error): Do not record results above max_valid_error.
1812 (check_float_internal): Only accept errors of up to 0.5ulps if
1813 also at most max_valid_error.
1814 (START): Take new argument EXACT and pass it to init_max_error.
1815 (acos_test): Update call to START.
1816 (acos_test_tonearest): Likewise.
1817 (acos_test_towardzero): Likewise.
1818 (acos_test_downward): Likewise.
1819 (acos_test_upward): Likewise.
1820 (acosh_test): Likewise.
1821 (asin_test): Likewise.
1822 (asin_test_tonearest): Likewise.
1823 (asin_test_towardzero): Likewise.
1824 (asin_test_downward): Likewise.
1825 (asin_test_upward): Likewise.
1826 (asinh_test): Likewise.
1827 (atan_test): Likewise.
1828 (atanh_test): Likewise.
1829 (atan2_test): Likewise.
1830 (cabs_test): Likewise.
1831 (cacos_test): Likewise.
1832 (cacosh_test): Likewise.
1833 (carg_test): Likewise.
1834 (casin_test): Likewise.
1835 (casinh_test): Likewise.
1836 (catan_test): Likewise.
1837 (catanh_test): Likewise.
1838 (cbrt_test): Likewise.
1839 (ccos_test): Likewise.
1840 (ccosh_test): Likewise.
1841 (ceil_test): Likewise.
1842 (cexp_test): Likewise.
1843 (cimag_test): Likewise.
1844 (clog_test): Likewise.
1845 (clog10_test): Likewise.
1846 (conj_test): Likewise.
1847 (copysign_test): Likewise.
1848 (cos_test): Likewise.
1849 (cos_test_tonearest): Likewise.
1850 (cos_test_towardzero): Likewise.
1851 (cos_test_downward): Likewise.
1852 (cos_test_upward): Likewise.
1853 (cosh_test): Likewise.
1854 (cosh_test_tonearest): Likewise.
1855 (cosh_test_towardzero): Likewise.
1856 (cosh_test_downward): Likewise.
1857 (cosh_test_upward): Likewise.
1858 (cpow_test): Likewise.
1859 (cproj_test): Likewise.
1860 (creal_test): Likewise.
1861 (csin_test): Likewise.
1862 (csinh_test): Likewise.
1863 (csqrt_test): Likewise.
1864 (ctan_test): Likewise.
1865 (ctan_test_tonearest): Likewise.
1866 (ctan_test_towardzero): Likewise.
1867 (ctan_test_downward): Likewise.
1868 (ctan_test_upward): Likewise.
1869 (ctanh_test): Likewise.
1870 (ctanh_test_tonearest): Likewise.
1871 (ctanh_test_towardzero): Likewise.
1872 (ctanh_test_downward): Likewise.
1873 (ctanh_test_upward): Likewise.
1874 (erf_test): Likewise.
1875 (erfc_test): Likewise.
1876 (exp_test): Likewise.
1877 (exp_test_tonearest): Likewise.
1878 (exp_test_towardzero): Likewise.
1879 (exp_test_downward): Likewise.
1880 (exp_test_upward): Likewise.
1881 (exp10_test): Likewise.
1882 (exp10_test_tonearest): Likewise.
1883 (exp10_test_towardzero): Likewise.
1884 (exp10_test_downward): Likewise.
1885 (exp10_test_upward): Likewise.
1886 (pow10_test): Likewise.
1887 (exp2_test): Likewise.
1888 (expm1_test): Likewise.
1889 (expm1_test_tonearest): Likewise.
1890 (expm1_test_towardzero): Likewise.
1891 (expm1_test_downward): Likewise.
1892 (expm1_test_upward): Likewise.
1893 (fabs_test): Likewise.
1894 (fdim_test): Likewise.
1895 (floor_test): Likewise.
1896 (fma_test): Likewise.
1897 (fma_test_towardzero): Likewise.
1898 (fma_test_downward): Likewise.
1899 (fma_test_upward): Likewise.
1900 (fmax_test): Likewise.
1901 (fmin_test): Likewise.
1902 (fmod_test): Likewise.
1903 (fpclassify_test): Likewise.
1904 (frexp_test): Likewise.
1905 (hypot_test): Likewise.
1906 (ilogb_test): Likewise.
1907 (isfinite_test): Likewise.
1908 (finite_test): Likewise.
1909 (isgreater_test): Likewise.
1910 (isgreaterequal_test): Likewise.
1911 (isinf_test): Likewise.
1912 (isless_test): Likewise.
1913 (islessequal_test): Likewise.
1914 (islessgreater_test): Likewise.
1915 (isnan_test): Likewise.
1916 (isnormal_test): Likewise.
1917 (issignaling_test): Likewise.
1918 (isunordered_test): Likewise.
1919 (j0_test): Likewise.
1920 (j1_test): Likewise.
1921 (jn_test): Likewise.
1922 (ldexp_test): Likewise.
1923 (lgamma_test): Likewise.
1924 (gamma_test): Likewise.
1925 (lrint_test): Likewise.
1926 (lrint_test_tonearest): Likewise.
1927 (lrint_test_towardzero): Likewise.
1928 (lrint_test_downward): Likewise.
1929 (lrint_test_upward): Likewise.
1930 (llrint_test): Likewise.
1931 (llrint_test_tonearest): Likewise.
1932 (llrint_test_towardzero): Likewise.
1933 (llrint_test_downward): Likewise.
1934 (llrint_test_upward): Likewise.
1935 (log_test): Likewise.
1936 (log10_test): Likewise.
1937 (log1p_test): Likewise.
1938 (log2_test): Likewise.
1939 (logb_test): Likewise.
1940 (logb_test_downward): Likewise.
1941 (lround_test): Likewise.
1942 (llround_test): Likewise.
1943 (modf_test): Likewise.
1944 (nearbyint_test): Likewise.
1945 (nextafter_test): Likewise.
1946 (nexttoward_test): Likewise.
1947 (pow_test): Likewise.
1948 (pow_test_tonearest): Likewise.
1949 (pow_test_towardzero): Likewise.
1950 (pow_test_downward): Likewise.
1951 (pow_test_upward): Likewise.
1952 (remainder_test): Likewise.
1953 (drem_test): Likewise.
1954 (remainder_test_tonearest): Likewise.
1955 (drem_test_tonearest): Likewise.
1956 (remainder_test_towardzero): Likewise.
1957 (drem_test_towardzero): Likewise.
1958 (remainder_test_downward): Likewise.
1959 (drem_test_downward): Likewise.
1960 (remainder_test_upward): Likewise.
1961 (drem_test_upward): Likewise.
1962 (remquo_test): Likewise.
1963 (rint_test): Likewise.
1964 (rint_test_tonearest): Likewise.
1965 (rint_test_towardzero): Likewise.
1966 (rint_test_downward): Likewise.
1967 (rint_test_upward): Likewise.
1968 (round_test): Likewise.
1969 (scalb_test): Likewise.
1970 (scalbn_test): Likewise.
1971 (scalbln_test): Likewise.
1972 (signbit_test): Likewise.
1973 (sin_test): Likewise.
1974 (sin_test_tonearest): Likewise.
1975 (sin_test_towardzero): Likewise.
1976 (sin_test_downward): Likewise.
1977 (sin_test_upward): Likewise.
1978 (sincos_test): Likewise.
1979 (sinh_test): Likewise.
1980 (sinh_test_tonearest): Likewise.
1981 (sinh_test_towardzero): Likewise.
1982 (sinh_test_downward): Likewise.
1983 (sinh_test_upward): Likewise.
1984 (sqrt_test): Likewise.
1985 (sqrt_test_tonearest): Likewise.
1986 (sqrt_test_towardzero): Likewise.
1987 (sqrt_test_downward): Likewise.
1988 (sqrt_test_upward): Likewise.
1989 (tan_test): Likewise.
1990 (tan_test_tonearest): Likewise.
1991 (tan_test_towardzero): Likewise.
1992 (tan_test_downward): Likewise.
1993 (tan_test_upward): Likewise.
1994 (tanh_test): Likewise.
1995 (tgamma_test): Likewise.
1996 (trunc_test): Likewise.
1997 (y0_test): Likewise.
1998 (y1_test): Likewise.
1999 (yn_test): Likewise.
2000 (significand_test): Likewise.
2002 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2003 individual tests in comment.
2004 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2005 (prev_max_error): New variable.
2006 (prev_real_max_error): Likewise.
2007 (prev_imag_max_error): Likewise.
2008 (compare_ulp_data): Don't refer to test names in comment.
2009 (find_test_ulps): Remove function.
2010 (find_function_ulps): Likewise.
2011 (find_complex_function_ulps): Likewise.
2012 (init_max_error): Take function name as argument. Look up ulps
2014 (print_ulps): Remove function.
2015 (print_max_error): Use prev_max_error instead of calling
2017 (print_complex_max_error): Use prev_real_max_error and
2018 prev_imag_max_error instead of calling find_complex_function_ulps.
2019 (check_float_internal): Take max_ulp parameter instead of calling
2020 find_test_ulps. Don't call print_ulps.
2021 (check_float): Update call to check_float_internal.
2022 (check_complex): Update calls to check_float_internal.
2023 (START): Pass argument to init_max_error.
2024 * math/gen-libm-test.pl (%results): Don't include "kind"
2026 (parse_ulps): Don't handle ulps of individual tests.
2027 (print_ulps_file): Likewise.
2028 (output_ulps): Likewise.
2029 * math/README.libm-test: Update.
2030 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2032 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2033 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2034 * sysdeps/arm/libm-test-ulps: Likewise.
2035 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2036 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2037 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2038 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2039 * sysdeps/microblaze/libm-test-ulps: Likewise.
2040 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2041 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2042 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2043 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2044 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2045 * sysdeps/sh/libm-test-ulps: Likewise.
2046 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2047 * sysdeps/tile/libm-test-ulps: Likewise.
2048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2050 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2052 * math/libm-test.inc (print_complex_max_error): Check separately
2053 whether real and imaginary errors are within allowed range and
2054 pass 0 to print_complex_function_ulps instead of value within
2057 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2059 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2061 (get_handles_fopen): Likewise.
2062 (do_write_test): Likewise.
2064 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2066 * libio/fileops.c (do_ftell): Use cached offset when
2068 * libio/iofwide.c (do_ftell_wide): Likewise.
2069 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2071 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2074 * libio/libioP.h (get_file_offset): New function.
2075 * libio/fileops.c (get_file_offset): Likewise.
2076 (do_ftell): Likewise.
2077 (_IO_new_file_seekoff): Split out ftell logic.
2078 * libio/wfileops.c (do_ftell_wide): Likewise.
2079 (_IO_wfile_seekoff): Split out ftell logic.
2080 * libio/tst-ftell-active-handler.c: New test case.
2081 * libio/Makefile (tests): Add it.
2083 2014-03-03 Roland McGrath <roland@hack.frob.com>
2085 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2086 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2088 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2091 * nscd/connections.c (nscd_init): Call do_exit.
2092 (start_threads): Call do_exit and notify_parent.
2093 (begin_drop_privileges): Call do_exit.
2094 (finish_drop_privileges): Likewise.
2095 * nscd/selinux.c (preserve_capabilities): Likewise.
2096 (install_real_capabilities): Likewise.
2097 (nscd_selinux_enabled): Likewise.
2098 (avc_create_thread): Likewise.
2099 (avc_alloc_lock): Likewise.
2100 (nscd_avc_init): Likewise.
2101 * nscd/nscd.c (parent_fd): New static variable.
2102 (main): Create a pipe between parent and child processes.
2103 Skip closing parent_fd.
2104 (monitor_child): New function.
2105 (do_exit): Likewise.
2106 (notify_parent): Likewise.
2107 * nscd/nscd.h (notify_parent): Likewise.
2108 (do_exit): Likewise.
2110 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2112 * malloc/malloc.c (__libc_calloc): Revert last change.
2114 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2118 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2120 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2124 (__libc_ifunc_impl_list): Likewise.
2125 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2126 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2127 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2128 * string/strrchr.c: Define STRRCHR.
2130 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2132 * benchtest/bench-strtok.c (simple_strtok): Delete.
2133 (strtok_string): Use as benchmark.
2134 * string/strtok (STRTOK): New macro.
2136 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2138 * manual/threads.texi: Add header and standard comments to all
2141 * elf/dl-lookup.c (check_match): New function.
2142 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2143 (do_lookup_x): Remove nested function check_match. Use non-nested
2144 function check_match.
2146 2014-02-28 Roland McGrath <roland@hack.frob.com>
2148 * csu/Makefile (generated, before-compile): Use += rather than =.
2149 * catgets/Makefile (generated, generated-dirs): Likewise.
2150 * debug/Makefile (generated): Likewise.
2151 * dlfcn/Makefile (generated): Likewise.
2152 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2153 * iconvdata/Makefile (before-compile, generated): Likewise.
2154 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2155 * libio/Makefile (generated): Likewise.
2156 * malloc/Makefile (generated): Likewise.
2157 * manual/Makefile (generated, generated-dirs): Likewise.
2158 * misc/Makefile (generated): Likewise.
2159 * posix/Makefile (generated): Likewise.
2160 * resolv/Makefile (generated): Likewise.
2161 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2162 * timezone/Makefile (generated, generated-dirs): Likewise.
2164 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2166 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2168 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2171 POWER8 llround ifunc implementation.
2172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2173 POWER8 implementation.
2174 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2175 POWER8 llround implementation.
2177 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2179 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2182 POWER8 llrint ifunc implementation.
2183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2184 POWER8 implementation.
2185 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2186 POWER8 llrint implementation.
2188 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2190 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2193 POWER8 finite ifunc implementation.
2194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2195 POWER8 implementation.
2196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2198 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2199 POWER8 finite implementation.
2200 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2202 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2207 POWER8 isinf ifunc implementation.
2208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2209 POWER8 implementation.
2210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2212 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2213 POWER8 isinf implementation.
2214 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2216 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2218 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2219 Add hwcap2 initialization.
2220 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2223 POWER8 isnan ifunc implementation.
2224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2225 POWER8 implementation.
2226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2228 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2229 POWER8 isnan implementation.
2230 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2232 2014-02-27 Joey Ye <joey.ye@arm.com>
2234 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2235 (_FP_NANFRAC_Q): Set to zero.
2237 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2240 * math/auto-libm-test-in: New test inputs.
2241 * math/auto-libm-test-out: Regenerate.
2242 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2245 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2247 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2249 * scripts/evaluate-test.sh: Take new argument indicating whether
2250 failure is expected.
2251 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2252 indicating whether failure is expected.
2253 * conform/Makefile (test-xfail-run-conformtest): New variable.
2254 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2256 * posix/Makefile (test-xfail-annexc): New variable.
2257 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2259 2014-02-26 Joseph Myers <joseph@codesourcery.com>
2261 * argp/Makefile: Include Makeconfig immediately after defining
2263 * assert/Makefile: Likewise.
2264 * benchtests/Makefile: Likewise.
2265 * catgets/Makefile: Likewise.
2266 * conform/Makefile: Likewise.
2267 * crypt/Makefile: Likewise.
2268 * csu/Makefile: Likewise.
2269 (all): Remove target.
2270 * ctype/Makefile: Include Makeconfig immediately after defining
2272 * debug/Makefile: Likewise.
2273 * dirent/Makefile: Likewise.
2274 * dlfcn/Makefile: Likewise.
2275 * gmon/Makefile: Likewise.
2276 * gnulib/Makefile: Likewise.
2277 * grp/Makefile: Likewise.
2278 * gshadow/Makefile: Likewise.
2279 * hesiod/Makefile: Likewise.
2280 * hurd/Makefile: Likewise.
2281 (all): Remove target.
2282 * iconvdata/Makefile: Include Makeconfig immediately after
2284 * inet/Makefile: Likewise.
2285 * intl/Makefile: Likewise.
2286 * io/Makefile: Likewise.
2287 * libio/Makefile: Likewise.
2288 (all): Remove target.
2289 * locale/Makefile: Include Makeconfig immediately after defining
2291 * login/Makefile: Likewise.
2292 * mach/Makefile: Likewise.
2293 (all): Remove target.
2294 * malloc/Makefile: Include Makeconfig immediately after defining
2296 (all): Remove target.
2297 * manual/Makefile: Include Makeconfig immediately after defining
2299 * math/Makefile: Likewise.
2300 * misc/Makefile: Likewise.
2301 * nis/Makefile: Likewise.
2302 * nss/Makefile: Likewise.
2303 * po/Makefile: Likewise.
2304 (all): Remove target.
2305 * posix/Makefile: Include Makeconfig immediately after defining
2307 * pwd/Makefile: Likewise.
2308 * resolv/Makefile: Likewise.
2309 * resource/Makefile: Likewise.
2310 * rt/Makefile: Likewise.
2311 * setjmp/Makefile: Likewise.
2312 * shadow/Makefile: Likewise.
2313 * signal/Makefile: Likewise.
2314 * socket/Makefile: Likewise.
2315 * soft-fp/Makefile: Likewise.
2316 * stdio-common/Makefile: Likewise.
2317 * stdlib/Makefile: Likewise.
2318 * streams/Makefile: Likewise.
2319 * string/Makefile: Likewise.
2320 * sunrpc/Makefile: Likewise.
2321 (all): Remove target.
2322 * sysvipc/Makefile: Include Makeconfig immediately after defining
2324 * termios/Makefile: Likewise.
2325 * time/Makefile: Likewise.
2326 * timezone/Makefile: Likewise.
2327 (all): Remove target.
2328 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2330 * wctype/Makefile: Likewise.
2332 2014-02-26 Steve Ellcey <sellcey@mips.com>
2334 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2335 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2336 (libc_feholdexcept_setround_mips): Ditto.
2337 (libc_feholdsetround): New.
2338 (libc_feholdsetroundf): New.
2339 (libc_feholdsetroundl): New.
2340 (libc_feupdateenv_test_mips): New.
2341 (libc_feupdateenv_test): New.
2342 (libc_feupdateenv_testf): New.
2343 (libc_feupdateenv_testl): New.
2344 (libc_feresetround): New.
2345 (libc_feresetroundf): New.
2346 (libc_feresetroundl): New.
2347 (libc_fetestexcept_mips): New.
2348 (libc_fetestexcept): New.
2349 (libc_fetestexceptf): New.
2350 (libc_fetestexceptl): New.
2352 (libc_feholdexcept_setround_mips_ctx): New.
2353 (libc_feholdexcept_setround_ctx): New.
2354 (libc_feholdexcept_setroundf_ctx): New.
2355 (libc_feholdexcept_setroundl_ctx): New.
2356 (libc_fesetenv_mips_ctx): New.
2357 (libc_fesetenv_ctx): New.
2358 (libc_fesetenv_ctxf): New.
2359 (libc_fesetenv_ctxl): New.
2360 (libc_feupdateenv_mips_ctx): New.
2361 (libc_feupdateenv_ctx): New.
2362 (libc_feupdateenvf_ctx): New.
2363 (libc_feupdateenvl_ctx): New.
2364 (libc_feholdsetround_mips_ctx): New.
2365 (libc_feholdsetround_ctx): New.
2366 (libc_feholdsetroundf_ctx): New.
2367 (libc_feholdsetroundl_ctx): New.
2368 (libc_feresetround_mips_ctx): New.
2369 (libc_feresetround_ctx): New.
2370 (libc_feresetroundf_ctx): New.
2371 (libc_feresetroundl_ctx): New.
2373 2014-02-26 Carlos O'Donell <carlos@redhat.com>
2375 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2377 * manual/ipc.texi: New file.
2378 * manual/Makefile (chapters): Add ipc.
2379 * manual/job.texi: Add "Inter-Process Communication" to next.
2380 * manual/process.texi: Add "Inter-Process Communication" to prev.
2382 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2386 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
2388 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2390 * manual/arith.texi: Fix spaces after sentences.
2391 * manual/charset.texi: Likewise.
2392 * manual/errno.texi: Likewise.
2393 * manual/install.texi: Likewise.
2394 * manual/llio.texi: Likewise.
2395 * manual/locale.texi: Likewise.
2396 * manual/maint.texi: Likewise.
2397 * manual/math.texi: Likewise.
2398 * manual/memory.texi: Likewise.
2399 * manual/message.texi: Likewise.
2400 * manual/probes.texi: Likewise.
2401 * manual/resource.texi: Likewise.
2402 * manual/signal.texi: Likewise.
2403 * manual/socket.texi: Likewise.
2404 * manual/stdio.texi: Likewise.
2405 * manual/string.texi: Likewise.
2406 * manual/time.texi: Likewise.
2407 * manual/users.texi: Likewise.
2409 2014-02-25 Carlos O'Donell <carlos@redhat.com>
2412 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2413 _DEFAULT_SOURCE is defined.
2415 2014-02-25 Ulrich Drepper <drepper@gmail.com>
2416 Carlos O'Donell <carlos@redhat.com>
2419 * elf/dl-tls.c (_dl_count_modids): New function.
2420 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2421 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2422 audit library and increment generation counter.
2423 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2424 * elf/tst-audit9.c: New file.
2425 * elf/tst-auditmod9a.c: New file.
2426 * elf/tst-auditmod9b.c: New file.
2427 * elf/Makefile: Add rules to build and run tst-audit9.
2429 2014-02-25 Florian Weimer <fweimer@redhat.com>
2432 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2434 2014-02-25 Will Newton <will.newton@linaro.org>
2436 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2437 (__longjmp): Restore sp and lr before restoring callee
2438 saved registers. Add longjmp and longjmp_target
2439 SystemTap probe point.
2440 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2441 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2442 Define to zero to match jmpbuf layout.
2443 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2444 (__sigsetjmp): Save sp and lr before saving callee
2445 saved registers. Add setjmp SystemTap probe point.
2447 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2449 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2451 2014-02-24 Andreas Schwab <schwab@suse.de>
2454 * elf/pldd.c (wait_for_ptrace_stop): New function.
2455 (main): Call it after attaching.
2457 2014-02-22 Roland McGrath <roland@hack.frob.com>
2459 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2460 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2461 Versions files is now verboten.
2462 * hurd/Versions (libc: GLIBC_2.0):
2463 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2464 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2465 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2466 * mach/Versions: Likewise.
2468 * csu/Versions: Remove unused %include.
2469 * resolv/Versions: Likewise.
2471 2014-02-21 Joseph Myers <joseph@codesourcery.com>
2473 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2474 ($(objpfx)check-local-headers.out): Likewise.
2475 ($(objpfx)begin-end-check.out): Likewise.
2476 * Makerules (check-abi-%.out): Likewise.
2477 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2478 ($(objpfx)test2.cat): Likewise.
2479 ($(objpfx)de/libc.cat): Likewise.
2480 ($(objpfx)test-gencat.out): Likewise.
2481 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2482 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2483 ($(objpfx)noload-mem): Likewise.
2484 ($(objpfx)tst-pathopt.out): Likewise.
2485 ($(objpfx)tst-rtld-load-self.out): Likewise.
2486 ($(objpfx)tst-array1-cmp.out): Likewise.
2487 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2488 ($(objpfx)tst-array2-cmp.out): Likewise.
2489 ($(objpfx)tst-array3-cmp.out): Likewise.
2490 ($(objpfx)tst-array4-cmp.out): Likewise.
2491 ($(objpfx)tst-array5-cmp.out): Likewise.
2492 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2493 ($(objpfx)check-textrel.out): Likewise.
2494 ($(objpfx)check-execstack.out): Likewise.
2495 ($(objpfx)check-localplt.out): Likewise.
2496 ($(objpfx)order2-cmp.out): Likewise.
2497 ($(objpfx)tst-leaks1-mem): Likewise.
2498 ($(objpfx)tst-leaks1-static-mem): Likewise.
2499 ($(objpfx)tst-initorder-cmp.out): Likewise.
2500 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2501 ($(objpfx)tst-unused-dep.out): Likewise.
2502 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2503 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2504 * iconv/Makefile (test-iconvconfig): Likewise.
2505 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2506 ($(objpfx)iconv-test.out): Likewise.
2507 ($(objpfx)tst-tables.out): Likewise.
2508 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2509 ($(objpfx)tst-gettext.out): Likewise.
2510 ($(objpfx)tst-translit.out): Likewise.
2511 ($(objpfx)tst-gettext2.out): Likewise.
2512 ($(objpfx)tst-gettext4.out): Likewise.
2513 ($(objpfx)tst-gettext6.out): Likewise.
2514 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2515 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2516 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2517 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2518 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2519 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2520 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2521 ($(objpfx)wordexp-tst.out): Likewise.
2522 ($(objpfx)annexc.out): Likewise.
2523 ($(objpfx)tst-fnmatch-mem): Likewise.
2524 ($(objpfx)bug-regex2-mem): Likewise.
2525 ($(objpfx)bug-regex14-mem): Likewise.
2526 ($(objpfx)bug-regex21-mem): Likewise.
2527 ($(objpfx)bug-regex31-mem): Likewise.
2528 ($(objpfx)tst-vfork3-mem): Likewise.
2529 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2530 ($(objpfx)tst-pcre-mem): Likewise.
2531 ($(objpfx)tst-boost-mem): Likewise.
2532 ($(objpfx)tst-getconf.out): Likewise.
2533 ($(objpfx)bug-ga2-mem): Likewise.
2534 ($(objpfx)bug-glob2-mem): Likewise.
2535 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2536 ($(objpfx)mtrace-tst-leaks2): Likewise.
2537 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2538 ($(objpfx)tst-printf.out): Likewise.
2539 ($(objpfx)tst-setvbuf1.out): Likewise.
2540 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2541 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2542 ($(objpfx)tst-fmtmsg.out): Likewise.
2543 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2544 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2546 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2547 * bits/sigaction.h [__USE_MISC]: Likewise.
2548 * bits/waitstatus.h: Update #endif comments.
2549 * ctype/ctype.h: Likewise.
2550 * dirent/dirent.h: Likewise.
2551 [__USE_MISC]: Remove redundant conditionals.
2552 * grp/grp.h: Update #endif comments.
2553 [__USE_GNU]: Remove redundant conditionals.
2554 [__USE_MISC]: Likewise.
2555 * inet/netinet/in.h [__USE_GNU]: Likewise.
2556 * io/sys/stat.h [__USE_MISC]: Likewise.
2557 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2558 * libio/bits/stdio.h: Update #endif comments.
2559 [__USE_MISC]: Remove redundant conditionals.
2560 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2561 * libio/stdio.h: Update #endif comments.
2562 [__USE_MISC]: Remove redundant conditionals.
2563 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2564 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2565 * math/math.h: Update #else and #endif comments.
2566 [__USE_MISC]: Remove redundant conditionals.
2567 * misc/sys/uio.h: Update #endif comments.
2568 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2569 * posix/glob.h [__USE_MISC]: Likewise.
2570 * posix/sys/types.h: Update #endif comments.
2571 [__USE_MISC]: Remove redundant conditionals.
2572 * posix/sys/wait.h: Update #endif comments.
2573 [__USE_MISC]: Remove redundant conditionals.
2574 * posix/unistd.h: Update #endif comments.
2575 [__USE_MISC]: Remove redundant conditionals.
2576 * pwd/pwd.h [__USE_GNU]: Likewise.
2577 [__USE_MISC]: Likewise.
2578 * resolv/netdb.h [__USE_GNU]: Likewise.
2579 * signal/signal.h: Update #endif comments.
2580 [__USE_MISC]: Remove redundant conditionals.
2581 * stdlib/stdlib.h: Update #else and #endif comments.
2582 [__USE_MISC]: Remove redundant conditionals.
2583 [__USE_GNU]: Likewise.
2584 * string/bits/string2.h [__USE_MISC]: Likewise.
2585 * string/string.h: Update #endif comments.
2586 [__USE_MISC]: Remove redundant conditionals.
2587 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2589 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2590 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2591 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2593 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2595 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2597 [__USE_MISC]: Remove redundant conditionals.
2598 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2599 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2600 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2601 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2602 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2604 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2605 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2607 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2608 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2610 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2612 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2613 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2615 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2617 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2618 * sysdeps/x86/bits/string.h: Update #endif comments.
2619 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2621 * time/sys/time.h: Update #endif comments.
2622 * time/time.h: Likewise.
2623 [__USE_MISC]: Remove redundant conditionals.
2625 2014-02-21 Yury Gribov <y.gribov@samsung.com>
2628 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2630 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2632 * Versions.def (librt): Add GLIBC_2.17.
2634 2014-02-21 Adam Conrad <adconrad@0c3.net>
2636 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2637 synonym for _SYS_AUXV_H to allow direct inclusion.
2638 * sysdeps/sparc/bits/hwcap.h: Likewise.
2639 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2640 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2641 * sysdeps/sparc/sysdep.h: Likewise.
2643 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2645 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2647 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2649 * benchtests/bench-strrchr.c: Print length instead of position.
2651 2014-02-20 Joseph Myers <joseph@codesourcery.com>
2654 * sysdeps/unix/sysv/linux/kernel-features.h
2655 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2656 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2657 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2658 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2660 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2661 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2662 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2663 (__ASSUME_SENDMMSG): Define instead of using previous
2664 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2665 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2666 (__ASSUME_SENDMMSG_SYSCALL): Define.
2667 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2668 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2670 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2671 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2673 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2674 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2676 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2677 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2678 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2679 [__ASSUME_SENDMMSG]: Change conditionals to
2680 [__ASSUME_SENDMMSG_SOCKETCALL].
2681 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2682 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2684 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2685 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2687 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2688 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2689 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2690 [!__ASSUME_SENDMMSG]: Change conditional to
2691 [!__ASSUME_SENDMMSG_SOCKETCALL].
2692 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2693 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2697 * sysdeps/unix/sysv/linux/kernel-features.h
2698 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2699 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2700 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2701 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2702 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2703 [__i386__ || __sparc__]
2704 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2705 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2706 (__ASSUME_RECVMMSG): Define instead of using previous
2707 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2708 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2709 (__ASSUME_RECVMMSG_SYSCALL): Define.
2710 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2711 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2713 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2714 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2716 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2717 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2719 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2720 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2721 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2722 [__ASSUME_RECVMMSG]: Change condition to
2723 [__ASSUME_RECVMMSG_SOCKETCALL].
2724 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2725 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2727 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2728 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2729 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2731 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2732 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2733 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2734 [!__ASSUME_RECVMMSG]: Change condition to
2735 [!__ASSUME_RECVMMSG_SOCKETCALL].
2736 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2737 (__ASSUME_RECVMMSG_SYSCALL): Define.
2740 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2741 __powerpc__ || __s390__ || __sh__ || __sparc__]
2742 (__ASSUME_SOCKETCALL): Define.
2743 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2744 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2745 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2746 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2747 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2748 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2749 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2750 (__ASSUME_ACCEPT4): Define instead of using previous
2751 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2752 __powerpc__ || __sparc__ || __s390__)] condition.
2753 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2754 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2755 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2756 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2757 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2758 [!__ASSUME_ACCEPT4]: Change condition to
2759 [!__ASSUME_ACCEPT4_SOCKETCALL].
2760 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2761 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2762 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2763 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2764 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2765 __ASSUME_ACCEPT4_SYSCALL.
2766 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2767 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2768 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2769 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2770 __ASSUME_ACCEPT4_SYSCALL.
2771 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2772 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2773 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2774 [__ASSUME_ACCEPT4]: Change condition to
2775 [__ASSUME_ACCEPT4_SOCKETCALL].
2776 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2777 (__ASSUME_SOCKETCALL): Define.
2778 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2779 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2780 (__ASSUME_SOCKETCALL): Define.
2781 (__ASSUME_ACCEPT4): Remove.
2782 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2784 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2785 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2787 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2788 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2790 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2792 (HWCAP_ARM_LPAE): Likewise.
2793 (HWCAP_ARM_EVTSTRM): Likewise.
2794 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2795 Add vpfd32, lpae and evtstrm.
2796 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2799 2014-02-19 Joseph Myers <joseph@codesourcery.com>
2801 * math/auto-libm-test-in: Add tests of clog10.
2802 * math/auto-libm-test-out: Regenerated.
2803 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2804 * sysdeps/i386/fpu/libm-test-ulps: Update.
2805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2807 2014-02-18 Andreas Schwab <schwab@suse.de>
2810 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2811 Store non-zero if the second buffer was newly allocated.
2812 (send_dg): Likewise.
2813 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2814 to send_vc and send_dg.
2815 (res_nsend): Pass NULL for ansp2_malloced.
2816 * resolv/res_query.c (__libc_res_nquery): Add parameter
2817 answerp2_malloced and pass it down to __libc_res_nsend.
2818 (res_nquery): Pass additional NULL to __libc_res_nquery.
2819 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2820 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2821 second answer buffer if answerp2_malloced was set.
2822 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2823 (__libc_res_nquerydomain): Add parameter
2824 answerp2_malloced and pass it down to __libc_res_nquery.
2825 (res_nquerydomain): Pass additional NULL to
2826 __libc_res_nquerydomain.
2827 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2828 additional NULL to __libc_res_nsend and __libc_res_nquery.
2829 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2830 additional NULL to __libc_res_nsearch.
2831 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2832 parameter of __libc_res_nsearch to check for separately allocated
2834 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2836 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2837 additional NULL to __libc_res_nquery.
2838 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2840 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2841 * include/resolv.h: Update prototypes of __libc_res_nquery,
2842 __libc_res_nsearch, __libc_res_nsend.
2844 2014-02-18 Joseph Myers <joseph@codesourcery.com>
2846 * math/auto-libm-test-in: Add tests of fma.
2847 * math/auto-libm-test-out: Regenerated.
2848 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2849 (fma_towardzero_test_data): Likewise.
2850 (fma_downward_test_data): Likewise.
2851 (fma_upward_test_data): Likewise.
2852 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2854 (rounding_modes): Add values for new field.
2855 (func_calc_method): Add value mpfr_fff_f.
2856 (func_calc_desc): Add mpfr_fff_f union field.
2857 (test_function): Add field exact_args.
2858 (FUNC): Add macro argument EXACT_ARGS.
2859 (FUNC_mpfr_f_f): Update call to FUNC.
2860 (FUNC_mpfr_f_f): Likewise.
2861 (FUNC_mpfr_ff_f): Likewise.
2862 (FUNC_mpfr_if_f): Likewise.
2863 (FUNC_mpc_c_f): Likewise.
2864 (FUNC_mpc_c_c): Likewise.
2865 (test_functions): Add fma. Update calls to FUNC.
2866 (handle_input_arg): Add argument exact_args.
2867 (add_test): Update call to handle_input_arg.
2868 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2869 (output_for_one_input_case): Update call to calc_generic_results.
2870 Recalculate exact zero results in each rounding mode.
2872 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2873 non-negative before setting low bit.
2874 * math/auto-libm-test-in: Mark one asin test possibly having
2876 * math/auto-libm-test-out: Regenerated.
2877 * sysdeps/i386/fpu/libm-test-ulps: Update.
2878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2880 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2882 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2883 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2884 ports/sysdeps/unix/sysv/linux/microblaze.
2885 * README: Add missing listing for microblaze*-*-linux-gnu.
2887 2014-02-16 Mike Frysinger <vapier@gentoo.org>
2889 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2890 * sysdeps/unix/sysv/linux/ia64: Move directory from
2891 ports/sysdeps/unix/sysv/linux/ia64.
2892 * README: Update listing for ia64-*-linux-gnu.
2894 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2895 Joseph Myers <joseph@codesourcery.com>
2897 * Makeconfig (test-name): New variable.
2898 (evaluate-test): Likewise.
2899 * Makerules (do-test-clean): Remove .test-result files.
2900 (common-mostlyclean): Likewise.
2901 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2902 * scripts/evaluate-test.sh: New file.
2904 2014-02-14 Joseph Myers <joseph@codesourcery.com>
2906 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2907 separate $(objpfx)tst-fopenloc-cmp.out and
2908 $(objpfx)tst-fopenloc-mem.out targets.
2909 (tests): Update dependencies.
2910 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2911 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2912 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2913 (tst-rxspencer-no-utf8-ARGS): New variable.
2914 (tst-rxspencer-no-utf8-ENV): Likewise.
2915 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2916 instead of $(objpfx)tst-rxspencer-mem.
2917 ($(objpfx)tst-rxspencer-mem): Change target to
2918 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2919 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2920 * posix/tst-rxspencer-no-utf8.c: New file.
2922 * elf/Makefile ($(objpfx)order.out): Remove rule.
2923 [$(run-built-tests) = yes] (tests): Depend on
2924 $(objpfx)order-cmp.out.
2925 ($(objpfx)order-cmp.out): New rule.
2926 [$(run-built-tests) = yes] (tests): Depend on
2927 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2928 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2929 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2930 $(objpfx)tst-array5-static-cmp.out.
2931 ($(objpfx)tst-array1.out): Remove rule.
2932 ($(objpfx)tst-array1-cmp.out): New rule.
2933 ($(objpfx)tst-array1-static.out): Remove rule.
2934 ($(objpfx)tst-array1-static-cmp.out): New rule.
2935 ($(objpfx)tst-array2.out): Remove rule.
2936 ($(objpfx)tst-array2-cmp.out): New rule.
2937 ($(objpfx)tst-array3.out): Remove rule.
2938 ($(objpfx)tst-array3-cmp.out): New rule.
2939 ($(objpfx)tst-array4.out): Remove rule.
2940 ($(objpfx)tst-array4-cmp.out): New rule.
2941 ($(objpfx)tst-array5.out): Remove rule.
2942 ($(objpfx)tst-array5-cmp.out): New rule.
2943 ($(objpfx)tst-array5-static.out): Remove rule.
2944 ($(objpfx)tst-array5-static-cmp.out): New rule.
2945 [$(run-built-tests) = yes] (tests): Depend on
2946 $(objpfx)order2-cmp.out.
2947 ($(objpfx)order2.out): Remove rule.
2948 ($(objpfx)order2-cmp.out): New rule.
2949 ($(objpfx)tst-initorder.out): Remove rule.
2950 [$(run-built-tests) = yes] (tests): Depend on
2951 $(objpfx)tst-initorder-cmp.out.
2952 ($(objpfx)tst-initorder-cmp.out): New rule.
2953 ($(objpfx)tst-initorder2.out): Remove rule.
2954 [$(run-built-tests) = yes] (tests): Depend on
2955 $(objpfx)tst-initorder2-cmp.out.
2956 ($(objpfx)tst-initorder2-cmp.out): New rule.
2957 [$(run-built-tests) = yes] (tests): Depend on
2958 $(objpfx)tst-unused-dep-cmp.out.
2959 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2960 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2961 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2962 on $(objpfx)tst-setvbuf1-cmp.out.
2963 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2964 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2965 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2966 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2967 ($(objpfx)tst-svc.out): Remove rule.
2968 ($(objpfx)tst-svc-cmp.out): New rule.
2970 2014-02-13 Joseph Myers <joseph@codesourcery.com>
2972 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2973 * ctype/ctype.h [__USE_MISC]: Likewise.
2974 * dirent/dirent.h [__USE_MISC]: Likewise.
2975 * grp/grp.h [__USE_MISC]: Likewise.
2976 * io/fcntl.h [__USE_MISC]: Likewise.
2977 * io/sys/stat.h [__USE_MISC]: Likewise.
2978 * libio/stdio.h [__USE_MISC]: Likewise.
2979 * posix/unistd.h [__USE_MISC]: Likewise.
2980 * pwd/pwd.h [__USE_MISC]: Likewise.
2981 * stdlib.h [__USE_MISC]: Likewise.
2982 * string/bits/string2.h [__USE_MISC]: Likewise.
2983 * string/string.h [__USE_MISC]: Likewise.
2984 * time/time.h [__USE_MISC]: Likewise.
2986 2014-02-13 Andreas Schwab <schwab@suse.de>
2989 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2990 second answer buffer if it was separately allocated.
2992 2014-02-12 Joseph Myers <joseph@codesourcery.com>
2994 * sysdeps/mips/math-tests.h: Include <features.h>.
2995 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2996 (ROUNDING_TESTS_long_double): Do not define.
2997 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2998 (EXCEPTION_TESTS_long_double): Likewise.
2999 * sysdeps/mips/mips64/libm-test-ulps: Update.
3001 * include/features.h (__USE_BSD): Remove macro definitions.
3002 (__USE_SVID): Likewise.
3003 (_BSD_SOURCE): Likewise.
3004 (_SVID_SOURCE): Likewise.
3005 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3006 from definition of _DEFAULT_SOURCE.
3007 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3009 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3010 * bits/mman.h [__USE_BSD]: Likewise.
3011 * bits/termios.h [__USE_BSD]: Likewise.
3012 * bits/waitstatus.h [__USE_BSD]: Likewise.
3013 * ctype/ctype.h [__USE_SVID]: Likewise.
3014 * dirent/dirent.h [__USE_BSD]: Likewise.
3015 * grp/grp.h [__USE_SVID]: Likewise.
3016 [__USE_BSD]: Likewise.
3017 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3018 * io/fcntl.h [__USE_BSD]: Likewise.
3019 * io/ftw.h [__USE_BSD]: Likewise.
3020 * io/sys/stat.h [__USE_BSD]: Likewise.
3021 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3022 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3023 * libio/stdio.h [__USE_SVID]: Likewise.
3024 [__USE_BSD]: Likewise.
3025 * math/math.h [__USE_SVID]: Likewise.
3026 [__USE_BSD]: Likewise.
3027 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3028 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3029 * misc/search.h [__USE_SVID]: Likewise.
3030 * misc/sys/mman.h [__USE_BSD]: Likewise.
3031 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3032 * misc/sys/uio.h [__USE_BSD]: Likewise.
3033 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3034 * posix/glob.h [__USE_BSD]: Likewise.
3035 * posix/regex.h [__USE_BSD]: Likewise.
3036 * posix/sys/types.h [__USE_BSD]: Likewise.
3037 [__USE_SVID]: Likewise.
3038 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3039 * posix/sys/wait.h [__USE_BSD]: Likewise.
3040 [__USE_SVID]: Likewise.
3041 * posix/unistd.h [__USE_BSD]: Likewise.
3042 [__USE_SVID]: Likewise.
3043 * pwd/pwd.h [__USE_SVID]: Likewise.
3044 * resolv/netdb.h [__USE_BSD]: Likewise.
3045 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3046 * signal/signal.h [__USE_BSD]: Likewise.
3047 [__USE_SVID]: Likewise.
3048 * socket/sys/socket.h [__USE_BSD]: Likewise.
3049 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3050 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3051 [__USE_SVID]: Likewise.
3052 * string/bits/string2.h [__USE_BSD]: Likewise.
3053 [__USE_SVID]: Likewise.
3054 * string/bits/string3.h [__USE_BSD]: Likewise.
3055 * string/endian.h [__USE_BSD]: Likewise.
3056 * string/string.h [__USE_SVID]: Likewise.
3057 [__USE_BSD]: Likewise.
3058 * string/strings.h [__USE_BSD]: Likewise.
3059 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3060 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3061 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3062 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3063 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3064 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3066 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3068 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3069 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3071 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3072 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3074 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3076 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3077 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3078 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3080 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3082 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3083 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3084 * termios/termios.h [__USE_BSD]: Likewise.
3085 * time/sys/time.h [__USE_BSD]: Likewise.
3086 * time/time.h [__USE_BSD]: Likewise.
3087 [__USE_SVID]: Likewise.
3089 * Makefile (subdir_targets): Remove subdir_lint.out.
3091 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3092 (do-tst-printf): Likewise.
3093 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3094 $(objpfx)tst-printf.out.
3096 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3098 * Makerules (check-abi-%): Change target to
3099 $(objpfx)check-abi-%.out.
3100 (check-abi target): Update dependencies.
3101 (check-abi-pattern variable): Redirect output of diff to $@.
3102 (check-abi variable): Likewise.
3103 * elf/Makefile (check-abi): Update dependencies.
3105 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3107 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3108 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3110 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3111 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3112 value has largest subnormal exponent.
3113 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3114 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3115 * sysdeps/aarch64/soft-fp/sfp-machine.h
3116 (_FP_TININESS_AFTER_ROUNDING): New macro.
3117 * sysdeps/alpha/soft-fp/sfp-machine.h
3118 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3119 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3121 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3122 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3123 * sysdeps/mips/soft-fp/sfp-machine.h
3124 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3125 * sysdeps/powerpc/soft-fp/sfp-machine.h
3126 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3127 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3129 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3130 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3131 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3132 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3133 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3136 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3139 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3142 2014-02-12 Richard Henderson <rth@redhat.com>
3144 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3145 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3146 * sysdeps/unix/sysv/linux/alpha: Move directory from
3147 ports/sysdeps/unix/sysv/linux/alpha.
3148 * README: Update listing for alpha-*-linux-gnu.
3150 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3152 * include/features.h: Update comment documenting feature test
3154 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3156 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3157 (_SVID_SOURCE): Likewise.
3158 (_DEFAULT_SOURCE): Update description of default features.
3159 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3161 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3162 (S_ISVTX): Likewise.
3163 * manual/math.texi (Mathematical Constants): Likewise.
3164 * manual/signal.texi (Interrupted Primitives): Likewise.
3165 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3166 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3167 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3168 Don't refer to _SVID_SOURCE in warning text.
3170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3172 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3174 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3175 * sysdeps/mips/dl-lookup.c: Remove.
3176 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3178 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3181 * math/auto-libm-test-in: Add testcase for expl.
3182 * math/auto-libm-test-out: Regenerate.
3183 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3184 calculation of unsafe.
3185 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3187 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3189 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3190 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3191 ports/sysdeps/unix/sysv/linux/aarch64.
3192 * README: Update listing for aarch64*-*-linux-gnu.
3194 2014-02-11 Will Newton <will.newton@linaro.org>
3196 * manual/probes.texi (Mathematical Function Probes): Use
3197 "triggered" instead of "hit".
3199 2014-02-11 Will Newton <will.newton@linaro.org>
3201 * manual/probes.texi (Internal Probes): Add documentation
3202 of setjmp, longjmp and longjmp_target probes.
3204 2014-02-11 Will Newton <will.newton@linaro.org>
3206 * include/stap-probe.h: Add comment about probe argument
3209 2014-02-11 Will Newton <will.newton@linaro.org>
3211 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3212 definition. (tr_where, tr_freehook, tr_mallochook,
3213 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3215 2014-02-11 David S. Miller <davem@davemloft.net>
3217 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3218 processing int_tests.
3220 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3222 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3223 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3224 * sysdeps/unix/sysv/linux/mips: Move directory from
3225 ports/sysdeps/unix/sysv/linux/mips.
3226 * README: Update listing for mips-*-linux-gnu and
3229 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3231 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3232 * sysdeps/unix/sysv/linux/m68k: Move directory from
3233 ports/sysdeps/unix/sysv/linux/m68k.
3234 * README: Update listing for m68k-*-linux-gnu.
3236 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3238 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3239 * sysdeps/unix/sysv/linux/generic: Move directory from
3240 ports/sysdeps/unix/sysv/linux/generic.
3241 * sysdeps/unix/sysv/linux/tile: Move directory from
3242 ports/sysdeps/unix/sysv/linux/tile.
3243 * README: Update listing for tile*-*-linux-gnu.
3245 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3247 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3248 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3249 * catgets/open_catalog.c (__open_catalog): Likewise.
3250 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3251 * debug/confstr_chk.c: Likewise.
3252 * debug/fread_chk.c (__fread_chk): Likewise.
3253 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3254 * debug/getgroups_chk.c: Likewise.
3255 * debug/mbsnrtowcs_chk.c: Likewise.
3256 * debug/mbsrtowcs_chk.c: Likewise.
3257 * debug/mbstowcs_chk.c: Likewise.
3258 * debug/memcpy_chk.c: Likewise.
3259 * debug/memmove_chk.c: Likewise.
3260 * debug/mempcpy_chk.c: Likewise.
3261 * debug/memset_chk.c: Likewise.
3262 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3263 * debug/strcat_chk.c (__strcat_chk): Likewise.
3264 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3265 * debug/strncat_chk.c (__strncat_chk): Likewise.
3266 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3267 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3268 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3269 * debug/wcpncpy_chk.c: Likewise.
3270 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3271 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3272 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3273 * debug/wcsncpy_chk.c: Likewise.
3274 * debug/wcsnrtombs_chk.c: Likewise.
3275 * debug/wcsrtombs_chk.c: Likewise.
3276 * debug/wcstombs_chk.c: Likewise.
3277 * debug/wmemcpy_chk.c: Likewise.
3278 * debug/wmemmove_chk.c: Likewise.
3279 * debug/wmempcpy_chk.c: Likewise.
3280 * debug/wmemset_chk.c: Likewise.
3281 * dirent/scandirat.c (SCANDIRAT): Likewise.
3282 * dlfcn/dladdr1.c (dladdr1): Likewise.
3283 * dlfcn/dladdr.c (dladdr): Likewise.
3284 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3285 * dlfcn/dlerror.c (__dlerror): Likewise.
3286 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3287 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3288 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3289 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3290 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3291 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3292 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3293 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3295 * elf/dl-conflict.c: Likewise.
3296 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3297 * elf/dl-dst.h: Likewise.
3298 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3299 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3300 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3301 * elf/dl-init.c (call_init, _dl_init): Likewise.
3302 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3303 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3304 _dl_map_object_from_fd, open_verify, open_path,
3305 _dl_map_object): Likewise.
3306 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3308 * elf/dl-minimal.c (__libc_memalign): Likewise.
3309 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3310 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3311 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3312 * elf/dl-sym.c (do_sym): Likewise.
3313 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3314 _dl_tls_get_addr_soft): Likewise.
3315 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3316 * elf/dl-writev.h (_dl_writev): Likewise.
3317 * elf/ldconfig.c (search_dir): Likewise.
3318 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3320 * elf/setup-vdso.h (setup_vdso): Likewise.
3321 * grp/compat-initgroups.c (compat_call): Likewise.
3322 * grp/fgetgrent.c (fgetgrent): Likewise.
3323 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3324 * grp/putgrent.c (putgrent): Likewise.
3325 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3327 * hurd/hurdinit.c: Likewise.
3328 * iconvdata/8bit-gap.c (struct): Likewise.
3329 * iconvdata/ansi_x3.110.c : Likewise.
3330 * iconvdata/big5.c : Likewise.
3331 * iconvdata/big5hkscs.c : Likewise.
3332 * iconvdata/cp1255.c: Likewise.
3333 * iconvdata/cp1258.c : Likewise.
3334 * iconvdata/cp932.c : Likewise.
3335 * iconvdata/euc-cn.c: Likewise.
3336 * iconvdata/euc-jisx0213.c : Likewise.
3337 * iconvdata/euc-jp.c: Likewise.
3338 * iconvdata/euc-jp-ms.c : Likewise.
3339 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3340 * iconvdata/gb18030.c : Likewise.
3341 * iconvdata/gbbig5.c (const): Likewise.
3342 * iconvdata/gbgbk.c: Likewise.
3343 * iconvdata/gbk.c : Likewise.
3344 * iconvdata/ibm1364.c : Likewise.
3345 * iconvdata/ibm930.c : Likewise.
3346 * iconvdata/ibm932.c: Likewise.
3347 * iconvdata/ibm933.c : Likewise.
3348 * iconvdata/ibm935.c : Likewise.
3349 * iconvdata/ibm937.c : Likewise.
3350 * iconvdata/ibm939.c : Likewise.
3351 * iconvdata/ibm943.c: Likewise.
3352 * iconvdata/iso_11548-1.c: Likewise.
3353 * iconvdata/iso-2022-cn.c : Likewise.
3354 * iconvdata/iso-2022-cn-ext.c : Likewise.
3355 * iconvdata/iso-2022-jp-3.c: Likewise.
3356 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3357 * iconvdata/iso-2022-kr.c : Likewise.
3358 * iconvdata/iso646.c (gconv_end): Likewise.
3359 * iconvdata/iso_6937-2.c : Likewise.
3360 * iconvdata/iso_6937.c : Likewise.
3361 * iconvdata/iso8859-1.c: Likewise.
3362 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3363 * iconvdata/shift_jisx0213.c : Likewise.
3364 * iconvdata/sjis.c : Likewise.
3365 * iconvdata/t.61.c : Likewise.
3366 * iconvdata/tcvn5712-1.c : Likewise.
3367 * iconvdata/tscii.c: Likewise.
3368 * iconvdata/uhc.c : Likewise.
3369 * iconvdata/unicode.c (gconv_end): Likewise.
3370 * iconvdata/utf-16.c (gconv_end): Likewise.
3371 * iconvdata/utf-32.c (gconv_end): Likewise.
3372 * iconvdata/utf-7.c (base64): Likewise.
3373 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3374 * iconv/gconv_close.c (__gconv_close): Likewise.
3375 * iconv/gconv_open.c (__gconv_open): Likewise.
3376 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3377 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3378 internal_ucs4le_loop_single, ucs4le_internal_loop,
3379 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3380 * iconv/iconv.c (iconv): Likewise.
3381 * iconv/iconv_close.c: Likewise.
3382 * iconv/loop.c (SINGLE): Likewise.
3383 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3384 * include/atomic.h: Likewise.
3385 * inet/inet6_option.c (option_alloc): Likewise.
3386 * intl/bindtextdom.c (set_binding_values): Likewise.
3387 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3388 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3389 * intl/localealias.c (read_alias_file): Likewise.
3390 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3391 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3392 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3393 * libio/fmemopen.c (fmemopen): Likewise.
3394 * libio/iofgets.c (_IO_fgets): Likewise.
3395 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3396 * libio/iofgetws.c (fgetws): Likewise.
3397 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3398 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3399 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3400 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3401 * locale/findlocale.c (_nl_find_locale): Likewise.
3402 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3403 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3405 * locale/setlocale.c (setlocale): Likewise.
3406 * login/programs/pt_chown.c (main): Likewise.
3407 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3408 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3409 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3410 mmap, mmap64, mremap, munmap): Likewise.
3411 * math/e_exp2l.c: Likewise.
3412 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3413 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3414 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3415 * math/s_catan.c (__catan): Likewise.
3416 * math/s_catanf.c (__catanf): Likewise.
3417 * math/s_catanh.c (__catanh): Likewise.
3418 * math/s_catanhf.c (__catanhf): Likewise.
3419 * math/s_catanhl.c (__catanhl): Likewise.
3420 * math/s_catanl.c (__catanl): Likewise.
3421 * math/s_ccosh.c (__ccosh): Likewise.
3422 * math/s_ccoshf.c (__ccoshf): Likewise.
3423 * math/s_ccoshl.c (__ccoshl): Likewise.
3424 * math/s_cexp.c (__cexp): Likewise.
3425 * math/s_cexpf.c (__cexpf): Likewise.
3426 * math/s_cexpl.c (__cexpl): Likewise.
3427 * math/s_clog10.c (__clog10): Likewise.
3428 * math/s_clog10f.c (__clog10f): Likewise.
3429 * math/s_clog10l.c (__clog10l): Likewise.
3430 * math/s_clog.c (__clog): Likewise.
3431 * math/s_clogf.c (__clogf): Likewise.
3432 * math/s_clogl.c (__clogl): Likewise.
3433 * math/s_csin.c (__csin): Likewise.
3434 * math/s_csinf.c (__csinf): Likewise.
3435 * math/s_csinh.c (__csinh): Likewise.
3436 * math/s_csinhf.c (__csinhf): Likewise.
3437 * math/s_csinhl.c (__csinhl): Likewise.
3438 * math/s_csinl.c (__csinl): Likewise.
3439 * math/s_csqrt.c (__csqrt): Likewise.
3440 * math/s_csqrtf.c (__csqrtf): Likewise.
3441 * math/s_csqrtl.c (__csqrtl): Likewise.
3442 * math/s_ctan.c (__ctan): Likewise.
3443 * math/s_ctanf.c (__ctanf): Likewise.
3444 * math/s_ctanh.c (__ctanh): Likewise.
3445 * math/s_ctanhf.c (__ctanhf): Likewise.
3446 * math/s_ctanhl.c (__ctanhl): Likewise.
3447 * math/s_ctanl.c (__ctanl): Likewise.
3448 * math/w_pow.c: Likewise.
3449 * math/w_powf.c: Likewise.
3450 * math/w_powl.c: Likewise.
3451 * math/w_scalb.c (sysv_scalb): Likewise.
3452 * math/w_scalbf.c (sysv_scalbf): Likewise.
3453 * math/w_scalbl.c (sysv_scalbl): Likewise.
3454 * misc/error.c (error_tail): Likewise.
3455 * misc/pselect.c (__pselect): Likewise.
3456 * nis/nis_callback.c (__nis_create_callback): Likewise.
3457 * nis/nis_call.c (__nisfind_server): Likewise.
3458 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3459 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3460 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3461 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3462 * nis/nis_lookup.c (nis_lookup): Likewise.
3463 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3464 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3465 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3466 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3467 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3468 internal_getgrgid_r): Likewise.
3469 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3471 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3472 internal_getpwuid_r): Likewise.
3473 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3474 internal_getspnam_r): Likewise.
3475 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3476 _nss_nis_getaliasbyname_r): Likewise.
3477 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3478 _nss_nis_getntohost_r): Likewise.
3479 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3480 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3482 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3483 internal_nis_gethostent_r, internal_gethostbyname2_r,
3484 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3485 _nss_nis_gethostbyname4_r): Likewise.
3486 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3487 initgroups_netid): Likewise.
3488 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3489 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3490 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3491 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3492 _nss_nis_getprotobynumber_r): Likewise.
3493 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3494 _nss_nis_getsecretkey): Likewise.
3495 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3496 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3498 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3499 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3500 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3501 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3502 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3503 _nss_nis_getspnam_r): Likewise.
3504 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3506 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3507 _nss_nisplus_getntohost_r): Likewise.
3508 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3509 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3510 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3511 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3512 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3514 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3515 _nss_nisplus_getnetbyaddr_r): Likewise.
3516 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3517 _nss_nisplus_getprotobynumber_r): Likewise.
3518 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3519 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3520 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3522 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3523 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3524 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3525 _nss_nisplus_getspnam_r): Likewise.
3526 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3527 * nscd/aicache.c (addhstaiX): Likewise.
3528 * nscd/cache.c (cache_search, prune_cache): Likewise.
3529 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3530 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3531 * nscd/grpcache.c (addgrbyX): Likewise.
3532 * nscd/hstcache.c (addhstbyX): Likewise.
3533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3534 * nscd/mem.c (gc, mempool_alloc): Likewise.
3535 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3537 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3539 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3540 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3541 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3543 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3544 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3545 * nscd/nscd_helper.c (__readvall, open_socket,
3546 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3547 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3548 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3549 * nscd/pwdcache.c (addpwbyX): Likewise.
3550 * nscd/selinux.c (preserve_capabilities): Likewise.
3551 * nscd/servicescache.c (addservbyX): Likewise.
3552 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3553 * posix/fnmatch.c (fnmatch): Likewise.
3554 * posix/getopt.c (_getopt_internal_r): Likewise.
3555 * posix/glob.c (glob, glob_in_dir): Likewise.
3556 * posix/wordexp.c (exec_comm_child): Likewise.
3557 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3558 gaih_getanswer_slice): Likewise.
3559 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3560 * resolv/res_init.c: Likewise.
3561 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3562 * resolv/res_query.c (__libc_res_nquery): Likewise.
3563 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3565 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3566 * stdio-common/perror.c (perror): Likewise.
3567 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3568 * stdio-common/tmpnam.c (tmpnam): Likewise.
3569 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3570 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3571 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3572 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3573 * stdlib/putenv.c (putenv): Likewise.
3574 * stdlib/setenv.c (__add_to_environ): Likewise.
3575 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3576 * stdlib/strtol_l.c (INTERNAL): Likewise.
3577 * string/memmem.c (memmem): Likewise.
3578 * string/strerror.c (strerror): Likewise.
3579 * string/strnlen.c (__strnlen): Likewise.
3580 * string/test-memmem.c (simple_memmem): Likewise.
3581 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3582 * sunrpc/pm_getport.c (__get_socket): Likewise.
3583 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3584 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3585 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3586 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3588 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3589 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3590 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3591 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3592 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3593 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3594 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3595 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3596 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3597 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3598 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3599 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3601 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3602 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3603 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3604 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3605 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3606 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3608 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3610 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3612 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3613 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3614 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3615 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3616 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3617 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3618 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3619 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3620 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3621 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3622 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3623 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3624 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3625 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3626 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3627 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3628 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3630 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3632 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3634 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3635 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3636 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3638 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3639 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3640 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3641 * sysdeps/posix/sleep.c: Likewise.
3642 * sysdeps/posix/tempname.c: Likewise.
3643 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3644 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3646 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3647 elf_machine_rela): Likewise.
3648 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3649 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3650 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3651 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3653 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3654 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3655 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3656 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3657 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3658 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3659 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3660 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3661 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3662 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3663 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3664 elf_machine_lazy_rel): Likewise.
3665 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3666 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3667 elf_machine_lazy_rel): Likewise.
3668 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3669 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3670 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3671 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3672 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3673 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3674 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3675 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3677 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3678 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3679 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3680 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3681 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3682 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3683 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3684 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3685 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3686 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3687 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3689 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3690 (__posix_fallocate64_l64): Likewise.
3691 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3692 (posix_fallocate): Likewise.
3693 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3694 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3695 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3696 getifaddrs_internal): Likewise.
3697 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3698 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3699 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3700 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3701 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3702 (__posix_fallocate64_l64): Likewise.
3703 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3705 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3706 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3708 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3709 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3710 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3711 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3712 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3713 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3714 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3715 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3717 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3718 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3719 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3720 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3721 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3722 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3723 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3725 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3726 (posix_fallocate): Likewise.
3727 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3728 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3729 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3730 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3731 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3733 * time/asctime.c (asctime_internal): Likewise.
3734 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3735 * time/tzset.c (__tzset_parse_tz): Likewise.
3736 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3737 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3738 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3739 * wcsmbs/wcsmbsload.h: Likewise.
3741 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3744 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3746 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3748 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3749 arena_get2): Remove THREAD_STATS conditionals.
3750 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3751 __malloc_stats, int): Likewise.
3753 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3755 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3756 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3758 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3760 * manual/setjmp.texi: Fix typos/grammar errors.
3762 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3764 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3765 Only return early when n is <= 0. Delete unused return statement.
3767 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3769 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3770 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3771 * debug/tst-longjmp_chk3.c: New file.
3773 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3775 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3776 (test_main): Replace code with set_fortify_handler call.
3777 * debug/test-strcpy_chk.c: Likewise.
3778 * debug/tst-chk1.c: Likewise.
3779 * debug/tst-longjmp_chk.c: Likewise.
3780 * test-skeleton.c: Include fcntl.h & paths.h
3781 (set_fortify_handler): Define.
3783 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3785 * debug/tst-longjmp_chk.c: Add header comment and include
3787 (do_test): Mark static.
3788 (TEST_FUNCTION): Define.
3790 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3792 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3793 (IP_PMTUDISC_INTERFACE): Likewise.
3794 (IP_MULTICAST_IF): Likewise.
3795 (IP_MULTICAST_TTL): Likewise.
3796 (IP_MULTICAST_LOOP): Likewise.
3797 (IP_ADD_MEMBERSHIP): Likewise.
3798 (IP_DROP_MEMBERSHIP): Likewise.
3799 (IP_UNBLOCK_SOURCE): Likewise.
3800 (IP_BLOCK_SOURCE): Likewise.
3801 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3802 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3803 (IP_MSFILTER): Likewise.
3804 (MCAST_JOIN_GROUP): Likewise.
3805 (MCAST_BLOCK_SOURCE): Likewise.
3806 (MCAST_UNBLOCK_SOURCE): Likewise.
3807 (MCAST_LEAVE_GROUP): Likewise.
3808 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3809 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3810 (MCAST_MSFILTER): Likewise.
3811 (IP_MULTICAST_ALL): Likewise.
3812 (IP_UNICAST_IF): Likewise.
3814 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3816 * timezone/Makefile: Delete $(have-ksh) check.
3817 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3818 * timezone/tzselect.ksh: Add +x mode bits.
3820 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3822 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3823 (ANON_INODE_FS_MAGIC): Likewise.
3824 (BDEVFS_MAGIC): Likewise.
3825 (BINFMTFS_MAGIC): Likewise.
3826 (BTRFS_TEST_MAGIC): Likewise.
3827 (CRAMFS_MAGIC_WEND): Likewise.
3828 (DEBUGFS_MAGIC): Likewise.
3829 (ECRYPTFS_SUPER_MAGIC): Likewise.
3830 (EXT3_SUPER_MAGIC): Likewise.
3831 (EXT4_SUPER_MAGIC): Likewise.
3832 (FUTEXFS_SUPER_MAGIC): Likewise.
3833 (HOSTFS_SUPER_MAGIC): Likewise.
3834 (HUGETLBFS_MAGIC): Likewise.
3835 (MINIX3_SUPER_MAGIC): Likewise.
3836 (MTD_INODE_FS_MAGIC): Likewise.
3837 (NILFS_SUPER_MAGIC): Likewise.
3838 (OPENPROM_SUPER_MAGIC): Likewise.
3839 (PIPEFS_MAGIC): Likewise.
3840 (PSTOREFS_MAGIC): Likewise.
3841 (QNX6_SUPER_MAGIC): Likewise.
3842 (RAMFS_MAGIC): Likewise.
3843 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3844 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3845 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3846 (SECURITYFS_MAGIC): Likewise.
3847 (SELINUX_MAGIC): Likewise.
3848 (SMACK_MAGIC): Likewise.
3849 (SOCKFS_MAGIC): Likewise.
3850 (SQUASHFS_MAGIC): Likewise.
3851 (STACK_END_MAGIC): Likewise.
3852 (TMPFS_MAGIC): Likewise.
3853 (USBDEVICE_SUPER_MAGIC): Likewise.
3854 (V9FS_MAGIC): Likewise.
3855 (XENFS_SUPER_MAGIC): Likewise.
3856 (CRAMFS_MAGIC): Fix typo in comment.
3857 (EXT2_SUPER_MAGIC): Update comment.
3858 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3860 2014-02-08 Joseph Myers <joseph@codesourcery.com>
3862 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3863 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3864 * sysdeps/unix/sysv/linux/arm: Move directory from
3865 ports/sysdeps/unix/sysv/linux/arm.
3866 * README: Update listing for arm-*-linux-gnueabi.
3868 * README: Remove mention of am33.
3870 2014-02-07 Roland McGrath <roland@hack.frob.com>
3872 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3873 than the comma operator, to avoid "rhs of comma has no effect"
3875 (__sigfillset, __sigandset, __sigorset): Likewise.
3876 * include/signal.h (__sigemptyset): Likewise.
3877 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3879 2014-02-07 Allan McRae <allan@archlinux.org>
3881 * version.h (RELEASE): Set to "development".
3882 (VERSION): Set to "2.19.90"
3883 * NEWS: Add 2.20 section.
3885 2014-02-06 Carlos O'Donell <carlos@redhat.com>
3888 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3890 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3892 * manual/contrib.texi: Update entry for Carlos O'Donell,
3893 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3895 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
3897 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3899 * sysdeps/unix/sysv/linux/kernel-features.h
3900 [__LINUX_KERNEL_VERSION >= 0x020621]
3901 (__ASSUME_PROC_PID_TASK_COMM): Define.
3903 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3906 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3907 conversion when destination buffer does not have enough space.
3908 * libio/tst-ftell-partial-wide.c: New test case.
3909 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3911 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3912 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3913 Leonard and Allan McRae.
3915 2014-02-04 David S. Miller <davem@davemloft.net>
3917 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3920 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3949 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3951 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3952 * shlib-versions: Likewise.
3954 2014-02-04 Roland McGrath <roland@hack.frob.com>
3955 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3957 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3958 (abilist-pattern): New variable, set to %-le.abilist.
3960 * Makerules (abilist-pattern): New variable.
3961 (vpath): Use $(abilist-pattern) in place of %.abilist.
3962 (check-abi-% pattern rule): Likewise.
3963 (check-abi, update-abi): Likewise.
3965 2014-02-04 Eric Wong <normalperson@yhbt.net>
3967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3969 2014-02-04 Eric Wong <normalperson@yhbt.net>
3971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3973 2014-02-03 Carlos O'Donell <carlos@redhat.com>
3975 * manual/startup.texi: Add next, previous, and top entries for
3976 the `Program Arguments' and `Environment Variables' nodes.
3978 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
3980 * manual/macros.texi: Add comments before MTASC-safety macros.
3982 * manual/users.texi: Document MTASC-safety properties.
3984 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3985 pthread_getspecific, pthread_setspecific): Format with
3986 @deftypefun, and add @safety note.
3987 * manual/signal.texi: Move comments that analyze the above
3988 functions to their home place.
3990 2014-02-03 Allan McRae <allan@archlinux.org>
3992 * po/sl.po: Update Slovenian translation from translation project.
3994 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
3996 * manual/time.texi (timegm): Add missing blank after @c.
3997 Reported by Joseph Myers <joseph@codesourcery.com>.
3999 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4001 * manual/check-safety.sh: New.
4002 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4004 * manual/terminal.texi: Document MTASC-safety properties.
4006 * manual/filesys.texi: Document MTASC-safety properties.
4008 * manual/errno.texi: Document MTASC-safety properties.
4010 * manual/intro.texi: Document safety identifiers and
4013 * manual/string.texi (wcstok): Fix prototype.
4014 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4016 * manual/time.texi: Document MTASC-safety properties.
4018 * manual/string.texi: Document MTASC-safety properties.
4020 * manual/threads.texi: Document MTASC-safety properties.
4022 * manual/stdio.texi: Document MTASC-safety properties.
4024 * manual/syslog.texi: Document MTASC-safety properties.
4026 * manual/sysinfo.texi: Document MTASC-safety properties.
4028 * manual/startup.texi: Document MTASC-safety properties.
4030 * manual/socket.texi: Document MTASC-safety properties.
4032 * manual/signal.texi: Document MTASC-safety properties.
4034 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4036 * manual/setjmp.texi: Document MTASC-safety properties.
4038 * manual/search.texi: Document MTASC-safety properties.
4040 * manual/resource.texi: Document MTASC-safety properties.
4042 * manual/process.texi: Document MTASC-safety properties.
4044 * manual/platform.texi: Document MTASC-safety properties.
4046 * manual/pipe.texi: Document MTASC-safety properties.
4048 * manual/pattern.texi: Document MTASC-safety properties.
4050 * manual/message.texi: Document MTASC-safety properties.
4053 * manual/memory.texi: Document MTASC-safety properties.
4055 * manual/math.texi: Document MTASC-safety properties.
4057 * manual/locale.texi: Document MTASC-safety properties.
4059 * manual/llio.texi: Document MTASC-safety properties.
4061 * manual/libdl.texi: New.
4063 * manual/lang.texi: Document MTASC-safety properties.
4065 * manual/job.texi: Document MTASC-safety properties.
4067 * manual/getopt.texi: Document MTASC-safety properties.
4069 * manual/ctype.texi: Document MTASC-safety properties.
4071 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4074 * csu/libc-tls.c (static_map): Remove variable.
4075 (__libc_setup_tls): Use main executable's link map for TLS data.
4076 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4077 casing for LM_ID_BASE and GL(dl_nns).
4078 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4079 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4080 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4081 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4082 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4084 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4087 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4089 * manual/debug.texi: Document MTASC-safety properties.
4091 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4094 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4095 of __x86_64__ when disabling x87 inline functions.
4097 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4099 * manual/charset.texi: Document MTASC-safety properties.
4101 * manual/crypt.texi: Document MTASC-safety properties.
4103 * manual/conf.texi: Document MTASC-safety properties.
4105 * manual/arith.texi: Document MTASC-safety properties.
4107 * manual/argp.texi: Document MTASC-safety properties.
4109 * manual/macros.texi: Introduce macros to document multi
4110 thread, asynchronous signal and asynchronous cancellation
4112 * manual/intro.texi: Introduce the properties themselves.
4114 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4116 * sysdeps/sh/sh4/Makefile: New file.
4118 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4120 * math/gen-libm-test.pl ($srcdir): New variable.
4121 ($auto_input): Use it.
4123 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4126 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4127 access beyond array bounds when parsing netgroups file.
4129 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4130 the old buffer before realloc.
4132 2014-01-27 Allan McRae <allan@archlinux.org>
4134 * po/fr.po: Update French translation from translation project.
4136 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4138 * sysdeps/sh/libm-test-ulps: Regenerate.
4140 2014-01-24 David S. Miller <davem@davemloft.net>
4142 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4144 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4146 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4147 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4149 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4152 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4153 string pointers after reallocation.
4155 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4157 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4158 __SH4A__ instead of __SH_FPU_ANY__.
4160 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4162 * sysdeps/sh/fpu_control.h: New file.
4163 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4164 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4165 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4166 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4167 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4168 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4169 * sysdeps/sh/sys/ucontext.h: Remove.
4170 * sysdeps/sh/sys: Remove directory.
4172 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4174 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4175 s390/sys/ucontext.h.
4176 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4177 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4179 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4182 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4184 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4187 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4188 Adjust the vDSO correctly for internal calls.
4189 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4191 2014-01-20 Allan McRae <allan@archlinux.org>
4193 * po/ca.po: Update Catalan translation from translation project.
4195 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4197 * sysdeps/s390/sotruss-lib.c: New file.
4199 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4202 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4203 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4204 local calls issues by not having a PLT stub required for IFUNC calls.
4205 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4207 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4209 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4210 * math/test-fpucw-static.c: Likewise.
4212 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4215 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4217 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4219 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4220 implementation for powerpc.
4222 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4225 * sysdeps/posix/system.c (__libc_system): Do not enable
4226 asynchronous cancellation.
4228 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4231 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4232 handling only for numbers special also in the IEEE case.
4234 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4236 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4238 2014-01-11 Allan McRae <allan@archlinux.org>
4240 * po/bg.po: Update Bulgarian translation from translation project.
4242 * po/de.po: Update German translation from translation project.
4244 2014-01-10 Roland McGrath <roland@hack.frob.com>
4246 * sysdeps/generic/gcc-compat.h: New file.
4248 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4250 * benchtests/asin-inputs: Correct slow inputs.
4251 * benchtests/acos-inputs: Likewise.
4253 2014-01-10 Allan McRae <allan@archlinux.org>
4255 * po:sv.po: Update Swedish translation from translation project.
4257 * po/vi.po: Update Vietnamese translation from translation project.
4259 * po/eo.po: Update Esperanto translation from translation project.
4261 * po/cs.po: Update Czech translation from translation project.
4263 * po/nl.po: Update Dutch translation from translation project.
4265 * po/pl.po: Update Polish translation from translation project.
4267 * po/ru.po: Update Russian translation from translation project.
4269 * po/uk.po: Update Ukrainian translation from translation project.
4271 2014-01-08 Brooks Moses <bmoses@google.com>
4273 * elf/dl-load.c: Fix comment typo.
4275 2014-01-08 Carlos O'Donell <carlos@redhat.com>
4277 * po/header.pot: Rename to...
4278 * po/pot.header: ... this.
4279 * po/Makefile: Use pot.header.
4281 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4282 Maxim Kuvyrkov <maxim@kugelworks.com>
4285 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4286 SRC and DEST against LEN.
4288 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4291 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4293 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4295 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4299 2014-01-08 Joseph Myers <joseph@codesourcery.com>
4302 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4303 for large positive arguments.
4305 2014-01-07 Joseph Myers <joseph@codesourcery.com>
4307 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4309 * math/auto-libm-test-in: Mark various tests with
4310 xfail-rounding:ldbl-128ibm.
4311 * math/auto-libm-test-out: Regenerated.
4314 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4315 Increase overflow threshold.
4317 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
4320 * stdio-common/vfprintf.c: Check for integer overflow.
4322 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4324 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4325 the first argument and return value of __tls_get_addr_internal.
4327 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4329 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4330 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4332 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4334 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4335 * sysdeps/s390/rtld-global-offsets.sym: New file.
4336 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4338 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4339 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4340 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4342 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4343 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4349 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4350 halfs of GPRs for high_gprs contexts.
4351 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4352 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4354 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4356 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4358 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4359 for high GPRs (uc_high_gprs) and for future extensions
4361 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4362 for future extensions (__reserved).
4363 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4365 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4366 SC_HIGHGPRS offset definition.
4367 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4368 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4370 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4372 * Versions.def: Add GLIBC_2.19 for libpthread.
4373 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4374 siglongjmp for libpthread with GLIBC_2.19 symver.
4375 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4376 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4377 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4378 * sysdeps/s390/__longjmp.c: New file.
4379 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4380 * sysdeps/s390/longjmp.c: New file.
4381 * sysdeps/s390/setjmp.S: New file.
4382 * sysdeps/s390/sigjmp.S: New file.
4383 * sysdeps/s390/v1-longjmp.c: New file.
4384 * sysdeps/s390/v1-setjmp.h: New file.
4385 * sysdeps/s390/v1-sigjmp.c: New file.
4386 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4387 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4389 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4390 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4391 versioned symbols for ____longjmp_chk.
4392 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4402 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4403 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4404 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4405 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4406 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4407 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4408 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4409 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4410 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4411 * sysdeps/s390/rtld-__longjmp.c: New file.
4412 * sysdeps/s390/rtld-setjmp.S: New file.
4414 2014-01-06 Joseph Myers <joseph@codesourcery.com>
4417 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4418 Return -__logl (x) for small positive arguments without evaluating
4421 2014-01-06 Mike Frysinger <vapier@gentoo.org>
4423 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4425 (__ptrace_peeksiginfo_args): ... this.
4426 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4427 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4428 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4430 2014-01-06 Allan McRae <allan@archlinux.org>
4432 * inet/netinet/in.h: Fix typo in comment.
4434 2014-01-05 Andreas Jaeger <aj@suse.de>
4436 * sysdeps/i386/fpu/libm-test-ulps: Update.
4438 2014-01-05 Allan McRae <allan@archlinux.org>
4440 * po/libc.pot: Regenerated.
4442 * malloc/memusagestat.c: Fix gettext call formatting.
4444 2014-01-04 Sami Kerola <kerolasa@iki.fi>
4446 * nscd/nscd.c: Improve usage() output.
4448 2014-01-04 Mike Frysinger <vapier@gentoo.org>
4450 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4451 * sysdeps/unix/sysv/linux/configure: Regenerated.
4452 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4453 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4455 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4458 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4459 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4461 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4463 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4464 extra tokens at end of #undef directive.
4465 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4466 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4467 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4469 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4471 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4473 * math/auto-libm-test-in: Mark various tests with
4474 xfail-rounding:ldbl-128ibm.
4475 * math/auto-libm-test-out: Regenerated.
4477 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4480 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4481 numbers with subnormal high part when calculating exponent.
4484 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4488 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4490 (__ieee754_acoshl): Use __log1pl not __log1p.
4492 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
4494 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4495 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4496 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4497 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4498 Convert to GNU style.
4499 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4500 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4501 memalign_check, __malloc_set_state): Likewise.
4502 * malloc/mallocbug.c (main): Likewise.
4503 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4504 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4505 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4506 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4507 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4508 * malloc/malloc.h: Likewise.
4509 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4510 memalignhook, reallochook, mabort): Likewise.
4511 * malloc/mcheck.h: Likewise.
4512 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4513 mmap64, mremap, munmap, dest): Likewise.
4514 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4515 * malloc/morecore.c (__default_morecore): Likewise.
4516 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4517 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4518 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4519 print_and_abort): Likewise.
4520 * malloc/obstack.h: Likewise.
4521 * malloc/set-freeres.c (__libc_freeres): Likewise.
4522 * malloc/tst-mallocstate.c (main): Likewise.
4523 * malloc/tst-mtrace.c (main): Likewise.
4524 * malloc/tst-realloc.c (do_test): Likewise.
4526 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4529 * nscd/netgroupcache.c (do_notfound): New function.
4530 (addgetnetgrentX): Use it.
4533 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4534 NSS_STATUS_NOTFOUND.
4536 2014-01-01 Joseph Myers <joseph@codesourcery.com>
4538 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4541 2014-01-01 Allan McRae <allan@archlinux.org>
4543 * scripts/update-copyrights: Update configure input file suffix.
4545 * NEWS: Update copyright year.
4546 * catgets/gencat.c: Likewise.
4547 * csu/version.c: Likewise.
4548 * debug/catchsegv.sh: Likewise.
4549 * debug/pcprofiledump.c: Likewise.
4550 * debug/xtrace.sh: Likewise.
4551 * elf/ldconfig.c: Likewise.
4552 * elf/ldd.bash.in: Likewise.
4553 * elf/pldd.c: Likewise.
4554 * elf/sotruss.ksh: Likewise.
4555 * elf/sprof.c: Likewise.
4556 * iconv/iconv_prog.c: Likewise.
4557 * iconv/iconvconfig.c: Likewise.
4558 * locale/programs/locale.c: Likewise.
4559 * locale/programs/localedef.c: Likewise.
4560 * login/programs/pt_chown.c: Likewise.
4561 * malloc/memusage.sh: Likewise.
4562 * malloc/memusagestat.c: Likewise.
4563 * malloc/mtrace.pl: Likewise.
4564 * manual/libc.texinfo: Likewise.
4565 * nscd/nscd.c: Likewise.
4566 * nss/getent.c: Likewise.
4567 * nss/makedb.c: Likewise.
4568 * posix/getconf.c: Likewise.
4569 * scripts/test-installation.pl: Likewise.
4571 * All files with FSF copyright notices: Update copyright dates
4572 using scripts/update-copyrights.
4573 * intl/plural.c: Regenerated.
4574 * locale/programs/charmap-kw.h: Likewise.
4575 * locale/programs/locfile-kw.h: Likewise.
4577 2013-12-31 Mike Frysinger <vapier@gentoo.org>
4579 * sysdeps/unix/sysv/linux/configure: Regenerated.
4580 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4581 the linux/fanotify.h header.
4582 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4583 HAVE_LINUX_FANOTIFY_H is defined.
4585 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4587 * benchtests/cos-inputs: New inputs.
4588 * benchtests/sin-inputs: Likewise.
4590 * benchtests/atan-inputs: New inputs. Fix name of multiple
4591 precision fallback inputs.
4593 * benchtests/atanh-inputs: New inputs.
4594 * benchtests/tanh-inputs: Likewise.
4596 * benchtests/acosh-inputs: New inputs.
4597 * benchtests/asinh-inputs: Likewise.
4599 * benchtests/cosh-inputs: New inputs.
4600 * benchtests/sinh-inputs: Likewise.
4602 * benchtests/acos-inputs: Add more inputs.
4603 * benchtests/asin-inputs: Likewise.
4605 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
4608 * manual/arith.texi: Fix spelling.
4609 * manual/charset.texi: Likewise.
4610 * manual/errno.texi: Likewise.
4611 * manual/filesys.texi: Likewise.
4612 * manual/lang.texi: Likewise.
4613 * manual/llio.texi: Likewise.
4614 * manual/locale.texi: Likewise.
4615 * manual/message.texi: Likewise.
4616 * manual/resource.texi: Likewise.
4617 * manual/search.texi: Likewise.
4618 * manual/setjmp.texi: Likewise.
4619 * manual/stdio.texi: Likewise.
4620 * manual/string.texi: Likewise.
4621 * manual/sysinfo.texi: Likewise.
4622 * manual/time.texi: Likewise.
4624 2013-12-27 Carlos O'Donell <carlos@redhat.com>
4626 * po/sl.po: New file.
4628 2013-12-27 Mike Frysinger <vapier@gentoo.org>
4630 * .gitignore: Add core/.gdbinit/.gdb_history.
4632 2013-12-27 Allan McRae <allan@archlinux.org>
4635 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4636 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4638 2013-12-24 Brooks Moses <bmoses@google.com>
4640 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4641 all compilers that claim C++98 compliance, not just GCC.
4642 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4645 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4647 * NEWS: Restore accidentally deleted bug-fix entries.
4649 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4650 Ondřej Bílka <neleai@seznam.cz>
4653 * malloc/malloc.c (_int_free): Perform sanity check only if we
4656 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
4659 * manual/stdio.texi (String Input Conversions): Clarify that character
4660 classes are not supported.
4662 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4666 2013-12-22 Joseph Myers <joseph@codesourcery.com>
4669 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4670 Calculate results for small negative arguments directly rather
4671 than using reflection formula with special underflow handling.
4673 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4674 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4675 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4676 (fchflags): Likewise.
4678 (setlogin): Likewise.
4679 (sigaltstack): Likewise.
4682 (sigsetmask): Likewise.
4684 (waitpid): Likewise.
4685 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4686 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4688 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4689 * sysdeps/unix/bsd/Makefile: ... here.
4690 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4691 * sysdeps/unix/bsd/Versions: ... here.
4692 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4693 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4694 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4695 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4696 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4697 * sysdeps/unix/bsd/sigblock.c: ... here.
4698 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4699 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4700 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4701 * sysdeps/unix/bsd/sigvec.c: ... here.
4702 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4703 * sysdeps/unix/bsd/tcdrain.c: ... here.
4704 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4705 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4706 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4707 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4708 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4709 * sysdeps/unix/bsd/wait.c: ... here.
4710 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4711 * sysdeps/unix/bsd/wait3.c: ... here.
4712 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4713 * sysdeps/unix/bsd/waitpid.c: ... here.
4715 2013-12-21 Joseph Myers <joseph@codesourcery.com>
4718 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4719 round-to-nearest for [!USE_AS_EXPM1L].
4720 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4721 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4722 more tests of exp and exp10. Expect some exp10 tests to miss
4723 exceptions or fail in directed rounding modes.
4724 * math/auto-libm-test-out: Regenerated.
4725 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4726 (exp10_test_tonearest): New function.
4727 (exp10_towardzero_test_data): New array.
4728 (exp10_test_towardzero): New function.
4729 (exp10_downward_test_data): New array.
4730 (exp10_test_downward): New function.
4731 (exp10_upward_test_data): New array.
4732 (exp10_test_upward): New function.
4733 (main): Call the new functions.
4734 * sysdeps/i386/fpu/libm-test-ulps: Update.
4735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4737 2013-12-20 Joseph Myers <joseph@codesourcery.com>
4739 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4740 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4741 * math/auto-libm-test-out: Regenerated.
4742 * math/libm-test.inc (acosh_test_data): Add more tests.
4743 (atanh_test_data): Likewise.
4744 (ceil_test_data): Likewise.
4745 (copysign_test_data): Likewise.
4746 * sysdeps/i386/fpu/libm-test-ulps: Update.
4747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4749 * timezone/checktab.awk: Update from tzcode 2013i.
4750 * timezone/private.h: Likewise.
4751 * timezone/scheck.c: Likewise.
4752 * timezone/tzfile.h: Likewise.
4753 * timezone/tzselect.ksh: Likewise.
4754 * timezone/zdump.c: Likewise.
4755 * timezone/zic.c: Likewise.
4757 * math/auto-libm-test-in: Add tests of cpow.
4758 * math/auto-libm-test-out: Regenerated.
4759 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4760 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4762 (func_calc_desc): Add mpc_cc_c union field.
4763 (test_functions): Add cpow.
4764 (special_fill_2pi): New function.
4765 (special_real_inputs): Add 2pi.
4766 (calc_generic_results): Handle mpc_cc_c.
4767 * sysdeps/i386/fpu/libm-test-ulps: Update.
4768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4770 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4771 csqrt, ctan and ctanh.
4772 * math/auto-libm-test-out: Regenerated.
4773 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4774 (TEST_COND_x86): Likewise.
4775 (ccos_test_data): Use AUTO_TESTS_c_c.
4776 (ccosh_test_data): Likewise.
4777 (cexp_test_data): Likewise.
4778 (clog_test_data): Likewise.
4779 (csqrt_test_data): Likewise.
4780 (ctan_test_data): Likewise.
4781 (ctan_tonearest_test_data): Likewise.
4782 (ctan_towardzero_test_data): Likewise.
4783 (ctan_downward_test_data): Likewise.
4784 (ctan_upward_test_data): Likewise.
4785 (ctanh_test_data): Likewise.
4786 (ctanh_tonearest_test_data): Likewise.
4787 (ctanh_towardzero_test_data): Likewise.
4788 (ctanh_downward_test_data): Likewise.
4789 (ctanh_upward_test_data): Likewise.
4790 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4792 (func_calc_desc): Add mpc_c_c union field.
4793 (FUNC_mpc_c_c): New macro.
4794 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4795 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4797 (special_fill_min_subnorm_p120): New function.
4798 (special_real_inputs): Add min_subnorm_p120.
4799 (calc_generic_results): Handle mpc_c_c.
4800 * sysdeps/i386/fpu/libm-test-ulps: Update.
4801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4803 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4805 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4806 do_sin_slow): New functions.
4807 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4808 cslow2, csloww1, csloww2): Use the new functions.
4810 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4811 Use M to change sign of result instead of X. Assume X is
4813 (csloww1): Likewise.
4817 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4822 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4824 (sloww1): Don't adjust sign of DX.
4825 (csloww1): Likewise.
4826 (sloww2): Use X directly and don't adjust sign of DX.
4827 (csloww2): Likewise.
4829 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4831 * math/auto-libm-test-in: Add tests of cabs and carg.
4832 * math/auto-libm-test-out: Regenerated.
4833 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4834 (carg_test_data): Likewise.
4835 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4837 (func_calc_desc): Add mpc_c_f union field.
4838 (test_functions): Add cabs and carg.
4839 (calc_generic_results): Handle mpc_c_f.
4841 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4842 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4843 as a macro and a compat symbol.
4844 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4845 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4846 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4847 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4848 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4849 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4851 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4853 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4855 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4857 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4859 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4861 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4862 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4865 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4869 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4871 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4872 trailing whitespace removed.
4873 * scripts/config.guess: Update to version 2013-11-29.
4874 * scripts/config.sub: Update to version 2013-10-01.
4876 * math/auto-libm-test-in: Add tests of sincos.
4877 * math/auto-libm-test-out: Regenerated.
4878 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4879 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4881 (func_calc_desc): Add mpfr_f_11 union field.
4882 (test_functions): Add sincos.
4883 (calc_generic_results): Handle mpfr_f_11.
4884 * sysdeps/i386/fpu/libm-test-ulps: Update.
4885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4887 2013-12-19 Andreas Schwab <schwab@suse.de>
4889 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4891 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4892 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4893 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4895 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4897 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4898 * sysdeps/i386/fpu/libm-test-ulps: Update.
4899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4902 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4903 round-to-nearest mode when using frndint.
4904 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4905 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4906 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4908 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4910 * math/auto-libm-test-out: Regenerated.
4911 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4912 (TEST_COND_x86): Likewise.
4913 (expm1_tonearest_test_data): New array.
4914 (expm1_test_tonearest): New function.
4915 (expm1_towardzero_test_data): New array.
4916 (expm1_test_towardzero): New function.
4917 (expm1_downward_test_data): New array.
4918 (expm1_test_downward): New function.
4919 (expm1_upward_test_data): New array.
4920 (expm1_test_upward): New function.
4921 (main): Run the new test functions.
4922 * sysdeps/i386/fpu/libm-test-ulps: Update.
4923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4925 * include/features.h: Update comment documenting feature test
4926 macros. Mention _DEFAULT_SOURCE in comment.
4927 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4928 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4929 _BSD_SOURCE and _SVID_SOURCE.
4930 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4931 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4932 !_SVID_SOURCE]: Likewise.
4933 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4934 (__USE_POSIX_IMPLICITLY): Define.
4935 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4936 (_POSIX_SOURCE): Undefine and redefine.
4937 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4938 (_POSIX_C_SOURCE): Likewise.
4939 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4940 (Feature Test Macros): Update documentation of default features.
4942 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4944 * benchtests/Makefile: Add bench-strtok.
4945 * benchtests/bench-strtok.c: New file: strtok benchtest.
4947 2013-12-19 Allan McRae <allan@archlinux.org>
4949 * manual/install.texi: Suppress menu for plain text output.
4950 * INSTALL: Regenerated.
4952 2013-12-18 Brooks Moses <bmoses@google.com>
4955 * misc/getauxval.c: Include errno.h.
4956 (__getauxval): Set errno to ENOENT if the requested type is not
4958 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4959 don't declare with __attribute_const__.
4960 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4961 * manual/startup.texi: Document that getauxval sets errno.
4963 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4965 * math/auto-libm-test-in: Add tests of jn and yn.
4966 * math/auto-libm-test-out: Regenerated.
4967 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4968 (yn_test_data): Likewise.
4969 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4971 (func_calc_desc): Add mpfr_if_f union field.
4972 (FUNC_mpfr_if_f): New macro.
4973 (test_functions): Add jn and yn.
4974 (calc_generic_results): Assert type of second input for
4975 mpfr_ff_f. Handle mpfr_if_f.
4976 (output_for_one_input_case): Disable all checking for arguments
4977 fitting floating-point types in case of an integer argument.
4978 * sysdeps/i386/fpu/libm-test-ulps: Update.
4979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4982 Don't expect fegetround reference in libm.so.
4984 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4986 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4987 $(config-cflags-nofma).
4989 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4991 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4992 * math/auto-libm-test-out: Regenerated.
4995 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4996 to determine exponent and adjust argument to have exponent of -1.
4997 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4999 * math/auto-libm-test-out: Regenerated.
5000 * sysdeps/i386/fpu/libm-test-ulps: Update.
5001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5003 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5005 * manual/probes.texi: Remove cases when per-thread arenas are
5008 2013-12-18 Andreas Schwab <schwab@suse.de>
5010 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5011 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5012 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5013 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5014 * sysdeps/i386/i686/multiarch/Makefile: Update.
5015 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5017 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5019 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5020 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5022 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5025 Support TZ transition times < 00:00:00.
5026 This is needed for version-3 tz-format files; it supports time
5027 stamps past 2037 for America/Godthab (the only entry in the tz
5028 database for which this change is relevant).
5029 * manual/time.texi (TZ Variable): Document transition times
5030 from -167:59:59 through -00:00:01.
5031 * time/tzset.c (tz_rule): Time of day is now signed.
5032 (__tzset_parse_tz): Parse negative time of day.
5034 Document TZ transition times >= 25:00:00.
5035 * manual/time.texi (TZ Variable): Document transition times from
5036 25:00:00 through 167:59:59. These are already supported, and this
5037 support will help with version-3 tz-format files.
5039 * manual/time.texi (TZ Variable): Modernize North America example
5040 to reflect current (i.e., 2007-and-later) daylight saving rules.
5042 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5044 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5046 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5047 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5048 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5049 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5050 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5051 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5052 * sysdeps/unix/bsd/clock.c: Likewise.
5053 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5054 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5055 * sysdeps/unix/bsd/init-posix.c: Likewise.
5056 * sysdeps/unix/bsd/poll.c: Likewise.
5057 * sysdeps/unix/bsd/ptsname.c: Likewise.
5058 * sysdeps/unix/bsd/seekdir.c: Likewise.
5059 * sysdeps/unix/bsd/setegid.c: Likewise.
5060 * sysdeps/unix/bsd/seteuid.c: Likewise.
5061 * sysdeps/unix/bsd/setgid.c: Likewise.
5062 * sysdeps/unix/bsd/setrgid.c: Likewise.
5063 * sysdeps/unix/bsd/setruid.c: Likewise.
5064 * sysdeps/unix/bsd/setsid.c: Likewise.
5065 * sysdeps/unix/bsd/setuid.c: Likewise.
5066 * sysdeps/unix/bsd/sigaction.c: Likewise.
5067 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5068 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5069 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5070 * sysdeps/unix/bsd/telldir.c: Likewise.
5071 * sysdeps/unix/bsd/times.c: Likewise.
5072 * sysdeps/unix/bsd/usleep.c: Likewise.
5074 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5075 ($(objpfx)libbsd-compat.a): Remove rule.
5077 * include/features.h (__FAVOR_BSD): Do not define.
5078 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5079 features conflicting with POSIX.
5080 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5081 (_BSD_SOURCE): Remove description of not being a subset of other
5082 feature test macros.
5083 * manual/job.texi (getpgrp): Do not document BSD version.
5084 (getpgid): Do not document by reference to BSD getpgrp.
5085 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5086 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5087 * signal/signal.h [__FAVOR_BSD]: Likewise.
5088 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5089 instead of making contents conditional on [__FAVOR_BSD].
5090 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5092 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5096 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5099 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5100 values below 2**-450, not 2**-500.
5101 * math/auto-libm-test-in: Don't allow spurious underflow from
5103 * math/auto-libm-test-out: Regenerated.
5107 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5108 values of ha and hb and sort them after adjusting subnormal
5110 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5112 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5113 values of ea and eb and sort them after adjusting subnormal
5115 * math/auto-libm-test-in: Do not expect some hypot tests of
5116 subnormals to fail. Add more hypot tests.
5117 * math/auto-libm-test-out: Regenerated.
5119 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5122 * sysdeps/sh/s_fma.c: New file.
5123 * sysdeps/sh/s_fmaf.c: New file.
5124 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5126 * sysdeps/sh/Implies: Add sh/soft-fp.
5128 2013-12-16 Roland McGrath <roland@hack.frob.com>
5130 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5131 level of indirection to members `objname', `errstring', `malloced'.
5132 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5133 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5134 it as the __longjmp argument (just pass 1 instead).
5135 (_dl_catch_error): Initialize C with argument pointers and address of
5136 volatile local ERRCODE rather than copying values out of C at return.
5138 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5140 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5141 * math/auto-libm-test-out: Regenerated.
5142 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5143 (hypot_test_data): Likewise.
5144 (pow_test_data): Likewise.
5145 (pow_tonearest_test_data): Likewise.
5146 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5148 (func_calc_desc): Add mpfr_ff_f union field.
5149 (FUNC_mpfr_ff_f): New macro.
5150 (test_functions): Add atan2, hypot and pow.
5151 (special_fill_min): New function.
5152 (special_fill_minus_min): Likewise.
5153 (special_fill_min_subnorm): Likewise.
5154 (special_fill_minus_min_subnorm): Likewise.
5155 (special_real_inputs): Add min, -min, min_subnorm and
5157 (calc_generic_results): Handle mpfr_ff_f.
5158 * sysdeps/i386/fpu/libm-test-ulps: Update.
5159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5161 2013-12-16 Will Newton <will.newton@linaro.org>
5163 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5164 (Aligned Memory Blocks): Add documentation for aligned_alloc
5165 and suggest it as an alternative to posix_memalign.
5166 (Hooks for Malloc): Document __memalign_hook is also called
5167 for aligned_alloc. (Summary of Malloc): Add summary for
5168 aligned alloc. Document __memalign_hook is also called
5171 2013-12-16 Will Newton <will.newton@linaro.org>
5173 * manual/memory.texi (Malloc Examples): Clarify default
5174 alignment documentation. Suggest posix_memalign rather
5175 than memalign or valloc.
5176 (Aligned Memory Blocks): Remove suggestion to use memalign
5177 or valloc. Remove obsolete comment about BSD.
5178 Document memalign errno values and mark the function obsolete.
5179 Document posix_memalign returned error codes. Mark valloc
5180 as obsolete. (Hooks for Malloc): __memalign_hook is also
5181 called for posix_memalign and valloc.
5182 (Summary of Malloc): Add posix_memalign to function summary.
5183 __memalign_hook is also called for posix_memalign and valloc.
5185 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5187 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5191 (sloww): Use mynumber union. Expand ternary operator into
5193 (cslow): use mynumber union.
5195 2013-12-16 Allan McRae <allan@archlinux.org>
5197 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5198 * configure: Regenerated.
5200 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5203 * configure.ac: Added --enable-maintainer-mode. Check for
5204 autoconf when enabled.
5205 * configure: Regenerated.
5207 * nscd/nscd.service: New file.
5208 * nscd/nscd.tmpfiles: New file.
5210 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5213 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5214 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5215 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5216 (strstr): Add __strstr_sse2_unaligned ifunc.
5217 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5218 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5219 (strcasestr): Remove __strcasestr_sse42 ifunc.
5220 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5221 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5224 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5226 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5227 * sysdeps/sh/bits/fenv.h: ... here.
5228 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5230 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5232 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5234 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5236 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5237 hypotf multiarch implementations.
5238 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5239 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5240 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5241 multiarch hypot for PPC64.
5242 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5243 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5244 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5245 multiarch hypotf for PPC64.
5247 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5250 modff multiarch implementations.
5251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5254 multiarch modf for PPC64.
5255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5258 multiarch modff for PPC64.
5260 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5262 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5263 and logl multiarch implementations.
5264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5267 multiarch logb for PPC64.
5268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5271 multiarch logb for PPC64.
5272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5275 multiarch logb for PPC64.
5277 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5280 isinff multiarch implementation.
5281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5285 multiarch isinf for PPC64.
5286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5289 multiarch isinff for PPC64.
5291 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5294 finitef multiarch implementation.
5295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5299 multiarch finite for PPC64.
5300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5303 multiarch finitef for PPC64.
5305 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5308 lrint multiarch implementation.
5309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5313 multiarch llrint for PPC64.
5314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5315 multiarch lrint for PPC64.
5317 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5320 copysignf multiarch implementation.
5321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5326 multiarch copysign for PPC64.
5327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5328 multiarch copysignf for PPC64.
5330 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5333 multiarch implementation.
5334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5342 multiarch llround for PPC64.
5343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5344 multiarch trunc for PPC64.
5345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5346 multiarch truncf for PPC64.
5348 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5351 multiarch implementation.
5352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5360 multiarch llround for PPC64.
5361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5362 multiarch round for PPC64.
5363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5364 multiarch roundf for PPC64.
5366 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5369 multiarch implementation.
5370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5378 multiarch llround for PPC64.
5379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5380 multiarch floor for PPC64.
5381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5382 multiarch floorf for PPC64.
5384 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5386 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5387 multiarch implementation.
5388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5396 multiarch llround for PPC64.
5397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5398 multiarch ceil for PPC64.
5399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5400 multiarch ceilf for PPC64.
5402 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5405 multiarch implementation.
5406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5413 multiarch llround for PPC64.
5414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5415 multiarch lround for PPC64.
5417 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5420 multiarch implementation.
5421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5428 multiarch isnan for PPC64.
5429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5430 multiarch isnanf for PPC64.
5432 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5434 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5435 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5436 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5437 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5438 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5441 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5443 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5444 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5448 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5451 multiarch implementations.
5452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5453 (__libc_ifunc_impl_list): Likewise.
5454 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5455 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5456 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5457 multiarch stpcpy for PPC64.
5459 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5462 multiarch implementations.
5463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5464 (__libc_ifunc_impl_list): Likewise.
5465 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5466 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5467 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5468 multiarch strcpy for PPC64.
5470 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5472 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5473 redefine function name.
5474 (_wordcopy_fwd_dest_aligned): Likewise.
5475 (_wordcopy_bwd_aligned): Likewise.
5476 (_wordcopy_bwd_dest_aligned): Likewise.
5477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5478 multiarch implementations.
5479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5480 (__libc_ifunc_impl_list): Likewise.
5481 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5482 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5483 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5484 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5485 multiarch wcscpy for PPC64.
5487 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5490 multiarch implementations.
5491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5492 (__libc_ifunc_impl_list): Likewise.
5493 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5494 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5495 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5496 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5497 multiarch wcscpy for PPC64.
5499 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5502 multiarch implementations.
5503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5504 (__libc_ifunc_impl_list): Likewise.
5505 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5506 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5507 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5508 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5509 multiarch wcsrchr for PPC64.
5511 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5514 multiarch implementations.
5515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5516 (__libc_ifunc_impl_list): Likewise.
5517 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5518 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5519 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5520 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5521 multiarch wcschr for PPC64.
5523 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5526 multiarch implementations.
5527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5528 (__libc_ifunc_impl_list): Likewise.
5529 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5530 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5531 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5532 multiarch strchrnul for PPC64.
5534 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5539 (__libc_ifunc_impl_list): Likewise.
5540 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5541 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5542 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5543 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5546 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5551 (__libc_ifunc_impl_list): Likewise.
5552 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5553 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5554 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5555 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5558 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5561 multiarch implementations.
5562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5563 (__libc_ifunc_impl_list): Likewise.
5564 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5565 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5566 strncasecmp for PPC64.
5567 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5568 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5569 multiarch strncasecmp_l for PPC64.
5571 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5574 multiarch implementations.
5575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5576 (__libc_ifunc_impl_list): Likewise.
5577 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5579 multiarch strcasecmp for PPC64.
5580 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5582 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5583 multiarch strcasecmp_l for PPC64.
5585 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5590 (__libc_ifunc_impl_list): Likewise.
5591 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5592 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5593 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5596 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5601 (__libc_ifunc_impl_list): Likewise.
5602 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5603 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5604 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5607 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5612 (__libc_ifunc_impl_list): Likewise.
5613 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5614 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5615 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5616 rawmemrchr for PPC64.
5618 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5623 (__libc_ifunc_impl_list): Likewise.
5624 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5625 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5626 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5629 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5634 (__libc_ifunc_impl_list): Likewise.
5635 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5636 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5637 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5640 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5645 (__libc_ifunc_impl_list): Likewise.
5646 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5647 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5648 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5651 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5653 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5654 avoid cretion of __bzero symbol.
5655 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5657 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5659 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5662 multiarch implementations.
5663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5664 (__libc_ifunc_impl_list): Likewise.
5665 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5666 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5667 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5668 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5670 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5671 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5672 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5673 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5674 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5676 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5678 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5680 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5684 (__libc_ifunc_impl_list): Likewise.
5685 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5686 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5687 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5688 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5691 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5694 multiarch for POWER/PPC64.
5695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5696 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5697 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5698 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5699 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5700 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5701 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5702 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5703 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5706 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5708 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5709 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5710 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5711 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5712 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5713 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5714 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5715 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5716 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5717 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5718 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5719 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5720 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5721 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5722 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5731 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5733 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5735 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5737 * benchtests/Makefile (bench): Add exp2 and log2.
5738 (LDLIBS-bench-exp2): Add -lm.
5739 (LDLIBS-bench-log2): Likewise.
5740 * benchtests/exp2-inputs: New inputs file.
5741 * benchtests/log2-inputs: New inputs file.
5742 * benchtests/log-inputs: Add new inputs.
5743 * benchtests/tan-inputs: Likewise.
5745 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5747 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5749 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5750 csloww1, csloww2): ... from here.
5752 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5753 instead of structures.
5754 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5755 (POLYNOMIAL): Likewise.
5756 (TAYLOR_SLOW): Likewise.
5764 (bsloww1): Likewise.
5765 (bsloww2): Likewise.
5768 (csloww1): Likewise.
5769 (csloww2): Likewise.
5771 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5773 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5774 (__malloc_assert, __libc_realloc, __libc_calloc,
5775 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5777 * malloc/hooks.c (realloc_check): Likewise.
5779 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5781 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5782 * malloc/arena.c: Remove PER_THREAD conditional.
5783 [!PER_THREAD]: Remove code.
5784 (ptmalloc_unlock_all2): Likewise.
5785 (ptmalloc_init): Likewise.
5786 (_int_new_arena): Likewise.
5787 (arena_get2): Likewise.
5788 * malloc/hooks.c (__malloc_get_state): Likewise.
5789 (__malloc_set_state): Likewise.
5790 * malloc/malloc.c: Likewise.
5791 (struct malloc_state): Likewise.
5792 (struct malloc_par): Likewise.
5793 (__libc_realloc): Likewise.
5794 (__libc_mallopt): Likewise.
5796 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5798 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5800 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5802 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5803 macro to a function. Check for zero perturb_byte.
5804 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5806 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5808 * malloc/malloc.c: (force_reg): Remove.
5809 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5810 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5811 force_reg by atomic_forced_read.
5812 * malloc/arena.c (ptmalloc_init): Likewise.
5813 * malloc/hooks.c (top_check): Likewise.
5815 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5819 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5823 2013-12-08 Joseph Myers <joseph@codesourcery.com>
5825 * math/auto-libm-test-in: Add tests of lgamma.
5826 * math/auto-libm-test-out: Regenerated.
5827 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5828 (M_LOG_2_SQRT_PIl): Likewise.
5829 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5830 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5832 (func_calc_desc): Add mpfr_f_f1 union field.
5841 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5842 (test_functions): Add lgamma.
5843 (calc_generic_results): Handle mpfr_f_f1.
5844 * sysdeps/i386/fpu/libm-test-ulps: Update.
5845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5847 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5849 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5850 __mpn_add_n for PowerPC64/POWER7.
5851 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5852 __mpn_sub_n for PowerPC64/POWER7.
5854 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5856 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5857 __mpn_addmul_1 for PowerPC64.
5858 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5859 __mpn_submul_1 for PowerPC64.
5860 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5862 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5865 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5868 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5870 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5872 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5874 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5876 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5877 add multiarch folders.
5878 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5879 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5880 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5881 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5882 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5883 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5884 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5885 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5886 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5887 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5888 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5896 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5899 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5905 multiarch __ieee754_hypot for PowerPC32.
5906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5911 multiarch __ieee754_hypotf for PowerPC32.
5913 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5915 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5916 long_double_symbol only if __logbl is defined.
5917 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5918 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5919 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5920 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5921 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5922 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5923 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5924 path for implementation.
5925 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5926 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5928 logb, and logbl multiarch implementations for PowerPC32.
5929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5934 multiarch logb for PowerPC32.
5935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5940 multiarch logbf for PowerPC32.
5941 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5945 multiarch logbl implementation for PowerPC32.
5947 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5950 and modff multiarch implementations.
5951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5956 multiarch modf for PowerPC32.
5957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5962 multiarch modff for PowerPC32.
5964 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5967 and lrintf multiarch implementations.
5968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5973 multiarch lrint for PowerPC32.
5974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5975 file: multiarch lrintf for PowerPC32.
5977 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5980 and lroundf multiarch implementations.
5981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5988 multiarch lround for PowerPC32.
5989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5990 file: multiarch lroundf for PowerPC32.
5992 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5995 copysign and copysignf multiarch implementations.
5996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6001 file: multiarch copysign for PowerPC32.
6002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6003 file: multiarch copysignf for PowerPC32.
6005 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6008 and truncf multiarch implementations.
6009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6014 multiarch trunc for PowerPC32.
6015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6020 multiarch truncf for PowerPC32.
6022 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6025 and roundf multiarch implementations.
6026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6031 multiarch round for PowerPC32.
6032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6037 multiarch roundf for PowerPC32.
6039 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6042 and floorf multiarch implementations.
6043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6048 multiarch floor for PowerPC32.
6049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6054 multiarch floorf for PowerPC32.
6056 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6059 and ceilf multiarch implementations.
6060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6065 multiarch ceil for PowerPC32.
6066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6071 multiarch ceilf for PowerPC32.
6073 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6075 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6077 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6080 and finitef multiarch implementations.
6081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6086 multiarch finite for PowerPC32.
6087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6090 file: multiarch finitef for PowerPC32.
6092 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6095 and isinff multiarch implementations.
6096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6101 multiarch isinf for PowerPC32.
6102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6105 multiarch isinff for PowerPC32.
6107 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6109 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6110 alias when __isnan is defined.
6111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6112 and isnanf multiarch implementations.
6113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6122 multiarch isnan for PowerPC32.
6123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6128 multiarch isnanf for PowerPC32.
6130 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6133 and sqrtf multiarch implementations.
6134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6139 multiarch sqrt for PowerPC32.
6140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6145 multiarch sqrtf for PowerPC32.
6147 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6150 and llroundf multiarch implementations.
6151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6158 file: multiarch llround for PowerPC32.
6159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6160 file: multiarch llroundf for PowerPC32.
6162 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6165 multiarch PowerPC32 fpu implementations.
6166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6171 multiarch llrint for PowerPC32.
6172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6179 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6183 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6185 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6187 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6189 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6191 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6192 multiarch wordcopy for PPC32.
6193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6196 (__libc_ifunc_impl_list): Likewise.
6197 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6198 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6199 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6200 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6201 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6202 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6204 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6206 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6211 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6214 multiarch wcscpy for PPC32.
6215 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6217 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6218 (__libc_ifunc_impl_list): Likewise.
6219 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6220 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6221 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6222 sysdeps/powerpc/power6/wcscpy.c.
6224 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6226 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6229 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6231 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6233 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6234 multiarch wcsrchr for PPC32.
6235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6238 (__libc_ifunc_impl_list): Likewise.
6239 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6240 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6241 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6242 sysdeps/powerpc/power6/wcsrchr.c.
6244 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6252 multiarch wcschr for PPc32.
6253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6256 (__libc_ifunc_impl_list): Likewise.
6257 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6258 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6259 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6260 sysdeps/powerpc/power6/wcschr.c.
6262 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6264 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6265 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6267 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6268 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6269 file: multiarch strchr for PPC32.
6270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6273 (__libc_ifunc_impl_list): Likewise.
6275 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6277 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6279 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6281 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6283 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6284 multiarch strchrnul for PPC32.
6285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6288 (__libc_ifunc_impl_list): Likewise.
6290 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6292 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6294 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6295 multiarch strncasecmp for PPC32.
6296 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6298 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6299 multiarch strncasecmp_l for PPC32.
6300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6301 strncasecmp multiarch objects.
6302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6303 (__libc_ifunc_impl_list): Likewise.
6305 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6307 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6309 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6310 multiarch strncasecmp for PPC32.
6311 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6313 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6314 multiarch strcasecmp_l for PPC32.
6315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6318 (__libc_ifunc_impl_list): Likewise.
6320 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6322 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6324 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6326 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6327 multiarch strncmp for PPC32.
6328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6331 (__libc_ifunc_impl_list): Likewise.
6333 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6335 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6336 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6338 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6339 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6343 (__libc_ifunc_impl_list): Likewise.
6345 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6347 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6349 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6351 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6355 (__libc_ifunc_impl_list): Likewise.
6357 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6359 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6361 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6363 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6364 multiarch rawmemchr for PPC32.
6365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
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 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6374 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6376 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6377 file: memrchr multiarch for PPC32.
6378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6381 (__libc_ifunc_impl_list): Likewise.
6383 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6385 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6386 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6388 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6389 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6390 multiarch memchr for PPC32.
6391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6394 (__libc_ifunc_impl_list): Likewise.
6396 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6398 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6399 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6401 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6403 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6404 file: multiarch mempcpy for PPC32.
6405 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6407 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6408 (__libc_ifunc_impl_list): Likewise.
6410 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6412 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6413 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6414 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6415 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6416 multiarch bzero for PPC32.
6417 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6419 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6421 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6422 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6423 file: multiarch memset for PPC32.
6424 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6425 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6426 memset multiarch objects.
6427 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6428 (__libc_ifunc_impl_list): Likewise.
6430 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6432 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6434 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6435 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6437 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6438 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6440 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6441 (__libc_ifunc_impl_list): Likewise.
6443 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6445 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6446 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6451 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6453 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6454 multiarch memcpy for PPC32.
6455 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6457 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6458 (__libc_ifunc_impl_list): Likewise.
6460 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6462 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6463 support multiarch for POWER/PPC32.
6464 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6466 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6468 Implies file to make multiarch folder appers before the fpu and
6469 default folder for power4 configuration.
6471 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6473 * scripts/bench.pl: Append volatile keyword to type.
6475 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6477 * sysdeps/sh/sotruss-lib.c: New file.
6478 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6480 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6484 2013-12-05 Joseph Myers <joseph@codesourcery.com>
6487 * math/w_tgamma.c: Include <errno.h>.
6488 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6489 * math/w_tgammaf.c: Include <errno.h>.
6490 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6491 * math/w_tgammal.c: Include <errno.h>.
6492 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6493 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6494 underflow. Add more tgamma tests.
6495 * math/auto-libm-test-out: Regenerated.
6496 * sysdeps/i386/fpu/libm-test-ulps: Update.
6497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6499 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6500 sin, sinh, tan, tanh, tgamma, y0 and y1.
6501 * math/auto-libm-test-out: Regenerated.
6502 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6503 (TEST_COND_x86): Likewise.
6504 (M_E2l): Remove macro.
6506 (M_2_SQRT_PIl): Likewise.
6507 (M_SQRT_PIl): Likewise.
6508 (M_1_DIV_El): Likewise.
6509 (log_test_data): Use AUTO_TESTS_f_f.
6510 (log10_test_data): Likewise.
6511 (log1p_test_data): Likewise.
6512 (log2_test_data): Likewise.
6513 (sin_test_data): Likewise.
6514 (sin_tonearest_test_data): Likewise.
6515 (sin_towardzero_test_data): Likewise.
6516 (sin_downward_test_data): Likewise.
6517 (sin_upward_test_data): Likewise.
6518 (sinh_test_data): Likewise.
6519 (sinh_tonearest_test_data): Likewise.
6520 (sinh_towardzero_test_data): Likewise.
6521 (sinh_downward_test_data): Likewise.
6522 (sinh_upward_test_data): Likewise.
6523 (tan_test_data): Likewise.
6524 (tan_tonearest_test_data): Likewise.
6525 (tan_towardzero_test_data): Likewise.
6526 (tan_downward_test_data): Likewise.
6527 (tan_upward_test_data): Likewise.
6528 (tanh_test_data): Likewise.
6529 (tgamma_test_data): Likewise.
6530 (y0_test_data): Likewise.
6531 (y1_test_data): Likewise.
6532 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6533 (special_real_inputs): Add pi/4.
6534 * sysdeps/i386/fpu/libm-test-ulps: Update.
6535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6537 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6539 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6540 "longjmp_target" static probes.
6541 (__longjmp): Rename to __longjmp_symbol.
6542 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6543 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6544 on which longjmp to generate.
6545 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6546 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6548 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6549 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6550 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6551 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6552 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6553 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6555 __longjmp_symbol based on which __longjmp to generate.
6556 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6558 (setjmp): Rename to setjmp_symbol.
6559 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6560 (_setjmp): Rename to _setjmp_symbol.
6561 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6562 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6563 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6564 which setjmp to generate.
6565 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6566 "longjmp_target" static probes.
6568 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6570 * benchtests/README: Add note about output arguments.
6571 * benchtests/bench-sincos.c: Remove file.
6572 * benchtests/sincos-inputs: New file.
6573 * scripts/bench.pl: Identify output arguments and define
6574 static variables for them.
6576 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6579 * Makefile (INSTALL): Add install-plain.texi as the primary
6581 * manual/install-plain.texi: New file.
6582 * manual/install.texi: Include node directive only for
6583 non-plaintext output.
6585 2013-12-04 Joseph Myers <joseph@codesourcery.com>
6587 * stdlib/longlong.h: Update from GCC.
6591 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6592 * math/w_j0f.c (y0f): Likewise.
6593 * math/w_j0l.c (__y0l): Likewise.
6594 * math/w_j1.c (y1): Likewise.
6595 * math/w_j1f.c (y1f): Likewise.
6596 * math/w_j1l.c (__y1l): Likewise
6597 * math/w_jn.c (yn): Likewise.
6598 * math/w_jnf.c (ynf): Likewise.
6599 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6600 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6601 value for Bessel function domain errors outside _SVID_ mode.
6602 Adjust sign of return value for yn (negative integer, 0).
6603 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6604 by zero in return for negative x and set sign appropriately for
6606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6607 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6608 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6609 expectations in error cases.
6610 (y1_test_data): Likewise.
6611 (yn_test_data): Likewise.
6612 * sysdeps/i386/fpu/libm-test-ulps: Update.
6613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6615 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6617 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6618 "64" to "64-v1". Add "64-v2".
6619 (abi-64-options): Rename to ...
6620 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6621 (abi-64-condition): Rename to ...
6622 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6623 (abi-64-ld-soname): Rename to ...
6624 (abi-64-v1-ld-soname): ... this.
6625 (abi-64-v2-options): Define.
6626 (abi-64-v2-condition): Likewise.
6627 (abi-64-v2-ld-soname): Likewise.
6628 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6629 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6634 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6635 Alan Modra <amodra@gmail.com>
6637 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6638 New versions for use with the ELFv2 ABI.
6639 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6640 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6642 (struct La_ppc64v2_retval): Likewise.
6643 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6644 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6645 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6646 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6647 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6648 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6649 Do not save or restore CR.
6650 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6651 (_dl_profile_resolve): Do no save or restore CR. Support extended
6652 return values for ELFv2 ABI. Fix location of FPR return registers.
6653 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6654 updated values for _CALL_ELF == 2.
6655 (La_regs, La_retval, int_retval): Likewise.
6657 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6659 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6660 (FRAME_MIN_SIZE_PARM): Likewise.
6661 (FRAME_BACKCHAIN): Likewise.
6662 (FRAME_CR_SAVE): Likewise.
6663 (FRAME_LR_SAVE): Likewise.
6664 (FRAME_TOC_SAVE): Likewise.
6665 (FRAME_PARM_SAVE): Likewise.
6666 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6667 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6668 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6669 (call_mcount_parm_offset): New macro.
6670 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6671 (PROF): Use symbolic stack frame offsets.
6672 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6673 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6674 Redefine in terms of FRAME_MIN_SIZE.
6675 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6676 (_dl_profile_resolve): Likewise. Update comment.
6677 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6678 symbols stack frame offsets.
6679 (__sigsetjmp): Likewise.
6680 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6681 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6682 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6683 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6686 (FRAME_BACKCHAIN): Remove.
6687 (FRAME_CR_SAVE): Likewise.
6688 (FRAME_LR_SAVE): Likewise.
6689 (FRAME_COMPILER_DW): Likewise.
6690 (FRAME_LINKER_DW): Likewise.
6691 (FRAME_TOC_SAVE): Likewise.
6692 (FRAME_PARM_SAVE): Likewise.
6693 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6694 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6695 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6697 (CHECK_SP): Use symbolic stack frame offsets.
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6699 zone" instead of caller's parameter save area for temp storage.
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6701 Likewise. Also, use symbolic stack frame offsets.
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6703 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6704 our own stack frame instead of the caller's.
6705 (__socket): Use symbolic stack frame offsets.
6707 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6708 Alan Modra <amodra@gmail.com>
6710 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6712 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6713 PPC64_LOCAL_ENTRY_OFFSET): Define.
6714 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6716 (elf_machine_fixup_plt): Call it.
6717 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6719 (elf_machine_rela): Update call to elf_machine_plt_conflict.
6720 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6721 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6722 r2 before calling target.
6724 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6725 Alan Modra <amodra@gmail.com>
6727 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6728 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6729 versions of macros to support ELFv2 ABI.
6730 (LOCALENTRY): New macro.
6731 (ENTRY, EALIGN): Use it.
6732 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6733 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6734 fall through into ENTRY entry point.
6735 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6736 Only define if _CALL_ELF != 2.
6738 (elf_machine_matches_host): Verify ABI version matches.
6739 (RTLD_START): Use LOCALENTRY.
6740 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6741 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6742 (PLT_ENTRY_WORDS): New macro.
6743 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6744 (elf_machine_runtime_setup): Support ELFv2 ABI.
6745 (elf_machine_fixup_plt): Likewise.
6746 (elf_machine_plt_conflict): Likewise.
6747 (resolve_ifunc): Likewise.
6748 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6749 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6752 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6754 (makecontext): Support ELFv2 ABI.
6755 * elf/elf.h (EF_PPC64_ABI): Define.
6757 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6759 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6760 New assembler macro.
6761 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6762 [ASSEMBLER] (ENTRY): ... but instead here ...
6763 [ASSEMBLER] (EALIGN): ... and here.
6764 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6765 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6766 [!ASSEMBLER] (ENTRY_2): Use it.
6767 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6768 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6769 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6770 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6771 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6773 Use PPC64_LOAD_FUNCPTR.
6775 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6777 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6779 2013-12-04 Alan Modra <amodra@gmail.com>
6781 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6782 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6783 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6784 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6786 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6787 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6788 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6789 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6790 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6791 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6793 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6796 (__makecontext): Fix incorrect CFI when backtracing out of
6797 context created via makecontext.
6798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6799 (__setcontext): Fix incorrect CFI during switch to new context.
6800 (__novec_setcontext): Likewise.
6802 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6805 * time/strptime_l.c (__strptime_internal): Allow modifiers
6807 * time/tst-strptime.c (day_tests): Add testcase.
6810 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6812 * scripts/bench.pl: Skip over blank lines.
6814 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6817 * manual/time.texi (Calendar Time): Clarify what timezone functions
6820 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6824 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6826 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6828 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6829 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6830 * debug/memset_chk.c (__memset_chk): Likewise.
6831 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6832 * debug/strncpy_chk.c: Likewise.
6834 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6838 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6839 (__ieee754_exp): For possibly underflowing results, check size of
6840 result and force underflow exception if required.
6841 * math/auto-libm-test-in: Add more tests of exp.
6842 * math/auto-libm-test-out: Regenerated.
6843 * sysdeps/i386/fpu/libm-test-ulps: Update.
6844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6847 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6848 * math/w_exp2f.c (__exp2f): Likewise.
6849 * math/w_exp2l.c (__exp2l): Likewise.
6850 * math/auto-libm-test-in: Do not allow missing errno on exp2
6852 * math/auto-libm-test-out: Regenerated.
6854 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
6857 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6858 handle filename validation.
6859 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6862 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6865 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6866 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6867 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6869 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6870 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6871 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6872 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6873 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6874 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6875 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6876 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6877 Add more erfc tests.
6878 * math/auto-libm-test-out: Regenerated.
6879 * sysdeps/i386/fpu/libm-test-ulps: Update.
6880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6882 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6883 exp2, expm1, j0 and j1.
6884 * math/auto-libm-test-out: Regenerated.
6885 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6886 (erfc_test_data): Likewise.
6887 (exp_test_data): Likewise.
6888 (exp_tonearest_test_data): Likewise.
6889 (exp_towardzero_test_data): Likewise.
6890 (exp_downward_test_data): Likewise.
6891 (exp_upward_test_data): Likewise.
6892 (exp10_test_data): Likewise.
6893 (exp2_test_data): Likewise.
6894 (expm1_test_data): Likewise.
6895 (j0_test_data): Likewise.
6896 (j1_test_data): Likewise.
6897 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6898 (input_flag_type): Add flag_xfail_rounding.
6899 (input_flags): Add xfail-rounding.
6900 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6901 (output_for_one_input_case): Handle flag_xfail_rounding.
6902 * sysdeps/i386/fpu/libm-test-ulps: Update.
6903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6905 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6908 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6911 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6914 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6915 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6916 (STAP_PROBE0): New macro.
6917 (STAP_PROBE1): Likewise.
6918 (STAP_PROBE2): Likewise.
6919 (STAP_PROBE3): Likewise.
6920 (STAP_PROBE4): Likewise.
6922 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
6924 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6926 2013-12-02 Steve Ellcey <sellcey@mips.com>
6928 * benchtests/Makefile (bench): Add sqrt.
6929 (LDLIBS-bench-sqrt): New.
6930 * benchtests/sqrt-input: New.
6932 2013-12-02 Pavel Simerda <psimerda@redhat.com>
6934 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6935 (GAIH_EAI): Likewise.
6936 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6937 (gaih_inet): Likewise.
6938 (getaddrinfo): Don't use GAIH_EAI.
6940 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6941 (struct gaih): Remove definition.
6943 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6945 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6946 Use HERRNOP directly.
6948 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6952 2013-11-30 Joseph Myers <joseph@codesourcery.com>
6954 * math/gen-auto-libm-tests.c (test_functions): Add more
6955 single-argument functions.
6956 (special_fill_pi_2): New function.
6957 (special_fill_minus_pi_2): Likewise.
6958 (special_fill_pi_6): Likewise.
6959 (special_fill_minus_pi_6): Likewise.
6960 (special_fill_pi_3): Likewise.
6961 (special_fill_2pi_3): Likewise.
6962 (special_fill_e): Likewise.
6963 (special_fill_1_e): Likewise.
6964 (special_fill_e_minus_1): Likewise.
6965 (special_real_inputs): Add more special inputs.
6966 (output_for_one_input_case): Do not require ERANGE on underflow to
6967 zero if round-to-nearest result does not underflow to zero, unless
6968 exact results required.
6969 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6970 atan, atanh, cbrt, cos and cosh.
6971 * math/auto-libm-test-out: Regenerated.
6972 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6973 (acos_tonearest_test_data): Likewise.
6974 (acos_towardzero_test_data): Likewise.
6975 (acos_downward_test_data): Likewise.
6976 (acos_upward_test_data): Likewise.
6977 (acosh_test_data): Likewise.
6978 (asin_test_data): Likewise.
6979 (asin_tonearest_test_data): Likewise.
6980 (asin_towardzero_test_data): Likewise.
6981 (asin_upward_test_data): Likewise.
6982 (asinh_test_data): Likewise.
6983 (atan_test_data): Likewise.
6984 (atanh_test_data): Likewise.
6985 (cbrt_test_data): Likewise.
6986 (cos_test_data): Likewise.
6987 (cos_tonearest_test_data): Likewise.
6988 (cos_towardzero_test_data): Likewise.
6989 (cos_downward_test_data): Likewise.
6990 (cos_upward_test_data): Likewise.
6991 (cosh_test_data): Likewise.
6992 (cosh_tonearest_test_data): Likewise.
6993 (cosh_towardzero_test_data): Likewise.
6994 (cosh_downward_test_data): Likewise.
6995 (cosh_upward_test_data): Likewise.
6996 * sysdeps/i386/fpu/libm-test-ulps: Update.
6997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6999 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7002 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7003 * math/w_exp10f.c (__exp10f): Likewise.
7004 * math/w_exp10l.c (__exp10l): Likewise.
7005 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7006 errno settings in existing tests.
7009 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7010 precision control set to double precision.
7011 * sysdeps/i386/fpu/w_sqrt.c: New file.
7012 * math/auto-libm-test-in: Add more tests.
7013 * math/auto-libm-test-out: Update.
7015 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7016 (sqrt_test_tonearest): New function.
7017 (sqrt_towardzero_test_data): New variable.
7018 (sqrt_test_towardzero): New function.
7019 (sqrt_downward_test_data): New variable.
7020 (sqrt_test_downward): New function.
7021 (sqrt_upward_test_data): New variable.
7022 (sqrt_test_upward): New function.
7023 (main): Call the new functions.
7025 * math/gen-auto-libm-tests.c: New file.
7026 * math/auto-libm-test-in: Likewise.
7027 * math/auto-libm-test-out: New generated file.
7028 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7030 (%beautify): Add generated representations of zero.
7031 (top level): Set $auto_input and call parse_auto_input.
7032 (beautify): Remove trailing "f" from hex float constants.
7033 (parse_args): Handle XFAIL_TEST.
7034 (convert_condition): New function.
7035 (or_value): Likewise.
7036 (or_cond_value): Likewise.
7037 (generate_testfile): Handle AUTO_TESTS_* lines.
7038 (parse_auto_input): New function.
7039 * math/libm-test.inc (XFAIL_TEST): New macro.
7040 (ERRNO_UNCHANGED): Update value.
7041 (ERRNO_EDOM): Likewise.
7042 (ERRNO_ERANGE): Likewise.
7043 (IGNORE_RESULT): Likewise.
7044 (TEST_COND_flt_32): New macro.
7045 (TEST_COND_dbl_64): Likewise.
7046 (TEST_COND_ldbl_96_intel): Likewise.
7047 (TEST_COND_ldbl_96_m68k): Likewise.
7048 (TEST_COND_ldbl_128): Likewise.
7049 (TEST_COND_ldbl_128ibm): Likewise.
7050 (TEST_COND_long32): Likewise.
7051 (TEST_COND_long64): Likewise.
7052 (TEST_COND_before_rounding): Likewise.
7053 (TEST_COND_after_rounding): Likewise.
7054 (enable_test): Handle XFAIL_TEST flag.
7055 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7056 with finite results.
7057 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7060 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7061 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7064 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7065 __tls_get_addr_internal instead of __tls_get_offset in order to
7066 avoid GOT pointer dependency. Make rtld export
7067 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7068 __tls_get_addr since we are a __tls_get_offset platform.
7069 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7070 GOT pointer being set up before.
7071 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7073 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7075 * manual/math.texi (Errors in Math Functions): Document accuracy
7079 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7080 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7081 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7082 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7083 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7085 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7096 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7097 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7098 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7099 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7100 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7102 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7104 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7106 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7107 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7108 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7109 atomic-feupdateenv and flt-rounds.
7110 * sysdeps/powerpc/nofpu/Versions (libc): Add
7111 __atomic_feholdexcept, __atomic_feclearexcept,
7112 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7113 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7114 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7115 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7116 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7121 * manual/arith.texi (FP Exceptions): Document that exceptions may
7122 not be raised when matherr is used.
7123 (Math Error Reporting): Document overflow in directed rounding
7124 modes. Document that errno may not be set when finite values are
7125 returned on overflow. Document intent to set errno on underflow
7126 only for underflow to zero.
7129 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7130 round-to-nearest then adjust result for other rounding modes.
7131 * include/fenv.h (fegetround): Use libm_hidden_proto.
7132 * math/fegetround.c (fegetround): Use libm_hidden_def.
7133 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7134 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7135 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7136 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7138 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7139 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7140 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7141 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7143 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7146 * nss/Versions (libnss_files): Add
7147 _nss_files_gethostbyname3_r.
7148 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7150 (HOST_DB_LOOKUP): Remove macro.
7151 (_nss_files_gethostbyname_r): Implement function without the
7152 HOST_DB_LOOKUP macro.
7153 (_nss_files_gethostbyname2_r): Likewise.
7155 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7157 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7159 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7161 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7162 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7165 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7167 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7168 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7169 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7170 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7171 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7172 __fe_nomask_env_priv and attribute_hidden.
7173 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7174 (libc_feupdateenv_test_ppc): Likewise.
7175 (libc_feresetround_ppc): Likewise.
7176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7177 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7178 compat_symbol macro.
7179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7180 (__fe_nomask_env): Likewise.
7181 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7183 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7185 * string/Makefile: Remove ifunc tests.
7186 * string/test-string.h: Define TEST_IFUNC.
7187 * string/test-bcopy-ifunc.c: Remove.
7188 * string/test-bzero-ifunc.c: Likewise.
7189 * string/test-memccpy-ifunc.c: Likewise.
7190 * string/test-memchr-ifunc.c: Likewise.
7191 * string/test-memcmp-ifunc.c: Likewise.
7192 * string/test-memcpy-ifunc.c: Likewise.
7193 * string/test-memmem-ifunc.c: Likewise.
7194 * string/test-memmove-ifunc.c: Likewise.
7195 * string/test-mempcpy-ifunc.c: Likewise.
7196 * string/test-memrchr-ifunc.c: Likewise.
7197 * string/test-memset-ifunc.c: Likewise.
7198 * string/test-rawmemchr-ifunc.c: Likewise.
7199 * string/test-stpcpy-ifunc.c: Likewise.
7200 * string/test-stpncpy-ifunc.c: Likewise.
7201 * string/test-strcasecmp-ifunc.c: Likewise.
7202 * string/test-strcasestr-ifunc.c: Likewise.
7203 * string/test-strcat-ifunc.c: Likewise.
7204 * string/test-strchr-ifunc.c: Likewise.
7205 * string/test-strchrnul-ifunc.c: Likewise.
7206 * string/test-strcmp-ifunc.c: Likewise.
7207 * string/test-strcpy-ifunc.c: Likewise.
7208 * string/test-strcspn-ifunc.c: Likewise.
7209 * string/test-strlen-ifunc.c: Likewise.
7210 * string/test-strncasecmp-ifunc.c: Likewise.
7211 * string/test-strncat-ifunc.c: Likewise.
7212 * string/test-strncmp-ifunc.c: Likewise.
7213 * string/test-strncpy-ifunc.c: Likewise.
7214 * string/test-strnlen-ifunc.c: Likewise.
7215 * string/test-strpbrk-ifunc.c: Likewise.
7216 * string/test-strrchr-ifunc.c: Likewise.
7217 * string/test-strspn-ifunc.c: Likewise.
7218 * string/test-strstr-ifunc.c: Likewise.
7220 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7222 * benchtests/Makefile: Remove ifunc tests.
7223 * benchtests/bench-string.h: Define TEST_IFUNC.
7224 * benchtests/bench-bcopy-ifunc.c: Remove.
7225 * benchtests/bench-bzero-ifunc.c: Likewise.
7226 * benchtests/bench-memccpy-ifunc.c: Likewise.
7227 * benchtests/bench-memchr-ifunc.c: Likewise.
7228 * benchtests/bench-memcmp-ifunc.c: Likewise.
7229 * benchtests/bench-memcpy-ifunc.c: Likewise.
7230 * benchtests/bench-memmem-ifunc.c: Likewise.
7231 * benchtests/bench-memmove-ifunc.c: Likewise.
7232 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7233 * benchtests/bench-memrchr-ifunc.c: Likewise.
7234 * benchtests/bench-memset-ifunc.c: Likewise.
7235 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7236 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7237 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7238 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7239 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7240 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7241 * benchtests/bench-strcat-ifunc.c: Likewise.
7242 * benchtests/bench-strchr-ifunc.c: Likewise.
7243 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7244 * benchtests/bench-strcmp-ifunc.c: Likewise.
7245 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7246 * benchtests/bench-strcpy-ifunc.c: Likewise.
7247 * benchtests/bench-strcspn-ifunc.c: Likewise.
7248 * benchtests/bench-strlen-ifunc.c: Likewise.
7249 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7250 * benchtests/bench-strncat-ifunc.c: Likewise.
7251 * benchtests/bench-strncmp-ifunc.c: Likewise.
7252 * benchtests/bench-strncpy-ifunc.c: Likewise.
7253 * benchtests/bench-strnlen-ifunc.c: Likewise.
7254 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7255 * benchtests/bench-strrchr-ifunc.c: Likewise.
7256 * benchtests/bench-strsep-ifunc.c: Likewise.
7257 * benchtests/bench-strspn-ifunc.c: Likewise.
7258 * benchtests/bench-strstr-ifunc.c: Likewise.
7260 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7262 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7264 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7266 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7267 * rt/aio.h: Likewise.
7268 * sysdeps/gnu/bits/utmp.h: Likewise.
7269 * sysdeps/gnu/bits/utmpx.h: Likewise.
7270 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7271 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7272 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7273 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7274 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7275 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7276 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7277 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7278 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7279 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7280 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7281 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7282 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7284 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7285 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7286 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7287 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7288 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7289 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7290 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7291 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7292 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7293 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7294 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7296 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7297 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7298 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7299 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7300 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7301 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7302 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7303 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7304 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7305 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7306 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7307 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7308 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7309 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7310 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7311 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7313 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7316 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7317 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7319 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7321 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7322 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7325 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7327 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7328 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7329 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7330 (__fesetround): Remove define.
7331 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7332 rounding and exceptions handling.
7333 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7334 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7335 (__fe_nomask_env): Likewise.
7336 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7337 __fegetround instead of fegetround.
7338 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7339 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7341 2013-11-21 Roland McGrath <roland@hack.frob.com>
7343 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7346 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7348 2013-11-21 Meador Inge <meadori@codesourcery.com>
7351 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7352 (encrypt_r): Likewise.
7353 * malloc/obstack.h (obstack_free): Likewise.
7354 * posix/unistd.h (encrypt): Likewise.
7356 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7358 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7359 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7360 DL_CALL_DT_FINI() that call the functions directly.
7361 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7362 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7363 * elf/dl-fini.c: Likewise.
7365 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
7367 * malloc/hooks.c (memalign_check): Add alignment rounding.
7368 * malloc/malloc.c (_mid_memalign): New function.
7369 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7370 Implement by calling _mid_memalign.
7371 * manual/probes.texi (Memory Allocation Probes): Remove
7372 memory_valloc_retry and memory_pvalloc_retry.
7374 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7376 * locale/programs/locarchive.c (open_archive): Add const
7377 qualifier to ARCHIVEFNAME and copy default fname to
7381 * libio/tst-widetext.input: Rename Oriya to Odia.
7382 * locale/iso-639.def: Likewise.
7384 * manual/probes.texi (Mathematical Function Probes): Add
7385 documentation for sin, cos, asin and acos probes.
7386 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7387 (__sin32): Add slowasin probe.
7388 (__cos32): Add slowacos probe.
7389 (__mpsin): Add slowsin probe.
7390 (__mpcos): Add slowcos probe.
7392 2013-11-19 Joseph Myers <joseph@codesourcery.com>
7395 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7396 thread-local __sim_exceptions_thread and global
7397 __sim_exceptions_global.
7398 (__sim_disabled_exceptions): Change to thread-local
7399 __sim_disabled_exceptions_thread and global
7400 __sim_disabled_exceptions_global.
7401 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7402 and global __sim_round_mode_global.
7403 (__simulate_exceptions): Use thread-local floating-point state and
7404 set global state from it as needed.
7405 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7406 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7407 __sim_round_mode_thread.
7408 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7409 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7410 and global __sim_exceptions_global.
7411 (__sim_disabled_exceptions): Change to thread-local
7412 __sim_disabled_exceptions_thread and global
7413 __sim_disabled_exceptions_global.
7414 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7415 and global __sim_round_mode_global.
7416 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7417 (SIM_SET_GLOBAL): Likewise.
7418 * sysdeps/powerpc/soft-fp/sfp-machine.h
7419 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7420 __sim_round_mode_thread.
7421 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7422 __sim_disabled_exceptions_thread.
7423 (__sim_exceptions): Change to __sim_exceptions_thread.
7424 (__sim_disabled_exceptions): Change to
7425 __sim_disabled_exceptions_thread.
7426 (__sim_round_mode): Change to __sim_round_mode_thread.
7427 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7428 thread-local floating-point state and set global state from it as
7430 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7431 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7432 (__sim_disabled_exceptions): Remove extern declaration.
7433 (feenableexcept): Use thread-local floating-point state and set
7434 global state from it as needed.
7435 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7437 (__sim_disabled_exceptions): Likewise.
7438 (__sim_round_mode): Likewise.
7439 (__fegetenv): Use thread-local floating-point state.
7440 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7441 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7442 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7443 floating-point state and set global state from it as needed.
7444 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7445 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7446 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7448 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7449 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7451 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7452 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7453 Use __sim_round_mode_thread.
7454 * math/test-fenv-tls.c: New file.
7455 * math/Makefile (tests): Add test-fenv-tls.
7456 ($(objpfx)test-fenv-tls): Depend on
7457 $(common-objpfx)nptl/libpthread.so.
7459 2013-11-19 Andreas Schwab <schwab@suse.de>
7461 * locale/programs/locale.c (show_info): Decode wordarray elements.
7462 * locale/categories.def (LC_MONETARY): Add element for
7463 _NL_MONETARY_CRNCYSTR.
7464 * locale/C-monetary.c (conversion_rate): New variable.
7465 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7468 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7470 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7471 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7473 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7475 * elf/Makefile (tst-auxv): New test.
7476 * elf/tst-auxv.c: New
7477 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7479 2013-11-18 Joseph Myers <joseph@codesourcery.com>
7481 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7482 (hidden_proto): Caller changed.
7483 (hidden_tls_proto): New macro.
7484 (libc_hidden_tls_proto): Likewise.
7485 (rtld_hidden_tls_proto): Likewise.
7486 (libm_hidden_tls_proto): Likewise.
7487 (libresolv_hidden_tls_proto): Likewise.
7488 (librt_hidden_tls_proto): Likewise.
7489 (libdl_hidden_tls_proto): Likewise.
7490 (libnss_files_hidden_tls_proto): Likewise.
7491 (libnsl_hidden_tls_proto): Likewise.
7492 (libnss_nisplus_hidden_tls_proto): Likewise.
7493 (libutil_hidden_tls_proto): Likewise.
7495 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
7498 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7499 (decompose_rpath): Defer expansion to fillin_rpath.
7500 (_dl_init_paths): Pass linkmap to fillin_rpath.
7502 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7504 * benchtests/Makefile: Add strsep.
7505 * benchtests/bench-strsep.c: New file: strsep benchtest.
7506 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7508 2013-11-18 Andreas Schwab <schwab@suse.de>
7510 * locale/programs/locale.c (show_info) [case byte]: Check for
7511 '\377' instead of '\177'.
7512 * locale/C-monetary.c (not_available): Always use "\377".
7513 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7514 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7515 detect unavailable sign_posn locale elements.
7516 * locale/localeconv.c (__localeconv): For grouping and
7517 mon_grouping handle "\177" and "\377" like no grouping.
7518 (INT_ELEM): New macro. Use it to set all numeric members.
7519 * locale/programs/ld-monetary.c (monetary_read)
7520 <tok_mon_grouping>: Normalize single -1 to the empty string.
7521 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7524 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7527 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7528 when we match (nil).
7529 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7531 2013-11-16 Joseph Myers <joseph@codesourcery.com>
7533 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7534 (NO_TEST_INLINE): Update value.
7535 (ERRNO_UNCHANGED): Likewise.
7536 (ERRNO_EDOM): Likewise.
7537 (ERRNO_ERANGE): Likewise.
7538 (IGNORE_RESULT): Likewise.
7539 (check_float_internal): Check signs of NaN results if
7541 (check_complex): Pass TEST_NAN_SIGN flag through to second
7542 check_float_internal call.
7543 (copysign_test_data): Add tests with quiet NaNs as second
7544 argument. Use TEST_NAN_SIGN.
7545 (fabs_test_data): Add test of negative quiet NaN argument. Use
7547 (signbit_test_data): Add tests of quiet NaN argument.
7548 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7550 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7552 (parse_args): Handle function results specified as IGNORE.
7553 * math/libm-test.inc (IGNORE_RESULT): New macro.
7554 (check_float_internal): Do not check numerical result if flag
7556 (check_complex): Pass through IGNORE_RESULT to second
7557 check_float_internal call.
7558 (check_int): Do not check numerical result if flag IGNORE_RESULT
7560 (check_long): Likewise.
7561 (check_bool): Likewise.
7562 (check_longlong): Likewise.
7563 (lrint_test_data): Add tests of infinite and NaN arguments.
7564 (lrint_tonearest_test_data): Likewise.
7565 (lrint_towardzero_test_data): Likewise.
7566 (lrint_downward_test_data): Likewise.
7567 (lrint_upward_test_data): Likewise.
7568 (llrint_test_data): Likewise.
7569 (llrint_tonearest_test_data): Likewise.
7570 (llrint_towardzero_test_data): Likewise.
7571 (llrint_downward_test_data): Likewise.
7572 (llrint_upward_test_data): Likewise.
7573 (lround_test_data): Likewise.
7574 (llround_test_data): Likewise.
7576 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7577 (ERRNO_UNCHANGED): Update value.
7578 (ERRNO_EDOM): Likewise.
7579 (ERRNO_ERANGE): Likewise.
7580 (NO_TEST_INLINE_FLOAT): New macro.
7581 (NO_TEST_INLINE_DOUBLE): Likewise.
7582 (enable_test): New function.
7583 (RUN_TEST_f_f): Check enable_test before running test.
7584 (RUN_TEST_2_f): Likewise.
7585 (RUN_TEST_fff_f): Likewise.
7586 (RUN_TEST_c_f): Likewise.
7587 (RUN_TEST_f_f1): Likewise.
7588 (RUN_TEST_fF_f1): Likewise.
7589 (RUN_TEST_fI_f1): Likewise.
7590 (RUN_TEST_ffI_f1): Likewise.
7591 (RUN_TEST_c_c): Likewise.
7592 (RUN_TEST_cc_c): Likewise.
7593 (RUN_TEST_f_i): Likewise.
7594 (RUN_TEST_f_i_tg): Likewise.
7595 (RUN_TEST_ff_i_tg): Likewise.
7596 (RUN_TEST_f_b): Likewise.
7597 (RUN_TEST_f_b_tg): Likewise.
7598 (RUN_TEST_f_l): Likewise.
7599 (RUN_TEST_f_L): Likewise.
7600 (RUN_TEST_fFF_11): Likewise.
7601 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7603 (cosh_test_data): Likewise.
7604 (exp_test_data): Likewise.
7605 (expm1_test_data): Likewise.
7606 (hypot_test_data): Likewise.
7607 (pow_test_data): Likewise.
7608 (sinh_test_data): Likewise.
7609 (tanh_test_data): Likewise.
7610 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7613 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7614 tests with quiet NaN input and output.
7615 (acosh_test_data): Likewise.
7616 (asin_test_data): Likewise.
7617 (asinh_test_data): Likewise.
7618 (atan_test_data): Likewise.
7619 (atanh_test_data): Likewise.
7620 (atan2_test_data): Likewise.
7621 (cbrt_test_data): Likewise.
7622 (cos_test_data): Likewise.
7623 (cosh_test_data): Likewise.
7624 (erf_test_data): Likewise.
7625 (erfc_test_data): Likewise.
7626 (exp_test_data): Likewise.
7627 (exp10_test_data): Likewise.
7628 (exp2_test_data): Likewise.
7629 (expm1_test_data): Likewise.
7630 (hypot_test_data): Likewise.
7631 (j0_test_data): Likewise.
7632 (j1_test_data): Likewise.
7633 (jn_test_data): Likewise.
7634 (lgamma_test_data): Likewise.
7635 (log_test_data): Likewise.
7636 (log10_test_data): Likewise.
7637 (log1p_test_data): Likewise.
7638 (log2_test_data): Likewise.
7639 (pow_test_data): Likewise.
7640 (scalb_test_data): Likewise.
7641 (sin_test_data): Likewise.
7642 (sincos_test_data): Likewise.
7643 (sinh_test_data): Likewise.
7644 (tan_test_data): Likewise.
7645 (tanh_test_data): Likewise.
7646 (tgamma_test_data): Likewise.
7647 (y0_test_data): Likewise.
7648 (y1_test_data): Likewise.
7649 (yn_test_data): Likewise.
7652 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7653 argument being NaN and avoid computations with second argument in
7655 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7656 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7657 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7659 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7661 * locale/iso-639.def: Add Chitwani Tharu (the).
7663 2013-11-14 Andreas Schwab <schwab@suse.de>
7665 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7666 word instead of empty string.
7668 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7671 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7673 (__fe_nomask_env): Likewise.
7675 2013-11-13 Steve Ellcey <sellcey@mips.com>
7677 * benchtests/bench-timing.h: Include time.h.
7679 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7682 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7684 * sysdeps/unix/sysv/linux/configure: Regenerated.
7686 2013-11-13 Joseph Myers <joseph@codesourcery.com>
7689 * stdlib/strtod_l.c (round_and_return): Do not consider
7690 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7691 exponent one less than half the least subnormal exponent.
7692 * stdlib/test-strtod-round-data: Add more tests.
7693 * stdlib/tst-strtod-round.c (tests): Regenerated.
7695 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7698 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7699 (__fe_mask_env): Likewise.
7700 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7701 libm_hidden_proto and add function prototype.
7702 (__fe_mask_env): Add function prototype.
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7704 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7706 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7708 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7710 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7712 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7713 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7715 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7717 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7718 of htab_find_slot().
7720 2013-11-11 David S. Miller <davem@davemloft.net>
7723 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7724 symbol in the non-vis3 case in static builds.
7725 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7726 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7727 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7728 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7730 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7733 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7736 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7738 * benchtests/Makefile: Add bench-strtod.
7739 * benchtests/bench-strtod.c: New file: strtod benchtest
7741 2013-11-11 Andreas Schwab <schwab@suse.de>
7744 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7745 terminating NUL in key length.
7747 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7749 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7750 Add artificial ODP entry for vDSO symbol for PPC64.
7751 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7752 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7754 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7757 * nss/getent.c (services_keys): Recognize services starting with digit.
7759 2013-11-06 David S. Miller <davem@davemloft.net>
7762 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7763 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7765 2013-11-06 Will Newton <will.newton@linaro.org>
7767 * manual/memory.texi (Malloc Examples): Remove register
7768 keyword from examples.
7770 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
7772 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7774 2013-11-04 Joseph Myers <joseph@codesourcery.com>
7777 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7778 depending on [__GCC_IEC_559 > 0].
7779 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7780 depending on [__GCC_IEC_559_COMPLEX > 0].
7782 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
7784 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7787 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
7789 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7791 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
7794 * malloc/malloc (malloc_info): Do not handle first bin as
7797 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
7799 * locale/iso-639.def: Add Central Nahuatl (nhn).
7801 2013-11-01 Bruno Haible <bruno@clisp.org>
7804 * manual/math.texi (BSD Random): Specify range upper bound as
7807 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
7809 * locale/iso-639.def: Add Meadow Mari (mhr).
7811 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
7813 [BZ #14752], [BZ #15763]
7814 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7816 * rt/tst_shm.c: Add test for escaping directory.
7818 2013-10-31 Andreas Schwab <schwab@suse.de>
7821 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7822 followed by 'x' as part of digit sequence.
7823 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7825 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7828 * configure.ac: allow GNU Make 4.0 and greater.
7829 * configure: Regenerated.
7831 2013-10-30 Will Newton <will.newton@linaro.org>
7834 * malloc/hooks.c (memalign_check): Limit alignment to the
7835 maximum representable power of two.
7836 * malloc/malloc.c (__libc_memalign): Likewise.
7837 * malloc/tst-memalign.c (do_test): Add test for very
7838 large alignment values.
7839 * malloc/tst-posix_memalign.c (do_test): Likewise.
7841 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7844 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7845 (munmap_chunk): Likewise.
7846 (mremap_chunk): Likewise.
7848 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7851 * stdlib/div.c (div): Remove obsolete code.
7852 * stdlib/ldiv.c (ldiv): Likewise.
7853 * stdlib/lldiv.c (lldiv): Likewise.
7855 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7858 * nss/nss_files/files-XXX.c (get_contents_ret): New
7860 (get_contents): New function.
7861 (internal_getent): Use it. Expand size of LINEBUFLEN.
7863 2013-10-30 Mike Frysinger <vapier@gentoo.org>
7865 * configure.in: Moved to ...
7866 * configure.ac: ... here. Change reference to configure.in
7868 * sysdeps/arm/preconfigure.ac: ... here.
7869 configure.in to configure.ac.
7870 * sysdeps/gnu/configure.in: Moved to ...
7871 * sysdeps/gnu/configure.ac: ... here.
7872 * sysdeps/i386/configure.in: Moved to ...
7873 * sysdeps/i386/configure.ac: ... here.
7874 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7875 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7876 * sysdeps/mach/configure.in: Moved to ...
7877 * sysdeps/mach/configure.ac: ... here.
7878 * sysdeps/mach/hurd/configure.in: Moved to ...
7879 * sysdeps/mach/hurd/configure.ac: ... here.
7880 * sysdeps/powerpc/configure.in: Moved to ...
7881 * sysdeps/powerpc/configure.ac: ... here.
7882 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7883 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7884 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7885 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7886 * sysdeps/s390/s390-32/configure.in: Moved to ...
7887 * sysdeps/s390/s390-32/configure.ac: ... here.
7888 * sysdeps/s390/s390-64/configure.in: Moved to ...
7889 * sysdeps/s390/s390-64/configure.ac: ... here.
7890 * sysdeps/sh/configure.in: Moved to ...
7891 * sysdeps/sh/configure.ac: ... here.
7892 * sysdeps/sparc/configure.in: Moved to ...
7893 * sysdeps/sparc/configure.ac: ... here.
7894 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7895 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7896 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7897 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7898 * sysdeps/x86_64/configure.in: Moved to ...
7899 * sysdeps/x86_64/configure.ac: ... here.
7900 * sysdeps/x86_64/preconfigure.in: Moved to ...
7901 * sysdeps/x86_64/preconfigure.ac: ... here.
7902 * aclocal.m4: Change reference to configure.in to configure.ac.
7903 * config.h.in: Likewise.
7904 * manual/install.texi: Likewise.
7905 * manual/maint.texi: Likewise.
7906 * Makefile: Likewise.
7907 * malloc/Makefile: Likewise.
7908 * nscd/Makefile: Likewise.
7909 * Makeconfig: Change reference to configure.in and
7910 preconfigure.in to configure.ac and preconfigure.ac
7912 * INSTALL: Regenerated.
7913 * configure: Likewise.
7914 * sysdeps/gnu/configure: Likewise.
7915 * sysdeps/i386/configure: Likewise.
7916 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7917 * sysdeps/mach/configure: Likewise.
7918 * sysdeps/mach/hurd/configure: Likewise.
7919 * sysdeps/powerpc/configure: Likewise.
7920 * sysdeps/powerpc/powerpc32/configure: Likewise.
7921 * sysdeps/powerpc/powerpc64/configure: Likewise.
7922 * sysdeps/s390/s390-32/configure: Likewise.
7923 * sysdeps/s390/s390-64/configure: Likewise.
7924 * sysdeps/sh/configure: Likewise.
7925 * sysdeps/sparc/configure: Likewise.
7926 * sysdeps/unix/sysv/linux/configure: Likewise.
7927 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7928 * sysdeps/x86_64/configure: Likewise.
7929 * sysdeps/x86_64/preconfigure: Likewise.
7931 2013-10-29 Andreas Schwab <schwab@suse.de>
7933 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7935 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7937 * benchtests/pow-inputs: Add new inputs.
7939 * benchtests/exp-inputs: Add new inputs.
7941 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7942 conditional check for return value.
7943 (__cos32): Likewise.
7945 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7947 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7948 to provide a boost for large inputs with word alignment.
7949 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7950 implementation based on optimized PPC64 strcpy.
7951 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7952 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7953 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7954 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7956 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7959 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7961 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7964 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7965 * time/tst-strptime.c (day_tests): Add testcase.
7967 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7970 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7972 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7975 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7976 MAP_FAILED on error.
7978 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7981 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7982 heap for large requests.
7984 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7987 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7988 result if the result has no associated interface.
7989 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7990 interface for all 127.X.Y.Z addresses.
7992 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
7994 * locale/iso-639.def: Add Ligurian (lij)
7996 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
7999 * sunrpc/rpc_main.c: Document rpcgen -5.
8001 2013-10-19 Michael Stahl <mstahl@redhat.com>
8003 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8005 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8008 * posix/glob.c: Match only directories when trailing slash is present.
8009 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8010 (main): Add testcase.
8012 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8015 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8017 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8019 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8020 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8021 AUTH_DES and cindex for FIPS 140-2.
8022 (DES Encryption): Add cindex FIPS 46-3.
8024 * locale/locarchive.h (struct locarhandle): Add fname.
8025 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8026 if an optional argument was specified to --list-archive,
8028 * locale/programs/locarchive.c (show_archive_content): Take new
8029 argument fname and pass it via ah.fname to open_archive.
8030 * locale/programs/localedef.h: Update decl.
8031 (open_archive): If AH->fname is non-null, open that file
8032 rather than the default file name, and don't ignore ENOENT.
8033 (create_archive): Set AH.fname to NULL.
8034 (delete_locales_from_archive): Likewise.
8035 (add_locales_to_archive): Likewise.
8036 * locale/programs/locfile.c (write_all_categories): Likewise.
8038 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8039 Aldy Hernandez <aldyh@redhat.com>
8041 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8042 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8043 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8044 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8045 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8046 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8047 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8048 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8049 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8050 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8051 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8052 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8053 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8054 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8055 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8057 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8059 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8061 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8063 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8064 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8066 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8067 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8068 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8069 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8071 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8072 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8073 * sysdeps/powerpc/preconfigure: Likewise.
8074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8076 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8077 Replace contents of file by #include of <fenv_libc.h>.
8078 * sysdeps/powerpc/soft-fp/sfp-machine.h
8079 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8081 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8082 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8084 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8085 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8088 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8089 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8094 Allow copysignl PLT reference to be missing.
8096 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8097 Joseph Myers <joseph@codesourcery.com
8100 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8102 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8104 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8106 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8107 * elf/tst-tls1.c: Likewise.
8108 * elf/tst-tls10.h: Likewise.
8109 * elf/tst-tls14.c: Likewise.
8110 * elf/tst-tls2.c: Likewise.
8111 * elf/tst-tls3.c: Likewise.
8112 * elf/tst-tls4.c: Likewise.
8113 * elf/tst-tls5.c: Likewise.
8114 * elf/tst-tls6.c: Likewise.
8115 * elf/tst-tls7.c: Likewise.
8116 * elf/tst-tls8.c: Likewise.
8117 * elf/tst-tls9.c: Likewise.
8118 * elf/tst-tlsmod1.c: Likewise.
8119 * elf/tst-tlsmod13.c: Likewise.
8120 * elf/tst-tlsmod13a.c: Likewise.
8121 * elf/tst-tlsmod14a.c: Likewise.
8122 * elf/tst-tlsmod16a.c: Likewise.
8123 * elf/tst-tlsmod16b.c: Likewise.
8124 * elf/tst-tlsmod2.c: Likewise.
8125 * elf/tst-tlsmod3.c: Likewise.
8126 * elf/tst-tlsmod4.c: Likewise.
8127 * elf/tst-tlsmod5.c: Likewise.
8128 * elf/tst-tlsmod6.c: Likewise.
8130 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8133 * malloc/malloc.c: remove checks for statistics.
8135 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8138 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8139 * inet/tst-network.c: Add testcase.
8141 2013-10-17 Andreas Schwab <schwab@suse.de>
8144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8145 to determine canonical name.
8147 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8149 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8150 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8172 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8173 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8174 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8175 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8176 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8177 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8178 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8179 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8180 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8182 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8183 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8184 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8189 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8191 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8192 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8193 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8194 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8195 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8196 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8197 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8198 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8199 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8200 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8201 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8202 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8203 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8204 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8206 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8208 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8211 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8212 make result into a quiet NaN.
8214 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8216 * soft-fp/adddf3.c: Fix horizontal whitespace.
8217 * soft-fp/addsf3.c: Likewise.
8218 * soft-fp/addtf3.c: Likewise.
8219 * soft-fp/divdf3.c: Likewise.
8220 * soft-fp/divsf3.c: Likewise.
8221 * soft-fp/divtf3.c: Likewise.
8222 * soft-fp/double.h: Likewise.
8223 * soft-fp/eqdf2.c: Likewise.
8224 * soft-fp/eqsf2.c: Likewise.
8225 * soft-fp/eqtf2.c: Likewise.
8226 * soft-fp/extenddftf2.c: Likewise.
8227 * soft-fp/extended.h: Likewise.
8228 * soft-fp/extendsfdf2.c: Likewise.
8229 * soft-fp/extendsftf2.c: Likewise.
8230 * soft-fp/extendxftf2.c: Likewise.
8231 * soft-fp/fixdfdi.c: Likewise.
8232 * soft-fp/fixdfsi.c: Likewise.
8233 * soft-fp/fixdfti.c: Likewise.
8234 * soft-fp/fixsfdi.c: Likewise.
8235 * soft-fp/fixsfsi.c: Likewise.
8236 * soft-fp/fixsfti.c: Likewise.
8237 * soft-fp/fixtfdi.c: Likewise.
8238 * soft-fp/fixtfsi.c: Likewise.
8239 * soft-fp/fixtfti.c: Likewise.
8240 * soft-fp/fixunsdfdi.c: Likewise.
8241 * soft-fp/fixunsdfsi.c: Likewise.
8242 * soft-fp/fixunsdfti.c: Likewise.
8243 * soft-fp/fixunssfdi.c: Likewise.
8244 * soft-fp/fixunssfsi.c: Likewise.
8245 * soft-fp/fixunssfti.c: Likewise.
8246 * soft-fp/fixunstfdi.c: Likewise.
8247 * soft-fp/fixunstfsi.c: Likewise.
8248 * soft-fp/fixunstfti.c: Likewise.
8249 * soft-fp/floatdidf.c: Likewise.
8250 * soft-fp/floatdisf.c: Likewise.
8251 * soft-fp/floatditf.c: Likewise.
8252 * soft-fp/floatsidf.c: Likewise.
8253 * soft-fp/floatsisf.c: Likewise.
8254 * soft-fp/floatsitf.c: Likewise.
8255 * soft-fp/floattidf.c: Likewise.
8256 * soft-fp/floattisf.c: Likewise.
8257 * soft-fp/floattitf.c: Likewise.
8258 * soft-fp/floatundidf.c: Likewise.
8259 * soft-fp/floatundisf.c: Likewise.
8260 * soft-fp/floatunditf.c: Likewise.
8261 * soft-fp/floatunsidf.c: Likewise.
8262 * soft-fp/floatunsisf.c: Likewise.
8263 * soft-fp/floatunsitf.c: Likewise.
8264 * soft-fp/floatuntidf.c: Likewise.
8265 * soft-fp/floatuntisf.c: Likewise.
8266 * soft-fp/floatuntitf.c: Likewise.
8267 * soft-fp/fmadf4.c: Likewise.
8268 * soft-fp/fmasf4.c: Likewise.
8269 * soft-fp/fmatf4.c: Likewise.
8270 * soft-fp/gedf2.c: Likewise.
8271 * soft-fp/gesf2.c: Likewise.
8272 * soft-fp/getf2.c: Likewise.
8273 * soft-fp/ledf2.c: Likewise.
8274 * soft-fp/lesf2.c: Likewise.
8275 * soft-fp/letf2.c: Likewise.
8276 * soft-fp/muldf3.c: Likewise.
8277 * soft-fp/mulsf3.c: Likewise.
8278 * soft-fp/multf3.c: Likewise.
8279 * soft-fp/negdf2.c: Likewise.
8280 * soft-fp/negsf2.c: Likewise.
8281 * soft-fp/negtf2.c: Likewise.
8282 * soft-fp/op-1.h: Likewise.
8283 * soft-fp/op-2.h: Likewise.
8284 * soft-fp/op-4.h: Likewise.
8285 * soft-fp/op-8.h: Likewise.
8286 * soft-fp/op-common.h: Likewise.
8287 * soft-fp/quad.h: Likewise.
8288 * soft-fp/single.h: Likewise.
8289 * soft-fp/soft-fp.h: Likewise.
8290 * soft-fp/sqrtdf2.c: Likewise.
8291 * soft-fp/sqrtsf2.c: Likewise.
8292 * soft-fp/sqrttf2.c: Likewise.
8293 * soft-fp/subdf3.c: Likewise.
8294 * soft-fp/subsf3.c: Likewise.
8295 * soft-fp/subtf3.c: Likewise.
8296 * soft-fp/truncdfsf2.c: Likewise.
8297 * soft-fp/trunctfdf2.c: Likewise.
8298 * soft-fp/trunctfsf2.c: Likewise.
8299 * soft-fp/trunctfxf2.c: Likewise.
8300 * soft-fp/unorddf2.c: Likewise.
8301 * soft-fp/unordsf2.c: Likewise.
8302 * soft-fp/unordtf2.c: Likewise.
8304 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8306 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8307 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8309 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8311 * elf/dl-libc.c: Clear initfini list after freeing.
8313 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8315 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8316 * soft-fp/addsf3.c: Likewise.
8317 * soft-fp/addtf3.c: Likewise.
8318 * soft-fp/divdf3.c: Likewise.
8319 * soft-fp/divsf3.c: Likewise.
8320 * soft-fp/divtf3.c: Likewise.
8321 * soft-fp/double.h: Likewise.
8322 * soft-fp/eqdf2.c: Likewise.
8323 * soft-fp/eqsf2.c: Likewise.
8324 * soft-fp/eqtf2.c: Likewise.
8325 * soft-fp/extenddftf2.c: Likewise.
8326 * soft-fp/extended.h: Likewise.
8327 * soft-fp/extendsfdf2.c: Likewise.
8328 * soft-fp/extendsftf2.c: Likewise.
8329 * soft-fp/extendxftf2.c: Likewise.
8330 * soft-fp/fixdfdi.c: Likewise.
8331 * soft-fp/fixdfsi.c: Likewise.
8332 * soft-fp/fixdfti.c: Likewise.
8333 * soft-fp/fixsfdi.c: Likewise.
8334 * soft-fp/fixsfsi.c: Likewise.
8335 * soft-fp/fixsfti.c: Likewise.
8336 * soft-fp/fixtfdi.c: Likewise.
8337 * soft-fp/fixtfsi.c: Likewise.
8338 * soft-fp/fixtfti.c: Likewise.
8339 * soft-fp/fixunsdfdi.c: Likewise.
8340 * soft-fp/fixunsdfsi.c: Likewise.
8341 * soft-fp/fixunsdfti.c: Likewise.
8342 * soft-fp/fixunssfdi.c: Likewise.
8343 * soft-fp/fixunssfsi.c: Likewise.
8344 * soft-fp/fixunssfti.c: Likewise.
8345 * soft-fp/fixunstfdi.c: Likewise.
8346 * soft-fp/fixunstfsi.c: Likewise.
8347 * soft-fp/fixunstfti.c: Likewise.
8348 * soft-fp/floatdidf.c: Likewise.
8349 * soft-fp/floatdisf.c: Likewise.
8350 * soft-fp/floatditf.c: Likewise.
8351 * soft-fp/floatsidf.c: Likewise.
8352 * soft-fp/floatsisf.c: Likewise.
8353 * soft-fp/floatsitf.c: Likewise.
8354 * soft-fp/floattidf.c: Likewise.
8355 * soft-fp/floattisf.c: Likewise.
8356 * soft-fp/floattitf.c: Likewise.
8357 * soft-fp/floatundidf.c: Likewise.
8358 * soft-fp/floatundisf.c: Likewise.
8359 * soft-fp/floatunsidf.c: Likewise.
8360 * soft-fp/floatunsisf.c: Likewise.
8361 * soft-fp/floatuntidf.c: Likewise.
8362 * soft-fp/floatuntisf.c: Likewise.
8363 * soft-fp/floatuntitf.c: Likewise.
8364 * soft-fp/fmadf4.c: Likewise.
8365 * soft-fp/fmasf4.c: Likewise.
8366 * soft-fp/fmatf4.c: Likewise.
8367 * soft-fp/gedf2.c: Likewise.
8368 * soft-fp/gesf2.c: Likewise.
8369 * soft-fp/getf2.c: Likewise.
8370 * soft-fp/ledf2.c: Likewise.
8371 * soft-fp/lesf2.c: Likewise.
8372 * soft-fp/letf2.c: Likewise.
8373 * soft-fp/muldf3.c: Likewise.
8374 * soft-fp/mulsf3.c: Likewise.
8375 * soft-fp/multf3.c: Likewise.
8376 * soft-fp/negdf2.c: Likewise.
8377 * soft-fp/negsf2.c: Likewise.
8378 * soft-fp/negtf2.c: Likewise.
8379 * soft-fp/op-1.h: Likewise.
8380 * soft-fp/op-2.h: Likewise.
8381 * soft-fp/op-4.h: Likewise.
8382 * soft-fp/op-8.h: Likewise.
8383 * soft-fp/op-common.h: Likewise.
8384 * soft-fp/quad.h: Likewise.
8385 * soft-fp/single.h: Likewise.
8386 * soft-fp/soft-fp.h: Likewise.
8387 * soft-fp/sqrtdf2.c: Likewise.
8388 * soft-fp/sqrtsf2.c: Likewise.
8389 * soft-fp/sqrttf2.c: Likewise.
8390 * soft-fp/subdf3.c: Likewise.
8391 * soft-fp/subsf3.c: Likewise.
8392 * soft-fp/subtf3.c: Likewise.
8393 * soft-fp/truncdfsf2.c: Likewise.
8394 * soft-fp/trunctfdf2.c: Likewise.
8395 * soft-fp/trunctfsf2.c: Likewise.
8396 * soft-fp/trunctfxf2.c: Likewise.
8397 * soft-fp/unorddf2.c: Likewise.
8398 * soft-fp/unordsf2.c: Likewise.
8399 * soft-fp/unordtf2.c: Likewise.
8401 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
8404 * misc/error.c (error_tail): Fix possible buffer overflow.
8406 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8409 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8412 2013-10-14 P. J. McDermott <pj@pehjota.net>
8415 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8416 testing pipefail option.
8418 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8420 * soft-fp/double.h: Indent preprocessor directives inside #if.
8421 * soft-fp/extended.h: Likewise.
8422 * soft-fp/op-2.h: Likewise.
8423 * soft-fp/op-4.h: Likewise.
8424 * soft-fp/op-common.h: Likewise.
8425 * soft-fp/quad.h: Likewise.
8426 * soft-fp/single.h: Likewise.
8427 * soft-fp/soft-fp.h: Likewise.
8429 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8431 * iconv/iconv_prog.c: Fix typos.
8432 * stdio-common/psiginfo-data.h: Likewise.
8434 2013-10-12 Reuben Thomas <rrt@sc3d.org>
8437 * locale/setlocale.c: Fix typo.
8439 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8442 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8443 signaling NaN arguments.
8444 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8445 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8448 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8450 * soft-fp/gesf2.c (__gesf2): Likewise.
8451 * soft-fp/getf2.c (__getf2): Likewise.
8452 * soft-fp/ledf2.c (__ledf2): Likewise.
8453 * soft-fp/lesf2.c (__lesf2): Likewise.
8454 * soft-fp/letf2.c (__letf2): Likewise.
8456 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8457 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8458 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8459 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8460 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8461 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8462 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8463 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8464 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8465 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8466 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8467 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8468 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8469 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8470 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8471 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8472 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8473 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8474 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8475 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8476 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8477 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8478 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8479 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8480 * soft-fp/floattidf.c (__floattidf): Likewise.
8481 * soft-fp/floattisf.c (__floattisf): Likewise.
8482 * soft-fp/floattitf.c (__floattitf): Likewise.
8483 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8484 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8485 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8486 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8487 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8488 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8489 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8490 * soft-fp/gesf2.c (__gesf2): Likewise.
8491 * soft-fp/getf2.c (__getf2): Likewise.
8492 * soft-fp/ledf2.c (__ledf2): Likewise.
8493 * soft-fp/lesf2.c (__lesf2): Likewise.
8494 * soft-fp/letf2.c (__letf2): Likewise.
8496 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8497 Undefine and redefine.
8498 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8499 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8500 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8501 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8502 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8503 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8504 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8505 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8506 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8507 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8508 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8509 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8510 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8511 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8512 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8515 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8516 without decrementing exponent if mantissa >= that for the
8518 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8519 denominator, not >. Decrement exponent in < case instead of
8520 incrementing in >= case.
8521 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8522 without decrementing exponent if mantissa >= that for the
8525 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8526 computing saturated result for unsigned overflow.
8528 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8529 Jeff Law <law@redhat.com>
8531 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8532 (atan2Mp): Add systemtap probe marker.
8533 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8534 (__ieee754_log): Add systemtap probe marker.
8535 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8536 (atanMp): Add systemtap probe marker.
8537 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8538 (tanMp): Add systemtap probe marker.
8539 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8540 (__slowexp): Add systemtap probe marker.
8541 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8542 (__slowpow): Add systemtap probe marker.
8543 * manual/probes.texi: Document probes.
8545 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
8548 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8550 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8552 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8553 written to buffer but not flushed.
8554 * libio/iofwrite_u.c: Likewise.
8555 * libio/iopadn.c: Return bytes returned even if EOF was
8557 * libio/iowpadn.c: Likewise.
8558 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8559 if _IO_padn does not write the whole buffer.
8560 [!COMPILE_WPRINTF] (PAD): Likewise.
8562 2013-10-10 David S. Miller <davem@davemloft.net>
8564 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8567 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8569 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8570 instead of FSF address.
8571 * soft-fp/fixdfti.c: Likewise.
8572 * soft-fp/fixsfti.c: Likewise.
8573 * soft-fp/fixtfti.c: Likewise.
8574 * soft-fp/fixunsdfti.c: Likewise.
8575 * soft-fp/fixunssfti.c: Likewise.
8576 * soft-fp/fixunstfti.c: Likewise.
8577 * soft-fp/floattidf.c: Likewise.
8578 * soft-fp/floattisf.c: Likewise.
8579 * soft-fp/floattitf.c: Likewise.
8580 * soft-fp/floatuntidf.c: Likewise.
8581 * soft-fp/floatuntisf.c: Likewise.
8582 * soft-fp/floatuntitf.c: Likewise.
8583 * soft-fp/trunctfxf2.c: Likewise.
8585 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8586 * soft-fp/fixdfti.c: Likewise.
8587 * soft-fp/fixsfti.c: Likewise.
8588 * soft-fp/fixtfti.c: Likewise.
8589 * soft-fp/fixunsdfti.c: Likewise.
8590 * soft-fp/fixunssfti.c: Likewise.
8591 * soft-fp/fixunstfti.c: Likewise.
8592 * soft-fp/floattidf.c: Likewise.
8593 * soft-fp/floattisf.c: Likewise.
8594 * soft-fp/floattitf.c: Likewise.
8595 * soft-fp/floatuntidf.c: Likewise.
8596 * soft-fp/floatuntisf.c: Likewise.
8597 * soft-fp/floatuntitf.c: Likewise.
8598 * soft-fp/trunctfxf2.c: Likewise.
8600 2013-10-10 David S. Miller <davem@davemloft.net>
8602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8604 2013-10-10 Joseph Myers <joseph@codsourcery.com>
8606 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8607 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8608 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8609 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8610 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8611 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8612 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8614 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8615 for NaNs before doing comparisons on argument.
8616 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8619 2013-10-10 Will Newton <will.newton@linaro.org>
8621 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8622 passed to _int_memalign does not overflow.
8624 2013-10-10 Torvald Riegel <triegel@redhat.com>
8626 * scripts/bench.pl: Add include-sources directive.
8627 * benchtests/README: Update documentation.
8629 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8631 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8632 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8633 instead of FP_INIT_ROUNDMODE.
8634 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8635 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8638 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8639 copy class of input value.
8640 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8641 not handle exceptions.
8642 * soft-fp/negsf2.c (__negsf2): Likewise.
8643 * soft-fp/negtf2.c (__negtf2): Likewise.
8644 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8646 2013-10-09 Joseph Myers <joseph@codesourcery.com>
8648 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8649 semicolon. From Linux kernel.
8651 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8653 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8655 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8658 * manual/socket.texi: Added statement about buffer
8659 for gethostbyname2_r.
8661 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
8663 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8664 Use .p2align directive instead, throughout.
8665 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8666 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8667 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8668 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8669 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8670 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8671 * sysdeps/x86_64/strchr.S: Likewise.
8672 * sysdeps/x86_64/strrchr.S: Likewise.
8674 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8676 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8678 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8680 * sysdeps/generic/math_private.h (__mpsin1): Remove
8682 (__mpcos1): Likewise.
8683 (__mpsin): New argument __range_reduce.
8684 (__mpcos): Likewise.
8685 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8686 (slow): Use __mpsin and __mpcos.
8693 (bsloww1): Likewise.
8694 (bsloww2): Likewise.
8697 (csloww1): Likewise.
8698 (csloww2): Likewise.
8699 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8700 range_reduce. Merge in __mpsin1.
8701 (__mpcos): Likewise.
8703 (__mpcos1): Likewise.
8705 2013-10-07 Joseph Myers <joseph@codesourcery.com>
8707 * locale/loadlocale.c (_nl_intern_locale_data): Use
8709 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8710 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8711 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8712 obstack data is appropriately aligned.
8713 (obstack_int32_grow_fast): Likewise.
8714 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8715 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8716 (add_locale_uint32_array): Likewise.
8718 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8720 * benchtests/Makefile: Remove ARGLIST and RET variables.
8721 ($(objpfx)bench-%.c): Pass only function name to the script.
8722 * benchtests/README: Update documentation.
8723 * benchtests/acos-inputs: Add new directives.
8724 * benchtests/acosh-inputs: Likewise.
8725 * benchtests/asin-inputs: Likewise.
8726 * benchtests/asinh-inputs: Likewise.
8727 * benchtests/atan-inputs: Likewise.
8728 * benchtests/atanh-inputs: Likewise.
8729 * benchtests/cos-inputs: Likewise.
8730 * benchtests/cosh-inputs: Likewise.
8731 * benchtests/exp-inputs: Likewise.
8732 * benchtests/log-inputs: Likewise.
8733 * benchtests/pow-inputs: Likewise.
8734 * benchtests/rint-inputs: Likewise.
8735 * benchtests/sin-inputs: Likewise.
8736 * benchtests/sinh-inputs: Likewise.
8737 * benchtests/tan-inputs: Likewise.
8738 * benchtests/tanh-inputs: Likewise.
8739 * scripts/bench.pl: Add support for new directives.
8741 2013-10-07 Alan Modra <amodra@gmail.com>
8743 * README: Fix careless merge.
8745 2013-10-05 Alan Modra <amodra@gmail.com>
8747 * NEWS: Mention powerpc64le support and bugs fixed.
8748 * README: Both big-endian and little-endian powerpc64 supported.
8750 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8752 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8753 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8754 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8755 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8757 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8759 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8762 2013-10-04 Joseph Myers <joseph@codesourcery.com>
8764 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8765 Move -mhard-float appending from
8766 ports/sysdeps/powerpc/powerpc32/Makefile.
8767 [$(with-fp) = yes] (ASFLAGS): Likewise.
8768 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8769 * sysdeps/powerpc/nofpu: Move directory from
8770 ports/sysdeps/powerpc/nofpu.
8771 * sysdeps/powerpc/soft-fp: Move directory from
8772 ports/sysdeps/powerpc/soft-fp.
8773 * sysdeps/powerpc/powerpc32/405: Move directory from
8774 ports/sysdeps/powerpc/powerpc32/405.
8775 * sysdeps/powerpc/powerpc32/440: Move directory from
8776 ports/sysdeps/powerpc/powerpc32/440.
8777 * sysdeps/powerpc/powerpc32/464: Move directory from
8778 ports/sysdeps/powerpc/powerpc32/464.
8779 * sysdeps/powerpc/powerpc32/476: Move directory from
8780 ports/sysdeps/powerpc/powerpc32/476.
8781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8782 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8784 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8786 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8788 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8790 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8791 * README: Update for powerpc-*-linux-gnu software floating point
8794 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8795 case to powerpc/powerpc32*.
8796 * sysdeps/unix/sysv/linux/configure: Regenerated.
8798 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8799 (_FPU_MASK_OM): Define as 0x04.
8800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8808 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8811 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8814 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8815 and setcontext_e500.
8817 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8819 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8821 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8823 * manual/threads.texi (Default Thread Attributes): Fix typo.
8825 2013-10-04 Will Newton <will.newton@linaro.org>
8827 * malloc/Makefile: Add tst-memalign.
8828 * malloc/tst-memalign.c: New file.
8830 * malloc/tst-posix_memalign.c: Add comments.
8831 (do_test): Add comments and call free on all potentially
8832 allocated pointers. Add space after cast.
8834 * malloc/tst-pvalloc.c: Add comments.
8835 (do_test): Add comments and call free on all potentially
8836 allocated pointers. Remove duplicate check for NULL pointer.
8837 Add space after cast.
8839 * malloc/tst-valloc.c: Add comments.
8840 (do_test): Add comments and call free on all potentially
8841 allocated pointers. Remove duplicate check for NULL pointer.
8842 Add space after cast.
8844 2013-10-04 Alan Modra <amodra@gmail.com>
8846 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8847 Use stdint types in rather than __attribute__((mode())).
8848 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8850 2013-10-04 Alan Modra <amodra@gmail.com>
8852 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8853 Correct handling of unaligned relocs for little-endian.
8854 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8856 2013-10-04 Alan Modra <amodra@gmail.com>
8858 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8859 * configure: Regenerate.
8860 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8861 * shlib-versions: Likewise.
8863 2013-10-04 Alan Modra <amodra@gmail.com>
8865 * string/tester.c (test_memrchr): Increment reported test cycle.
8867 2013-10-04 Alan Modra <amodra@gmail.com>
8869 * string/test-memcpy.c (do_one_test): When reporting errors, print
8870 string address and don't overrun end of string.
8872 2013-10-04 Alan Modra <amodra@gmail.com>
8874 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8875 insrdi. Make better use of reg selection to speed exit slightly.
8876 Schedule entry path a little better. Remove useless "are we done"
8877 checks on entry to main loop. Handle wrapping around zero address.
8878 Correct main loop count. Handle single left-over word from main
8879 loop inline rather than by using loop_small. Remove extra word
8880 case in loop_small caused by wrong loop count. Add little-endian
8882 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8883 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8885 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8886 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8887 support. Avoid rlwimi.
8888 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8890 2013-10-04 Alan Modra <amodra@gmail.com>
8892 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8894 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8895 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8896 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8897 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8898 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8899 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8901 2013-10-04 Alan Modra <amodra@gmail.com>
8903 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8904 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8905 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8906 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8907 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8908 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8909 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8910 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8911 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8912 use of regs. Use power7 mtocrf. Tidy function tails.
8914 2013-10-04 Alan Modra <amodra@gmail.com>
8916 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8917 Formatting. Consistently use rXXX register defines or rN defines.
8918 Use early exit labels that avoid restoring unused non-volatile regs.
8919 Make cr field use more consistent with rWORDn compares. Rename
8920 regs used as shift registers for unaligned loop, using rN defines
8921 for short lifetime/multiple use regs.
8922 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8923 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8924 addi 1,1,64 to pop stack frame. Simplify return value code.
8925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8927 2013-10-04 Alan Modra <amodra@gmail.com>
8929 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8930 support. Correct typos, formatting. Optimize tail. Use insrdi
8932 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8933 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8934 little-endian support. Correct typos.
8935 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8937 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8938 in loop and entry code to keep "and." results.
8939 (strchr): Add little-endian support. Comment. Move cntlzd
8941 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8943 2013-10-04 Alan Modra <amodra@gmail.com>
8945 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8946 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8947 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8948 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8950 2013-10-04 Alan Modra <amodra@gmail.com>
8952 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8953 (rTMP): Define as r11.
8954 (strcmp): Add little-endian support. Optimise tail.
8955 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8956 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8957 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8958 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8959 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8960 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8961 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8963 2013-10-04 Alan Modra <amodra@gmail.com>
8965 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8966 little-endian support. Remove unnecessary "are we done" tests.
8967 Handle "s" wrapping around zero and extremely large "size".
8968 Correct main loop count. Handle single left-over word from main
8969 loop inline rather than by using small_loop. Correct comments.
8970 Delete "zero" tail, use "end_max" instead.
8971 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8973 2013-10-04 Alan Modra <amodra@gmail.com>
8975 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8976 support. Don't branch over align.
8977 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8978 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8979 support. Rearrange tmp reg use to suit. Comment.
8980 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8982 2013-10-04 Alan Modra <amodra@gmail.com>
8984 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8986 2013-10-04 Alan Modra <amodra@gmail.com>
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8989 conditional form of branch and link when obtaining pc.
8990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8992 2013-10-04 Alan Modra <amodra@gmail.com>
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8999 2013-10-04 Alan Modra <amodra@gmail.com>
9001 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9002 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9003 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9004 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9005 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9006 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9007 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9008 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9009 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9010 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9012 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9013 Alistair Popple <alistair@ozlabs.au.ibm.com>
9014 Alan Modra <amodra@gmail.com>
9017 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9018 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9019 _dl_hwcap access for little-endian.
9020 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9021 destroy vmx regs when saving unaligned.
9022 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9023 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9024 destroy vmx regs when saving unaligned.
9026 2013-10-04 Alan Modra <amodra@gmail.com>
9028 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9029 Don't use a union to pack hi/low value.
9031 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9033 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9035 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9036 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9037 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9038 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9039 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9041 2013-10-04 Alan Modra <amodra@gmail.com>
9043 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9044 constants to usual value for .cst8 section, and remove redundant
9046 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9047 constant for 0x1p52. Load little-endian words of double from
9048 correct stack offsets.
9050 2013-10-04 Alan Modra <amodra@gmail.com>
9052 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9053 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9054 words of double from correct stack offsets.
9055 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9056 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9057 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9058 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9059 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9060 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9061 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9062 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9063 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9064 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9065 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9066 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9067 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9068 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9069 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9070 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9071 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9073 2013-10-04 Alan Modra <amodra@gmail.com>
9075 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9076 64-bit int/double union.
9077 (_FPU_SETCW): Likewise.
9078 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9079 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9081 2013-10-04 Alan Modra <amodra@gmail.com>
9083 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9084 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9086 2013-10-04 Alan Modra <amodra@gmail.com>
9088 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9089 use vector int constants.
9090 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9092 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9094 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9095 array with long long.
9096 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9097 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9098 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9099 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9100 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9101 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9102 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9103 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9104 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9105 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9106 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9107 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9108 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9110 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9112 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9113 (__signbit): Likewise. Correct for little-endian.
9114 (__signbitl): Call __signbit.
9115 (lrint): Correct for little-endian.
9116 (lrintf): Call lrint.
9118 2013-10-04 Alan Modra <amodra@gmail.com>
9120 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9121 union 32-bit int array member with 64-bit int array.
9122 (t515, tm256): Double rather than long double.
9123 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9125 2013-10-04 Alan Modra <amodra@gmail.com>
9127 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9129 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9131 version of math_ldbl.h.
9133 2013-10-04 Alan Modra <amodra@gmail.com>
9135 [BZ #15734], [BZ #15735]
9136 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9137 all uses of ieee875 long double macros and unions. Simplify test
9138 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9139 ldbl_extract_mantissa value for ix,iy exponents. Properly
9140 normalize after ldbl_extract_mantissa, and don't add hidden bit
9141 already handled. Don't treat low word of ieee854 mantissa like
9142 low word of IBM long double and mask off bit when testing for
9144 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9145 all uses of ieee875 long double macros and unions. Simplify tests
9146 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9147 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9148 two1022, instead use their values. Recognise that tests for large
9149 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9150 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9151 Rewrite all uses of ieee875 long double macros and unions. Simplify
9152 test for 0.0L and nan. Correct negation.
9153 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9154 ieee875 long double macros and unions. Correct output for large
9155 magnitude x. Correct absolute value calculation.
9156 (__erfcl): Likewise.
9157 * math/libm-test.inc: Add tests for errors discovered in IBM long
9158 double versions of fmodl, remainderl, erfl and erfcl.
9160 2013-10-04 Alan Modra <amodra@gmail.com>
9162 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9163 all uses of ieee854 long double macros and unions. Simplify tests
9164 for long doubles that are fully specified by the high double.
9165 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9167 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9168 Remove dead code too.
9169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9170 (__ieee754_ynl): Likewise.
9171 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9172 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9173 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9174 Remove dead code too.
9175 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9176 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9177 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9178 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9180 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9182 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9183 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9184 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9185 Comment on variable precision.
9186 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9187 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9189 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9191 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9193 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9195 2013-10-04 Alan Modra <amodra@gmail.com>
9197 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9198 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9199 all uses of ieee854 long double macros and unions.
9200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9202 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9203 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9204 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9205 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9207 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9208 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9209 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9210 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9211 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9212 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9213 Simplify sign and nan test too.
9214 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9216 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9217 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9219 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9222 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9226 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9229 2013-10-04 Alan Modra <amodra@gmail.com>
9231 * stdio-common/printf_size.c (__printf_size): Don't use
9232 union ieee854_long_double in fpnum union.
9233 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9234 signbit macro to retrieve sign from long double.
9235 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9236 retrieve sign from long double.
9237 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9238 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9239 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9240 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9241 * math/test-misc.c (main): Don't use union ieee854_long_double.
9243 2013-10-04 Alan Modra <amodra@gmail.com>
9246 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9247 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9248 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9249 calculation. Remove unnecessary test for denormal exponent.
9250 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9251 Correct handling of denormals. Avoid undefined shift behaviour.
9252 Correct normalisation of low mantissa when low double is denormal.
9253 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9254 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9255 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9256 Correct normalisation of low mantissa. Test for overflow of high
9257 mantissa and normalise.
9258 (ldbl_nearbyint): Use more readable constant for two52.
9259 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9260 (__mpn_construct_long_double): Fix test for overflow of high
9261 mantissa and correct normalisation. Avoid undefined shift.
9263 2013-10-04 Alan Modra <amodra@gmail.com>
9265 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9266 (union ibm_extended_long_double): Define as an array of ieee754_double.
9267 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9268 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9269 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9270 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9271 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9273 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9274 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9275 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9276 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9277 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9279 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9281 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9282 page size instead of calling getpagesize.
9284 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9285 (LOCFILE_ALIGN_MASK): Likewise.
9286 (LOCFILE_ALIGN_UP): Likewise.
9287 (LOCFILE_ALIGNED_P): Likewise.
9288 * locale/programs/ld-collate.c (collate_output): Use the new
9289 macros instead of __alignof__ (int32_t).
9290 * locale/weight.h (findidx): Likewise.
9292 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9295 * manual/string.texi: Fix strncat and wcsncat.
9297 2013-10-03 Brooks Moses <bmoses@google.com>
9300 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9301 * Makerules: ...here, and adjust associated comments.
9303 2013-10-02 Will Newton <will.newton@linaro.org>
9305 * malloc/Makefile: Add tst-pvalloc.
9306 * malloc/tst-pvalloc.c: New file.
9308 2013-10-02 Will Newton <will.newton@linaro.org>
9310 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9311 improve test coverage.
9313 2013-10-02 Will Newton <will.newton@linaro.org>
9315 * malloc/Makefile: Add tst-posix_memalign.
9316 * malloc/tst-posix_memalign.c: New file.
9318 2013-10-01 Eric Blake <eblake@redhat.com>
9320 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9321 Use __THROWNL rather than __THROW on static functions.
9323 2013-09-30 Petr Machata <pmachata@redhat.com>
9325 * elf/elf.h (R_AARCH64_ABS16): New macro.
9326 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9327 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9328 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9329 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9330 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9331 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9332 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9333 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9334 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9335 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9336 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9337 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9338 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9339 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9340 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9341 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9342 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9343 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9344 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9345 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9346 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9347 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9348 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9349 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9350 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9351 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9352 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9353 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9354 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9355 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9356 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9357 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9358 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9359 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9360 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9361 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9362 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9363 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9364 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9365 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9366 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9367 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9368 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9369 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9370 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9371 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9372 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9373 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9374 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9375 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9376 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9377 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9378 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9379 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9380 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9381 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9382 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9383 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9384 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9385 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9386 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9387 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9388 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9389 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9390 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9391 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9392 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9393 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9394 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9395 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9396 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9397 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9398 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9399 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9400 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9401 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9402 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9403 (R_AARCH64_TLSDESC_LDR): Likewise.
9404 (R_AARCH64_TLSDESC_ADD): Likewise.
9405 (R_AARCH64_TLSDESC_CALL): Likewise.
9407 2013-09-30 Andreas Schwab <schwab@suse.de>
9410 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9411 the nss database lookup.
9412 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9415 2013-09-28 Mike Frysinger <vapier@gentoo.org>
9417 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9419 2013-09-28 P. J. McDermott <pj@pehjota.net>
9421 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9422 ${Bash-specific parameter/pattern/string} parameter expansion.
9423 * sysdeps/unix/make-syscalls.sh: Likewise.
9425 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9427 * sysdeps/sh/stackguard-macros.h: New file.
9429 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
9431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9432 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9433 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9434 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9435 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9436 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9438 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9440 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9441 Fix thread ID register.
9443 2013-09-25 Joseph Myers <joseph@codesourcery.com>
9445 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9446 [POSIX || UNIX98]: Require rather than permitting all symbols from
9448 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9449 element of struct sched_param.
9450 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9451 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9452 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9453 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9456 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9458 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9459 argument calculation.
9461 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9463 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9465 [POSIX] (pthread_attr_t): Do not require type.
9466 [POSIX] (pthread_cond_t): Likewise.
9467 [POSIX] (pthread_condattr_t): Likewise.
9468 [POSIX] (pthread_key_t): Likewise.
9469 [POSIX] (pthread_mutex_t): Likewise.
9470 [POSIX] (pthread_mutexattr_t): Likewise.
9471 [POSIX] (pthread_once_t): Likewise.
9472 [POSIX] (pthread_t): Likewise.
9473 [POSIX-based standards] (pthread_atfork): Expect function.
9475 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9476 Richard Sandiford <richard@codesourcery.com>
9478 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9479 (swap_endianness_p): New extern variable.
9480 (set_big_endian): New inline function.
9481 (maybe_swap_uint32): Likewise.
9482 (maybe_swap_uint32_array): Likewise.
9483 (maybe_swap_uint32_obstack): Likewise.
9484 * locale/programs/locfile.c: Include <stdbool.h>.
9485 (swap_endianness_p): New variable.
9486 (add_locale_uint32): Call maybe_swap_uint32.
9487 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9488 (write_locale_data): Call maybe_swap_uint32_array.
9489 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9491 (obstack_int32_grow_fast): Likewise.
9492 (output_weightwc): Call maybe_swap_uint32_obstack.
9493 (collate_output): Likewise.
9494 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9495 (OPT_LITTLE_ENDIAN): Likewise.
9496 (options): Add --little-endian and --big-endian options.
9497 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9498 * locale/programs/locarchive.c: Include "locfile.h".
9502 (create_archive): Use the new macros to access fields of
9503 structures directly mapped from or written to locale archives.
9504 (oldlocrecentcmp): Likewise.
9505 (enlarge_archive): Likewise.
9506 (insert_name): Likewise.
9507 (add_alias): Likewise.
9508 (add_locale): Likewise.
9509 (delete_locales_from_archive): Likewise.
9510 (show_archive_content): Likewise.
9511 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9514 2013-09-24 Roland McGrath <roland@hack.frob.com>
9516 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9517 http://www.gnu.org/doc/freemanuals.texi.
9518 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9520 2013-09-24 Will Newton <will.newton@linaro.org>
9522 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9525 2013-09-23 Joseph Myers <joseph@codesourcery.com>
9527 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9530 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9532 * manual/threads.texi (POSIX Threads): Fix a typo.
9534 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9537 * string/tst-strcoll-overflow.c: New test case.
9538 * string/Makefile (xtests): Add tst-strcoll-overflow.
9539 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9540 cache if string sizes may cause integer overflow.
9543 * string/strcoll_l.c (coll_seq): New members rule, idx,
9544 save_idx and back_us.
9545 (get_next_seq_nocache): New function.
9546 (do_compare_nocache): New function.
9547 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9550 2013-09-23 Carlos O'Donell <carlos@redhat.com>
9553 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9554 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9555 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9558 * elf/Makefile (tests): Add tst-ptrguard1.
9559 (tests-static): Add tst-ptrguard1-static.
9560 (tst-ptrguard1-ARGS): Define.
9561 (tst-ptrguard1-static-ARGS): Define.
9562 * elf/tst-ptrguard1.c: New file.
9563 * elf/tst-ptrguard1-static.c: New file.
9564 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9565 * sysdeps/i386/stackguard-macros.h: Likewise.
9566 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9567 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9568 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9569 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9570 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9571 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9573 2013-09-23 Hector Marco <hecmargi@upv.es>
9574 Ismael Ripoll <iripoll@disca.upv.es>
9575 Carlos O'Donell <carlos@redhat.com>
9578 * sysdeps/generic/stackguard-macros.h: Define
9579 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9580 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9581 Define __pointer_chk_guard_local.
9582 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9583 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9585 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9588 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9590 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9592 * include/string.h (__ffs): Declare as hidden.
9593 * string/ffs.c (__ffs): Define as hidden.
9594 * sysdeps/i386/ffs.c (__ffs): Likewise.
9595 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9596 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9597 * sysdeps/s390/ffs.c (__ffs): Likewise.
9598 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9600 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
9602 * NEWS: Mention malloc probes.
9604 * malloc/arena.c (new_heap): New memory_heap_new probe.
9605 (grow_heap): New memory_heap_more probe.
9606 (shrink_heap): New memory_heap_less probe.
9607 (heap_trim): New memory_heap_free probe.
9608 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9609 (systrim): New memory_sbrk_less probe.
9610 * manual/probes.texi: Document them.
9612 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9613 * manual/probes.texi: Document it.
9615 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9616 (__libc_realloc): Add memory_realloc_retry probe.
9617 (__libc_memalign): Add memory_memalign_retry probe.
9618 (__libc_valloc): Add memory_valloc_retry probe.
9619 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9620 (__libc_calloc): Add memory_calloc_retry probe.
9621 * manual/probes.texi: Document them.
9623 * malloc/arena.c (get_free_list): Add probe
9624 memory_arena_reuse_free_list.
9625 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9626 and memory_arena_reuse.
9627 (arena_get2) [!PER_THREAD]: Likewise.
9628 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9629 memory_arena_reuse_realloc.
9630 * manual/probes.texi: Document them.
9632 * malloc/malloc.c (__libc_free): Add
9633 memory_mallopt_free_dyn_thresholds probe.
9634 (__libc_mallopt): Add multiple memory_mallopt probes.
9635 * manual/probes.texi: Document them.
9637 * malloc/malloc.c: Include stap-probe.h.
9638 (__libc_mallopt): Add memory_mallopt probe.
9639 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9640 * manual/probes.texi: New.
9641 * manual/Makefile (chapters): Add probes.
9642 * manual/threads.texi: Set next node.
9644 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
9647 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9648 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9649 Add `Chinese' to `nan' entry name.
9651 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9653 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9654 (POLYNOMIAL): Likewise.
9655 (TAYLOR_SINCOS): Likewise.
9656 (TAYLOR_SLOW): Likewise.
9657 (__sin): Use TAYLOR_SINCOS.
9659 (slow): Use TAYLOR_SLOW.
9664 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9666 * stdlib/strtod_l.c: Fix buffer overrun.
9668 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9670 * benchtests/Makefile (bench): Add sincos.
9671 * benchtests/bench-sincos.c: New file.
9673 * math/libm-test.inc (cos_test_data): New test inputs.
9674 (sin_test_data): Likewise.
9676 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9684 (bsloww1): Likewise.
9685 (bsloww2): Likewise.
9687 (csloww1): Likewise.
9688 (csloww2): Likewise.
9690 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9695 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9699 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9701 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9702 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9703 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9704 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9705 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9706 * elf/cache.c (print_entry): Handle the new cache flags.
9708 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9709 Aldy Hernandez <aldyh@redhat.com>
9711 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9712 Change condition to [_SOFT_FLOAT].
9713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9725 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9728 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9731 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9733 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9734 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9735 (__longjmp): Use LOAD_GP to load saved GPRs.
9736 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9737 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9738 (__sigsetjmp): Use SAVE_GP to save GPRs.
9740 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9741 Do not append -msoft-float.
9742 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9744 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9746 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9748 2013-09-17 Joseph Myers <joseph@codesourcery.com>
9751 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9752 (_FPU_GETCW): Use initial "__" on variable and field names but not
9753 on macro parameter name.
9754 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9755 parentheses around reference to macro parameter.
9757 2013-09-13 Richard Sandiford <richard@codesourcery.com>
9759 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9761 (ctype_startup): Use uint32_t in cast and sizeof for
9764 2013-09-11 Jia Liu <proljc@gmail.com>
9766 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9768 [__FreeBSD__]: Likewise.
9770 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
9772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9773 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9774 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9775 (strchr): Remove __strchr_sse42 ifunc selection.
9776 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9777 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9779 2013-09-11 Will Newton <will.newton@linaro.org>
9781 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9782 parameter to RES. Remove hardcoded 1000 value.
9783 * benchtests/bench-skeleton.c (main): Pass RES parameter
9784 to TIMING_INIT and multiply result by 1000.
9786 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9790 2013-09-11 Andreas Schwab <schwab@suse.de>
9792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9794 (O_TMPFILE) [__USE_GNU]: Define.
9795 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9798 2013-09-11 Will Newton <will.newton@linaro.org>
9801 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9804 2013-09-11 Will Newton <will.newton@linaro.org>
9807 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9810 2013-09-11 Will Newton <will.newton@linaro.org>
9813 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9816 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
9818 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9819 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9824 2013-09-10 Allan McRae <allan@archlinux.org>
9827 * manual/arith.texi (Parsing of Floats): Clarify
9831 * manual/install.texi (Running make install): Mention
9833 * INSTALL: Regenerated.
9835 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9837 * csu/init-first.c (_init): Remove the !SHARED condition around
9838 FPU control word initialization.
9839 * elf/dl-support.c (_dl_fpu_control): New variable.
9840 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9841 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9842 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9843 * math/test-fpucw-static.c: New file.
9844 * math/test-fpucw-ieee.c: New file.
9845 * math/test-fpucw-ieee-static.c: New file.
9846 * math/Makefile (tests): Add `test-fpucw-ieee' and
9848 (tests-static): New variable.
9849 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9851 [($(build-shared),yes)]
9852 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9854 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9857 2013-09-09 Allan McRae <allan@archlinux.org>
9860 * manual/string.texi (Collation Functions): Fix typo in
9862 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9865 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9868 * libio/memstream.c (open_memstream): Fix memory leak.
9869 * libio/wmemstream.c (open_wmemstream): Likewise.
9872 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9874 2013-09-09 Will Newton <will.newton@linaro.org>
9876 * malloc/Makefile: Add tst-realloc to tests.
9877 * malloc/tst-realloc.c: New file.
9879 2013-09-09 Allan McRae <allan@archlinux.org>
9882 * COPYING: Update from GNU website to fix FSF address.
9883 * COPYING.LIB: Likewise.
9885 2013-09-06 David S. Miller <davem@davemloft.net>
9887 * po/zh_TW.po: Update Chinese (traditional) translation from
9888 translation project.
9890 2013-09-06 Richard Sandiford <richard@codesourcery.com>
9891 Joseph Myers <joseph@codesourcery.com>
9893 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9895 (obstack_chunk_alloc): New macro.
9896 (obstack_chunk_free): Likewise.
9897 (record_offset): New function.
9898 (init_locale_data): Likewise.
9899 (align_locale_data): Likewise.
9900 (add_locale_empty): Likewise.
9901 (add_locale_raw_data): Likewise.
9902 (add_locale_raw_obstack): Likewise.
9903 (add_locale_string): Likewise.
9904 (add_locale_wstring): Likewise.
9905 (add_locale_uint32): Likewise.
9906 (add_locale_uint32_array): Likewise.
9907 (add_locale_char): Likewise.
9908 (start_locale_structure): Likewise.
9909 (end_locale_structure): Likewise.
9910 (start_locale_prelude): Likewise.
9911 (end_locale_prelude): Likewise.
9912 (write_locale_data): Take locale_file structure rather than an
9914 * locale/programs/locfile.h: Include "obstack.h".
9915 (struct locale_file): Change to store locale file contents instead
9917 (init_locale_data): New prototype.
9918 (align_locale_data): Likewise.
9919 (add_locale_empty): Likewise.
9920 (add_locale_raw_data): Likewise.
9921 (add_locale_raw_obstack): Likewise.
9922 (add_locale_string): Likewise.
9923 (add_locale_wstring): Likewise.
9924 (add_locale_uint32): Likewise.
9925 (add_locale_uint32_array): Likewise.
9926 (add_locale_char): Likewise.
9927 (start_locale_structure): Likewise.
9928 (end_locale_structure): Likewise.
9929 (start_locale_prelude): Likewise.
9930 (end_locale_prelude): Likewise.
9931 (write_locale_data): Update prototype.
9932 * locale/programs/3level.h (struct TABLE): Remove result field.
9933 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9934 Use new locale_file interface.
9935 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9936 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9937 * locale/programs/ld-address.c (address_output): Use new
9938 locale_file interface.
9939 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9941 (collate_finish): Don't call collseq_table_finalize.
9942 (collate_output): Use new locale_file interface.
9943 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9945 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9946 (TABLE): Move defines earlier in file.
9947 (ELEMENT): Likewise.
9948 (DEFAULT): Likewise.
9949 (wctrans_table_add): Move macro and inline function earlier in
9951 (struct wctype_table): Move type earlier in file.
9952 (add_locale_wctype_table): New static prototype.
9953 (struct locale_ctype_t): Use logical types instead of struct iovec
9954 pointers for members.
9955 (ctype_output): Use new locale_file interface.
9956 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9957 new locale_file interface.
9958 (allocate_arrays): Update for use of new locale_file interface.
9959 * locale/programs/ld-identification.c (identification_output): Use
9960 new locale_file interface.
9961 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9962 * locale/programs/ld-messages.c (messages_output): Likewise.
9963 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9964 * locale/programs/ld-name.c (name_output): Likewise.
9965 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9966 * locale/programs/ld-paper.c (paper_output): Likewise.
9967 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9968 * locale/programs/ld-time.c (time_output): Likewise.
9970 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9972 * benchtests/Makefile: Add memrchr benchmark.
9973 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9974 benchmark as memrchr.
9975 * benchtests/bench-memrchr-ifunc.c: New file.
9976 * benchtests/bench-memrchr.c: New file.
9978 2013-09-06 Will Newton <will.newton@linaro.org>
9980 * benchtests/Makefile (string-bench): Add memcpy.
9982 2013-09-05 Carlos O'Donell <carlos@redhat.com>
9983 Cong Wang <amwang@redhat.com>
9986 * sysdeps/unix/sysv/linux/bits/in.h
9987 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9988 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9989 before __USE_KERNEL_IPV6_DEFS uses.
9990 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9992 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9993 sockaddr_in6, or ipv6_mreq.
9995 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9997 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9998 memory access for final bytes in some large inputs.
9999 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10001 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10003 * string/test-memrchr.c: New file.
10004 * string/test-memrchr-ifunc.c: New file.
10005 * string/Makefile: Add new memrchr testcase.
10007 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10009 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10010 fanotify_init returns EPERM.
10012 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10014 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10016 (top level): Treat second token from macro or constant entries for
10017 allowed headers as allowed.
10018 * include/complex.h: Condition internal declarations on
10020 * include/fenv.h: Condition include of <stdbool.h> and internal
10021 declarations on [!_ISOMAC].
10023 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10026 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10028 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10030 * configure.in (--enable-versioning): Remove configure option.
10031 (libc_cv_asm_symver_directive): Remove configure test.
10032 (libc_cv_ld_version_script_option): Likewise.
10033 (VERSIONING): Remove variable and AC_SUBST.
10034 (DO_VERSIONING): Remove AC_DEFINE.
10035 * configure: Regenerated.
10036 * config.h.in (DO_VERSIONING): Remove macro.
10037 * Makerules [$(versioning) = yes]: Change conditionals to
10038 [$(build-shared) = yes].
10039 * config.make.in (versioning): Remove variable.
10040 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10041 [$(build-shared) = yes].
10042 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10043 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10044 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10045 [$(build-shared) = yes].
10046 * extra-lib.mk [$(versioning) = yes]: Likewise.
10047 * hurd/Makefile [$(versioning) = yes]: Likewise.
10048 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10050 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10052 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10053 [SHARED && !NO_HIDDEN].
10054 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10056 [SHARED && DO_VERSIONING]: Likewise..
10057 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10058 [$(build-shared) = yes].
10059 * manual/install.texi (--disable-versioning): Remove
10061 * INSTALL: Regenerated.
10062 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10064 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10065 [$(build-shared) = yes].
10066 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10067 * sysdeps/i386/i686/multiarch/strstr-c.c
10068 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10069 [SHARED && !NO_HIDDEN].
10070 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10071 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10072 * sysdeps/powerpc/powerpc32/dl-machine.c
10073 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10074 * sysdeps/powerpc/powerpc32/sysdep.h
10075 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10076 to [SHARED && PIC && !NO_HIDDEN].
10077 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10078 conditional to [SHARED].
10080 2013-09-04 Will Newton <will.newton@linaro.org>
10082 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10083 * benchtests/bench-string.h: Include bench-timing.h instead
10084 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10085 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10086 call to HP_TIMING_DIFF_INIT.
10087 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10088 instead of hp-timing.h macros.
10089 * benchtests/bench-memchr.c: Likewise.
10090 * benchtests/bench-memcmp.c: Likewise.
10091 * benchtests/bench-memcpy.c: Likewise.
10092 * benchtests/bench-memmem.c: Likewise.
10093 * benchtests/bench-memmove.c: Likewise.
10094 * benchtests/bench-memset.c: Likewise.
10095 * benchtests/bench-rawmemchr.c: Likewise.
10096 * benchtests/bench-strcasecmp.c: Likewise.
10097 * benchtests/bench-strcasestr.c: Likewise.
10098 * benchtests/bench-strcat.c: Likewise.
10099 * benchtests/bench-strchr.c: Likewise.
10100 * benchtests/bench-strcmp.c: Likewise.
10101 * benchtests/bench-strcpy.c: Likewise.
10102 * benchtests/bench-strcpy_chk.c: Likewise.
10103 * benchtests/bench-strlen.c: Likewise.
10104 * benchtests/bench-strncasecmp.c: Likewise.
10105 * benchtests/bench-strncat.c: Likewise.
10106 * benchtests/bench-strncmp.c: Likewise.
10107 * benchtests/bench-strncpy.c: Likewise.
10108 * benchtests/bench-strnlen.c: Likewise.
10109 * benchtests/bench-strpbrk.c: Likewise.
10110 * benchtests/bench-strrchr.c: Likewise.
10111 * benchtests/bench-strspn.c: Likewise.
10112 * benchtests/bench-strstr.c: Likewise.
10114 2013-09-04 Will Newton <will.newton@linaro.org>
10116 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10118 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10121 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10122 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10123 * math/libm-test.inc (lgamma_test_data): Add more tests.
10124 * sysdeps/i386/fpu/libm-test-ulps: Update.
10125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10127 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10129 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10130 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10133 Add strcmp-sse2-unaligned
10134 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10136 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10138 * Versions.def (libc): Add GLIBC_2.19.
10140 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10142 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10143 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10145 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10148 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10149 intermediate calculations in recurrence.
10150 (__ieee754_ynf): Likewise.
10151 * math/libm-test.inc (jn_test_data): Do not allow spurious
10152 underflow exception. Add more tests.
10153 (yn_test_data): Add more tests.
10154 * sysdeps/i386/fpu/libm-test-ulps: Update.
10155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10157 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10159 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10161 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10163 * csu/init-first.c: Fix then/than typos.
10164 * locale/programs/ld-collate.c: Likewise.
10165 * locale/programs/linereader.h: Likewise.
10166 * manual/charset.texi: Likewise.
10167 * manual/filesys.texi: Likewise.
10168 * manual/stdio.texi: Likewise.
10169 * manual/string.texi: Likewise.
10170 * stdlib/fmtmsg.c: Likewise.
10171 * sysdeps/i386/stpncpy.S: Likewise.
10172 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10173 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10174 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10175 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10177 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10179 * elf/dl-open.c: Fix typos.
10180 * iconvdata/gbbig5.c: Likewise.
10181 * iconvdata/iso-2022-jp.c: Likewise.
10182 * iconv/gconv_int.h: Likewise.
10183 * iconv/loop.c: Likewise.
10184 * nis/rpcsvc/nis.h: Likewise.
10185 * resolv/ns_name.c: Likewise.
10186 * stdio-common/vfscanf.c: Likewise.
10187 * streams/stropts.h: Likewise.
10188 * sunrpc/rpc_thread.c: Likewise.
10189 * sysdeps/i386/strpbrk.S: Likewise.
10190 * sysdeps/ieee754/k_standard.c: Likewise.
10191 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10193 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10194 * sysdeps/mach/hurd/profil.c: Likewise.
10195 * sysdeps/s390/dl-procinfo.h: Likewise.
10196 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10197 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10198 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10199 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10202 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10204 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10207 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10209 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10210 aix specific files.
10211 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10212 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10213 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10214 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10215 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10216 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10217 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10218 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10220 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10221 Roland McGrath <roland@hack.frob.com>
10223 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10224 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10226 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10228 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10229 __executable_start symbol instead of _start.
10231 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10233 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10234 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10236 * sysdeps/gnu/ldsodefs.h: ... this new file.
10238 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10239 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10240 instead of ELFOSABI_LINUX.
10242 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10243 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10244 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10245 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10247 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10248 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10249 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10251 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10252 (ibm_extended_long_double): Add ieee_nan member.
10253 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10254 (do_test): New function.
10256 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10258 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10259 functions, renamed from truncdfsf_test, trunctfsf_test,
10261 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10263 (do_test): Run all these.
10265 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10267 * argp/argp-help.c: Fix typos.
10268 * argp/argp-parse.c: Likewise.
10269 * debug/backtracesyms.c: Likewise.
10270 * elf/elf.h: Likewise.
10271 * malloc/malloc.c: Likewise.
10272 * nis/nis_print.c: Likewise.
10273 * resolv/res_comp.c: Likewise.
10274 * stdlib/stdlib.h: Likewise.
10275 * sunrpc/clnt_tcp.c: Likewise.
10276 * sunrpc/clnt_udp.c: Likewise.
10277 * sunrpc/clnt_unix.c: Likewise.
10278 * sysdeps/unix/bsd/ptsname.c: Likewise.
10279 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10280 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10287 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10289 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10291 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10294 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10297 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10298 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10299 ($(objpfx)bug-dl-leaf): New rule.
10300 ($(objpfx)bug-dl-leaf.so): Likewise.
10301 ($(objpfx)bug-dl-leaf.out): Likewise.
10302 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10303 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10304 * dlfcn/bug-dl-leaf.c: New test.
10305 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10306 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10307 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10308 (dlclose): Likewise.
10309 (dlmopen): Likewise.
10311 2013-08-27 Roland McGrath <roland@hack.frob.com>
10313 * include/netdb.h [!_ISOMAC]:
10314 Don't include <tls.h>.
10315 (h_errno, __libc_h_errno): Move declaration and macros out of
10318 * include/resolv.h [_RESOLV_H_]:
10319 Don't include <tls.h>.
10320 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10321 * resolv/res_libc.c: Don't include <tls.h>.
10322 (_res): Use __attribute__ ((nocommon)) in place of
10323 __attribute__ ((section (".bss"))).
10325 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10326 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10328 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10330 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10331 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10333 * resolv/res_mkquery.c: Include <sys/time.h>.
10335 * inet/ifreq.c: Moved to ...
10336 * sysdeps/unix/ifreq.c: ... here.
10337 * inet/ifreq.c: New file, true stub version.
10339 * socket/sa_len.c: New file.
10340 * socket/Makefile (aux): Add it.
10341 * sysdeps/unix/sysv/linux/Makefile
10342 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10343 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10344 and #include <socket/sa_len.c>.
10345 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10346 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10348 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10349 * bits/socket.h: ... here.
10351 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10352 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10353 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10355 2013-08-27 Andreas Schwab <schwab@suse.de>
10358 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10359 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10360 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10361 * string/test-strcasecmp.c (test_main): Run tests in several
10363 * string/test-strncasecmp.c (test_main): Likewise.
10365 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10366 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10367 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10368 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10369 (__strncasecmp_ssse3) [PIC]: Likewise.
10371 2013-08-26 Roland McGrath <roland@hack.frob.com>
10373 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10375 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10376 instead of explicitly declaring xdecrypt.
10377 * nis/nss_nis/nis-publickey.c: Likewise.
10379 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10382 * nscd/aicache.c: Include res_hconf.h.
10383 (addhstaiX): Initialize res_hconf.
10385 2013-08-26 Andreas Schwab <schwab@suse.de>
10387 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10388 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10390 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10392 * nscd/aicache.c (addhstaiX): Fix indentation.
10394 2013-08-25 Mike Frysinger <vapier@gentoo.org>
10396 * configure.ac: Quote $build_pt_chown test.
10397 * configure: Regenerated.
10399 2013-08-23 Joseph Myers <joseph@codesourcery.com>
10402 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10403 * math/s_cexpf.c (__cexpf): Likewise.
10404 * math/s_cexpl.c (__cexpl): Likewise.
10405 * math/libm-test.inc (cexp_test_data): Correct expected return
10406 value for NaN + i0. Add another test.
10408 2013-08-22 David S. Miller <davem@davemloft.net>
10410 * po/ca.po: Update Catalan translation from translation project.
10411 * po/uk.po: Add Ukrainian translations from translation project.
10413 2013-08-21 Joseph Myers <joseph@codesourcery.com>
10416 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10417 is infinite, not alongside NaN test.
10418 * math/s_fdimf.c (__fdimf): Likewise.
10419 * math/s_fdiml.c (__fdiml): Likewise.
10420 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10421 errno is unchanged.
10423 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
10425 * argp/argp-help.c: Fix typos.
10426 * crypt/speeds.c: Likewise.
10427 * csu/check_fds.c: Likewise.
10428 * elf/dl-load.c: Likewise.
10429 * elf/dl-open.c: Likewise.
10430 * elf/reldep3.c: Likewise.
10431 * elf/reldep.c: Likewise.
10432 * elf/sprof.c: Likewise.
10433 * iconv/iconv_charmap.c: Likewise.
10434 * iconv/skeleton.c: Likewise.
10435 * iconv/strtab.c: Likewise.
10436 * io/lockf64.c: Likewise.
10437 * libio/libioP.h: Likewise.
10438 * resolv/gai_notify.c: Likewise.
10439 * resolv/ns_name.c: Likewise.
10440 * resolv/ns_samedomain.c: Likewise.
10441 * resolv/res_send.c: Likewise.
10442 * stdlib/random.c: Likewise.
10443 * sunrpc/rpc/xdr.h: Likewise.
10444 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10445 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10446 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10447 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10448 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10449 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10450 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10452 * sysdeps/mach/hurd/check_fds.c: Likewise.
10453 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10454 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10455 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10456 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10457 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10458 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10459 * sysdeps/pthread/aio_notify.c: Likewise.
10460 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10461 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10462 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10463 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10464 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10466 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10468 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10469 version if bit_Slow_SSE4_2 is set.
10470 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10471 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10473 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10476 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10477 trampoline stack frame information.
10478 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10479 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10480 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10481 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10482 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10483 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10484 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10485 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10487 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10488 interrupting a syscall and set with option SA_SIGINFO.
10490 2013-08-20 Joseph Myers <joseph@codesourcery.com>
10493 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10494 argument is infinite.
10495 * math/s_cprojf.c (__cprojf): Likewise.
10496 * math/s_cprojl.c (__cprojl): Likewise.
10497 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10498 * math/libm-test.inc (cproj_test_data): Add more tests.
10500 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10502 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10503 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10504 size. Use __ffs to determine corresponding shift.
10506 2013-08-20 Joseph Myers <joseph@codesourcery.com>
10507 Roland McGrath <roland@hack.frob.com>
10509 * Makefile (INSTALL): Remove trailing blank lines from output of
10512 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10514 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10515 Align 32 bit compat elf_greg to 8 bytes.
10517 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10519 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10521 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10523 * string/strcoll_l.c (coll_seq): New structure.
10524 (get_next_seq_cached): New function.
10525 (get_next_seq): New function.
10526 (do_compare): New function.
10527 (STRCOLL): Use GNU style definition. Simplify implementation
10528 by using get_next_seq, get_next_seq_cached and do_compare.
10530 2013-08-16 Florian Weimer <fweimer@redhat.com>
10534 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10536 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10538 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10539 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10540 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10542 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10543 GETDENTS_64BIT_ALIGNED.
10544 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10545 * manual/filesys.texi (Reading/Closing Directory): Document
10546 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10548 * manual/conf.texi (Limits for Files): Add portability note to
10549 NAME_MAX, PATH_MAX.
10550 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10552 2013-08-13 Andreas Schwab <schwab@suse.de>
10555 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10557 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10558 LDBL_MAX_EXP >= 16384]: Add tests for it.
10560 2013-08-12 David S. Miller <davem@davemloft.net>
10562 * version.h (RELEASE): Set to "development".
10563 (VERSION): Set to "2.18.90".
10564 * NEWS: Add 2.19 section.
10566 2013-08-03 David S. Miller <davem@davemloft.net>
10568 * po/ko.po: Update Korean translation from translation project.
10570 2013-08-01 David S. Miller <davem@davemloft.net>
10572 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10573 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10576 2013-07-30 David S. Miller <davem@davemloft.net>
10578 * po/fr.po: Update French translation from translation project.
10580 2013-07-28 David S. Miller <davem@davemloft.net>
10582 * po/cs.po: Update Czech translation from translation project.
10584 * po/sv.po: Update Swedish translation from translation project.
10586 2013-07-27 David S. Miller <davem@davemloft.net>
10588 * po/eo.po: Update Esperanto translation from translation project.
10590 * po/vi.po: Update Vietnamese translation from translation project.
10592 * po/de.po: Update German translation from translation project.
10594 2013-07-26 David S. Miller <davem@davemloft.net>
10596 * po/bg.po: Update Bulgarian translation from translation project.
10598 * po/nl.po: Update Dutch translation from translation project.
10599 * po/pl.po: Update Polish translation from translation project.
10600 * po/ru.po: Update Russian translation from translation project.
10602 2013-07-24 David S. Miller <davem@davemloft.net>
10604 * po/libc.pot: Update.
10606 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10608 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10609 variable page size.
10610 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10611 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10612 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10614 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10616 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10618 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10619 Andreas Schwab <schwab@suse.de>
10620 Roland McGrath <roland@hack.frob.com>
10621 Joseph Myers <joseph@codesourcery.com>
10622 Carlos O'Donell <carlos@redhat.com>
10625 * config.h.in: Define HAVE_PT_CHOWN.
10626 * config.make.in (build-pt-chown): New variable.
10627 * configure.in (--enable-pt_chown): New configure option.
10628 * configure: Regenerate.
10629 * login/Makefile: Include Makeconfig. Build pt_chown only if
10630 build-pt-chown is enabled.
10631 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10632 pt_chown to fix pty ownership.
10633 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10635 * manual/install.texi (Configuring and compiling): Mention
10636 --enable-pt_chown. Add @findex for grantpt.
10637 * INSTALL: Regenerate.
10639 2013-07-20 David S. Miller <davem@davemloft.net>
10641 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10642 difference between 32-bit and 64-bit.
10644 2013-07-15 Carlos O'Donell <carlos@redhat.com>
10647 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10648 Avoid system header dependency with -ffreestanding.
10649 ($(objpfx)bits/syscall%d): Likewise.
10651 2013-07-13 David S. Miller <davem@davemloft.net>
10653 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10654 underflows from atanl/atan2l due to bug 15319.
10655 (casinh_test_data): Likewise.
10657 2013-07-07 David S. Miller <davem@davemloft.net>
10659 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10661 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10663 * sysdeps/i386/fpu/libm-test-ulps: Update.
10664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10666 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10668 * configure.in (--enable-lock-elision): Fix message text.
10669 * INSTALL: Regenerate.
10670 * configure: Regenerate.
10672 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10676 2013-07-03 Andreas Jaeger <aj@suse.de>
10678 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10680 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10681 (ptrace_peeksiginfo_args): Add.
10682 (__ptrace_peeksiginfo_flags): Add.
10683 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10684 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10685 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10687 2013-07-03 Allan McRae <allan@archlinux.org>
10689 * sysdeps/i386/fpu/libm-test-ulps: Update.
10691 2013-07-02 David S. Miller <davem@davemloft.net>
10693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10695 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10699 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10701 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10704 2013-07-02 Andi Kleen <ak@linux.intel.com>
10706 * config.h.in (ENABLE_LOCK_ELISION): Add.
10707 * configure.in (--enable-lock-elision): Add option.
10708 * manual/install.texi: Document --enable lock elision.
10709 * configure: Regenerate
10710 * INSTALL: Regenerate.
10712 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10714 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10715 SSE4.2 strcasecmp for libc.a.
10716 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10718 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10721 * soft-fp/op-common.h (_FP_FMA): New macro.
10722 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10723 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10724 (_FP_MUL_MEAT_1_imm): ... here.
10725 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10726 (_FP_MUL_MEAT_1_wide): ... here.
10727 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10728 (_FP_MUL_MEAT_1_hard): ... here.
10729 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10730 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10731 (_FP_MUL_MEAT_2_wide): ... here.
10732 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10733 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10734 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10735 (_FP_MUL_MEAT_2_gmp): ... here.
10736 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10737 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10738 (_FP_MUL_MEAT_4_wide): ... here.
10739 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10740 (_FP_MUL_MEAT_4_gmp): ... here.
10741 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10742 (_FP_WFRACBITS_DW_S): Likewise.
10743 (_FP_WFRACXBITS_DW_S): Likewise.
10744 (_FP_HIGHBIT_DW_S): Likewise.
10745 (FP_FMA_S): Likewise.
10746 (_FP_FRAC_HIGH_DW_S): Likewise.
10747 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10748 (_FP_WFRACBITS_DW_D): Likewise.
10749 (_FP_WFRACXBITS_DW_D): Likewise.
10750 (_FP_HIGHBIT_DW_D): Likewise.
10751 (FP_FMA_D): Likewise.
10752 (_FP_FRAC_HIGH_DW_D): Likewise.
10753 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10754 (_FP_WFRACBITS_DW_E): Likewise.
10755 (_FP_WFRACXBITS_DW_E): Likewise.
10756 (_FP_HIGHBIT_DW_E): Likewise.
10757 (FP_FMA_E): Likewise.
10758 (_FP_FRAC_HIGH_DW_E): Likewise.
10759 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10760 (_FP_WFRACBITS_DW_Q): Likewise.
10761 (_FP_WFRACXBITS_DW_Q): Likewise.
10762 (_FP_HIGHBIT_DW_Q): Likewise.
10763 (FP_FMA_Q): Likewise.
10764 (_FP_FRAC_HIGH_DW_Q): Likewise.
10765 * soft-fp/fmasf4.c: New file.
10766 * soft-fp/fmadf4.c: Likewise.
10767 * soft-fp/fmatf4.c: Likewise.
10769 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10772 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10774 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10776 (index_Slow_SSE4_2): Likewise.
10777 (index_Prefer_PMINUB_for_stringop): Likewise.
10778 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10779 bit_Slow_SSE4_2 is set.
10780 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10781 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10783 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10785 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10786 rtld_global._dl_hwcap2.
10787 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10789 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10790 POWER8 feature descriptions defined in _dl_hwcap2.
10791 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10792 string handling for POWER8 feature bits.
10793 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10794 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10795 _dl_powerpc_cap_flags.
10796 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10797 * sysdeps/powerpc/rtld-global-offsets.sym
10798 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10799 _dl_hwcap2 in the rtld_global_ro structure.
10801 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10803 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10804 hardware capabilities in support of AT_HWCAP2.
10805 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10806 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10808 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10809 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10810 explicitly the unknown a_type display mechanism is used.
10811 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10812 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10814 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10815 to macro prototype for AT_HWCAP2 support.
10816 * sysdeps/i386/dl-procinfo.h: Likewise.
10817 * sysdeps/s390/dl-procinfo.h: Likewise.
10818 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10819 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10820 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10821 return -1 for unknown a_type display fallback.
10822 * sysdeps/sparc/dl-procinfo.h: Likewise.
10823 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10824 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10826 2013-06-28 Joseph Myers <joseph@codesourcery.com>
10828 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10829 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10831 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10834 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10835 mprotect making __stack_prot writable.
10837 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10838 Joseph Myers <joseph@codesourcery.com>
10840 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10841 as being properly aligned.
10843 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10845 * dlfcn/modstatic5.c: New file.
10846 * dlfcn/tststatic5.c: New file.
10847 * dlfcn/Makefile (tests): Add tststatic5.
10848 (tests-static): Likewise.
10849 (modules-names): Add modstatic5.
10850 (tststatic5-ENV): New variable.
10851 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10854 * elf/dl-support.c (_dl_main_map): New variable.
10855 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10856 (_dl_nns, _dl_load_adds): Set to 1.
10857 (_dl_initial_searchlist): Refer to _dl_main_map.
10858 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10859 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10860 call to _dl_get_origin.
10861 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10863 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10864 * dlfcn/modstatic3.c: New file.
10865 * dlfcn/tststatic3.c: New file.
10866 * dlfcn/tststatic4.c: New file.
10867 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10868 (tests-static): Likewise.
10869 (modules-names): Add modstatic3.
10870 (tststatic3-ENV, tststatic4-ENV): New variables.
10871 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10872 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10874 2013-06-26 Joseph Myers <joseph@codesourcery.com>
10876 * configure.in (CC): Require GCC version 4.4 or later.
10877 * configure: Regenerated.
10878 * manual/install.texi (Tools for Compilation): Update GCC version
10880 * INSTALL: Regenerated.
10882 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10885 * string/test-memcmp.c (check2): New.
10886 (main): Call check2.
10888 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10890 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10893 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10895 (dl_open_worker) [!SHARED]: ... here.
10897 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10899 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10901 2013-06-25 Richard Henderson <rth@redhat.com>
10903 * locale/programs/locarchive.c: Include <libc-internal.h>
10905 2013-06-25 Joseph Myers <joseph@codesourcery.com>
10907 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10908 trailing whitespace removed.
10910 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10913 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10914 * locale/programs/locarchive.c: Include libc-mmap.h.
10915 (prepare_address_space): Take two new outputs (the mmap base and len).
10916 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10918 (create_archive): Declare new mmap base and len values for
10919 prepare_address_space, and store the result in ah.
10920 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10921 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10922 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10923 Declare new mmap base and len values for
10924 prepare_address_space, and store the result in new_ah.
10925 (open_archive): Declare new mmap base and len values for
10926 prepare_address_space, and store the result in ah.
10927 (close_archive): If ah->mmap_base is not NULL, use that and
10928 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10929 * sysdeps/generic/libc-mmap.h: New file.
10931 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10933 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10934 (ALIGN_UP): Likewise.
10935 (PTR_ALIGN_DOWN): Likewise.
10936 (PTR_ALIGN_UP): Likewise.
10938 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10940 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10941 entry mapped to PPC_PLATFORM_POWER8.
10942 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10944 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10945 (_dl_string_platform): Add case for exporting platform position for
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10948 search path to sysdeps/powerpc/powerpc32/power8 directory.
10949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10950 search path to sysdeps/powerpc/powerpc64/power8 directory.
10951 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10952 power7 directories.
10953 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10954 power7 directories.
10956 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10958 * INSTALL: Regenerate.
10960 * nscd/connections.c (nscd_init): Fix comment.
10962 2013-06-22 Joseph Myers <joseph@codesourcery.com>
10964 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10967 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10968 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10970 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10972 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10974 (DL_DST_REQ_STATIC): Remove macro.
10976 2013-06-21 Joseph Myers <joseph@codesourcery.com>
10979 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10980 with a shift of 0 bits.
10982 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10984 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10987 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10990 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10992 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10994 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10995 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10996 accepts -fno-tree-loop-distribute-patterns.
10997 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10998 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11000 * string/memset.c (memset): Likewise.
11001 * string/test-memmove.c (simple_memmove): Disable loop transformation
11003 * string/test-memset.c (simple_memset): Likewise.
11004 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11005 * benchtests/bench-memset.c (simple_memset): Likewise.
11006 * configure: Regenerated.
11008 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11010 * math/test-misc.c (main): Ignore fesetround failure when failures
11011 of subsequent rounding tests would be ignored.
11014 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11015 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11016 * math/fegetenv.c (__fegetenv): Return 0.
11017 * math/fegetexcept.c (fegetexcept): Return 0.
11018 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11020 * math/feholdexcpt.c (feholdexcept): Return 0.
11021 * math/fesetenv.c (__fesetenv): Return 0.
11022 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11023 argument FE_TONEAREST.
11024 * math/feupdateenv.c (__feupdateenv): Return 0.
11025 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11027 2013-06-18 Roland McGrath <roland@hack.frob.com>
11029 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11030 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11031 ($(objpfx)rtld-%.os rules): Use them.
11033 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11035 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11038 2013-06-17 Roland McGrath <roland@hack.frob.com>
11040 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11041 length of target pattern, then descending length of dependency pattern.
11042 * configure.in (AWK): Require gawk 3.1.2 or newer.
11043 * manual/install.texi (Tools for Compilation): Say that we do.
11044 * configure: Regenerated.
11046 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11047 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11048 * scripts/sysd-rules.awk: ... this new script.
11049 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11050 than a glob-style pattern.
11052 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11054 * math/test-misc.c (main): Do not treat incorrectly rounded
11055 conversions as failure unless ROUNDING_TESTS passes.
11057 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11060 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11061 restore exception state around main square root computation, then
11062 check for inexactness explicitly.
11064 * math/libm-test.inc (fma_test_data): Add another test.
11066 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11068 * manual/threads.texi (Non-POSIX Extensions): New document
11069 node. Document pthread_getattr_default_np and
11070 pthread_setattr_default_np.
11072 * Versions.def (libpthread): Add GLIBC_2.18.
11073 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11082 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11093 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11096 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11098 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11099 H.J. Lu <hjl.tools@gmail.com>
11102 * sysdeps/x86_64/rtld-memset.c: Remove file.
11103 * sysdeps/x86_64/rtld-memset.S: New file.
11105 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11107 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11108 (test_in_one_mode): Take arguments for whether the rounding mode
11109 is supported for each floating-point type.
11110 (do_test): Pass new arguments to test_in_one_mode using
11113 2013-06-13 Roland McGrath <roland@hack.frob.com>
11115 * posix/tst-waitid.c (do_test): Distinguish different instances of
11116 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11117 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11118 before entering the kernel for waitpid.
11120 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11122 * NEWS: Fix note on clock function precision. Text by Roland
11125 2013-06-13 Roland McGrath <roland@hack.frob.com>
11127 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11128 it into place only when and if the sanity check passes.
11130 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11132 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11133 output for whether conversion result is exact. Take argument
11134 indicating whether type is IBM long double.
11135 (round_for_all): Change need_exact field to ibm_ld.
11136 * stdlib/tst-strtod-round.c (struct exactness): New type.
11137 (struct test): Change bool ld_ok field to struct exactness exact.
11138 (TEST): Update all definitions for change to field.
11139 (tests): Regenerate array contents.
11140 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11141 field value. Check for IBM long double here.
11142 (do_test): Update calls to test_in_one_mode.
11144 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11147 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11148 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11150 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11153 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11154 generated by the compiler on loop optimizations.
11155 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11156 general definitions.
11158 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11160 * math/bug-nextafter.c: Include <math-tests.h>.
11161 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11163 * math/bug-nexttoward.c: Include <math-tests.h>.
11164 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11166 * math/test-misc.c: Include <math-tests.h>.
11167 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11170 2013-06-12 Andreas Jaeger <aj@suse.de>
11172 * po/ia.po: Update Interlingua translation from translation
11175 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11177 * include/fenv.h: Include stdbool.h.
11178 (struct rm_ctx): New structure.
11179 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11181 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11182 (SET_RESTORE_ROUNDF): Likewise.
11183 (SET_RESTORE_ROUNDL): Likewise.
11184 (SET_RESTORE_ROUND_NOEX): Likewise.
11185 (SET_RESTORE_ROUND_NOEXF): Likewise.
11186 (SET_RESTORE_ROUND_NOEXL): Likewise.
11187 (SET_RESTORE_ROUND_53BIT): Likewise.
11188 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11189 (libc_feresetround_noexf_ctx): Likewise.
11190 (libc_feresetround_noexl_ctx): Likewise.
11191 (libc_feholdsetround_53bit_ctx): Likewise.
11192 (libc_feresetround_53bit_ctx): Likewise.
11193 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11194 (libc_feholdexcept_setround_sse_ctx): New function.
11195 (libc_fesetenv_sse_ctx): Likewise.
11196 (libc_feupdateenv_sse_ctx): Likewise.
11197 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11198 (libc_feholdexcept_setround_387_ctx): Likewise.
11199 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11200 (libc_feholdsetround_387_prec_ctx): Likewise.
11201 (libc_feholdsetround_387_ctx): Likewise.
11202 (libc_feholdsetround_387_53bit_ctx): Likewise.
11203 (libc_feholdsetround_sse_ctx): Likewise.
11204 (libc_feresetround_sse_ctx): Likewise.
11205 (libc_feresetround_387_ctx): Likewise.
11206 (libc_feupdateenv_387_ctx): Likewise.
11207 (libc_feholdexcept_setroundf_ctx): Define macro.
11208 (libc_fesetenvf_ctx): Likewise.
11209 (libc_feupdateenvf_ctx): Likewise.
11210 (libc_feholdsetroundf_ctx): Likewise.
11211 (libc_feresetroundf_ctx): Likewise.
11212 (libc_feholdexcept_setround_ctx): Likewise.
11213 (libc_fesetenv_ctx): Likewise.
11214 (libc_feupdateenv_ctx): Likewise.
11215 (libc_feholdsetround_ctx): Likewise.
11216 (libc_feresetround_ctx): Likewise.
11217 (libc_feholdexcept_setroundl_ctx): Likewise.
11218 (libc_feupdateenvl_ctx): Likewise.
11219 (libc_feholdsetroundl_ctx): Likewise.
11220 (libc_feresetroundl_ctx): Likewise.
11221 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11222 (libc_feresetround_53bit_ctx): Likewise.
11224 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11226 * locale/iso-639.def: Convert to UTF-8.
11228 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11230 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11231 (EXCEPTION_TESTS_double): Likewise.
11232 (EXCEPTION_TESTS_long_double): Likewise.
11233 (EXCEPTION_TESTS): Likewise.
11234 * math/libm-test.inc (test_exceptions): Only test exceptions if
11235 EXCEPTION_TESTS (FLOAT).
11237 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11239 * benchtests/Makefile (string-bench): Add strcpy_chk and
11241 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11242 * benchtests/bench-stpcpy_chk.c: New file.
11243 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11244 * benchtests/bench-strcpy_chk.c: New file.
11245 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11247 (do_test): Likewise.
11249 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11251 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11252 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11253 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11254 with tabs where appropriate.
11255 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11257 [PPC_PLATFORM_PPC440]: Likewise.
11258 [PPC_PLATFORM_PPC464]: Likewise.
11259 [PPC_PLATFORM_PPC476]: Likewise.
11260 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11261 ppc464, and ppc476 platform strings merging from ports/
11264 2013-06-11 Andreas Schwab <schwab@suse.de>
11267 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11268 (from_ucs4_idx): Regenerate.
11269 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11270 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11271 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11272 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11273 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11274 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11275 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11276 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11277 from FROM_LOOP and TO_LOOP specific macros.
11278 (BODY): Handle combining characters.
11279 * iconvdata/BIG5HKSCS.irreversible: Update.
11280 * iconvdata/BIG5HKSCS.precomposed: New file.
11281 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11283 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11285 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11287 * include/sys/time.h: Fix indentation and add copyright header.
11289 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11290 (do_test): Likewise.
11291 * string/test-memchr.c (do_one_test): Likewise.
11292 (do_test): Likewise.
11293 * string/test-memcmp.c (do_one_test): Likewise.
11294 (do_test): Likewise.
11295 * string/test-memcpy.c (do_one_test): Likewise.
11296 (do_test): Likewise.
11297 * string/test-memmem.c (do_one_test): Likewise.
11298 (do_test): Likewise.
11299 (do_random_tests): Likewise.
11300 * string/test-memmove.c (do_one_test): Likewise.
11301 (do_test): Likewise.
11302 * string/test-memset.c (do_one_test): Likewise.
11303 (do_test): Likewise.
11304 * string/test-rawmemchr.c (do_one_test): Likewise.
11305 (do_test): Likewise.
11306 * string/test-strcasecmp.c (do_one_test): Likewise.
11307 (do_test): Likewise.
11308 * string/test-strcasestr.c (do_one_test): Likewise.
11309 (do_test): Likewise.
11310 * string/test-strcat.c (do_one_test): Likewise.
11311 (do_test): Likewise.
11312 * string/test-strchr.c (do_one_test): Likewise.
11313 (do_test): Likewise.
11314 * string/test-strcmp.c (do_one_test): Likewise.
11315 (do_test): Likewise.
11316 * string/test-strcpy.c (do_one_test): Likewise.
11317 (do_test): Likewise.
11318 * string/test-string.h: Likewise.
11319 (test_init): Likewise.
11320 * string/test-strlen.c (do_one_test): Likewise.
11321 (do_test): Likewise.
11322 * string/test-strncasecmp.c (do_one_test): Likewise.
11323 (do_test): Likewise.
11324 * string/test-strncat.c (do_one_test): Likewise.
11325 (do_test): Likewise.
11326 * string/test-strncmp.c (do_one_test): Likewise.
11327 (do_test_limit): Likewise.
11328 (do_test): Likewise.
11329 * string/test-strncpy.c (do_one_test): Likewise.
11330 (do_test): Likewise.
11331 * string/test-strnlen.c (do_one_test): Likewise.
11332 (do_test): Likewise.
11333 * string/test-strpbrk.c (do_one_test): Likewise.
11334 (do_test): Likewise.
11335 * string/test-strrchr.c (do_one_test): Likewise.
11336 (do_test): Likewise.
11337 * string/test-strspn.c (do_one_test): Likewise.
11338 (do_test): Likewise.
11339 * string/test-strstr.c (do_one_test): Likewise.
11340 (do_test): Likewise.
11342 * benchtests/Makefile (string-bench): Add string benchmarks.
11343 * benchtests/bench-bcopy-ifunc.c: New file.
11344 * benchtests/bench-bcopy.c: New file.
11345 * benchtests/bench-bzero-ifunc.c: New file.
11346 * benchtests/bench-bzero.c: New file.
11347 * benchtests/bench-memccpy-ifunc.c: New file.
11348 * benchtests/bench-memccpy.c: New file.
11349 * benchtests/bench-memchr-ifunc.c: New file.
11350 * benchtests/bench-memchr.c: New file.
11351 * benchtests/bench-memcmp-ifunc.c: New file.
11352 * benchtests/bench-memcmp.c: New file.
11353 * benchtests/bench-memmem-ifunc.c: New file.
11354 * benchtests/bench-memmem.c: New file.
11355 * benchtests/bench-memmove-ifunc.c: New file.
11356 * benchtests/bench-memmove.c: New file.
11357 * benchtests/bench-mempcpy-ifunc.c: New file.
11358 * benchtests/bench-mempcpy.c: New file.
11359 * benchtests/bench-memset-ifunc.c: New file.
11360 * benchtests/bench-memset.c: New file.
11361 * benchtests/bench-rawmemchr-ifunc.c: New file.
11362 * benchtests/bench-rawmemchr.c: New file.
11363 * benchtests/bench-stpcpy-ifunc.c: New file.
11364 * benchtests/bench-stpcpy.c: New file.
11365 * benchtests/bench-stpncpy-ifunc.c: New file.
11366 * benchtests/bench-stpncpy.c: New file.
11367 * benchtests/bench-strcasecmp-ifunc.c: New file.
11368 * benchtests/bench-strcasecmp.c: New file.
11369 * benchtests/bench-strcasestr-ifunc.c: New file.
11370 * benchtests/bench-strcasestr.c: New file.
11371 * benchtests/bench-strcat-ifunc.c: New file.
11372 * benchtests/bench-strcat.c: New file.
11373 * benchtests/bench-strchr-ifunc.c: New file.
11374 * benchtests/bench-strchr.c: New file.
11375 * benchtests/bench-strchrnul-ifunc.c: New file.
11376 * benchtests/bench-strchrnul.c: New file.
11377 * benchtests/bench-strcmp-ifunc.c: New file.
11378 * benchtests/bench-strcmp.c: New file.
11379 * benchtests/bench-strcpy-ifunc.c: New file.
11380 * benchtests/bench-strcpy.c: New file.
11381 * benchtests/bench-strcspn-ifunc.c: New file.
11382 * benchtests/bench-strcspn.c: New file.
11383 * benchtests/bench-strlen-ifunc.c: New file.
11384 * benchtests/bench-strlen.c: New file.
11385 * benchtests/bench-strncasecmp-ifunc.c: New file.
11386 * benchtests/bench-strncasecmp.c: New file.
11387 * benchtests/bench-strncat-ifunc.c: New file.
11388 * benchtests/bench-strncat.c: New file.
11389 * benchtests/bench-strncmp-ifunc.c: New file.
11390 * benchtests/bench-strncmp.c: New file.
11391 * benchtests/bench-strncpy-ifunc.c: New file.
11392 * benchtests/bench-strncpy.c: New file.
11393 * benchtests/bench-strnlen-ifunc.c: New file.
11394 * benchtests/bench-strnlen.c: New file.
11395 * benchtests/bench-strpbrk-ifunc.c: New file.
11396 * benchtests/bench-strpbrk.c: New file.
11397 * benchtests/bench-strrchr-ifunc.c: New file.
11398 * benchtests/bench-strrchr.c: New file.
11399 * benchtests/bench-strspn-ifunc.c: New file.
11400 * benchtests/bench-strspn.c: New file.
11401 * benchtests/bench-strstr-ifunc.c: New file.
11402 * benchtests/bench-strstr.c: New file.
11404 * benchtests/Makefile: Disable parallel execution of targets.
11405 (string-bench): Add memcpy.
11406 (benchset): New variable to store a list of benchmark sets.
11407 (bench-func): Renamed from bench.
11408 (bench-set): New target.
11409 (bench): Depend on bench-func and bench-set.
11410 * benchtests/README: Add section on benchmark sets.
11411 * benchtests/bench-memcpy-ifunc.c: New file.
11412 * benchtests/bench-memcpy.c: New file.
11413 * benchtests/bench-string.h: New file.
11415 2013-06-11 Andreas Schwab <schwab@suse.de>
11418 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11419 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11420 values in the triple.
11421 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11422 terminator in the group key.
11424 2013-06-11 Andreas Jaeger <aj@suse.de>
11426 * po/zh_TW.po: Update Chinese (traditional) translation from
11427 translation project.
11429 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11431 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11432 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11433 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11434 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11435 (clock_getcpuclockid): Likewise.
11436 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11437 Add weak_alias and libc_hidden_def.
11438 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11439 * rt/clock_gettime.c (clock_gettime): Rename to
11440 __clock_gettime. Add weak_alias and libc_hidden_def.
11441 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11442 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11443 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11444 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11445 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11447 * rt/clock_settime.c (clock_settime): Rename to
11448 __clock_settime. Add weak_alias and libc_hidden_def.
11449 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11451 2013-06-10 Joseph Myers <joseph@codesourcery.com>
11453 * mach/err_boot.sub: Remove trailing whitespace.
11454 * mach/err_ipc.sub: Likewise.
11455 * mach/err_mach.sub: Likewise.
11457 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11458 (ROUNDING_TESTS_double): Likewise.
11459 (ROUNDING_TESTS_long_double): Likewise.
11460 (ROUNDING_TESTS): Likewise.
11461 * math/libm-test.inc: Include <math-tests.h>.
11462 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11463 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11464 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11465 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11467 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11469 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11472 2013-06-08 Joseph Myers <joseph@codesourcery.com>
11474 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11475 otherwise empty TRANS lines.
11476 * sysdeps/gnu/errlist.c: Regenerated.
11478 * catgets/gencat.c (error_print): Use (void) in function
11480 * crypt/crypt_util.c (__init_des): Likewise.
11481 * crypt/speeds.c (Stop): Likewise.
11483 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11484 * inet/ruserpass.c (token): Likewise.
11485 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11486 * intl/localealias.c (extend_alias_table): Likewise.
11487 * intl/plural-exp.c (init_germanic_plural): Likewise.
11488 * libio/fcloseall.c (__fcloseall): Likewise.
11489 * libio/genops.c (_IO_flush_all): Likewise.
11490 (_IO_flush_all_linebuffered): Likewise.
11491 (_IO_cleanup): Likewise.
11492 (_IO_iter_begin): Likewise.
11493 (_IO_iter_end): Likewise.
11494 (_IO_list_lock): Likewise.
11495 (_IO_list_unlock): Likewise.
11496 (_IO_list_resetlock): Likewise.
11497 * libio/getchar.c (getchar): Likewise.
11498 * libio/getchar_u.c (getchar_unlocked): Likewise.
11499 * libio/getwchar.c (getwchar): Likewise.
11500 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11501 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11502 * login/getpt.c (__getpt): Likewise.
11503 * login/tst-utmp.c (main): Likewise.
11504 * malloc/hooks.c (__malloc_check_init): Likewise.
11505 * malloc/malloc.c (__malloc_stats): Likewise.
11506 * malloc/mtrace.c (tr_break): Likewise.
11507 (mtrace): Likewise.
11508 (muntrace): Likewise.
11509 * misc/fstab.c (endfsent): Likewise.
11510 * misc/getclktck.c (__getclktck): Likewise.
11511 * misc/getdtsz.c (__getdtablesize): Likewise.
11512 * misc/gethostid.c (gethostid): Likewise.
11513 * misc/getpagesize.c (__getpagesize): Likewise.
11514 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11515 (__get_nprocs): Likewise.
11516 (__get_phys_pages): Likewise.
11517 (__get_avphys_pages): Likewise.
11518 * misc/getttyent.c (getttyent): Likewise.
11519 (setttyent): Likewise.
11520 (endttyent): Likewise.
11521 * misc/getusershell.c (getusershell): Likewise.
11522 (endusershell): Likewise.
11523 (setusershell): Likewise.
11524 (initshells): Likewise.
11525 * misc/hsearch.c (__hdestroy): Likewise.
11526 * misc/sync.c (sync): Likewise.
11527 * misc/syslog.c (closelog_internal): Likewise.
11528 (closelog): Likewise.
11529 * misc/ttyslot.c (ttyslot): Likewise.
11530 * misc/vhangup.c (vhangup): Likewise.
11531 * posix/fork.c (__fork): Likewise.
11532 * posix/getegid.c (__getegid): Likewise.
11533 * posix/geteuid.c (__geteuid): Likewise.
11534 * posix/getgid.c (__getgid): Likewise.
11535 * posix/getpid.c (__getpid): Likewise.
11536 * posix/getppid.c (__getppid): Likewise.
11537 * posix/getuid.c (__getuid): Likewise.
11538 * posix/pause.c (pause): Likewise.
11539 * posix/setpgrp.c (setpgrp): Likewise.
11540 * posix/setsid.c (__setsid): Likewise.
11541 * posix/test-vfork.c (noop): Likewise.
11542 * resolv/gethnamaddr.c (_endhtent): Likewise.
11543 (_gethtent): Likewise.
11544 (ht_endhostent): Likewise.
11545 (gethostent): Likewise.
11546 (dns_service): Likewise.
11547 * stdlib/drand48.c (drand48): Likewise.
11548 * stdlib/lrand48.c (lrand48): Likewise.
11549 * stdlib/mrand48.c (mrand48): Likewise.
11550 * stdlib/rand.c (rand): Likewise.
11551 * stdlib/random.c (__random): Likewise.
11552 * stdlib/setenv.c (clearenv): Likewise.
11553 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11554 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11555 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11556 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11557 (__get_nprocs): Likewise.
11558 (__get_phys_pages): Likewise.
11559 (__get_avphys_pages): Likewise.
11560 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11561 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11562 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11563 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11564 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11565 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11566 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11567 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11568 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11569 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11570 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11571 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11572 * sysdeps/posix/clock.c (clock): Likewise.
11573 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11574 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11575 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11576 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11577 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11578 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11579 (__get_nprocs_conf): Likewise.
11580 (__get_phys_pages): Likewise.
11581 (__get_avphys_pages): Likewise.
11582 * time/clock.c (clock): Likewise.
11583 * time/tzset.c (__tzname_max): Likewise.
11585 2013-06-07 Joseph Myers <joseph@codesourcery.com>
11587 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11588 (__bswap_32): Do not use "register".
11589 * crypt/crypt.c (_ufc_doit_r): Likewise.
11590 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11591 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11592 * gmon/gmon.c (__monstartup): Likewise.
11593 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11594 * hurd/hurdmalloc.c (more_memory): Likewise.
11595 (malloc): Likewise.
11597 (realloc): Likewise.
11598 (malloc_fork_prepare): Likewise.
11599 (malloc_fork_parent): Likewise.
11600 (malloc_fork_child): Likewise.
11601 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11602 (_svcauth_des): Likewise.
11603 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11604 * inet/inet_net.c (inet_network): Likewise.
11605 * inet/inet_netof.c (inet_netof): Likewise.
11606 * inet/rcmd.c (__validuser2_sa): Likewise.
11607 * io/fts.c (fts_open): Likewise.
11608 (fts_load): Likewise.
11609 (fts_close): Likewise.
11610 (fts_read): Likewise.
11611 (fts_children): Likewise.
11612 (fts_build): Likewise.
11613 (fts_stat): Likewise.
11614 (fts_sort): Likewise.
11615 (fts_alloc): Likewise.
11616 (fts_lfree): Likewise.
11617 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11618 (_IO_file_xsgetn): Likewise.
11619 (_IO_file_xsgetn_mmap): Likewise.
11620 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11621 (_IO_cookie_write): Likewise.
11622 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11623 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11624 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11625 * malloc/obstack.c (_obstack_begin): Likewise.
11626 (_obstack_begin_1): Likewise.
11627 (_obstack_newchunk): Likewise.
11628 (_obstack_allocated_p): Likewise.
11629 (obstack_free): Likewise.
11630 (_obstack_memory_used): Likewise.
11631 * misc/getttyent.c (getttynam): Likewise.
11632 (getttyent): Likewise.
11635 * misc/getusershell.c (initshells): Likewise.
11636 * misc/syslog.c (__vsyslog_chk): Likewise.
11637 * misc/ttyslot.c (ttyslot): Likewise.
11638 * nis/nis_hash.c (__nis_hash): Likewise.
11639 * posix/fnmatch_loop.c (FCT): Likewise.
11640 * posix/getconf.c (print_all): Likewise.
11642 * posix/getopt.c (exchange): Likewise.
11643 * posix/glob.c (globfree): Likewise.
11644 (prefix_array): Likewise.
11645 (__glob_pattern_type): Likewise.
11646 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11647 (NS_GET32): Likewise.
11648 (NS_PUT16): Likewise.
11649 (NS_PUT32): Likewise.
11650 * resolv/gethnamaddr.c (getanswer): Likewise.
11651 (gethostbyname2): Likewise.
11652 (gethostbyaddr): Likewise.
11653 (_gethtent): Likewise.
11654 (_gethtbyname2): Likewise.
11655 (_gethtbyaddr): Likewise.
11656 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11657 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11658 * resolv/res_init.c (__res_vinit): Likewise.
11659 (net_mask): Likewise.
11660 * resolv/res_mkquery.c (outchar): Likewise.
11662 * stdio-common/printf_fp.c (outchar): Likewise.
11664 * stdio-common/printf_fphex.c (outchar): Likewise.
11666 * stdio-common/printf_size.c (outchar): Likewise.
11668 * stdio-common/test_rdwr.c (main): Likewise.
11669 * stdio-common/tfformat.c (matches): Likewise.
11670 * stdio-common/vfprintf.c (outchar): Likewise.
11671 (printf_unknown): Likewise.
11672 (buffered_vfprintf): Likewise.
11673 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11674 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11675 (ReadFile): Likewise.
11676 * stdlib/qsort.c (SWAP): Likewise.
11677 (_quicksort): Likewise.
11678 * stdlib/setenv.c (__add_to_environ): Likewise.
11679 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11680 * stdlib/strtol_l.c (__strtol_l): Likewise.
11681 * stdlib/tst-strtod.c (main): Likewise.
11682 * stdlib/tst-strtol.c (main): Likewise.
11683 * stdlib/tst-strtoll.c (main): Likewise.
11684 * string/bits/string2.h (__strcmp_cc): Likewise.
11685 (__strcmp_cg): Likewise.
11686 (__strcspn_c1): Likewise.
11687 (__strcspn_c2): Likewise.
11688 (__strcspn_c3): Likewise.
11689 (__strspn_c1): Likewise.
11690 (__strspn_c2): Likewise.
11691 (__strspn_c3): Likewise.
11692 (__strsep_1c): Likewise.
11693 (__strsep_2c): Likewise.
11694 (__strsep_3c): Likewise.
11695 * string/memccpy.c (__memccpy): Likewise.
11696 * string/stpcpy.c (__stpcpy): Likewise.
11697 * string/strcmp.c (strcmp): Likewise.
11698 * string/strrchr.c (strrchr): Likewise.
11699 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11701 * sysdeps/mach/hurd/getcwd.c
11702 (_hurd_canonicalize_directory_name_internal): Likewise.
11703 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11704 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11705 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11706 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11707 Likewise, in both definitions.
11708 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11710 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11711 64] (__bswap_64): Likewise.
11712 * time/test_time.c (main): Likewise.
11713 * time/tzfile.c (__tzfile_read): Likewise.
11714 (__tzfile_compute): Likewise.
11715 * time/tzset.c (__tzset_parse_tz): Likewise.
11716 (tzset_internal): Likewise.
11717 (compute_change): Likewise.
11718 * wcsmbs/wcscat.c (__wcscat): Likewise.
11719 * wcsmbs/wcschr.c (wcschr): Likewise.
11720 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11721 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11722 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11723 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11724 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11725 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11726 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11727 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11728 * wcsmbs/wmemset.c (wmemset): Likewise.
11730 2013-06-06 Joseph Myers <joseph@codesourcery.com>
11732 * scripts/config.guess: Update to version 2013-05-16.
11733 * scripts/config.sub: Update to version 2013-04-24.
11734 * scripts/install-sh: Update to version 2011-11-20.07.
11735 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11736 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11738 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
11740 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11741 * elf/sln.c: Likewise.
11742 * hurd/hurd/ioctl.h: Likewise.
11743 * hurd/hurdmalloc.c: Likewise.
11744 * hurd/xattr.c: Likewise.
11745 * include/shlib-compat.h: Likewise.
11746 * inet/ruserpass.c: Likewise.
11747 * libio/iofgets_u.c: Likewise.
11748 * libio/iofgetws_u.c: Likewise.
11749 * locale/programs/ld-identification.c: Likewise.
11750 * locale/programs/ld-time.c: Likewise.
11751 * mach/msg-destroy.c: Likewise.
11752 * nss/nss_files/files-netgrp.c: Likewise.
11753 * resolv/res_data.c: Likewise.
11754 * soft-fp/op-1.h: Likewise.
11755 * soft-fp/op-2.h: Likewise.
11756 * soft-fp/op-4.h: Likewise.
11757 * soft-fp/op-common.h: Likewise.
11758 * stdio-common/printf_fphex.c: Likewise.
11759 * stdlib/strtod_l.c: Likewise.
11760 * sunrpc/rpc/clnt.h: Likewise.
11761 * sysdeps/generic/framestate.c: Likewise.
11762 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11763 * sysdeps/i386/bsd-setjmp.S: Likewise.
11764 * sysdeps/i386/__longjmp.S: Likewise.
11765 * sysdeps/i386/setjmp.S: Likewise.
11766 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11767 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11768 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11769 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11770 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11773 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11775 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11776 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11778 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11779 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11780 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11781 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11782 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11784 * sysdeps/ieee754/support.c: Likewise.
11785 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11786 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11787 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11788 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11789 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11790 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11791 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11792 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11793 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11794 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11795 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11796 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11797 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11798 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11799 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11800 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11801 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11804 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
11806 * posix/transbug.c: Remove executable mode.
11808 2013-06-05 Joseph Myers <joseph@codesourcery.com>
11810 * crypt/speeds.c: Remove trailing whitespace.
11811 * dlfcn/default.c: Likewise.
11812 * elf/ifuncdep2.c: Likewise.
11813 * elf/ifuncmain1.c: Likewise.
11814 * elf/ifuncmain1vis.c: Likewise.
11815 * elf/testobj.h: Likewise.
11816 * elf/tst-stackguard1.c: Likewise.
11817 * gmon/sys/gmon.h: Likewise.
11818 * hurd/hurdmsg.c: Likewise.
11819 * hurd/new-fd.c: Likewise.
11820 * hurd/ports-get.c: Likewise.
11821 * iconvdata/ibm1008_420.c: Likewise.
11822 * inet/tst-getni1.c: Likewise.
11823 * inet/tst-getni2.c: Likewise.
11824 * libio/ioungetc.c: Likewise.
11825 * libio/wfiledoalloc.c: Likewise.
11826 * manual/libm-err-tab.pl: Likewise.
11827 * math/w_dremf.c: Likewise.
11828 * misc/ftruncate.c: Likewise.
11829 * posix/bug-glob2.c: Likewise.
11830 * posix/tst-pcre.c: Likewise.
11831 * posix/wait4.c: Likewise.
11832 * resolv/README: Likewise.
11833 * resolv/res_debug.h: Likewise.
11834 * resolv/tst-inet_ntop.c: Likewise.
11835 * setjmp/bug269-setjmp.c: Likewise.
11836 * soft-fp/extended.h: Likewise.
11837 * soft-fp/op-1.h: Likewise.
11838 * soft-fp/op-2.h: Likewise.
11839 * soft-fp/op-4.h: Likewise.
11840 * soft-fp/op-8.h: Likewise.
11841 * soft-fp/testit.c: Likewise.
11842 * stdio-common/bug16.c: Likewise.
11843 * stdlib/random.c: Likewise.
11844 * sunrpc/rpcsvc/rquota.x: Likewise.
11845 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11846 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11847 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11848 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11849 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11850 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11851 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11852 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11853 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11854 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11855 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11856 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11857 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11858 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11859 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11860 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11861 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11862 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11863 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11864 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11865 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11866 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11867 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11868 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11869 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11870 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11871 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11873 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11874 * sysdeps/ieee754/s_lib_version.c: Likewise.
11875 * sysdeps/mach/hurd/check_fds.c: Likewise.
11876 * sysdeps/mach/hurd/getsockname.c: Likewise.
11877 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11878 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11879 * sysdeps/powerpc/bits/link.h: Likewise.
11880 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11881 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11882 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11883 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11884 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11885 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11886 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11887 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11888 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11889 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11890 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11891 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11892 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11893 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11894 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11895 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11896 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11897 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11898 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11899 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11900 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11901 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11902 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11903 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11904 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11905 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11906 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11907 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11908 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11909 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11910 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11911 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11912 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11913 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11914 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11915 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11916 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11917 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11918 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11919 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11920 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11921 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11922 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11923 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11924 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11925 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11926 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11927 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11928 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11929 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11930 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11932 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11933 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11934 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11935 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11936 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11937 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11938 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11939 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11940 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11941 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11942 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11943 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11944 * sysdeps/powerpc/sysdep.h: Likewise.
11945 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11946 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11947 * sysdeps/sh/dl-trampoline.S: Likewise.
11948 * sysdeps/sh/memset.S: Likewise.
11949 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11950 * sysdeps/sh/strlen.S: Likewise.
11951 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11952 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11953 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11954 * sysdeps/sparc/sparc32/rem.S: Likewise.
11955 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11956 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11957 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11958 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11959 * sysdeps/sparc/sparc32/urem.S: Likewise.
11960 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11961 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11962 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11963 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11964 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11965 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11966 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11967 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11968 * sysdeps/unix/bsd/times.c: Likewise.
11969 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11970 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11974 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11975 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11976 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11977 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11978 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11979 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11980 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11981 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11982 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11983 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11984 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11985 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11986 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11987 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11988 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11989 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11990 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11991 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11992 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11993 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11994 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11995 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11996 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11997 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11998 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11999 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12000 * sysdeps/x86_64/strcspn.S: Likewise.
12002 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12004 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12005 generated file. Regenerate properly from gen-translit.pl.
12006 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12007 locale/C-translit.h.
12009 2013-06-05 Andreas Schwab <schwab@suse.de>
12012 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12013 week as 6 instead of -1.
12014 * time/tst-strptime.c (day_tests): Add test case.
12016 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12018 * sysdeps/generic/math_private.h
12019 (libc_feholdexcept_setround_53bit): Replace with
12020 libc_feholdsetround_53bit.
12021 (libc_feupdateenv_53bit): Replace with
12022 libc_feresetround_53bit.
12023 (SET_RESTORE_ROUND_53BIT): Adjust.
12025 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12027 * string/test-strchrnul.c: Add copyright header.
12029 * posix/tst-getaddrinfo4.c: Increase test timeout.
12031 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12034 * math/libm-test.inc (MAX_EXP): Remove
12036 (ulp): Use MIN_EXP - MANT_DIG.
12037 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12039 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12041 * po/be.po: Revert last change.
12042 * po/zh_CN.po: Likewise.
12043 * po/header.pot: Likewise.
12045 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12047 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12048 link-libc-deps to empty as target-specific variable.
12049 * Makerules (link-libc-args): New variable.
12050 (libc-for-link): Likewise.
12051 (link-libc-deps): Likewise.
12052 (lib%.so): Depend on $(link-libc-deps). Link with
12054 (build-module): Link with $(link-libc-args).
12055 (build-module-asneeded): Likewise.
12056 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12058 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12059 target-specific variable.
12060 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12061 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12062 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12064 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12066 ($(objpfx)libpcprofile.so): Likewise.
12067 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12069 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12070 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12071 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12073 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12074 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12075 * login/Makefile ($(objpfx)libutil.so): Likewise.
12076 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12077 * math/Makefile ($(objpfx)libm.so): Likewise.
12078 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12079 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12080 variable instead of depending directly on libc.
12081 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12082 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12084 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12086 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12087 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12088 ($(objpfx)libanl.so): Likewise.
12089 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12091 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12093 * sysdeps/i386/fpu/Makefile: Remove file.
12094 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12095 ($(objpfx)libm.so): Remove dependency on ld.so.
12097 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12100 * nis/yp_xdr.c (XDRMAXNAME): Define.
12101 (XDRMAXRECORD): Define.
12102 (xdr_domainname): Use XDRMAXNAME.
12103 (xdr_mapname): Likewise.
12104 (xdr_peername): Likewise.
12105 (xdr_keydat): Use XDRMAXRECORD.
12106 (xdr_valdat): Likewise.
12108 2013-05-30 Jeff Law <law@redhat.com>
12111 * manual/errno.texi (ESTALE): Update to account for more than
12112 just NFS file systems.
12113 * sysdeps/gnu/errlist.c: Regenerated.
12115 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12118 * elf/Makefile (tests): Add tst-null-argv.
12119 (modules-names): Add tst-null-argv-lib.
12120 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12121 (tst-null-argv-ENV): Set environment for tst-null-argv.
12122 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12123 (RTLD_PROGNAME): New macro.
12124 * elf/tst-null-argv.c: New test case.
12125 * elf/tst-null-argv-lib.c: Library for test case.
12126 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12127 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12128 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12129 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12130 * elf/dl-init.c (call_init): Likewise.
12131 (_dl_init): Likewise.
12132 * elf/dl-load.c (print_search_path): Likewise.
12133 (_dl_map_object): Likewise.
12134 * elf/dl-lookup.c (do_lookup_x): Likewise.
12135 (add_dependency): Likewise.
12136 (_dl_lookup_symbol_x): Likewise.
12137 (_dl_debug_bindings): Likewise.
12138 * elf/dl-open.c (_dl_show_scope): Likewise.
12139 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12140 * elf/dl-version.c (match_symbol): Likewise.
12141 (_dl_check_map_versions): Likewise.
12142 * elf/rtld.c (dl_main): Likewise.
12143 (print_unresolved): Use RTLD_PROGNAME.
12144 (print_missing_version): Likewise.
12145 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12146 (elf_machine_rela): Likewise.
12147 * sysdeps/powerpc/powerpc32/dl-machine.c
12148 (__process_machine_rela): Likewise.
12149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12151 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12153 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12155 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12158 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12162 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12164 * po/be.po: Add descriptive title.
12165 * po/zh_CN.po: Likewise.
12166 * po/header.pot: Likewise.
12168 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12170 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12172 (enlarge_archive): Likewise.
12174 2013-05-28 Ben North <ben@redfrontdoor.org>
12176 * manual/arith.texi (frexp): It is the magnitude of the return
12177 value which lies in [0.5, 1), not the return value itself.
12179 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12183 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12185 * stdio-common/bug26.c (main): Correct fscanf template.
12187 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12188 declare _dl_skip_args.
12190 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12193 * manual/platform.texi: Add missing @end deftypefun.
12195 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12198 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12199 bit of mantissa of 2^16382.
12200 * math/libm-test.inc (hypot_test_data): Add more tests.
12202 * math/libm-test.inc: Add drem and pow10 to list of tested
12204 (pow10_test): New function.
12205 (drem_test): Likewise.
12206 (drem_test_tonearest): Likewise.
12207 (drem_test_towardzero): Likewise.
12208 (drem_test_downward): Likewise.
12209 (drem_test_upward): Likewise.
12210 (main): Call the new functions.
12212 * math/libm-test.inc (finite_test_data): Remove.
12213 (finite_test): Run tests from isfinite_test_data.
12214 (gamma_test_data): Remove.
12215 (gamma_test): Run tests from lgamma_test_data.
12216 * sysdeps/i386/fpu/libm-test-ulps: Update.
12217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12219 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12221 * manual/platform.texi: Add PowerPC PPR function set documentation.
12222 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12225 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12227 * math/libm-test.inc (MAX_EXP): Define.
12229 (ulp): New function.
12230 (check_float_internal): Use ULPDIFF.
12231 (cpow_test): Disable failing test.
12232 (check_ulp): Test ulp() implemetnation.
12233 (main): Call check_ulp before starting tests.
12235 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12237 * math/gen-libm-test.pl (generate_testfile): Do not handle
12238 START_DATA and END_DATA.
12239 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12241 (acos_tonearest_test_data): Likewise.
12242 (acos_towardzero_test_data): Likewise.
12243 (acos_downward_test_data): Likewise.
12244 (acos_upward_test_data): Likewise.
12245 (acosh_test_data): Likewise.
12246 (asin_test_data): Likewise.
12247 (asin_tonearest_test_data): Likewise.
12248 (asin_towardzero_test_data): Likewise.
12249 (asin_downward_test_data): Likewise.
12250 (asin_upward_test_data): Likewise.
12251 (asinh_test_data): Likewise.
12252 (atan_test_data): Likewise.
12253 (atanh_test_data): Likewise.
12254 (atan2_test_data): Likewise.
12255 (cabs_test_data): Likewise.
12256 (cacos_test_data): Likewise.
12257 (cacosh_test_data): Likewise.
12258 (carg_test_data): Likewise.
12259 (casin_test_data): Likewise.
12260 (casinh_test_data): Likewise.
12261 (catan_test_data): Likewise.
12262 (catanh_test_data): Likewise.
12263 (cbrt_test_data): Likewise.
12264 (ccos_test_data): Likewise.
12265 (ccosh_test_data): Likewise.
12266 (ceil_test_data): Likewise.
12267 (cexp_test_data): Likewise.
12268 (cimag_test_data): Likewise.
12269 (clog_test_data): Likewise.
12270 (clog10_test_data): Likewise.
12271 (conj_test_data): Likewise.
12272 (copysign_test_data): Likewise.
12273 (cos_test_data): Likewise.
12274 (cos_tonearest_test_data): Likewise.
12275 (cos_towardzero_test_data): Likewise.
12276 (cos_downward_test_data): Likewise.
12277 (cos_upward_test_data): Likewise.
12278 (cosh_test_data): Likewise.
12279 (cosh_tonearest_test_data): Likewise.
12280 (cosh_towardzero_test_data): Likewise.
12281 (cosh_downward_test_data): Likewise.
12282 (cosh_upward_test_data): Likewise.
12283 (cpow_test_data): Likewise.
12284 (cproj_test_data): Likewise.
12285 (creal_test_data): Likewise.
12286 (csin_test_data): Likewise.
12287 (csinh_test_data): Likewise.
12288 (csqrt_test_data): Likewise.
12289 (ctan_test_data): Likewise.
12290 (ctan_tonearest_test_data): Likewise.
12291 (ctan_towardzero_test_data): Likewise.
12292 (ctan_downward_test_data): Likewise.
12293 (ctan_upward_test_data): Likewise.
12294 (ctanh_test_data): Likewise.
12295 (ctanh_tonearest_test_data): Likewise.
12296 (ctanh_towardzero_test_data): Likewise.
12297 (ctanh_downward_test_data): Likewise.
12298 (ctanh_upward_test_data): Likewise.
12299 (erf_test_data): Likewise.
12300 (erfc_test_data): Likewise.
12301 (exp_test_data): Likewise.
12302 (exp_tonearest_test_data): Likewise.
12303 (exp_towardzero_test_data): Likewise.
12304 (exp_downward_test_data): Likewise.
12305 (exp_upward_test_data): Likewise.
12306 (exp10_test_data): Likewise.
12307 (exp2_test_data): Likewise.
12308 (expm1_test_data): Likewise.
12309 (fabs_test_data): Likewise.
12310 (fdim_test_data): Likewise.
12311 (finite_test_data): Likewise.
12312 (floor_test_data): Likewise.
12313 (fma_test_data): Likewise.
12314 (fma_towardzero_test_data): Likewise.
12315 (fma_downward_test_data): Likewise.
12316 (fma_upward_test_data): Likewise.
12317 (fmax_test_data): Likewise.
12318 (fmin_test_data): Likewise.
12319 (fmod_test_data): Likewise.
12320 (fpclassify_test_data): Likewise.
12321 (frexp_test_data): Likewise.
12322 (gamma_test_data): Likewise.
12323 (hypot_test_data): Likewise.
12324 (ilogb_test_data): Likewise.
12325 (isfinite_test_data): Likewise.
12326 (isgreater_test_data): Likewise.
12327 (isgreaterequal_test_data): Likewise.
12328 (isinf_test_data): Likewise.
12329 (isless_test_data): Likewise.
12330 (islessequal_test_data): Likewise.
12331 (islessgreater_test_data): Likewise.
12332 (isnan_test_data): Likewise.
12333 (isnormal_test_data): Likewise.
12334 (issignaling_test_data): Likewise.
12335 (isunordered_test_data): Likewise.
12336 (j0_test_data): Likewise.
12337 (j1_test_data): Likewise.
12338 (jn_test_data): Likewise.
12339 (ldexp_test_data): Likewise.
12340 (lgamma_test_data): Likewise.
12341 (lrint_test_data): Likewise.
12342 (lrint_tonearest_test_data): Likewise.
12343 (lrint_towardzero_test_data): Likewise.
12344 (lrint_downward_test_data): Likewise.
12345 (lrint_upward_test_data): Likewise.
12346 (llrint_test_data): Likewise.
12347 (llrint_tonearest_test_data): Likewise.
12348 (llrint_towardzero_test_data): Likewise.
12349 (llrint_downward_test_data): Likewise.
12350 (llrint_upward_test_data): Likewise.
12351 (log_test_data): Likewise.
12352 (log10_test_data): Likewise.
12353 (log1p_test_data): Likewise.
12354 (log2_test_data): Likewise.
12355 (logb_test_data): Likewise.
12356 (logb_downward_test_data): Likewise.
12357 (lround_test_data): Likewise.
12358 (llround_test_data): Likewise.
12359 (modf_test_data): Likewise.
12360 (nearbyint_test_data): Likewise.
12361 (nextafter_test_data): Likewise.
12362 (nexttoward_test_data): Likewise.
12363 (pow_test_data): Likewise.
12364 (pow_tonearest_test_data): Likewise.
12365 (pow_towardzero_test_data): Likewise.
12366 (pow_downward_test_data): Likewise.
12367 (pow_upward_test_data): Likewise.
12368 (remainder_test_data): Likewise.
12369 (remainder_tonearest_test_data): Likewise.
12370 (remainder_towardzero_test_data): Likewise.
12371 (remainder_downward_test_data): Likewise.
12372 (remainder_upward_test_data): Likewise.
12373 (remquo_test_data): Likewise.
12374 (rint_test_data): Likewise.
12375 (rint_tonearest_test_data): Likewise.
12376 (rint_towardzero_test_data): Likewise.
12377 (rint_downward_test_data): Likewise.
12378 (rint_upward_test_data): Likewise.
12379 (round_test_data): Likewise.
12380 (scalb_test_data): Likewise.
12381 (scalbn_test_data): Likewise.
12382 (scalbln_test_data): Likewise.
12383 (signbit_test_data): Likewise.
12384 (sin_test_data): Likewise.
12385 (sin_tonearest_test_data): Likewise.
12386 (sin_towardzero_test_data): Likewise.
12387 (sin_downward_test_data): Likewise.
12388 (sin_upward_test_data): Likewise.
12389 (sincos_test_data): Likewise.
12390 (sinh_test_data): Likewise.
12391 (sinh_tonearest_test_data): Likewise.
12392 (sinh_towardzero_test_data): Likewise.
12393 (sinh_downward_test_data): Likewise.
12394 (sinh_upward_test_data): Likewise.
12395 (sqrt_test_data): Likewise.
12396 (tan_test_data): Likewise.
12397 (tan_tonearest_test_data): Likewise.
12398 (tan_towardzero_test_data): Likewise.
12399 (tan_downward_test_data): Likewise.
12400 (tan_upward_test_data): Likewise.
12401 (tanh_test_data): Likewise.
12402 (tgamma_test_data): Likewise.
12403 (trunc_test_data): Likewise.
12404 (y0_test_data): Likewise.
12405 (y1_test_data): Likewise.
12406 (yn_test_data): Likewise.
12407 (significand_test_data): Likewise.
12409 * math/gen-libm-test.pl (@functions): Remove variable.
12410 (generate_testfile): Don't handle START and END lines.
12411 * math/libm-test.inc (START): New macro.
12413 (END_COMPLEX): Likewise.
12414 (acos_test): Use END macro without arguments.
12415 (acos_test_tonearest): Likewise.
12416 (acos_test_towardzero): Likewise.
12417 (acos_test_downward): Likewise.
12418 (acos_test_upward): Likewise.
12419 (acosh_test): Likewise.
12420 (asin_test): Likewise.
12421 (asin_test_tonearest): Likewise.
12422 (asin_test_towardzero): Likewise.
12423 (asin_test_downward): Likewise.
12424 (asin_test_upward): Likewise.
12425 (asinh_test): Likewise.
12426 (atan_test): Likewise.
12427 (atanh_test): Likewise.
12428 (atan2_test): Likewise.
12429 (cabs_test): Likewise.
12430 (cacos_test): Use END_COMPLEX macro without arguments.
12431 (cacosh_test): Likewise.
12432 (carg_test): Use END macro without arguments.
12433 (casin_test): Use END_COMPLEX macro without arguments.
12434 (casinh_test): Likewise.
12435 (catan_test): Likewise.
12436 (catanh_test): Likewise.
12437 (cbrt_test): Use END macro without arguments.
12438 (ccos_test): Use END_COMPLEX macro without arguments.
12439 (ccosh_test): Likewise.
12440 (ceil_test): Use END macro without arguments.
12441 (cexp_test): Use END_COMPLEX macro without arguments.
12442 (cimag_test): Use END macro without arguments.
12443 (clog_test): Use END_COMPLEX macro without arguments.
12444 (clog10_test): Likewise.
12445 (conj_test): Likewise.
12446 (copysign_test): Use END macro without arguments.
12447 (cos_test): Likewise.
12448 (cos_test_tonearest): Likewise.
12449 (cos_test_towardzero): Likewise.
12450 (cos_test_downward): Likewise.
12451 (cos_test_upward): Likewise.
12452 (cosh_test): Likewise.
12453 (cosh_test_tonearest): Likewise.
12454 (cosh_test_towardzero): Likewise.
12455 (cosh_test_downward): Likewise.
12456 (cosh_test_upward): Likewise.
12457 (cpow_test): Use END_COMPLEX macro without arguments.
12458 (cproj_test): Likewise.
12459 (creal_test): Use END macro without arguments.
12460 (csin_test): Use END_COMPLEX macro without arguments.
12461 (csinh_test): Likewise.
12462 (csqrt_test): Likewise.
12463 (ctan_test): Likewise.
12464 (ctan_test_tonearest): Likewise.
12465 (ctan_test_towardzero): Likewise.
12466 (ctan_test_downward): Likewise.
12467 (ctan_test_upward): Likewise.
12468 (ctanh_test): Likewise.
12469 (ctanh_test_tonearest): Likewise.
12470 (ctanh_test_towardzero): Likewise.
12471 (ctanh_test_downward): Likewise.
12472 (ctanh_test_upward): Likewise.
12473 (erf_test): Use END macro without arguments.
12474 (erfc_test): Likewise.
12475 (exp_test): Likewise.
12476 (exp_test_tonearest): Likewise.
12477 (exp_test_towardzero): Likewise.
12478 (exp_test_downward): Likewise.
12479 (exp_test_upward): Likewise.
12480 (exp10_test): Likewise.
12481 (exp2_test): Likewise.
12482 (expm1_test): Likewise.
12483 (fabs_test): Likewise.
12484 (fdim_test): Likewise.
12485 (finite_test): Likewise.
12486 (floor_test): Likewise.
12487 (fma_test): Likewise.
12488 (fma_test_towardzero): Likewise.
12489 (fma_test_downward): Likewise.
12490 (fma_test_upward): Likewise.
12491 (fmax_test): Likewise.
12492 (fmin_test): Likewise.
12493 (fmod_test): Likewise.
12494 (fpclassify_test): Likewise.
12495 (frexp_test): Likewise.
12496 (gamma_test): Likewise.
12497 (hypot_test): Likewise.
12498 (ilogb_test): Likewise.
12499 (isfinite_test): Likewise.
12500 (isgreater_test): Likewise.
12501 (isgreaterequal_test): Likewise.
12502 (isinf_test): Likewise.
12503 (isless_test): Likewise.
12504 (islessequal_test): Likewise.
12505 (islessgreater_test): Likewise.
12506 (isnan_test): Likewise.
12507 (isnormal_test): Likewise.
12508 (issignaling_test): Likewise.
12509 (isunordered_test): Likewise.
12510 (j0_test): Likewise.
12511 (j1_test): Likewise.
12512 (jn_test): Likewise.
12513 (ldexp_test): Likewise.
12514 (lgamma_test): Likewise.
12515 (lrint_test): Likewise.
12516 (lrint_test_tonearest): Likewise.
12517 (lrint_test_towardzero): Likewise.
12518 (lrint_test_downward): Likewise.
12519 (lrint_test_upward): Likewise.
12520 (llrint_test): Likewise.
12521 (llrint_test_tonearest): Likewise.
12522 (llrint_test_towardzero): Likewise.
12523 (llrint_test_downward): Likewise.
12524 (llrint_test_upward): Likewise.
12525 (log_test): Likewise.
12526 (log10_test): Likewise.
12527 (log1p_test): Likewise.
12528 (log2_test): Likewise.
12529 (logb_test): Likewise.
12530 (logb_test_downward): Likewise.
12531 (lround_test): Likewise.
12532 (llround_test): Likewise.
12533 (modf_test): Likewise.
12534 (nearbyint_test): Likewise.
12535 (nextafter_test): Likewise.
12536 (nexttoward_test): Likewise.
12537 (pow_test): Likewise.
12538 (pow_test_tonearest): Likewise.
12539 (pow_test_towardzero): Likewise.
12540 (pow_test_downward): Likewise.
12541 (pow_test_upward): Likewise.
12542 (remainder_test): Likewise.
12543 (remainder_test_tonearest): Likewise.
12544 (remainder_test_towardzero): Likewise.
12545 (remainder_test_downward): Likewise.
12546 (remainder_test_upward): Likewise.
12547 (remquo_test): Likewise.
12548 (rint_test): Likewise.
12549 (rint_test_tonearest): Likewise.
12550 (rint_test_towardzero): Likewise.
12551 (rint_test_downward): Likewise.
12552 (rint_test_upward): Likewise.
12553 (round_test): Likewise.
12554 (scalb_test): Likewise.
12555 (scalbn_test): Likewise.
12556 (scalbln_test): Likewise.
12557 (signbit_test): Likewise.
12558 (sin_test): Likewise.
12559 (sin_test_tonearest): Likewise.
12560 (sin_test_towardzero): Likewise.
12561 (sin_test_downward): Likewise.
12562 (sin_test_upward): Likewise.
12563 (sincos_test): Likewise.
12564 (sinh_test): Likewise.
12565 (sinh_test_tonearest): Likewise.
12566 (sinh_test_towardzero): Likewise.
12567 (sinh_test_downward): Likewise.
12568 (sinh_test_upward): Likewise.
12569 (sqrt_test): Likewise.
12570 (tan_test): Likewise.
12571 (tan_test_tonearest): Likewise.
12572 (tan_test_towardzero): Likewise.
12573 (tan_test_downward): Likewise.
12574 (tan_test_upward): Likewise.
12575 (tanh_test): Likewise.
12576 (tgamma_test): Likewise.
12577 (trunc_test): Likewise.
12578 (y0_test): Likewise.
12579 (y1_test): Likewise.
12580 (yn_test): Likewise.
12581 (significand_test): Likewise.
12583 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
12586 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12588 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12591 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12592 __ppc_mdoio and __ppc_mdoom.
12593 * manual/platform.texi: Document new functions __ppc_yield,
12594 __ppc_mdoio and __ppc_mdoom.
12596 2013-05-22 Carlos O'Donell <carlos@redhat.com>
12598 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12599 (main): Mention "tls" pseudo-hwcap is legacy.
12600 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12602 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12604 * math/gen-libm-test.pl (parse_args): Output only string of
12605 arguments as text for test name, not full call or descriptions of
12606 tests for extra outputs.
12607 (generate_testfile): Do not pass function name to parse_args.
12608 Generate this_func variable from START.
12609 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12611 (struct test_ff_f_data): Likewise.
12612 (test_ff_f_data_nexttoward): Likewise.
12613 (struct test_fi_f_data): Likewise.
12614 (struct test_fl_f_data): Likewise.
12615 (struct test_if_f_data): Likewise.
12616 (struct test_fff_f_data): Likewise.
12617 (struct test_c_f_data): Likewise.
12618 (struct test_f_f1_data): Likewise. Remove field extra_name.
12619 (struct test_fF_f1_data): Likewise.
12620 (struct test_ffI_f1_data): Likewise.
12621 (struct test_c_c_data): Rename test_name field to arg_str.
12622 (struct test_cc_c_data): Likewise.
12623 (struct test_f_i_data): Likewise.
12624 (struct test_ff_i_data): Likewise.
12625 (struct test_f_l_data): Likewise.
12626 (struct test_f_L_data): Likewise.
12627 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12629 (COMMON_TEST_SETUP): New macro.
12630 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12631 (COMMON_TEST_CLEANUP): Likewise.
12632 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12633 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12635 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12636 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12638 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12639 (RUN_TEST_fff_f): Take argument string. Call new setup and
12641 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12642 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12644 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12645 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12647 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12648 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12650 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12651 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12653 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12654 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12656 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12657 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12659 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12660 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12662 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12663 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12665 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12666 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12668 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12669 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12671 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12672 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12674 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12675 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12677 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12678 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12680 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12681 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12683 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12684 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12686 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12688 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12690 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12691 to _sifields.sigfault.
12692 (si_addr_lsb): Define new macro.
12693 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12695 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12697 2013-05-03 Carlos O'Donell <carlos at redhat.com>
12700 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12702 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12704 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12705 loading the domain.
12707 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12709 * math/gen-libm-test.pl (parse_args): Do not include expected
12710 result in test name.
12711 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12712 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12713 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12714 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12715 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12718 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12720 * benchtests/Makefile: Sort function entries.
12722 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12723 tanh, asinh, acosh, atanh.
12724 * benchtests/acos-inputs: New file.
12725 * benchtests/acosh-inputs: New file.
12726 * benchtests/asin-inputs: New file.
12727 * benchtests/asinh-inputs: New file.
12728 * benchtests/atanh-inputs: New file.
12729 * benchtests/cosh-inputs: New file.
12730 * benchtests/log-inputs: New file.
12731 * benchtests/sinh-inputs: New file.
12732 * benchtests/tanh-inputs: New file.
12734 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12737 * posix/tst-getaddrinfo4.c: New test.
12738 * posix/Makefile (tests): Add it.
12740 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12743 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12744 when no services were used.
12745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12746 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12748 2013-05-21 Andreas Schwab <schwab@suse.de>
12751 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12752 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12754 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12755 redundant variable declarations and reallocation of buffer when
12756 parsing as IPv6 address. Always set NSS status when called from
12757 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12758 buffer too small. Correct computation of needed size.
12759 * nss/Makefile (tests): Add test-digits-dots.
12760 * nss/test-digits-dots.c: New test.
12762 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12764 * benchtests/Makefile: Remove instructions for adding
12766 * benchtests/README: New file to explain how to execute and
12767 enhance the benchmark tests.
12769 2013-05-21 Andreas Schwab <schwab@suse.de>
12772 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12773 * setjmp/tst-sigsetjmp.c: New test.
12775 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12777 * sysdeps/x86_64/memset.S (memset): New implementation.
12778 (__bzero): Likewise.
12779 (__memset_tail): New function.
12781 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12783 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12784 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12785 __memcpy_sse2_unaligned ifunc selection.
12786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12787 Add memcpy-sse2-unaligned.S.
12788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12789 Add: __memcpy_sse2_unaligned.
12791 2013-05-19 Joseph Myers <joseph@codesourcery.com>
12794 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12795 math_force_eval before restoring floating-point envrionment.
12796 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12797 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12799 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12801 (__nearbyintl): Use math_force_eval before restoring
12802 floating-point environment.
12803 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12805 * math/gen-libm-test.pl (special_functions): Remove.
12806 (parse_args): Don't handle TEST_extra. Handle functions with no
12808 * math/libm-test.inc (struct test_sincos_data): Replace with
12809 struct test_fFF_11_data.
12810 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12811 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12812 (sincos_test_data): Change element type to struct
12813 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12814 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12815 RUN_TEST_LOOP_sincos.
12816 * math/README.libm-test: Don't mention special handling of
12817 individual functions.
12818 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12819 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12820 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12821 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12822 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12825 * math/gen-libm-test.pl (get_variable): Remove function.
12826 (parse_args): Don't show pointer parameters to call in test
12827 names. Use "extra output N" in test names for extra outputs
12828 rather than naming variables.
12830 2013-05-18 Joseph Myers <joseph@codesourcery.com>
12833 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12834 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12835 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12837 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12839 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12842 * math/gen-libm-test.pl (@tests): Remove variable.
12843 ($count): Likewise.
12844 (new_test): Remove function.
12845 (show_exceptions): New function.
12846 (special_functions): Use show_exceptions instead of new_test.
12847 (parse_args): Likewise.
12848 (generate_testfile): Pass only function name in generated call to
12849 print_max_error or print_complex_max_error.
12850 (get_ulps): Do not handle complex tests specially.
12851 (output_test): Rename to ...
12852 (get_all_ulps_for_test): ... this. Return a string rather than
12853 printing to a file. Require ulps to be present.
12854 (output_ulps): Generate arrays rather than #defines.
12855 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12856 (struct ulp_data): New type.
12857 (BUILD_COMPLEX_ULP): Remove macro.
12858 (compare_ulp_data): New function.
12859 (find_ulps): Likewise.
12860 (find_test_ulps): Likewise.
12861 (find_function_ulps): Likewise.
12862 (find_complex_function_ulps): Likewise.
12863 (print_max_error): Determine allowed ulps using
12864 find_function_ulps.
12865 (print_complex_max_error): Determine allowed ulps using
12866 find_complex_function_ulps.
12867 (check_float_internal): Determine max ulps using find_test_ulps.
12868 (check_float): Do not take max_ulp parameter. Update call to
12869 check_float_internal.
12870 (check_complex): Likewise.
12871 (check_int): Do not take max_ulp parameter.
12872 (check_long): Likewise.
12873 (check_bool): Likewise.
12874 (check_longlong): Likewise.
12875 (struct test_f_f_data): Remove max_ulp field.
12876 (struct test_ff_f_data): Likewise.
12877 (struct test_ff_f_data_nexttoward): Likewise.
12878 (struct test_fi_f_data): Likewise.
12879 (struct test_fl_f_data): Likewise.
12880 (struct test_if_f_data): Likewise.
12881 (struct test_fff_f_data): Likewise.
12882 (struct test_c_f_data): Likewise.
12883 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12884 (struct test_fF_f1_data): Likewise.
12885 (struct test_ffI_f1_data): Likewise.
12886 (struct test_c_c_data): Remove max_ulp field.
12887 (struct test_cc_c_data): Likewise.
12888 (struct test_f_i_data): Likewise.
12889 (struct test_ff_i_data): Likewise.
12890 (struct test_f_l_data): Likewise.
12891 (struct test_f_L_data): Likewise.
12892 (struct test_sincos_data): Likewise.
12893 (RUN_TEST_f_f): Do not handle ulps.
12894 (RUN_TEST_LOOP_f_f): Likewise.
12895 (RUN_TEST_2_f): Likewise.
12896 (RUN_TEST_LOOP_2_f): Likewise.
12897 (RUN_TEST_fff_f): Likewise.
12898 (RUN_TEST_LOOP_fff_f): Likewise.
12899 (RUN_TEST_c_f): Likewise.
12900 (RUN_TEST_LOOP_c_f): Likewise.
12901 (RUN_TEST_f_f1): Likewise.
12902 (RUN_TEST_LOOP_f_f1): Likewise.
12903 (RUN_TEST_fF_f1): Likewise.
12904 (RUN_TEST_LOOP_fF_f1): Likewise.
12905 (RUN_TEST_fI_f1): Likewise.
12906 (RUN_TEST_LOOP_fI_f1): Likewise.
12907 (RUN_TEST_ffI_f1): Likewise.
12908 (RUN_TEST_LOOP_ffI_f1): Likewise.
12909 (RUN_TEST_c_c): Likewise.
12910 (RUN_TEST_LOOP_c_c): Likewise.
12911 (RUN_TEST_cc_c): Likewise.
12912 (RUN_TEST_LOOP_cc_c): Likewise.
12913 (RUN_TEST_f_i): Likewise.
12914 (RUN_TEST_LOOP_f_i): Likewise.
12915 (RUN_TEST_f_i_tg): Likewise.
12916 (RUN_TEST_LOOP_f_i_tg): Likewise.
12917 (RUN_TEST_ff_i_tg): Likewise.
12918 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12919 (RUN_TEST_f_b): Likewise.
12920 (RUN_TEST_LOOP_f_b): Likewise.
12921 (RUN_TEST_f_b_tg): Likewise.
12922 (RUN_TEST_LOOP_f_b_tg): Likewise.
12923 (RUN_TEST_f_l): Likewise.
12924 (RUN_TEST_LOOP_f_l): Likewise.
12925 (RUN_TEST_f_L): Likewise.
12926 (RUN_TEST_LOOP_f_L): Likewise.
12927 (RUN_TEST_sincos): Likewise.
12928 (RUN_TEST_LOOP_sincos): Likewise.
12930 2013-05-17 Joseph Myers <joseph@codesourcery.com>
12934 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12935 main case of finite arguments, set rounding mode to FE_TONEAREST
12936 and discard exceptions.
12937 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12939 (remainder_tonearest_test_data): New variable.
12940 (remainder_test_tonearest): New function.
12941 (remainder_towardzero_test_data): New variable.
12942 (remainder_test_towardzero): New function.
12943 (remainder_downward_test_data): New variable.
12944 (remainder_test_downward): New function.
12945 (remainder_upward_test_data): New variable.
12946 (remainder_test_upward): New function.
12947 (main): Call the new test functions.
12949 * math/libm-test.inc (struct test_f_f1_data): Remove field
12951 (struct test_fF_f1_data): Likewise.
12952 (struct test_ffI_f1_data): Likewise.
12953 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12954 based on value of EXTRA_EXPECTED.
12955 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12956 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12957 EXTRA_VAR based on value of EXTRA_EXPECTED.
12958 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12959 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12960 EXTRA_VAR based on value of EXTRA_EXPECTED.
12961 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12962 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12963 EXTRA_VAR based on value of EXTRA_EXPECTED.
12964 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12965 * math/gen-libm-test.pl (parse_args): Don't output initializers
12966 for extra output values.
12968 * math/libm-test.inc (check_int): Expect result to be exactly
12969 equal to expected value and do not handle ulps.
12970 (check_long): Likewise.
12971 (check_longlong): Likewise.
12973 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12975 (cimag_test_data): Likewise.
12976 (conj_test_data): Likewise.
12977 (copysign_test_data): Likewise.
12978 (cproj_test_data): Likewise.
12979 (creal_test_data): Likewise.
12980 (fabs_test_data): Likewise.
12981 (fdim_test_data): Likewise.
12982 (finite_test_data): Likewise.
12983 (floor_test_data): Likewise.
12984 (fmax_test_data): Likewise.
12985 (fmin_test_data): Likewise.
12986 (fmod_test_data): Likewise.
12987 (fpclassify_test_data): Likewise.
12988 (frexp_test_data): Likewise.
12989 (ilogb_test_data): Likewise.
12990 (isfinite_test_data): Likewise.
12991 (isgreater_test_data): Likewise.
12992 (isgreaterequal_test_data): Likewise.
12993 (isinf_test_data): Likewise.
12994 (isless_test_data): Likewise.
12995 (islessequal_test_data): Likewise.
12996 (islessgreater_test_data): Likewise.
12997 (isnan_test_data): Likewise.
12998 (isnormal_test_data): Likewise.
12999 (issignaling_test_data): Likewise.
13000 (isunordered_test_data): Likewise.
13001 (ldexp_test_data): Likewise.
13002 (lrint_test_data): Likewise.
13003 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13004 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13005 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13006 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13007 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13008 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13010 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13011 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13012 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13013 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13015 (lrint_downward_test_data): Test for "inexact" exceptions.
13016 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13017 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13018 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13020 (lrint_upward_test_data): Test for "inexact" exceptions.
13021 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13023 (llrint_test_data): Test for "inexact" exceptions.
13024 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13025 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13026 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13027 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13028 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13029 (llrint_downward_test_data): Test for "inexact" exceptions.
13030 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13031 (llrint_upward_test_data): Test for "inexact" exceptions.
13032 (logb_test_data): Likewise.
13033 (logb_downward_test_data): Likewise.
13034 (nextafter_test_data): Likewise.
13035 (nexttoward_test_data): Likewise.
13036 (remainder_test_data): Likewise.
13037 (remquo_test_data): Likewise.
13038 (scalbn_test_data): Likewise.
13039 (scalbln_test_data): Likewise.
13040 (signbit_test_data): Likewise.
13041 (sqrt_test_data): Likewise.
13042 (significand_test_data): Likewise.
13044 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13047 * benchtests/bench-modf.c (struct args): Mark arg0 as
13049 * scripts/bench.pl: Mark members of struct args as volatile.
13051 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13054 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13055 negative infinity on POWER6 or lower.
13056 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13058 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13061 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13062 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13063 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13064 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13065 (_FP_SETQNAN): New macro.
13066 (_FP_SETQNAN_SEMIRAW): Likewise.
13067 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13068 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13069 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13070 (FP_EXTEND): Use _FP_FRAC_SNANP.
13071 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13072 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13074 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13076 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13079 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13081 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13082 with DIVIDE_BY_ZERO_EXCEPTION.
13083 (gamma_test_data): Likewise.
13084 (lgamma_test_data): Likewise.
13085 (log_test_data): Likewise.
13086 (log10_test_data): Likewise.
13087 (log2_test_data): Likewise.
13088 (tgamma_test_data): Likewise.
13090 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13091 (acos_test_tonearest): Likewise.
13092 (acos_test_towardzero): Likewise.
13093 (acos_test_downward): Likewise.
13094 (acos_test_upward): Likewise.
13095 (acosh_test): Likewise.
13096 (asin_test): Likewise.
13097 (asin_test_tonearest): Likewise.
13098 (asin_test_towardzero): Likewise.
13099 (asin_test_downward): Likewise.
13100 (asin_test_upward): Likewise.
13101 (asinh_test): Likewise.
13102 (atan_test): Likewise.
13103 (atanh_test): Likewise.
13104 (atan2_test): Likewise.
13105 (cabs_test): Likewise.
13106 (cacos_test): Likewise.
13107 (cacosh_test): Likewise.
13108 (casin_test): Likewise.
13109 (casinh_test): Likewise.
13110 (catan_test): Likewise.
13111 (catanh_test): Likewise.
13112 (cbrt_test): Likewise.
13113 (ccos_test): Likewise.
13114 (ccosh_test): Likewise.
13115 (cexp_test): Likewise.
13116 (clog_test): Likewise.
13117 (clog10_test): Likewise.
13118 (cos_test): Likewise.
13119 (cos_test_tonearest): Likewise.
13120 (cos_test_towardzero): Likewise.
13121 (cos_test_downward): Likewise.
13122 (cos_test_upward): Likewise.
13123 (cosh_test): Likewise.
13124 (cosh_test_tonearest): Likewise.
13125 (cosh_test_towardzero): Likewise.
13126 (cosh_test_downward): Likewise.
13127 (cosh_test_upward): Likewise.
13128 (cpow_test): Likewise.
13129 (csin_test): Likewise.
13130 (csinh_test): Likewise.
13131 (csqrt_test): Likewise.
13132 (ctan_test): Likewise.
13133 (ctan_test_tonearest): Likewise.
13134 (ctan_test_towardzero): Likewise.
13135 (ctan_test_downward): Likewise.
13136 (ctan_test_upward): Likewise.
13137 (ctanh_test): Likewise.
13138 (ctanh_test_tonearest): Likewise.
13139 (ctanh_test_towardzero): Likewise.
13140 (ctanh_test_downward): Likewise.
13141 (ctanh_test_upward): Likewise.
13142 (erf_test): Likewise.
13143 (erfc_test): Likewise.
13144 (exp_test): Likewise.
13145 (exp_test_tonearest): Likewise.
13146 (exp_test_towardzero): Likewise.
13147 (exp_test_downward): Likewise.
13148 (exp_test_upward): Likewise.
13149 (exp10_test): Likewise.
13150 (exp2_test): Likewise.
13151 (expm1_test): Likewise.
13152 (fmod_test): Likewise.
13153 (gamma_test): Likewise.
13154 (hypot_test): Likewise.
13155 (j0_test): Likewise.
13156 (j1_test): Likewise.
13157 (jn_test): Likewise.
13158 (lgamma_test): Likewise.
13159 (log_test): Likewise.
13160 (log10_test): Likewise.
13161 (log1p_test): Likewise.
13162 (log2_test): Likewise.
13163 (logb_test_downward): Likewise.
13164 (pow_test): Likewise.
13165 (pow_test_tonearest): Likewise.
13166 (pow_test_towardzero): Likewise.
13167 (pow_test_downward): Likewise.
13168 (pow_test_upward): Likewise.
13169 (remainder_test): Likewise.
13170 (remquo_test): Likewise.
13171 (sin_test): Likewise.
13172 (sin_test_tonearest): Likewise.
13173 (sin_test_towardzero): Likewise.
13174 (sin_test_downward): Likewise.
13175 (sin_test_upward): Likewise.
13176 (sincos_test): Likewise.
13177 (sinh_test): Likewise.
13178 (sinh_test_tonearest): Likewise.
13179 (sinh_test_towardzero): Likewise.
13180 (sinh_test_downward): Likewise.
13181 (sinh_test_upward): Likewise.
13182 (sqrt_test): Likewise.
13183 (tan_test): Likewise.
13184 (tan_test_tonearest): Likewise.
13185 (tan_test_towardzero): Likewise.
13186 (tan_test_downward): Likewise.
13187 (tan_test_upward): Likewise.
13188 (tanh_test): Likewise.
13189 (tgamma_test): Likewise.
13190 (y0_test): Likewise.
13191 (y1_test): Likewise.
13192 (yn_test): Likewise.
13194 * math/gen-libm-test.pl (adjust_arg): Remove function.
13195 (special_function): Remove argument $in_func. Only handle
13196 generating output for tables of tests, not inside functions.
13197 (parse_args): Likewise.
13198 (generate_testfile): Remove variable $in_func. Update call to
13200 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13201 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13202 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13203 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13204 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13205 (MAX_VALUE_INIT): Rename macro to max_value.
13206 (MIN_VALUE_INIT): Rename macro to min_value.
13207 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13208 (plus_zero): Remove variable.
13209 (minus_zero): Likewise.
13210 (plus_infty): Likewise.
13211 (minus_infty): Likewise.
13212 (qnan_value): Likewise.
13213 (max_value): Likewise.
13214 (min_value): Likewise.
13215 (min_subnorm_value): Likewise.
13217 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13219 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13220 uint64_t or uint32_t usage.
13221 * crypt/sha256-block.c: Likewise.
13222 * crypt/sha256-crypt.c: Likewise.
13223 * crypt/sha256.c: Likewise.
13224 * crypt/sha512-block.c: Likewise.
13225 * crypt/sha512-crypt.c: Likewise.
13226 * crypt/sha512.c: Likewise.
13227 * debug/backtrace-tst.c: Likewise.
13228 * debug/pcprofiledump.c: Likewise.
13229 * elf/cache.c: Likewise.
13230 * elf/dl-cache.c: Likewise.
13231 * elf/dl-misc.c: Likewise.
13232 * elf/dl-profile.c: Likewise.
13233 * elf/dl-support.c: Likewise.
13234 * elf/ldconfig.c: Likewise.
13235 * elf/sprof.c: Likewise.
13236 * iconv/dummy-repertoire.c: Likewise.
13237 * iconv/iconv_charmap.c: Likewise.
13238 * iconv/skeleton.c: Likewise.
13239 * iconvdata/8bit-generic.c: Likewise.
13240 * iconvdata/cp737.h: Likewise.
13241 * iconvdata/cp775.h: Likewise.
13242 * iconvdata/ibm1008.h: Likewise.
13243 * iconvdata/ibm1025.h: Likewise.
13244 * iconvdata/ibm1046.h: Likewise.
13245 * iconvdata/ibm1097.h: Likewise.
13246 * iconvdata/ibm1112.h: Likewise.
13247 * iconvdata/ibm1122.h: Likewise.
13248 * iconvdata/ibm1123.h: Likewise.
13249 * iconvdata/ibm1124.h: Likewise.
13250 * iconvdata/ibm1129.h: Likewise.
13251 * iconvdata/ibm1130.h: Likewise.
13252 * iconvdata/ibm1132.h: Likewise.
13253 * iconvdata/ibm1133.h: Likewise.
13254 * iconvdata/ibm1137.h: Likewise.
13255 * iconvdata/ibm1140.h: Likewise.
13256 * iconvdata/ibm1141.h: Likewise.
13257 * iconvdata/ibm1142.h: Likewise.
13258 * iconvdata/ibm1143.h: Likewise.
13259 * iconvdata/ibm1144.h: Likewise.
13260 * iconvdata/ibm1145.h: Likewise.
13261 * iconvdata/ibm1146.h: Likewise.
13262 * iconvdata/ibm1147.h: Likewise.
13263 * iconvdata/ibm1148.h: Likewise.
13264 * iconvdata/ibm1149.h: Likewise.
13265 * iconvdata/ibm1153.h: Likewise.
13266 * iconvdata/ibm1154.h: Likewise.
13267 * iconvdata/ibm1155.h: Likewise.
13268 * iconvdata/ibm1156.h: Likewise.
13269 * iconvdata/ibm1157.h: Likewise.
13270 * iconvdata/ibm1158.h: Likewise.
13271 * iconvdata/ibm1160.h: Likewise.
13272 * iconvdata/ibm1161.h: Likewise.
13273 * iconvdata/ibm1162.h: Likewise.
13274 * iconvdata/ibm1163.h: Likewise.
13275 * iconvdata/ibm1164.h: Likewise.
13276 * iconvdata/ibm1166.h: Likewise.
13277 * iconvdata/ibm1167.h: Likewise.
13278 * iconvdata/ibm12712.h: Likewise.
13279 * iconvdata/ibm1390.h: Likewise.
13280 * iconvdata/ibm1399.h: Likewise.
13281 * iconvdata/ibm16804.h: Likewise.
13282 * iconvdata/ibm4517.h: Likewise.
13283 * iconvdata/ibm4899.h: Likewise.
13284 * iconvdata/ibm4909.h: Likewise.
13285 * iconvdata/ibm4971.h: Likewise.
13286 * iconvdata/ibm5347.h: Likewise.
13287 * iconvdata/ibm803.h: Likewise.
13288 * iconvdata/ibm856.h: Likewise.
13289 * iconvdata/ibm901.h: Likewise.
13290 * iconvdata/ibm902.h: Likewise.
13291 * iconvdata/ibm9030.h: Likewise.
13292 * iconvdata/ibm9066.h: Likewise.
13293 * iconvdata/ibm921.h: Likewise.
13294 * iconvdata/ibm922.h: Likewise.
13295 * iconvdata/ibm9448.h: Likewise.
13296 * iconvdata/isiri-3342.h: Likewise.
13297 * iconvdata/jis0201.h: Likewise.
13298 * include/link.h: Likewise.
13299 * include/netdb.h: Likewise.
13300 * inet/check_native.c: Likewise.
13301 * inet/check_pf.c: Likewise.
13302 * inet/getipv4sourcefilter.c: Likewise.
13303 * inet/getnameinfo.c: Likewise.
13304 * inet/getsourcefilter.c: Likewise.
13305 * inet/htonl.c: Likewise.
13306 * inet/setipv4sourcefilter.c: Likewise.
13307 * inet/setsourcefilter.c: Likewise.
13308 * inet/test-inet6_opt.c: Likewise.
13309 * inet/tst-network.c: Likewise.
13310 * locale/C-collate.c: Likewise.
13311 * locale/C-ctype.c: Likewise.
13312 * locale/C-time.c: Likewise.
13313 * locale/C-translit.h: Likewise.
13314 * locale/loadarchive.c: Likewise.
13315 * locale/programs/3level.h: Likewise.
13316 * locale/programs/charmap.c: Likewise.
13317 * locale/programs/charmap.h: Likewise.
13318 * locale/programs/ld-address.c: Likewise.
13319 * locale/programs/ld-collate.c: Likewise.
13320 * locale/programs/ld-ctype.c: Likewise.
13321 * locale/programs/ld-identification.c: Likewise.
13322 * locale/programs/ld-measurement.c: Likewise.
13323 * locale/programs/ld-messages.c: Likewise.
13324 * locale/programs/ld-monetary.c: Likewise.
13325 * locale/programs/ld-name.c: Likewise.
13326 * locale/programs/ld-numeric.c: Likewise.
13327 * locale/programs/ld-paper.c: Likewise.
13328 * locale/programs/ld-telephone.c: Likewise.
13329 * locale/programs/ld-time.c: Likewise.
13330 * locale/programs/linereader.c: Likewise.
13331 * locale/programs/locale.c: Likewise.
13332 * locale/programs/locarchive.c: Likewise.
13333 * locale/programs/locfile.h: Likewise.
13334 * locale/programs/repertoire.c: Likewise.
13335 * locale/programs/simple-hash.c: Likewise.
13336 * locale/programs/simple-hash.h: Likewise.
13337 * malloc/memusage.c: Likewise.
13338 * malloc/memusagestat.c: Likewise.
13339 * nis/nis_defaults.c: Likewise.
13340 * nis/nis_hash.c: Likewise.
13341 * nis/nis_print.c: Likewise.
13342 * nis/nis_xdr.c: Likewise.
13343 * nscd/connections.c: Likewise.
13344 * nscd/hstcache.c: Likewise.
13345 * nscd/nscd_gethst_r.c: Likewise.
13346 * nscd/nscd_getserv_r.c: Likewise.
13347 * nscd/nscd_helper.c: Likewise.
13348 * nscd/servicescache.c: Likewise.
13349 * nss/makedb.c: Likewise.
13350 * nss/nss_db/db-XXX.c: Likewise.
13351 * nss/nss_db/db-initgroups.c: Likewise.
13352 * nss/nss_db/db-netgrp.c: Likewise.
13353 * nss/nss_files/files-network.c: Likewise.
13354 * nss/nss_files/files-parse.c: Likewise.
13355 * posix/bug-regex5.c: Likewise.
13356 * posix/fnmatch_loop.c: Likewise.
13357 * posix/regcomp.c: Likewise.
13358 * posix/regexec.c: Likewise.
13359 * posix/tst-rfc3484-2.c: Likewise.
13360 * posix/tst-rfc3484-3.c: Likewise.
13361 * posix/tst-rfc3484.c: Likewise.
13362 * resolv/nss_dns/dns-canon.c: Likewise.
13363 * resolv/nss_dns/dns-network.c: Likewise.
13364 * resolv/res_init.c: Likewise.
13365 * resolv/res_mkquery.c: Likewise.
13366 * resolv/tst-aton.c: Likewise.
13367 * stdlib/cxa_atexit.c: Likewise.
13368 * stdlib/cxa_finalize.c: Likewise.
13369 * stdlib/gen-fpioconst.c: Likewise.
13370 * stdlib/strtol_l.c: Likewise.
13371 * string/tst-endian.c: Likewise.
13372 * sunrpc/auth_des.c: Likewise.
13373 * sunrpc/clnt_udp.c: Likewise.
13374 * sunrpc/rtime.c: Likewise.
13375 * sunrpc/svcauth_des.c: Likewise.
13376 * sunrpc/xdr.c: Likewise.
13377 * sunrpc/xdr_intXX_t.c: Likewise.
13378 * sunrpc/xdr_rec.c: Likewise.
13379 * sysdeps/generic/ldconfig.h: Likewise.
13380 * sysdeps/generic/ldsodefs.h: Likewise.
13381 * sysdeps/generic/memusage.h: Likewise.
13382 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13383 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13384 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13385 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13386 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13390 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13392 * sysdeps/posix/getaddrinfo.c: Likewise.
13393 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13394 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13395 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13396 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13397 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13398 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13399 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13400 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13401 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13402 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13403 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13404 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13405 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13406 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13407 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13408 * sysdeps/x86_64/dl-tls.h: Likewise.
13409 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13410 * time/alt_digit.c: Likewise.
13411 * time/era.c: Likewise.
13412 * wcsmbs/tst-c16c32-1.c: Likewise.
13414 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13416 * math/libm-test.inc (struct test_sincos_data): New type.
13417 (RUN_TEST_LOOP_sincos): New macro.
13418 (sincos_test_data): New variable.
13419 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13421 2013-05-16 Richard Henderson <rth@redhat.com>
13423 * math/atest-exp2.c (LIMB64): New macro.
13424 (CONSTSZ): New macro.
13425 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13427 (print_mpn_fp): ... to function scope.
13428 (read_mpn_hex): Remove.
13429 (get_log2): Remove.
13430 (exp2_mpn): Use mp_log2.
13431 (main): Use mp_exp1.
13433 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13435 * math/libm-test.inc: Remove comment about not testing "inexact"
13437 (INEXACT_EXCEPTION): New macro.
13438 (NO_INEXACT_EXCEPTION): Likewise.
13439 (INVALID_EXCEPTION_OK): Update value.
13440 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13441 (OVERFLOW_EXCEPTION_OK): Likewise.
13442 (UNDERFLOW_EXCEPTION_OK): Likewise.
13443 (IGNORE_ZERO_INF_SIGN): Likewise.
13444 (ERRNO_UNCHANGED): Likewise.
13445 (ERRNO_EDOM): Likewise.
13446 (ERRNO_ERANGE): Likewise.
13447 (test_exceptions): Handle testing "inexact" exceptions.
13448 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13449 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13450 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13451 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13453 (rint_towardzero_test_data): Likewise.
13454 (rint_downward_test_data): Likewise.
13455 (rint_upward_test_data): Likewise.
13457 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13458 with OVERFLOW_EXCEPTION.
13459 (exp10_test_data): Likewise.
13460 (exp2_test_data): Likewise.
13461 (expm1_test_data): Likewise.
13462 (lgamma_test_data): Likewise.
13463 (pow_test_data): Likewise.
13464 (tgamma_test_data): Likewise.
13465 (yn_test_data): Remove duplicate test of overflow.
13467 * math/libm-test.inc (struct test_cc_c_data): New type.
13468 (RUN_TEST_LOOP_cc_c): New macro.
13469 (cpow_test_data): New variable.
13470 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13472 * math/libm-test.inc (struct test_f_L_data): New type.
13473 (RUN_TEST_LOOP_f_L): New macro.
13474 (llrint_test_data): New variable.
13475 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13476 (llrint_tonearest_test_data): New variable.
13477 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13478 (llrint_towardzero_test_data): New variable.
13479 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13480 (llrint_downward_test_data): New variable.
13481 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13482 (llrint_upward_test_data): New variable.
13483 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13484 (llround_test_data): New variable.
13485 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13487 2013-05-13 Peter Collingbourne <pcc@google.com>
13489 * math/atest-exp2.c (get_log2): Remove const attribute.
13491 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13493 * math/libm-test.inc (struct test_f_l_data): New type.
13494 (RUN_TEST_LOOP_f_l): New macro.
13495 (lrint_test_data): New variable.
13496 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13497 (lrint_tonearest_test_data): New variable.
13498 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13499 (lrint_towardzero_test_data): New variable.
13500 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13501 (lrint_downward_test_data): New variable.
13502 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13503 (lrint_upward_test_data): New variable.
13504 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13505 (lround_test_data): New variable.
13506 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13508 2013-05-15 Peter Collingbourne <pcc@google.com>
13510 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13511 (EXTRACT_WORDS64) Use where appropriate.
13512 (INSERT_WORDS64) Likewise.
13514 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13515 constraints with x constraints.
13516 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13518 * malloc/obstack.c (_obstack_compat): Add initializer.
13520 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13522 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13523 si_trapno and add si_addr_lsb to _sifields.sigfault.
13524 (si_trapno): Remove macro.
13525 (si_addr_lsb): Define new macro.
13526 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13528 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13530 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13531 instead of TEST_f_l.
13532 (llrint_test_tonearest): Likewise.
13533 (llrint_test_towardzero): Likewise.
13534 (llrint_test_downward): Likewise.
13535 (llrint_test_upward): Likewise.
13536 (llround_test): Likewise.
13538 * math/libm-test.inc (struct test_f_i_data): Add comment.
13539 (RUN_TEST_LOOP_f_b): New macro.
13540 (RUN_TEST_LOOP_f_b_tg): Likewise.
13541 (finite_test_data): New variable.
13542 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13543 (isfinite_test_data): New variable.
13544 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13545 (isinf_test_data): New variable.
13546 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13547 (isnan_test_data): New variable.
13548 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13549 (isnormal_test_data): New variable.
13550 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13551 (issignaling_test_data): New variable.
13552 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13553 (signbit_test_data): New variable.
13554 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13556 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13557 with INVALID_EXCEPTION.
13558 (acosh_test_data): Likewise.
13559 (asin_test_data): Likewise.
13560 (atanh_test_data): Likewise.
13561 (fmod_test_data): Likewise.
13562 (log_test_data): Likewise.
13563 (log10_test_data): Likewise.
13564 (log2_test_data): Likewise.
13565 (pow_test_data): Likewise.
13566 (sqrt_test_data): Likewise.
13567 (y0_test_data): Likewise.
13568 (y1_test_data): Likewise.
13569 (yn_test_data): Likewise.
13571 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13574 * math/libm-test.inc (struct test_ff_i_data): New type.
13575 (RUN_TEST_LOOP_ff_i_tg): New macro.
13576 (isgreater_test_data): New variable.
13577 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13578 (isgreaterequal_test_data): New variable.
13579 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13580 (isless_test_data): New variable.
13581 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13582 (islessequal_test_data): New variable.
13583 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13584 (islessgreater_test_data): New variable.
13585 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13586 (isunordered_test_data): New variable.
13587 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13589 2013-05-14 David S. Miller <davem@davemloft.net>
13591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13593 2013-05-14 Joseph Myers <joseph@codesourcery.com>
13595 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13597 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13599 (struct test_f_i_data): Change type of max_ulp to int.
13601 * math/libm-test.inc (test_ffI_f1_data): New type.
13602 (RUN_TEST_LOOP_ffI_f1): New macro.
13603 (remquo_test_data): New variable.
13604 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13606 * setjmp/tst-setjmp-fp.c: New file.
13607 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13608 (link-libm): New variable.
13609 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13611 * math/libm-test.inc (struct test_f_i_data): New type.
13612 (RUN_TEST_LOOP_f_i): New macro.
13613 (RUN_TEST_LOOP_f_i_tg): Likewise.
13614 (fpclassify_test_data): New variable.
13615 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13616 (ilogb_test_data): New variable.
13617 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13619 * math/libm-test.inc (scalbln_test): Correct function name in END
13622 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13623 (RUN_TEST_LOOP_fI_f1): New macro.
13624 (frexp_test_data): New variable.
13625 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13627 * math/libm-test.inc (struct test_fF_f1_data): New type.
13628 (RUN_TEST_LOOP_fF_f1): New macro.
13629 (modf_test_data): New variable.
13630 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13632 * math/libm-test.inc (struct test_f_f1_data): New type.
13633 (RUN_TEST_LOOP_f_f1): New macro.
13634 (gamma_test_data): New variable.
13635 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13636 (lgamma_test_data): New variable.
13637 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13639 2013-05-13 Carlos O'Donell <carlos@redhat.com>
13641 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13642 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13643 (main): Comment "tls" pseudo-hwcap.
13645 2013-05-13 Joseph Myers <joseph@codesourcery.com>
13647 * math/libm-test.inc (struct test_fl_f_data): New type.
13648 (RUN_TEST_LOOP_fl_f): New variable.
13649 (scalbln_test_data): New variable.
13650 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13652 * math/libm-test.inc (struct test_fi_f_data): New type.
13653 (RUN_TEST_LOOP_fi_f): New macro.
13654 (ldexp_test_data): New variable.
13655 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13656 (scalbn_test_data): New variable.
13657 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13659 * math/libm-test.inc (struct test_c_f_data): New type.
13660 (RUN_TEST_LOOP_c_f): New macro.
13661 (cabs_test_data): New variable.
13662 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13663 (carg_test_data): New variable.
13664 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13665 (cimag_test_data): New variable.
13666 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13667 (creal_test_data): New variable.
13668 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13670 * math/libm-test.inc (struct test_if_f_data): New type.
13671 (RUN_TEST_LOOP_if_f): New macro.
13672 (jn_test_data): New variable.
13673 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13674 (yn_test_data): New variable.
13675 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13677 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13679 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13681 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13682 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13684 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13686 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13687 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13688 (bench-deps): Add bench-timing.h.
13689 * benchtests-bench-skeleton.c: Include bench-timing.h.
13690 (main): Use TIMING_* macros instead of clock_gettime.
13691 * benchtests/bench-timing.h: New file.
13694 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13695 Renamed from _LIB_VERSION.
13696 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13698 2013-05-12 Joseph Myers <joseph@codesourcery.com>
13700 * math/libm-test.inc (struct test_fff_f_data): New type.
13701 (RUN_TEST_LOOP_fff_f): New macro.
13702 (fma_test_data): New variable.
13703 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13704 (fma_towardzero_test_data): New variable.
13705 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13706 (fma_downward_test_data): New variable.
13707 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13708 (fma_upward_test_data): New variable.
13709 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13711 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13712 (struct test_c_c_data): New type.
13713 (RUN_TEST_LOOP_c_c): New macro.
13714 (cacos_test_data): New variable.
13715 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13716 (cacosh_test_data): New variable.
13717 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13718 (casin_test_data): New variable.
13719 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13720 (casinh_test_data): New variable.
13721 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13722 (catan_test_data): New variable.
13723 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13724 (catanh_test_data): New variable.
13725 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13726 (ccos_test_data): New variable.
13727 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13728 (ccosh_test_data): New variable.
13729 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13730 (cexp_test_data): New variable.
13731 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13732 (clog_test_data): New variable.
13733 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13734 (clog10_test_data): New variable.
13735 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13736 (conj_test_data): New variable.
13737 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13738 (cproj_test_data): New variable.
13739 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13740 (csin_test_data): New variable.
13741 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13742 (csinh_test_data): New variable.
13743 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13744 (csqrt_test_data): New variable.
13745 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13746 (ctan_test_data): New variable.
13747 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13748 (ctan_tonearest_test_data): New variable.
13749 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13750 (ctan_towardzero_test_data): New variable.
13751 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13752 (ctan_downward_test_data): New variable.
13753 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13754 (ctan_upward_test_data): New variable.
13755 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13756 (ctanh_test_data): New variable.
13757 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13758 (ctanh_tonearest_test_data): New variable.
13759 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13760 (ctanh_towardzero_test_data): New variable.
13761 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13762 (ctanh_downward_test_data): New variable.
13763 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13764 (ctanh_upward_test_data): New variable.
13765 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13766 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13769 * math/libm-test.inc (struct test_ff_f_data): New type.
13770 (struct test_ff_f_data_nexttoward): Likewise.
13771 (RUN_TEST_LOOP_2_f): New macro.
13772 (RUN_TEST_LOOP_ff_f): Likewise.
13773 (atan2_test_data): New variable.
13774 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13775 (copysign_test_data): New variable.
13776 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13777 (fdim_test_data): New variable.
13778 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13779 (fmax_test_data): New variable.
13780 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13781 (fmin_test_data): New variable.
13782 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13783 (fmod_test_data): New variable.
13784 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13785 (hypot_test_data): New variable.
13786 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13787 (nextafter_test_data): New variable.
13788 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13789 (nexttoward_test_data): New variable.
13790 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13791 (pow_test_data): New variable.
13792 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13793 (pow_tonearest_test_data): New variable.
13794 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13795 (pow_towardzero_test_data): New variable.
13796 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13797 (pow_downward_test_data): New variable.
13798 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13799 (pow_upward_test_data): New variable.
13800 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13801 (remainder_test_data): New variable.
13802 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13803 (scalb_test_data): New variable.
13804 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13805 * sysdeps/i386/fpu/libm-test-ulps: Update.
13807 2013-05-11 Joseph Myers <joseph@codesourcery.com>
13809 * math/libm-test.inc (fma_test): Use max_value instead of local
13811 (nextafter_test): Likewise.
13813 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13814 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13815 (acos_downward_test_data): New variable.
13816 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13817 (acos_upward_test_data): New variable.
13818 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13819 (acosh_test_data): New variable.
13820 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13821 (asin_test_data): New variable.
13822 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13823 (asin_tonearest_test_data): New variable.
13824 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13825 (asin_towardzero_test_data): New variable.
13826 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13827 (asin_downward_test_data): New variable.
13828 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13829 (asin_upward_test_data): New variable.
13830 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13831 (asinh_test_data): New variable.
13832 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13833 (atan_test_data): New variable.
13834 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13835 (atanh_test_data): New variable.
13836 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13837 (cbrt_test_data): New variable.
13838 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13839 (ceil_test_data): New variable.
13840 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13841 (cos_test_data): New variable.
13842 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13843 (cos_tonearest_test_data): New variable.
13844 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13845 (cos_towardzero_test_data): New variable.
13846 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13847 (cos_downward_test_data): New variable.
13848 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13849 (cos_upward_test_data): New variable.
13850 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13851 (cosh_test_data): New variable.
13852 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13853 (cosh_tonearest_test_data): New variable.
13854 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13855 (cosh_towardzero_test_data): New variable.
13856 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13857 (cosh_downward_test_data): New variable.
13858 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13859 (cosh_upward_test_data): New variable.
13860 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13861 (erf_test_data): New variable.
13862 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13863 (erfc_test_data): New variable.
13864 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13865 (exp_test_data): New variable.
13866 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13867 (exp_tonearest_test_data): New variable.
13868 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13869 (exp_towardzero_test_data): New variable.
13870 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13871 (exp_downward_test_data): New variable.
13872 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13873 (exp_upward_test_data): New variable.
13874 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13875 (exp10_test_data): New variable.
13876 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13877 (exp2_test_data): New variable.
13878 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13879 (expm1_test_data): New variable.
13880 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13881 (fabs_test_data): New variable.
13882 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13883 (floor_test_data): New variable.
13884 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13885 (j0_test_data): New variable.
13886 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13887 (j1_test_data): New variable.
13888 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13889 (log_test_data): New variable.
13890 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13891 (log10_test_data): New variable.
13892 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13893 (log1p_test_data): New variable.
13894 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13895 (log2_test_data): New variable.
13896 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13897 (logb_test_data): New variable.
13898 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13899 (logb_downward_test_data): New variable.
13900 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13901 (nearbyint_test_data): New variable.
13902 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13903 (rint_test_data): New variable.
13904 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13905 (rint_tonearest_test_data): New variable.
13906 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13907 (rint_towardzero_test_data): New variable.
13908 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13909 (rint_downward_test_data): New variable.
13910 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13911 (rint_upward_test_data): New variable.
13912 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13913 (round_test_data): New variable.
13914 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13915 (sin_test_data): New variable.
13916 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13917 (sin_tonearest_test_data): New variable.
13918 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13919 (sin_towardzero_test_data): New variable.
13920 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13921 (sin_downward_test_data): New variable.
13922 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13923 (sin_upward_test_data): New variable.
13924 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13925 (sinh_test_data): New variable.
13926 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13927 (sinh_tonearest_test_data): New variable.
13928 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13929 (sinh_towardzero_test_data): New variable.
13930 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13931 (sinh_downward_test_data): New variable.
13932 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13933 (sinh_upward_test_data): New variable.
13934 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13935 (sqrt_test_data): New variable.
13936 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13937 (tan_test_data): New variable.
13938 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13939 (tan_tonearest_test_data): New variable.
13940 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13941 (tan_towardzero_test_data): New variable.
13942 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13943 (tan_downward_test_data): New variable.
13944 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13945 (tan_upward_test_data): New variable.
13946 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13947 (tanh_test_data): New variable.
13948 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13949 (tgamma_test_data): New variable.
13950 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13951 (trunc_test_data): New variable.
13952 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13953 (y0_test_data): New variable.
13954 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13955 (y1_test_data): New variable.
13956 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13957 (significand_test_data): New variable.
13958 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13960 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13963 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13965 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13967 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13969 2013-05-10 Andreas Jaeger <aj@suse.de>
13972 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13973 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13975 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13977 * math/gen-libm-test.pl (adjust_arg): New function.
13978 (special_functions): Handle generating output in both functions
13980 (parse_args): Likewise.
13981 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13982 $in_func argument to parse_args.
13983 * math/libm-test.inc (struct test_f_f_data): New type.
13984 (IF_ROUND_INIT_): New macro.
13985 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13986 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13987 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13988 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13989 (ROUND_RESTORE_): Likewise.
13990 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13991 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13992 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13993 (ROUND_RESTORE_FE_UPWARD): Likewise.
13994 (RUN_TEST_LOOP_f_f): New macro.
13995 (acos_test_data): New variable.
13996 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13997 (acos_tonearest_test_data): New variable.
13998 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14000 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14002 * benchtests/bench-skeleton.c (startup): Fix coding style.
14004 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14007 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14008 negative infinity argument.
14009 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14010 negative infinity argument.
14011 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14012 negative infinity argument.
14013 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14016 2013-05-10 Florian Weimer <fweimer@redhat.com>
14018 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14019 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14020 * iconv/iconv_prog.c (main): Likewise.
14021 * locale/programs/charmap-dir.c (charmap_readdir)
14022 (fopen_uncompressed): Likewise.
14023 * locale/programs/locfile.c (siblings_uncached)
14024 (write_locale_data): Use lstat64 instead of lstat.
14025 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14028 2013-05-10 Andreas Jaeger <aj@suse.de>
14031 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14033 Include <locale.h>.
14035 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14037 * elf/dl-close.c (_dl_close_worker): Add comments.
14039 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14042 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14044 (__ieee754_rem_pio2l): Update comments.
14047 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14049 (__ieee754_rem_pio2l): Update comments.
14051 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14052 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14054 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14057 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14058 (M_PI_34_LOG10El): Likewise.
14059 (M_PI2_LOG10El): Likewise.
14060 (M_PI4_LOG10El): Likewise.
14061 (M_PI_LOG10El): Likewise.
14063 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14067 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14069 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14070 (MINUS_ZERO_INIT): Likewise.
14071 (PLUS_INFTY_INIT): Likewise.
14072 (MINUS_INFTY_INIT): Likewise.
14073 (QNAN_VALUE_INIT): Likewise.
14074 (MAX_VALUE_INIT): Likewise.
14075 (MIN_VALUE_INIT): Likewise.
14076 (MIN_SUBNORM_VALUE_INIT): Likewise.
14077 (plus_zero): Initialize with PLUS_ZERO_INIT.
14078 (minus_zero): Initialize with MINUS_ZERO_INIT.
14079 (plus_infty): Initialize with PLUS_INFTY_INIT.
14080 (minus_infty): Initialize with MINUS_INFTY_INIT.
14081 (qnan_value): Initialize with QNAN_VALUE_INIT.
14082 (max_value): Initialize with MAX_VALUE_INIT.
14083 (min_value): Initialize with MIN_VALUE_INIT.
14084 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14086 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14087 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14088 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14089 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14091 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14092 (RUN_TEST_2_f): Likewise.
14093 (RUN_TEST_ff_f): Likewise.
14094 (RUN_TEST_fi_f): Likewise.
14095 (RUN_TEST_fl_f): Likewise.
14096 (RUN_TEST_fff_f): Likewise.
14097 (RUN_TEST_c_f): Likewise.
14098 (RUN_TEST_f_f1): Likewise.
14099 (RUN_TEST_fF_f1): Likewise.
14100 (RUN_TEST_fI_f1): Likewise.
14101 (RUN_TEST_ffI_f1): Likewise.
14102 (RUN_TEST_c_c): Likewise.
14103 (RUN_TEST_cc_c): Likewise.
14104 (RUN_TEST_f_i): Likewise.
14105 (RUN_TEST_f_i_tg): Likewise.
14106 (RUN_TEST_ff_i_tg): Likewise.
14107 (RUN_TEST_f_b): Likewise.
14108 (RUN_TEST_f_b_tg): Likewise.
14109 (RUN_TEST_f_l): Likewise.
14110 (RUN_TEST_f_L): Likewise.
14111 (RUN_TEST_sincos): Likewise.
14112 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14113 whether to show exceptions. Do not include ");\n" in return
14115 (special_functions): Output call to RUN_TEST_sincos instead of
14116 check_float calls. Update calls to new_test.
14117 (parse_args): Output call to single RUN_TEST_* macro instead of
14118 check_* calls and other assignments. Update calls to new_test.
14124 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14125 input to result for tgamma overflow.
14126 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14127 (gamma_coeff): New variable.
14128 (NCOEFF): New macro.
14129 (gamma_positive): New function.
14130 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14131 underflow here. Use gamma_positive instead of exp (lgamma) for
14133 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14134 (gamma_coeff): New variable.
14135 (NCOEFF): New macro.
14136 (gammaf_positive): New function.
14137 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14138 underflow here. Use gamma_positive instead of exp (lgamma) for
14140 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14141 (gamma_coeff): New variable.
14142 (NCOEFF): New macro.
14143 (gammal_positive): New function.
14144 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14145 underflow here. Use gamma_positive instead of exp (lgamma) for
14147 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14148 (gamma_coeff): New variable.
14149 (NCOEFF): New macro.
14150 (gammal_positive): New function.
14151 (__ieee754_gammal_r): Handle positive infinity, overflow and
14152 underflow here. Handle NaN the same as positive infinity. Remove
14153 check x < 0xffffffff for negative integers. Use gamma_positive
14154 instead of exp (lgamma) for other arguments.
14155 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14156 (gamma_coeff): New variable.
14157 (NCOEFF): New macro.
14158 (gammal_positive): New function.
14159 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14160 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14161 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14162 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14163 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14164 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14165 * sysdeps/generic/math_private.h (__gamma_productf): New
14167 (__gamma_product): Likewise.
14168 (__gamma_productl): Likewise.
14169 * math/Makefile (libm-calls): Add gamma_product.
14170 * math/libm-test.inc (tgamma_test): Add more tests.
14171 * sysdeps/i386/fpu/libm-test-ulps: Update.
14172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14174 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14176 * benchtests/bench-skeleton.c (main): Preheat CPU.
14178 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14180 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14182 2013-05-07 Roland McGrath <roland@hack.frob.com>
14184 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14185 and _dl_skip_args_internal.
14187 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14189 * manual/message.texi (Message Translation): Talk about users.
14190 Message to key mapping impacts design.
14192 2013-05-06 Roland McGrath <roland@hack.frob.com>
14194 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14196 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14198 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14199 * sysdeps/wordsize-64/glob64.c: ... here.
14201 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14202 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14205 * debug/getlogin_r_chk.c: Moved to ...
14206 * login/getlogin_r_chk.c: ... here.
14207 * debug/Makefile (routines): Move getlogin_r_chk to ...
14208 * login/Makefile (routines): ... here.
14209 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14210 * login/Versions (libc: GLIBC_2.4): ... here.
14212 * io/poll.c (__poll): Renamed from poll.
14213 Add libc_hidden_def.
14214 (poll): Define as weak alias.
14216 * debug/ptsname_r_chk.c: Moved to ...
14217 * login/ptsname_r_chk.c: ... here.
14218 * debug/Makefile (routines): Move ptsname_r_chk to ...
14219 * login/Makefile (routines): ... here.
14220 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14221 * login/Versions (libc: GLIBC_2.4): ... here.
14223 * posix/getlogin.c: Moved to ...
14224 * login/getlogin.c: ... here.
14225 * posix/getlogin_r.c: Moved to ...
14226 * login/getlogin_r.c: ... here.
14227 * posix/getlogin_r.c: Moved to ...
14228 * login/getlogin_r.c: ... here.
14229 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14230 * login/Makefile (routines): ... here.
14231 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14232 * login/Versions (libc: GLIBC_2.0): ... here.
14234 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14235 (setrlimit): Define as weak alias.
14237 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14238 Call __ names for open, ftruncate, and close.
14239 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14240 (truncate): Define as weak alias.
14242 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14244 * math/gen-libm-test.pl (parse_args): Initialize x before each
14245 test of frexp, modf and remquo.
14247 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14248 test signgam value.
14250 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14254 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14256 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14258 2013-05-06 Roland McGrath <roland@hack.frob.com>
14260 * elf/dl-writev.h: New file.
14261 * elf/dl-misc.c: Include it.
14262 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14263 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14265 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14267 * math/libm-test.inc (noXFails): Remove variable.
14268 (noXPasses): Likewise.
14269 (BUILD_COMPLEX_INT): Remove macro.
14270 (print_screen): Remove xfail argument.
14271 (print_screen_max_error): Likewise.
14272 (update_stats): Likewise.
14273 (print_max_error): Likewise. Update calls to other affected
14275 (print_complex_max_error): Likewise.
14276 (test_single_exception): Update calls to print_screen.
14277 (test_single_errno): Likewise.
14278 (check_float_internal): Remove xfail argument. Update calls to
14279 other affected functions.
14280 (check_float): Likewise.
14281 (check_complex): Likewise.
14282 (check_int): Likewise.
14283 (check_long): Likewise.
14284 (check_bool): Likewise.
14285 (check_longlong): Likewise.
14286 (main): Don't print noXFails and noXPasses.
14287 * math/gen-libm-test.pl (top level): Don't mention expected
14288 failure handling in comment.
14289 (new_test): Don't handle expected failures.
14290 (parse_args): Don't mention expected failure handling in comment.
14291 (generate_testfile): Don't handle expected failures.
14292 (parse_ulps): Likewise.
14293 (print_ulps_file): Likewise.
14294 (get_failure): Remove function.
14295 (output_test): Don't handle expected failures.
14296 * make/README.libm-test: Don't mention expected failure handling.
14298 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14299 (minus_zero): Likewise.
14300 (plus_infty): Likewise.
14301 (minus_infty): Likewise.
14302 (qnan_value): Likewise.
14303 (max_value): Likewise.
14304 (min_value): Likewise.
14305 (min_subnorm_value): Likewise.
14306 (initialize): Do not initialize those variables dynamically.
14308 2013-05-03 Roland McGrath <roland@hack.frob.com>
14310 * io/open.c (__open_2): Moved to ...
14311 * io/open_2.c: ... this new file.
14312 * io/open64.c (__open64_2): Moved to ...
14313 * io/open64_2.c: ... this new file.
14314 * io/openat.c (__openat_2): Moved to ...
14315 * io/openat_2.c: ... this new file.
14316 * io/openat64.c (__openat64_2): Moved to ...
14317 * io/openat64_2.c: ... this new file.
14318 * io/Makefile (routines): Add them.
14319 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14320 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14321 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14322 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14323 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14324 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14325 (__openat64): Add hidden_ver.
14326 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14327 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14329 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14330 Separately conditionalize setting of GLRO(dl_sysinfo) so
14331 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14332 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14334 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14336 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14337 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14339 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14340 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14341 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14342 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14343 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14345 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14347 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14348 test signgam value.
14350 * math/libm-test.inc (hypot_test): Do not use
14351 IGNORE_ZERO_INF_SIGN.
14353 2013-05-03 Andreas Jaeger <aj@suse.de>
14355 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14357 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14358 (PF_MAX): Adjust for VSOCK change.
14360 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14364 2013-05-02 Carlos O'Donell <carlos@redhat.com>
14367 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14368 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14369 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14371 2013-05-02 David S. Miller <davem@davemloft.net>
14373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14375 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
14377 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14379 2013-05-01 Roland McGrath <roland@hack.frob.com>
14381 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14383 2013-05-01 Richard Smith <richard@metafoo.co.uk>
14386 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14387 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14388 Use __attribute__ ((__gnu_inline__)).
14389 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14390 Don't use __attribute__ ((__gnu_inline__)).
14392 2013-05-01 Joseph Myers <joseph@codesourcery.com>
14395 * math/s_catan.c (__catan): Handle small real or imaginary part of
14396 input specially to avoid spurious underflow.
14397 * math/s_catanf.c (__catanf): Likewise.
14398 * math/s_catanh.c (__catanh): Likewise.
14399 * math/s_catanhf.c (__catanhf): Likewise.
14400 * math/s_catanhl.c (__catanhl): Likewise.
14401 * math/s_catanl.c (__catanl): Likewise.
14402 * math/libm-test.inc (catan_test): Add more tests.
14403 (catanh_test): Likewise.
14404 * sysdeps/i386/fpu/libm-test-ulps: Update.
14405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14407 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14411 2013-04-30 Joseph Myers <joseph@codesourcery.com>
14414 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14415 accurately for denominator in atan2.
14416 * math/s_catanf.c (__catanf): Likewise.
14417 * math/s_catanh.c (__catanh): Likewise.
14418 * math/s_catanhf.c (__catanhf): Likewise.
14419 * math/s_catanhl.c (__catanhl): Likewise.
14420 * math/s_catanl.c (__catanl): Likewise.
14421 * math/libm-test.inc (catan_test): Add more tests.
14422 (catanh_test): Likewise.
14423 * sysdeps/i386/fpu/libm-test-ulps: Update.
14424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14426 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14428 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14430 * benchtests/Makefile (bench): Remove slow benchmarks.
14431 * benchtests/atan-inputs: Add slow benchmark inputs.
14432 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14433 (BENCH_FUNC): Accept variant offset.
14435 * benchtests/bench-skeleton.c (main): Run benchmark for each
14437 * benchtests/cos-inputs: Add slow benchmark inputs.
14438 * benchtests/exp-inputs: Likewise.
14439 * benchtests/pow-inputs: Likewise.
14440 * benchtests/sin-inputs: Likewise.
14441 * benchtests/slowatan-inputs: Remove.
14442 * benchtests/slowatan.c: Remove.
14443 * benchtests/slowcos-inputs: Remove.
14444 * benchtests/slowcos.c: Remove.
14445 * benchtests/slowexp-inputs: Remove.
14446 * benchtests/slowexp.c: Remove.
14447 * benchtests/slowpow-inputs: Remove.
14448 * benchtests/slowpow.c: Remove.
14449 * benchtests/slowsin-inputs: Remove.
14450 * benchtests/slowsin.c: Remove.
14451 * benchtests/slowtan-inputs: Remove.
14452 * benchtests/slowtan.c: Remove.
14453 * benchtests/tan-inputs: Add slow benchmark inputs.
14454 * scripts/bench.pl: Parse comments and directives.
14456 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14458 ($(objpfx)bench-%.c): Remove *-ITER.
14459 * benchtests/bench-modf.c: Remove definition of ITER.
14460 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14461 (main): Loop for DURATION seconds instead of fixed number of
14463 * scripts/bench.pl: Don't expect iterations in parameters.
14465 2013-04-29 Roland McGrath <roland@hack.frob.com>
14467 * io/fchdir.c (__fchdir): Renamed from fchdir.
14468 (fchdir): Define as weak alias.
14470 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14472 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14473 (ERRNO_EDOM): Likewise.
14474 (ERRNO_ERANGE): Likewise.
14475 (noErrnoTests): New variable.
14476 (init_max_error): Set errno to 0.
14477 (test_single_errno): New function.
14478 (test_errno): Likewise.
14479 (check_float_internal): Call test_errno. Set errno to 0.
14480 (check_complex): Refer to errno tests in comment.
14481 (check_int): Call test_errno. Set errno to 0.
14482 (check_long): Likewise.
14483 (check_bool): Likewise.
14484 (check_longlong): Likewise.
14485 (cos_test): Use ERRNO_* flags for errno tests instead of
14487 (expm1_test): Likewise.
14488 (fmod_test): Likewise.
14489 (ilogb_test): Likewise.
14490 (lgamma_test): Likewise.
14491 (pow_test): Likewise.
14492 (remainder_test): Likewise.
14493 (sin_test): Likewise.
14494 (tan_test): Likewise.
14495 (yn_test): Likewise.
14496 (initialize): Set errno to 0.
14497 (main): Print number of errno tests.
14498 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14500 2013-04-29 Andreas Jaeger <aj@suse.de>
14503 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14507 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14508 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14512 * stdlib/random.c (__initstate): Return NULL if
14516 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14517 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14520 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14524 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14526 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14527 of individual tests.
14528 (casin_test): Likewise.
14529 (casinh_test): Likewise.
14531 2013-04-27 Joseph Myers <joseph@codesourcery.com>
14534 * math/s_catan.c (__catan): Handle arguments with large real or
14535 imaginary part separately without squaring.
14536 * math/s_catanf.c (__catanf): Likewise.
14537 * math/s_catanh.c (__catanh): Likewise.
14538 * math/s_catanhf.c (__catanhf): Likewise.
14539 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14541 (__catanhl): Handle arguments with large real or imaginary part
14542 separately without squaring.
14543 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14545 (__catanl): Handle arguments with large real or imaginary part
14546 separately without squaring.
14547 * math/libm-test.inc (catan_test): Add more tests.
14548 (catanh_test): Likewise.
14549 * sysdeps/i386/fpu/libm-test-ulps: Update.
14550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14552 2013-04-27 Andreas Jaeger <aj@suse.de>
14555 * stdlib/stdlib.h: Update guards for qecvt.
14556 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14559 2013-04-27 Allan McRae <allan@archlinux.org>
14561 * sysdeps/i386/fpu/libm-test-ulps: Update.
14563 2013-04-26 Joseph Myers <joseph@codesourcery.com>
14566 * math/s_catan.c: Include <float.h>.
14567 (__catan): Ensure underflow exception occurs for underflowed
14569 * math/s_catanf.c: Include <float.h>.
14570 (__catanf): Ensure underflow exception occurs for underflowed
14572 * math/s_catanh.c: Include <float.h>.
14573 (__catanh): Ensure underflow exception occurs for underflowed
14575 * math/s_catanhf.c: Include <float.h>.
14576 (__catanhf): Ensure underflow exception occurs for underflowed
14578 * math/s_catanhl.c: Include <float.h>.
14579 (__catanhl): Ensure underflow exception occurs for underflowed
14581 * math/s_catanl.c: Include <float.h>.
14582 (__catanl): Ensure underflow exception occurs for underflowed
14584 * math/libm-test.inc (catan_test): Add more tests.
14585 (catanh_test): Likewise.
14588 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14589 underflowed result.
14590 * math/s_ccoshf.c (__ccoshf): Likewise.
14591 * math/s_ccoshl.c (__ccoshl): Likewise.
14592 * math/s_csin.c (__csin): Likewise.
14593 * math/s_csinf.c (__csinf): Likewise.
14594 * math/s_csinh.c (__csinh): Likewise.
14595 * math/s_csinhf.c (__csinhf): Likewise.
14596 * math/s_csinhl.c (__csinhl): Likewise.
14597 * math/s_csinl.c (__csinl): Likewise.
14598 * math/libm-test.inc (ccos_test): Add more tests.
14599 (ccosh_test): Likewise.
14600 (csin_test): Likewise.
14601 (csinh_test): Likewise.
14603 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14605 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14606 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14607 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14608 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14609 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14610 powerpc/power5+/fpu folders.
14611 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14614 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14618 2013-04-25 Joseph Myers <joseph@codesourcery.com>
14620 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14621 additions to variable.
14622 [$(config-machine) = x86_64] (modules-names): Likewise.
14623 ($(objpfx)tst-audit3): Remove dependency.
14624 ($(objpfx)tst-audit3.out): Likewise.
14625 ($(objpfx)tst-audit4): Likewise.
14626 ($(objpfx)tst-audit4.out): Likewise.
14627 ($(objpfx)tst-audit5): Likewise.
14628 ($(objpfx)tst-audit5.out): Likewise.
14629 ($(objpfx)tst-audit6): Likewise.
14630 ($(objpfx)tst-audit6.out): Likewise.
14631 ($(objpfx)tst-audit7): Likewise.
14632 ($(objpfx)tst-audit7.out): Likewise.
14633 (tst-audit3-ENV): Remove variable.
14634 (tst-audit4-ENV): Likewise.
14635 (tst-audit5-ENV): Likewise.
14636 (tst-audit6-ENV): Likewise.
14637 (tst-audit7-ENV): Likewise.
14638 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14639 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14640 addition to variable.
14641 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14642 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14643 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14644 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14645 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14646 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14647 tst-audit3, tst-audit4 and tst-audit5.
14648 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14649 tst-audit6 and tst-audit7.
14650 [$(subdir) = elf] (modules-names): Add audit modules for those
14652 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14653 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14654 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14655 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14656 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14657 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14658 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14659 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14660 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14661 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14662 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14663 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14664 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14665 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14666 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14667 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14669 [$(subdir) = elf && $(config-cflags-avx) = yes]
14670 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14671 [$(subdir) = elf && $(config-cflags-avx) = yes]
14672 (CFLAGS-tst-auditmod4a.c): Likewise.
14673 [$(subdir) = elf && $(config-cflags-avx) = yes]
14674 (CFLAGS-tst-auditmod4b.c): Likewise.
14675 [$(subdir) = elf && $(config-cflags-avx) = yes]
14676 (CFLAGS-tst-auditmod6b.c): Likewise.
14677 [$(subdir) = elf && $(config-cflags-avx) = yes]
14678 (CFLAGS-tst-auditmod6c.c): Likewise.
14679 [$(subdir) = elf && $(config-cflags-avx) = yes]
14680 (CFLAGS-tst-auditmod7b.c): Likewise.
14681 * elf/tst-audit3.c: Move to ...
14682 * sysdeps/x86_64/tst-audit3.c: ... here.
14683 * elf/tst-audit4.c: Move to ...
14684 * sysdeps/x86_64/tst-audit4.c: ... here.
14685 * elf/tst-audit5.c: Move to ...
14686 * sysdeps/x86_64/tst-audit5.c: ... here.
14687 * elf/tst-audit6.c: Move to ...
14688 * sysdeps/x86_64/tst-audit6.c: ... here.
14689 * elf/tst-audit7.c: Move to ...
14690 * sysdeps/x86_64/tst-audit7.c: ... here.
14691 * elf/tst-auditmod3a.c: Move to ...
14692 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14693 * elf/tst-auditmod3b.c: Move to ...
14694 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14695 * elf/tst-auditmod4a.c: Move to ...
14696 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14697 * elf/tst-auditmod4b.c: Move to ...
14698 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14699 * elf/tst-auditmod5a.c: Move to ...
14700 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14701 * elf/tst-auditmod5b.c: Move to ...
14702 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14703 * elf/tst-auditmod6a.c: Move to ...
14704 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14705 * elf/tst-auditmod6b.c: Move to ...
14706 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14707 * elf/tst-auditmod6c.c: Move to ...
14708 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14709 * elf/tst-auditmod7a.c: Move to ...
14710 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14711 * elf/tst-auditmod7b.c: Move to ...
14712 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14714 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14717 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14718 define unconditionally.
14719 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14720 define unconditionally.
14721 (INT8_C, INT16_C, etc.): Likewise.
14723 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14725 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14726 __ehdr_start with hidden visibility.
14728 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14730 2013-04-24 Carlos O'Donell <carlos@redhat.com>
14732 * math/libm-test.inc (cos_test): Use accurate hex constants.
14733 (sincost_test): Likewise.
14735 2013-04-24 Joseph Myers <joseph@codesourcery.com>
14737 * math/libm-test.inc (catan_test): Add more tests.
14738 (catanh_test): Likewise.
14740 * math/s_catanf.c (__catanf): Use suffixed floating-point
14742 * math/s_catanhf.c (__catanhf): Likewise.
14743 * math/s_catanhl.c (__catanhl): Likewise.
14744 * math/s_catanl.c (__catanl): Likewise.
14747 * math/s_catan.c (__catan): Calculate imaginary part of result
14748 with log1p not log unless computing log of number close to 0.
14749 * math/s_catanf.c (__catanf): Likewise.
14750 * math/s_catanl.c (__catanl): Likewise.
14751 * math/s_catanh.c (__catanh): Calculate real part of result with
14752 log1p not log unless computing log of number close to 0.
14753 * math/s_catanhf.c (__catanhf): Likewise.
14754 * math/s_catanhl.c (__catanhl): Likewise.
14755 * math/libm-test.inc (catan_test): Add more tests.
14756 (catanh_test): Likewise.
14757 * sysdeps/i386/fpu/libm-test-ulps: Update.
14758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14760 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14762 * benchtests/Makefile: Mention files in which fast and slow
14763 paths of math functions are implemented.
14765 2013-04-23 Roland McGrath <roland@hack.frob.com>
14767 * sysdeps/posix/timespec_get.c: New file.
14769 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14771 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14773 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14775 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14776 powerpc/power5/fpu folders.
14777 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14778 * benchtests/Makefile: Add modf testcase.
14779 * benchtests/bench-modf.c: New file: Benchmark test for mo
14781 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14784 * time/Makefile (tests): Add tst-strptime-whitespace.
14785 * time/strptime_l.c (get_number): Use ISSPACE.
14786 (__strptime_internal): Likewise.
14787 * time/tst-strptime-whitespace.c: New test case.
14789 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14791 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14793 (_nss_files_init): Set it here.
14795 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14797 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14798 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14801 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14803 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14805 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14807 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14810 2013-04-21 David S. Miller <davem@davemloft.net>
14812 * po/ru.po: Update Russion translation from translation project.
14814 2013-04-17 Adam Conrad <adconrad@0c3.net>
14816 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14819 2013-04-17 Carlos O'Donell <carlos@redhat.com>
14821 * configure.in: Remove i386 configure warning. Remove i386 case.
14822 * configure: Regenerate.
14823 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14824 Add example to error message.
14825 * sysdeps/i386/configure: Regenerate.
14827 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14829 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14831 * benchtests/cos-inputs: New file.
14832 * benchtests/slowcos-inputs: New file.
14833 * benchtests/slowcos.c: New file.
14834 * benchtests/slowtan-inputs: New file.
14835 * benchtests/slowtan.c: New file.
14836 * benchtests/tan-inputs: New file.
14838 2013-04-16 Roland McGrath <roland@hack.frob.com>
14840 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14843 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14845 * benchtests/Makefile: Include cppflags-iterator.mk to add
14846 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14848 * Makefile.in (bench-clean): New target.
14849 * benchtests/Makefile (bench-clean): Likewise.
14851 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14853 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14855 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14857 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14859 2013-04-15 Andreas Schwab <schwab@suse.de>
14861 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14862 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14863 * nscd/pwdcache.c (cache_addpw): Likewise.
14864 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14867 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14869 * benchtests/Makefile (bench): Write all output to
14870 bench-out.tmp together.
14872 2013-04-15 Andreas Schwab <schwab@suse.de>
14874 * nscd/nscd.c (main): Don't fork again after closing files.
14876 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14878 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14880 * benchtests/Rules (bench-deps): Collect dependencies into a
14881 single variable. Add Makefile to dependencies.
14882 ($(objpfx)bench-%.c): Depend on bench-deps.
14884 2013-04-12 Roland McGrath <roland@hack.frob.com>
14885 Xavier Roche <roche+kml2@exalead.com>
14888 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14889 just that it's a file descriptor.
14890 * manual/llio.texi (Synchronizing AIO Operations): Update description
14891 for EBADF error from aio_fsync.
14893 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14895 * Rules (bench): Move target definition...
14896 * benchtests/Makefile: ... here.
14898 2013-04-11 Carlos O'Donell <carlos@redhat.com>
14900 * math/libm-test.inc (cos_test): Fix PI/2 test.
14901 (sincos_test): Likewise.
14902 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14903 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14905 2013-04-11 Andreas Schwab <schwab@suse.de>
14908 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14909 accept exponent character only when digits were seen.
14910 * stdio-common/Makefile (tests): Add bug26.
14911 * stdio-common/bug26.c: New file.
14914 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14917 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14919 * Makeconfig (rtld-prefix): Define built linker prefix.
14920 * Rules (run-bench): Use it.
14921 * math/Makefile (run-regen-ulps): Likewise.
14923 * Rules (bench): Remove eval.
14925 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14926 Roland McGrath <roland@hack.frob.com>
14927 Ondrej Bilka <neleai@seznam.cz>
14930 * time/getdate.c: Include ctype.h and alloca.h.
14931 (__getdate_r): Trim leading and trailing spaces of input.
14932 * time/tst-getdate.c (tests): Add tests with leading and
14935 2013-04-08 Roland McGrath <roland@hack.frob.com>
14938 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14939 when computing value.
14941 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14943 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14944 Use testrun.sh to run libm tests.
14947 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14949 2013-04-06 Marko Myllynen <myllynen@redhat.com>
14952 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14954 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14956 * Makefile.in (regen-ulps): New target.
14957 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14958 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14959 [ifneq (no,$(PERL)] (regen-ulps): New target.
14960 [ifeq (no,$(PERL)] (regen-ulps): New target.
14961 * math/libm-test.inc (ulps_file_name): Define.
14962 (output_dir): New variable.
14963 (options): Add "output-dir" option.
14964 (parse_opt): Handle 'o' case.
14965 (main): If output_dir is non-NULL use it as a prefix
14967 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14969 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14971 [BZ #10060, #10062]
14972 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14973 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14974 fail configure if __sync_val_compare_and_swap is not inlined.
14975 * sysdeps/i386/configure: Regenerate.
14976 * configure.in: Build for i686 when configured for i386.
14977 * configure: Regenerate.
14978 * README: Remove i386 reference.
14980 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14982 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14983 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14985 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14987 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14988 (lmsnanval): New variables.
14989 (F): Add conversion tests.
14990 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14991 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14993 * stdio-common/tstdiomisc.c (F): Properly collect individual
14996 [BZ #14686, #15336]
14997 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14998 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14999 Instead, use input NaN values or generate a qNaN by arithmetic
15000 operation. Also fix bugs to comply with the standard.
15001 * math/libm-test.inc (remainder_test): Add more tests.
15003 [BZ #15335, #15342]
15004 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15005 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15006 input NaN values or generate a qNaN by arithmetic operation.
15008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15011 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15014 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15017 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15018 underflowed result.
15019 * math/s_cexpf.c (__cexpf): Likewise.
15020 * math/s_cexpl.c (__cexpl): Likewise.
15021 * math/libm-test.inc (cexp_test): Add more tests.
15023 2013-04-03 Andreas Schwab <schwab@suse.de>
15026 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15027 order arrays from heap if bigger than alloca cutoff.
15029 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15031 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15032 (SNAN_TESTS_double): Refer to GCC PR56831.
15033 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15036 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15038 * Rules (bench): Move bench.out after the run is complete.
15040 * Rules (bench): Echo currently running benchmark.
15042 * benchtests/Makefile (bench): Add atan and slowatan.
15043 * benchtests/atan-inputs: New file.
15044 * benchtests/slowatan-inputs: New file.
15045 * benchtests/slowatan.c: New file.
15047 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15048 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15052 * sysdeps/unix/sysv/linux/kernel-features.h
15053 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15054 __ASSUME_XFS_RESTRICTED_CHOWN.
15055 * sysdeps/unix/sysv/linux/pathconf.c
15056 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15057 Save and restore errno.
15059 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15062 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15063 arguments using __kernel_casinh.
15064 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15065 arguments using __kernel_casinhf.
15066 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15067 arguments using __kernel_casinhl.
15068 * math/libm-test.inc (cacosh_test): Add more tests.
15069 * sysdeps/i386/fpu/libm-test-ulps: Update.
15070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15072 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15074 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15077 * bench/Makefile (bench): Add sin and slowsin.
15078 * benchtests/sin-inputs: New file.
15079 * benchtests/slowsin-inputs: New file.
15080 * benchtests/slowsin.c: New file.
15082 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15083 (bench): Add slowexp and slowpow.
15084 (exp-ITER): Increase iterations.
15085 (pow-ITER): Likewise.
15086 * benchtests/exp-inputs: Change input.
15087 * benchtests/pow-inputs: Likewise.
15088 * benchtests/slowexp-inputs: New file.
15089 * benchtests/slowexp.c: New file.
15090 * benchtests/slowpow-inputs: New file.
15091 * benchtests/slowpow.c: New file.
15093 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15095 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15097 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15098 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15099 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15100 * benchtests/Makefile: Add rint benchtest.
15101 * benchtests/rint-inputs: Input for rint benchtest.
15103 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15105 * Versions.def (libm): Add GLIBC_2.18.
15106 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15107 hidden libm prototypes.
15108 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15109 * math/Makefile (libm-calls): Add s_issignaling.
15110 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15111 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15112 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15114 * math/math.h [__USE_GNU] (issignaling): New macro.
15115 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15116 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15117 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15118 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15119 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15120 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15121 * manual/arith.texi (issignaling): New section.
15122 * manual/libm-err-tab.pl (@all_functions): Update comment.
15123 * math/gen-libm-test.pl (parse_args): Apply special handling for
15125 * math/libm-test.inc (print_float, issignaling_test): New
15127 (check_float_internal): Add issignaling checks.
15128 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15129 default definition.
15130 * sysdeps/powerpc/math-tests.h: New file.
15131 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15133 * math/test-snan.c (TEST_FUNC): Likewise.
15135 2013-03-30 David S. Miller <davem@davemloft.net>
15137 * po/de.po: Update from translation team.
15139 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15142 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15143 imaginary part less than 1.0 and real part less than 0.5
15145 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15146 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15147 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15148 (cacos_test): Add more tests.
15149 (casin_test): Likewise.
15150 (casinh_test): Likewise.
15151 * sysdeps/i386/fpu/libm-test-ulps: Update.
15152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15154 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15156 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15157 ONE with its value.
15159 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15160 (__pow_mp): Replace ONE and MONE with their values.
15161 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15162 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15163 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15164 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15165 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15166 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15168 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15170 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15171 (__pow_mp): Replace ZERO and MZERO with their values.
15172 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15173 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15174 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15175 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15176 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15177 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15180 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15182 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15184 2013-03-28 Roland McGrath <roland@hack.frob.com>
15186 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15187 Declare with __attribute__ ((weak)).
15188 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15189 Call __call_tls_dtors only if it's not NULL.
15191 2013-03-28 Roland McGrath <roland@hack.frob.com>
15193 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15194 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15195 magic __ehdr_start linker symbol if it's defined.
15196 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15197 them up here if it was already done.
15199 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15200 (_dl_aux_init): Use const in cast when setting it.
15201 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15202 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15203 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15205 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15207 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15208 * csu/libc-tls.c: Nor here.
15209 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15211 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15212 (__libc_message): Never call vsyslog.
15214 2013-03-28 Alan Modra <amodra@gmail.com>
15216 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15218 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15221 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15224 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15228 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15231 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15232 Don't add gid passed as argument.
15234 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15236 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15239 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15240 imaginary part between 1.0 and 1.5 and real part less than 0.5
15242 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15243 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15244 * math/libm-test.inc (cacos_test): Add more tests.
15245 (casin_test): Likewise.
15246 (casinh_test): Likewise.
15247 * sysdeps/i386/fpu/libm-test-ulps: Update.
15248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15250 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15252 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15255 (denorm): Likewise.
15256 (__dbl_mp): Likewise.
15257 (add_magnitudes): Likewise.
15258 (sub_magnitudes): Likewise.
15266 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15268 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15269 (__dubcos): Likewise.
15270 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15271 (__ieee754_acos): Likewise.
15272 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15273 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15274 (__exp1): Likewise.
15275 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15276 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15278 (my_log2): Likewise.
15279 (checkint): Likewise.
15280 * sysdeps/ieee754/dbl-64/e_remainder.c
15281 (__ieee754_remainder): Likewise.
15282 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15283 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15284 (bsloww): Likewise.
15285 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15287 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15288 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15289 MANTISSA_STORE_T to store computations on mantissa. Use
15290 macros for rounding and division.
15291 (denorm): Likewise.
15292 (__dbl_mp): Likewise.
15293 (add_magnitudes): Likewise.
15294 (sub_magnitudes): Likewise.
15297 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15298 powers of two in terms of TWOPOW macro.
15299 (mp_no): Make type of mantissa as MANTISSA_T.
15300 [!RADIXI]: Define RADIXI.
15301 [!TWO52]: Define TWO52.
15302 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15304 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15306 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15307 llroundl symbol when building for PPC32.
15309 2013-03-24 Mark H Weaver <mhw@netris.org>
15311 * manual/arith.texi (Normalization Functions): Fix prototypes for
15312 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15314 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15317 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15318 high value to check if expl overflow.
15319 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15320 to check for underflow and overflow.
15321 * math/libm-test.inc: Add exp test.
15323 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15326 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15329 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15331 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15334 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15336 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15337 wrap blocks consisting of several statements.
15339 * sysdeps/generic/math-tests.h: New file.
15340 * sysdeps/i386/fpu/math-tests.h: Likewise.
15341 * math/test-snan.c: Include it.
15342 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15344 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15347 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15348 (__ieee754_j0l): Do not improve calculations using cos of twice
15349 input for inputs above LDBL_MAX / 2.0L.
15350 (__ieee754_y0l): Likewise.
15351 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15352 (__ieee754_j1l): Do not improve calculations using cos of twice
15353 input for inputs above LDBL_MAX / 2.0L.
15354 (__ieee754_y1l): Likewise.
15355 * math/libm-test.inc (j0_test): Add another test.
15356 (j1_test): Likewise.
15357 (y0_test): Likewise.
15358 (y1_test): Likewise.
15359 * sysdeps/i386/fpu/libm-test-ulps: Update.
15361 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15363 * Rules ($(objpfx)bench-%.c): Include code from a C source
15366 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15369 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15370 imaginary part 1.0 and real part less than 0.5 specially.
15371 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15372 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15373 * math/libm-test.inc (cacos_test): Add more tests.
15374 (casin_test): Likewise.
15375 (casinh_test): Likewise.
15376 * sysdeps/i386/fpu/libm-test-ulps: Update.
15377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15379 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15381 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15382 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15384 2013-03-20 Joseph Myers <joseph@codesourcery.com>
15386 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15387 * config.make.in (config-cflags-sse4): Remove variable.
15388 (config-cflags-avx): Likewise.
15389 (config-cflags-sse2avx): Likewise.
15390 (config-cflags-novzeroupper): Likewise.
15391 (config-asflags-i686): Likewise.
15392 (have-mfma4): Likewise.
15393 (have-as-vis3): Likewise.
15395 * configure.in (MIG): Do not AC_SUBST.
15396 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15397 (libc_cv_cc_sse4): Do not AC_SUBST.
15398 (libc_cv_cc_avx): Likewise.
15399 (libc_cv_cc_sse2avx): Likewise.
15400 (libc_cv_cc_novzeroupper): Likewise.
15401 (libc_cv_cc_fma4): Likewise.
15402 (libc_cv_as_i686): Likewise.
15403 (libc_cv_sparc_as_vis3): Likewise.
15404 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15406 (config-asflags-i686): Likewise.
15407 (config-cflags-avx): Likewise.
15408 (config-cflags-sse2avx): Likewise.
15409 (have-mfma4): Likewise.
15410 (config-cflags-novzeroupper): Likewise.
15411 * sysdeps/mach/configure.in (MIG): Likewise.
15412 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15413 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15415 (config-cflags-avx): Likewise.
15416 (config-cflags-sse2avx): Likewise.
15417 (have-mfma4): Likewise.
15418 (config-cflags-novzeroupper): Likewise.
15419 * configure: Regenerated.
15420 * sysdeps/i386/configure: Likewise.
15421 * sysdeps/mach/configure: Likewise.
15422 * sysdeps/sparc/configure: Likewise.
15423 * sysdeps/x86_64/configure: Likewise.
15425 2013-03-20 Roland McGrath <roland@hack.frob.com>
15428 * locale/programs/localedef.c (options): Put N_ translation marker
15429 on argument names, not just descriptions.
15431 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15433 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15435 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
15438 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15440 2013-03-19 Roland McGrath <roland@hack.frob.com>
15442 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15443 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15444 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15445 [!BEFORE_ABORT] (before_abort): New function.
15446 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15447 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15448 (writev_for_fatal): New function.
15449 (WRITEV_FOR_FATAL): New macro; call that.
15450 (backtrace_and_maps): New function.
15451 (BEFORE_ABORT): New macro; call that.
15452 (struct str_list): Type removed.
15453 (__libc_message, __libc_fatal): Functions removed.
15454 Include <sysdeps/posix/libc_fatal.c> instead.
15456 2013-03-19 Joseph Myers <joseph@codesourcery.com>
15458 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15460 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15463 2013-03-19 Andreas Schwab <schwab@suse.de>
15465 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15466 * sysdeps/gnu/configure: Regenerate.
15468 * configure.in: Substitute libc_cv_rtlddir.
15469 * configure: Regenerate.
15470 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15471 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15472 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15473 * elf/Makefile (install-others, CFLAGS-interp.c)
15474 (ldso_install, common-ldd-rewrite): Likewise.
15475 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15476 $(inst_slibdir)/$(rtld-installed-name).
15477 * scripts/rellns-sh: Add -p option.
15478 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15481 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15483 * manual/nptl.texi: Renamed to ...
15484 * manual/threads.texi: ... this.
15485 * manual/Makefile (chapters): Update.
15487 2013-03-18 Roland McGrath <roland@hack.frob.com>
15490 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15491 on argument names, not just descriptions.
15492 * malloc/memusagestat.c (options): Likewise.
15493 * nss/getent.c (options): Likewise.
15495 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
15498 * iconv/iconv_prog.c (options): Put N_ translation marker
15499 on argument names, not just descriptions.
15500 * iconv/iconvconfig.c (options): Likewise.
15502 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
15504 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15505 implementation which is faster on all x86_64 architectures.
15506 Tested on AMD, Intel Nehalem, SNB, IVB.
15507 * sysdeps/x86_64/strnlen.S: Likewise.
15509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15510 Remove all multiarch strlen and strnlen versions.
15511 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15512 Remove strlen and strnlen related parts.
15514 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15515 Inline strlen part.
15516 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15518 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15519 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15520 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15521 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15522 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15523 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15525 2013-03-17 Carlos O'Donell <carlos@redhat.com>
15527 * manual/memory.texi (Malloc Tunable Parameters):
15528 Sort parameters alphabetically. Add comments for missing entries.
15530 2013-03-17 David S. Miller <davem@davemloft.net>
15532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15534 2013-03-16 Joseph Myers <joseph@codesourcery.com>
15537 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15538 for arguments at most half maximum finite value.
15539 * math/libm-test.inc (j0_test): Add more tests.
15540 (j1_test): Likewise.
15541 (y0_test): Likewise.
15542 (y1_test): Likewise.
15543 * sysdeps/i386/fpu/libm-test-ulps: Update.
15544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15547 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15548 1 / x and functions P and Q for arguments above 0x1p256L.
15549 (__ieee754_y0l): Likewise.
15550 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15551 (__ieee754_y1l): Likewise.
15552 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15553 (j1_test): Likewise.
15554 (y0_test): Likewise.
15555 (y1_test): Likewise.
15557 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15559 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15562 2013-03-15 Roland McGrath <roland@hack.frob.com>
15564 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15565 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15566 zero since it's initialized to EXEC_PAGESIZE.
15568 * sysdeps/unix/sysv/linux/ldsodefs.h
15569 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15570 * sysdeps/generic/ldsodefs.h: ... here.
15572 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15574 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15576 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15578 * math/test-snan.c: Renamed from
15579 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15580 * math/Makefile (tests): Add test-snan.
15581 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15584 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15585 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15587 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15588 __builtin_nan family of functions.
15589 * math/libm-test.inc (initialize): Initialize qnan_value with
15590 __builtin_nan family of functions.
15591 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15593 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15595 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15596 storage class. Initialize qNaN_var and sNaN_var with
15597 __builtin_nan and __builtin_nans families of functions,
15600 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15601 (sqrt_test): Remove duplicate test with qNaN input.
15602 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15603 (round_test, signbit_test, significand_test): Note missing +/-Inf
15604 as well as qNaN tests.
15606 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15607 qNaN_var. Fix a few strings, too.
15608 * math/libm-test.inc (nan_value): Rename to qnan_value.
15609 * math/gen-libm-test.pl (%beautify): Adjust to that.
15610 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15611 * math/test-misc.c (main): Likewise.
15612 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15613 to __qnan_bytes, and __qnan_union, respectively.
15614 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15616 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15617 and lqnanval, respectively.
15618 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15619 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15620 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15621 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15623 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15624 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15627 * math/test-misc.c (main): Fix copy'n'pastos.
15628 * misc/tst-efgcvt.c (special): Likewise.
15630 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15631 Remove declarations.
15633 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15635 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15636 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15637 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15638 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15640 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15642 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15643 macro to return vdso values correctly in IFUNC implementations.
15644 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15645 Optimization by using IFUNC.
15647 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15648 Richard Henderson <rth@redhat.com>
15649 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15651 * Makefile.in (bench): New target.
15652 * NEWS: Mention the benchmark framework.
15653 * Rules (bench): Likewise.
15654 (binaries-bench): Generate binaries for functions to
15656 * benchtests/Makefile: New makefile for benchmark tests.
15657 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15659 * benchtests/exp-inputs: New input file for EXP function.
15660 * benchtests/pow-inputs: New input file for POW function.
15661 * scripts/bench.pl: New script to generate source files for
15662 benchmark programs.
15664 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15666 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15667 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15668 computations on mantissa. Use macros for rounding and
15670 (denorm): Likewise.
15671 (__dbl_mp): Likewise.
15672 (add_magnitudes): Likewise.
15673 (sub_magnitudes): Likewise.
15676 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15677 powers of two in terms of TWOPOW macro.
15678 (mp_no): Make type of mantissa as MANTISSA_T.
15679 [!RADIXI]: Define RADIXI.
15680 [!TWO52]: Define TWO52.
15681 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15683 * manual/nptl.texi (cindex): Modify threads to pthreads.
15685 2013-03-15 Joseph Myers <joseph@codesourcery.com>
15687 * sysdeps/x86_64/preconfigure: Regenerated.
15689 2013-03-14 Joseph Myers <joseph@codesourcery.com>
15692 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15694 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15695 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15697 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15698 * math/libm-test.inc (j0_test): Do not allow one spurious
15699 underflow exception.
15700 (y1_test): Likewise.
15702 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15704 * manual/Makefile (chapters): Add nptl.
15705 * manual/debug.texi (Debugging Support): Add link to Threads
15707 * manual/nptl.texi: New file.
15709 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15711 2013-03-14 Petr Baudis <pasky@ucw.cz>
15713 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15714 for non-NULL pointer before the memory validity test. Pointed
15715 out by Holger Brunck <holger.brunck@keymile.com>.
15717 2013-03-13 Andreas Schwab <schwab@suse.de>
15719 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15722 2013-03-13 Joseph Myers <joseph@codesourcery.com>
15724 * timezone/zic.c: Update from tzcode 2013b.
15726 2013-03-12 Carlos O'Donell <carlos@redhat.com>
15728 * manual/install.texi (Configuring and compiling):
15729 Mention i686 and i586.
15730 * INSTALL: Regenerate.
15732 2013-03-12 Roland McGrath <roland@hack.frob.com>
15734 * sysdeps/init_array/elf-init.c: New file.
15736 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15737 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15739 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15740 __gmon_start__ as global, but as static with a .preinit_array pointer.
15741 * sysdeps/init_array/gmon-start.c: New file. Use that.
15742 * sysdeps/init_array/crti.S: New file, empty except for comments.
15743 * sysdeps/init_array/crtn.S: Likewise.
15745 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
15747 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15750 Remove Prefer_SSE_for_memop.
15751 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15752 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15753 HAS_PREFER_SSE_FOR_MEMOP.
15754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15756 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15757 Remove bzero, memset ifunc support.
15758 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15759 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15760 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15761 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15763 2013-03-11 Andreas Schwab <schwab@suse.de>
15766 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15769 (GLIBC_2.16): Remove pthread_atfork.
15771 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15773 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15774 (ptestcases.h): Likewise.
15776 2013-03-08 Roland McGrath <roland@hack.frob.com>
15778 * Makeconfig ($(common-objpfx)config.status): Depend on
15779 sysdeps/*/preconfigure{,.in} too.
15781 2013-03-08 Joseph Myers <joseph@codesourcery.com>
15783 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15784 (__free_hook): Use void * instead of __malloc_ptr_t.
15785 (__malloc_hook): Likewise.
15786 (__realloc_hook): Likewise.
15787 (__memalign_hook): Likewise.
15788 (__after_morecore_hook): Likewise.
15789 * malloc/arena.c (save_malloc_hook): Likewise.
15790 (save_free_hook): Likewise.
15791 * malloc/hooks.c (malloc_hook_ini): Likewise.
15792 (realloc_hook_ini): Likewise.
15793 (memalign_hook_ini): Likewise.
15794 * malloc/malloc.c (malloc_hook_ini): Likewise.
15795 (realloc_hook_ini): Likewise.
15796 (memalign_hook_ini): Likewise.
15797 (__free_hook): Likewise.
15798 (__malloc_hook): Likewise.
15799 (__realloc_hook): Likewise.
15800 (__memalign_hook): Likewise.
15801 (__libc_malloc): Likewise.
15802 (__libc_free): Likewise.
15803 (__libc_realloc): Likewise.
15804 (__libc_memalign): Likewise.
15805 (__libc_valloc): Likewise.
15806 (__libc_pvalloc): Likewise.
15807 (__libc_calloc): Likewise.
15808 (__posix_memalign): Likewise.
15809 * malloc/morecore.c (__sbrk): Likewise.
15810 (__default_morecore): Likewise.
15812 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15814 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15815 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15816 __malloc_ptrdiff_t.
15818 * malloc/malloc.h (__malloc_size_t): Remove macro.
15819 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15821 (old_memalign_hook): Likewise.
15822 (old_realloc_hook): Likewise.
15823 (struct hdr): Likewise.
15825 (mallochook): Likewise.
15826 (memalignhook): Likewise.
15827 (reallochook): Likewise.
15828 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15829 (tr_old_realloc_hook): Likewise.
15830 (tr_old_memalign_hook): Likewise.
15831 (tr_mallochook): Likewise.
15832 (tr_reallochook): Likewise.
15833 (tr_memalignhook): Likewise.
15835 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15837 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15838 default_ldbl_pack and using as default implementation.
15839 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15841 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15842 redundant definition.
15843 (ldbl_insert_mantissa): Likewise.
15844 (ldbl_canonicalize): Likewise.
15845 (ldbl_nearbyint): Likewise.
15846 (ldbl_pack): Rename to ldbl_pack_ppc.
15847 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15848 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15849 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15851 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15854 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15855 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15856 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15858 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15859 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15860 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15862 2013-03-07 Andreas Jaeger <aj@suse.de>
15864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15867 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15869 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15870 Include mpa.h and declare __MPEXP.
15871 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15872 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15873 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15874 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15875 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15876 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15877 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15879 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15880 (__slowpow): Use long double EXPL and LOGL functions to
15882 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15883 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15884 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15885 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15886 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15887 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15890 intermediate variable to calculate exponent.
15892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15896 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15897 [!NO__SQR]: Define __sqr.
15898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15899 and NO__SQR. Remove all code except __mul and __sqr. Include
15900 sysdeps/ieee754/dbl-64/mpa.c.
15901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15904 * posix/Makefile (tests): Add tst-pathconf.
15905 * posix/tst-pathconf.c: New test case.
15906 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15908 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15910 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
15912 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15914 2013-03-06 Andreas Jaeger <aj@suse.de>
15916 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15917 definition via __MAP_ANONYMOUS.
15919 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15920 it's not part of Linux headers.
15922 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15923 (MAP_HUGE_MASK): Define.
15925 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15927 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15928 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15930 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15931 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15933 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15936 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15938 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15939 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15940 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15941 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15942 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15943 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15945 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15948 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15949 Handle f2fs and efivarfs.
15951 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15954 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15955 (EFIVARFS_MAGIC): Add.
15956 (F2FS_LINK_MAX): Add.
15958 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15960 * stdio-common/vfprintf.c: Replace __builtin_expect with
15963 2013-03-06 Joseph Myers <joseph@codesourcery.com>
15966 * sysdeps/generic/bp-sym.h: Remove file.
15967 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15968 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15969 <bp-sym.h> and <bp-asm.h>.
15970 (__longjmp): Don't use BP_SYM.
15971 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15973 (memcpy): Don't use BP_SYM.
15974 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15975 <bp-sym.h> and <bp-asm.h>.
15976 (memcpy): Don't use BP_SYM.
15977 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15979 (memcpy): Don't use BP_SYM.
15980 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15982 (memset): Don't use BP_SYM.
15983 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15984 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15985 (__bzero): Don't use BP_SYM.
15986 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15987 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15988 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15989 <bp-sym.h> and <bp-asm.h>.
15990 (memcmp): Don't use BP_SYM. Remove comment about bounded
15992 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15993 <bp-sym.h> and <bp-asm.h>.
15994 (memcpy): Don't use BP_SYM.
15995 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15996 <bp-sym.h> and <bp-asm.h>.
15997 (memset): Don't use BP_SYM.
15998 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15999 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16000 (__bzero): Don't use BP_SYM.
16001 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16002 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16003 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16004 <bp-sym.h> and <bp-asm.h>.
16005 (strncmp): Don't use BP_SYM. Remove comment about bounded
16007 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16008 <bp-sym.h> and <bp-asm.h>.
16009 (memcpy): Don't use BP_SYM.
16010 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16011 <bp-sym.h> and <bp-asm.h>.
16012 (memset): Don't use BP_SYM.
16013 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16014 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16015 (__bzero): Don't use BP_SYM.
16016 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16017 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16018 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16019 <bp-sym.h> and <bp-asm.h>.
16020 (__memchr): Don't use BP_SYM.
16021 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16022 <bp-sym.h> and <bp-asm.h>.
16023 (memcmp): Don't use BP_SYM. Remove comment about bounded
16025 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16026 <bp-sym.h> and <bp-asm.h>.
16027 (memcpy): Don't use BP_SYM.
16028 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16029 <bp-sym.h> and <bp-asm.h>.
16030 (__mempcpy): Don't use BP_SYM.
16031 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16032 <bp-sym.h> and <bp-asm.h>.
16033 (__memrchr): Don't use BP_SYM.
16034 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16035 <bp-sym.h> and <bp-asm.h>.
16036 (memset): Don't use BP_SYM.
16037 (__bzero): Likewise.
16038 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16039 <bp-sym.h> and <bp-asm.h>.
16040 (__rawmemchr): Don't use BP_SYM.
16041 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16042 <bp-sym.h> and <bp-asm.h>.
16043 (__STRCMP): Don't use BP_SYM.
16044 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16045 <bp-sym.h> and <bp-asm.h>.
16046 (strchr): Don't use BP_SYM.
16047 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16048 <bp-sym.h> and <bp-asm.h>.
16049 (__strchrnul): Don't use BP_SYM.
16050 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16051 <bp-sym.h> and <bp-asm.h>.
16052 (strlen): Don't use BP_SYM.
16053 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16054 <bp-sym.h> and <bp-asm.h>.
16055 (strncmp): Don't use BP_SYM. Remove comment about bounded
16057 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16058 <bp-sym.h> and <bp-asm.h>.
16059 (__strnlen): Don't use BP_SYM.
16060 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16061 <bp-sym.h> and <bp-asm.h>.
16062 (__GI__setjmp): Don't use BP_SYM.
16063 (_setjmp): Likewise.
16064 (__sigsetjmp): Likewise.
16065 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16066 (L(start_addresses)): Don't use BP_SYM.
16067 (_start): Likewise.
16068 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16070 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16071 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16072 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16073 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16074 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16076 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16077 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16078 about bounded pointers.
16079 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16080 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16081 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16083 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16084 about bounded pointers. Remove GKM FIXME comments.
16085 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16086 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16088 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16089 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16090 Remove GKM FIXME comments.
16091 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16092 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16093 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16095 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16096 about bounded pointers. Remove GKM FIXME comment.
16097 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16099 (strncmp): Don't use BP_SYM. Remove comment about bounded
16101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16102 <bp-sym.h> and <bp-asm.h>.
16103 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16105 <bp-sym.h> and <bp-asm.h>.
16106 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16109 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16111 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16114 2013-03-05 David S. Miller <davem@davemloft.net>
16116 * po/es.po: Update from translation team.
16118 2013-03-05 Andreas Jaeger <aj@suse.de>
16120 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16121 <bits/mman-linux.h>.
16122 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16124 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16125 <bits/mman-linux.h> to end of file.
16126 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16128 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16129 <bits/mman-linux.h> to end of file.
16130 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16132 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16133 <bits/mman-linux.h> to end of file.
16135 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16136 (MCL_CURRENT, MCL_FUTURE): Define here.
16138 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16141 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16143 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16145 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16147 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16148 fourth parameter needed for rt_sigprocmask syscall.
16149 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16150 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16151 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16152 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16153 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16154 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16156 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16159 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16160 comment about bounded pointers.
16161 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16162 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16164 2013-03-04 Andreas Jaeger <aj@suse.de>
16166 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16167 common definitions.
16169 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16170 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16171 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16172 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16173 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16174 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16176 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16180 __ieee754_sqrl instead of __sqrl.
16182 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16184 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16185 * sysdeps/powerpc/fpu_control.h: ... here.
16186 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16187 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16188 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16189 * sysdeps/powerpc/bits/mathinline.h: ... here.
16191 2013-03-01 Roland McGrath <roland@hack.frob.com>
16193 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16194 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16195 to just [NEED_DL_SYSINFO_DSO].
16196 * elf/dl-support.c: Likewise.
16197 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16198 * elf/rtld.c (dl_main): Likewise.
16199 * elf/setup-vdso.h (setup_vdso): Likewise.
16200 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16201 * sysdeps/unix/sysv/linux/dl-sysdep.c
16202 (_dl_discover_osversion): Likewise.
16204 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16206 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16207 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16209 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16211 * NEWS: Mention libm performance improvements and non-x86 PI
16214 * csu/libc-start.c (__pthread_initialize_minimal): Change
16215 function arguments.
16216 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16218 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16221 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16222 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16223 <bp-sym.h> and <bp-asm.h>.
16224 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16225 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16227 (memcpy): Don't use BP_SYM.
16228 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16230 (__mpn_add_n): Don't use BP_SYM.
16231 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16232 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16234 (__mpn_addmul_1): Don't use BP_SYM.
16235 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16236 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16238 (_setjmp): Don't use BP_SYM.
16239 (__novmx_setjmp): Likewise.
16240 (__GI__setjmp): Likewise.
16241 (__vmx_setjmp): Likewise.
16242 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16244 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16245 (__bzero): Don't use BP_SYM.
16246 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16247 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16248 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16249 <bp-sym.h> and <bp-asm.h>.
16250 (memcpy): Don't use BP_SYM.
16251 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16252 <bp-sym.h> and <bp-asm.h>.
16253 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16254 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16255 <bp-sym.h> and <bp-asm.h>.
16256 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16257 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16259 (__mpn_lshift): Don't use BP_SYM.
16260 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16261 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16263 (memset): Don't use BP_SYM.
16264 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16265 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16266 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16268 (__mpn_mul_1): Don't use BP_SYM.
16269 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16270 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16271 <bp-sym.h> and <bp-asm.h>.
16272 (memcmp): Don't use BP_SYM.
16273 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16274 <bp-sym.h> and <bp-asm.h>.
16275 (memcpy): Don't use BP_SYM.
16276 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16277 <bp-sym.h> and <bp-asm.h>.
16278 (memset): Don't use BP_SYM.
16279 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16280 <bp-sym.h> and <bp-asm.h>.
16281 (strncmp): Don't use BP_SYM.
16282 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16283 <bp-sym.h> and <bp-asm.h>.
16284 (memcpy): Don't use BP_SYM.
16285 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16286 <bp-sym.h> and <bp-asm.h>.
16287 (memset): Don't use BP_SYM.
16288 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16289 <bp-sym.h> and <bp-asm.h>.
16290 (__memchr): Don't use BP_SYM.
16291 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16292 <bp-sym.h> and <bp-asm.h>.
16293 (memcmp): Don't use BP_SYM.
16294 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16295 <bp-sym.h> and <bp-asm.h>.
16296 (memcpy): Don't use BP_SYM.
16297 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16298 <bp-sym.h> and <bp-asm.h>.
16299 (__mempcpy): Don't use BP_SYM.
16300 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16301 <bp-sym.h> and <bp-asm.h>.
16302 (__memrchr): Don't use BP_SYM.
16303 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16304 <bp-sym.h> and <bp-asm.h>.
16305 (memset): Don't use BP_SYM.
16306 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16307 <bp-sym.h> and <bp-asm.h>.
16308 (__rawmemchr): Don't use BP_SYM.
16309 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16310 <bp-sym.h> and <bp-asm.h>.
16311 (__STRCMP): Don't use BP_SYM.
16312 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16313 <bp-sym.h> and <bp-asm.h>.
16314 (strchr): Don't use BP_SYM.
16315 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16316 <bp-sym.h> and <bp-asm.h>.
16317 (__strchrnul): Don't use BP_SYM.
16318 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16319 <bp-sym.h> and <bp-asm.h>.
16320 (strlen): Don't use BP_SYM.
16321 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16322 <bp-sym.h> and <bp-asm.h>.
16323 (strncmp): Don't use BP_SYM.
16324 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16325 <bp-sym.h> and <bp-asm.h>.
16326 (__strnlen): Don't use BP_SYM.
16327 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16329 (__mpn_rshift): Don't use BP_SYM.
16330 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16331 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16332 <bp-sym.h> and <bp-asm.h>.
16333 (__sigsetjmp): Don't use BP_SYM.
16334 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16335 (L(start_addresses)): Don't use BP_SYM.
16336 (_start): Likewise.
16337 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16339 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16340 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16341 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16342 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16344 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16345 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16346 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16347 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16349 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16351 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16352 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16354 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16356 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16357 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16358 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16360 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16362 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16364 (strncmp): Don't use BP_SYM,
16365 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16367 (__mpn_sub_n): Don't use BP_SYM.
16368 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16369 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16371 (__mpn_submul_1): Don't use BP_SYM.
16372 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16374 <bp-sym.h> and <bp-asm.h>.
16375 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16377 <bp-sym.h> and <bp-asm.h>.
16378 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16381 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16384 Use ZK to minimize writes to Z.
16385 (sub_magnitudes): Simplify code a bit.
16386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16387 Use ZK to minimize writes to Z.
16388 (sub_magnitudes): Simplify code a bit.
16390 2013-02-27 Roland McGrath <roland@hack.frob.com>
16392 * csu/gmon-start.c: Add special exception to license text.
16394 2013-02-27 Richard Henderson <rth@redhat.com>
16396 * scripts/config.guess: Update from config.git.
16397 * scripts/config.sub: Likewise.
16399 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16401 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16403 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16405 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16407 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16409 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16411 2013-02-26 Roland McGrath <roland@hack.frob.com>
16413 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16414 [$(build-shared = yes].
16416 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16418 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16419 (__mul): Reduce iterations for calculating mantissa.
16421 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16423 (__mpranred): Likewise.
16426 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16427 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16429 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16431 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16432 Define __attribute__.
16434 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16436 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16438 * posix/regex_internal.h (__attribute): Remove.
16439 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16440 (re_string_context_at): Likewise.
16441 (bitset_not): Use __attribute__ and mark function as possibly
16443 (bitset_merge): Likewise.
16444 (bitset_mask): Likewise.
16445 (re_string_char_size_at): Likewise.
16446 (re_string_wchar_at): Likewise.
16447 (re_string_elem_size_at): Likewise.
16449 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16451 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16455 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16459 (denorm): Likewise.
16460 (__dbl_mp): Likewise.
16461 (add_magnitudes): Likewise.
16462 (sub_magnitudes): Likewise.
16466 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16469 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16472 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16476 up changes with default code.
16477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16480 2013-02-24 Allan McRae <allan@archlinux.org>
16482 * manual/socket.texi (The Internet Namespace): Order menu items
16483 to match that in the file.
16485 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16486 node listing of the info page menu.
16488 2013-02-21 Joseph Myers <joseph@codesourcery.com>
16491 * sysdeps/i386/bp-asm.h: Remove file.
16492 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16493 (PARMS): Do not use macros from bp-asm.h.
16497 (__mpn_add_n): Do not use BP_SYM
16498 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16500 (PARMS): Do not use macros from bp-asm.h.
16503 (__mpn_addmul_1): Do not use BP_SYM
16504 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16506 (PARMS): Do not use macros from bp-asm.h.
16507 (SIGMSK): Likewise.
16508 (_setjmp): Likewise. Do not use BP_SYM.
16509 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16511 (PARMS): Do not use macros from bp-asm.h.
16512 (SIGMSK): Likewise.
16513 (setjmp): Likewise. Do not use BP_SYM.
16514 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16516 (PARMS): Do not use macros from bp-asm.h.
16517 (__frexp): Do not use BP_SYM.
16519 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16521 (PARMS): Do not use macros from bp-asm.h.
16522 (__frexpf): Do not use BP_SYM.
16523 (frexpf): Likewise.
16524 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16526 (PARMS): Do not use macros from bp-asm.h.
16527 (__frexpl): Do not use BP_SYM.
16528 (frexpl): Likewise.
16529 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16531 (PARMS): Do not use macros from bp-asm.h.
16532 (__remquo): Do not use BP_SYM.
16533 (remquo): Likewise.
16534 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16536 (PARMS): Do not use macros from bp-asm.h.
16537 (__remquof): Do not use BP_SYM.
16538 (remquof): Likewise.
16539 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16541 (PARMS): Do not use macros from bp-asm.h.
16542 (__remquol): Do not use BP_SYM.
16543 (remquol): Likewise.
16544 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16546 (PARMS): Do not use macros from bp-asm.h.
16549 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16550 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16552 (PARMS): Do not use macros from bp-asm.h.
16553 (strlen): Do not use BP_SYM.
16554 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16556 (PARMS): Do not use macros from bp-asm.h.
16560 (__mpn_add_n): Do not use BP_SYM.
16561 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16563 (PARMS): Do not use macros from bp-asm.h.
16566 (__mpn_addmul_1): Do not use BP_SYM.
16567 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16570 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16572 (PARMS): Do not use macros from bp-asm.h.
16575 (__mpn_lshift): Do not use BP_SYM.
16576 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16578 (PARMS): Do not use macros from bp-asm.h.
16582 (memcpy): Likewise. Do not use BP_SYM.
16583 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16584 libc_hidden_def and weak_alias.
16585 (mempcpy): Do not use BP_SYM in weak_alias.
16586 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16588 (PARMS): Do not use macros from bp-asm.h.
16591 [!BZERO_P] (CHR): Likewise.
16592 (memset): Likewise. Do not use BP_SYM.
16593 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16595 (PARMS): Do not use macros from bp-asm.h.
16598 (__mpn_mul_1): Do not use BP_SYM.
16599 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16601 (PARMS): Do not use macros from bp-asm.h.
16604 (__mpn_rshift): Do not use BP_SYM.
16605 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16607 (PARMS): Do not use macros from bp-asm.h.
16610 (strchr): Likewise. Do not use BP_SYM.
16611 (index): Do not use BP_SYM in weak_alias.
16612 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16614 (PARMS): Do not use macros from bp-asm.h.
16617 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16618 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16620 (PARMS): Do not use macros from bp-asm.h.
16621 (strlen): Do not use BP_SYM.
16622 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16624 (PARMS): Do not use macros from bp-asm.h.
16628 (__mpn_sub_n): Do not use BP_SYM.
16629 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16631 (PARMS): Do not use macros from bp-asm.h.
16634 (__mpn_submul_1): Do not use BP_SYM.
16635 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16637 (PARMS): Do not use macros from bp-asm.h.
16641 (__mpn_add_n): Do not use BP_SYM.
16642 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16645 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16647 (PARMS): Do not use macros from bp-asm.h.
16650 (memcmp): Do not use BP_SYM.
16651 (bcmp): Do not use BP_SYM in weak_alias.
16652 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16654 (PARMS): Do not use macros from bp-asm.h.
16658 (memcpy): Likewise. Do not use BP_SYM.
16659 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16661 (PARMS): Do not use macros from bp-asm.h.
16665 (memmove): Likewise. Do not use BP_SYM.
16666 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16668 (PARMS): Do not use macros from bp-asm.h.
16672 (__mempcpy): Likewise. Do not use BP_SYM.
16673 (mempcpy): Do not use BP_SYM in weak_alias.
16674 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16676 (PARMS): Do not use macros from bp-asm.h.
16679 [!BZERO_P] (CHR): Likewise.
16680 (memset): Likewise. Do not use BP_SYM.
16681 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16683 (PARMS): Do not use macros from bp-asm.h.
16685 (strcmp): Do not use BP_SYM.
16686 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16688 (PARMS): Do not use macros from bp-asm.h.
16691 [USE_AS_STRTOK_R] (SAVE): Likewise.
16692 (FUNCTION): Likewise. Do not use BP_SYM.
16693 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16695 (strtok_r): Likewise.
16696 (__GI___strtok_r): Likewise.
16697 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16698 (PARMS): Do not use macros from bp-asm.h.
16701 (__mpn_lshift): Do not use BP_SYM.
16702 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16703 (PARMS): Do not use macros from bp-asm.h.
16706 (__memchr): Do not use BP_SYM.
16707 (memchr): Do not use BP_SYM in weak_alias.
16708 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16709 (PARMS): Do not use macros from bp-asm.h.
16712 (memcmp): Do not use BP_SYM.
16713 (bcmp): Do not use BP_SYM in weak_alias.
16714 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16715 (PARMS): Do not use macros from bp-asm.h.
16718 (__mpn_mul_1): Do not use BP_SYM.
16719 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16721 (PARMS): Do not use macros from bp-asm.h.
16724 (__rawmemchr): Do not use BP_SYM.
16725 (rawmemchr): Do not use BP_SYM in weak_alias.
16726 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16727 (PARMS): Do not use macros from bp-asm.h.
16730 (__mpn_rshift): Do not use BP_SYM.
16731 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16732 (PARMS): Do not use macros from bp-asm.h.
16733 (SIGMSK): Likewise.
16734 (__sigsetjmp): Likewise. Do not use BP_SYM.
16735 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16736 (_start): Do not use BP_SYM.
16737 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16738 (PARMS): Do not use macros from bp-asm.h.
16741 (__stpcpy): Likewise. Do not use BP_SYM.
16742 (stpcpy): Do not use BP_SYM in weak_alias.
16743 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16745 (PARMS): Do not use macros from bp-asm.h.
16749 (__stpncpy): Likewise. Do not use BP_SYM.
16750 (stpncpy): Do not use BP_SYM in weak_alias.
16751 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16752 (PARMS): Do not use macros from bp-asm.h.
16755 (strchr): Likewise. Do not use BP_SYM.
16756 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16758 (PARMS): Do not use macros from bp-asm.h.
16761 (__strchrnul): Likewise. Do not use BP_SYM.
16762 (strchrnul): Do not use BP_SYM in weak_alias.
16763 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16765 (PARMS): Do not use macros from bp-asm.h.
16767 (strcspn): Do not use BP_SYM.
16768 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16770 (PARMS): Do not use macros from bp-asm.h.
16773 (strpbrk): Likewise. Do not use BP_SYM.
16774 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16776 (PARMS): Do not use macros from bp-asm.h.
16779 (strrchr): Likewise. Do not use BP_SYM.
16780 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16781 (PARMS): Do not use macros from bp-asm.h.
16783 (strspn): Do not use BP_SYM.
16784 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16785 (PARMS): Do not use macros from bp-asm.h.
16789 (FUNCTION): Likewise. Do not use BP_SYM.
16790 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16792 (strtok_r): Likewise.
16793 (__GI___strtok_r): Likewise.
16794 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16795 (PARMS): Do not use macros from bp-asm.h.
16799 (__mpn_sub_n): Do not use BP_SYM.
16800 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16802 (PARMS): Do not use macros from bp-asm.h.
16805 (__mpn_submul_1): Do not use BP_SYM.
16806 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16808 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16810 (PARMS): Do not use macros from bp-asm.h.
16815 (__clone): Do not use BP_SYM.
16816 (clone): Do not use BP_SYM in weak_alias.
16817 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16819 (PARMS): Do not use macros from bp-asm.h.
16821 (__mmap64): Do not use BP_SYM.
16822 (mmap64): Do not use BP_SYM in weak_alias.
16823 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16824 <bp-sym.h> and <bp-asm.h>.
16825 (PARMS): Do not use macros from bp-asm.h.
16826 (__posix_fadvise64_l64): Do not use BP_SYM.
16827 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16828 (PARMS): Do not use macros from bp-asm.h.
16830 (semtimedop): Do not use BP_SYM.
16831 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16834 2013-02-21 Allan McRae <allan@archlinux.org>
16836 * manual/message.texi (Charset conversion in gettext):
16837 Move @end statement to beginning of line.
16839 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16846 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16847 (denorm): Likewise.
16848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16851 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16853 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16854 tail-call to the resolved function if pltexit isn't needed.
16856 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16859 or Y being zero as being unlikely.
16860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16863 2013-02-20 Carlos O'Donell <carlos@redhat.com>
16865 * manual/nss.texi (System Databases and Name Service Switch):
16866 Remove frobnicate @pxref.
16868 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16870 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16871 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16873 2013-02-20 Petr Machata <pmachata@redhat.com>
16875 * elf/elf.h (R_ARM_TARGET1): New macro.
16876 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16877 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16878 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16879 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16880 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16881 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16882 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16883 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16884 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16885 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16886 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16887 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16888 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16889 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16890 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16891 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16892 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16893 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16894 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16895 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16896 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16897 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16898 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16899 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16900 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16901 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16902 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16903 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16904 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16905 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16906 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16907 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16908 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16909 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16910 (R_ARM_THM_GOT_BREL12): Likewise.
16911 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16912 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16913 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16914 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16915 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16916 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16917 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16918 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16919 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16921 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16923 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16924 __attribute_used__ to __attribute__ ((unused)).
16926 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16928 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16931 comment formatting.
16932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16934 2013-02-19 Joseph Myers <joseph@codesourcery.com>
16937 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16939 (ENTER): Remove both macro definitions.
16941 (CHECK_BOUNDS_LOW): Likewise.
16942 (CHECK_BOUNDS_HIGH): Likewise.
16943 (CHECK_BOUNDS_BOTH): Likewise.
16944 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16945 (RETURN_BOUNDED_POINTER): Likewise.
16946 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16947 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16948 (POP_ERRNO_LOCATION_RETURN): Likewise.
16949 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16950 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16951 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16953 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16954 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16955 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16956 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16957 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16958 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16959 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16960 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16961 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16962 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16963 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16964 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16965 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16966 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16968 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16969 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16971 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16972 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16973 * sysdeps/i386/i586/memset.S (memset): Likewise.
16974 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16975 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16976 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16978 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16979 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16980 Change uses of L(2) to L(out).
16981 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16982 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16983 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16984 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16985 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16987 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16988 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16990 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16991 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16992 (RETURN): Do not use macro LEAVE.
16993 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16994 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16995 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16996 * sysdeps/i386/i686/memset.S (memset): Likewise.
16997 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16998 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16999 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17000 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17002 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17003 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17004 L(1_2) and L(1_3) into L(1).
17005 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17006 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17007 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17008 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17009 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17010 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17011 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17012 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17013 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17015 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17016 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17017 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17018 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17019 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17020 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17021 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17022 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17023 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17024 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17025 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17026 * sysdeps/i386/strspn.S (strspn): Likewise.
17027 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17029 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17030 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17031 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17032 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17033 L(1_3) into L(1_1).
17034 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17035 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17036 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17038 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17040 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17042 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17045 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17047 * math/atest-exp.c (exp_mpn): Remove ROUND.
17048 * math/atest-exp2.c (exp_mpn): Likewise.
17049 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17051 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17052 * stdlib/tst-tls-atexit-lib.c: Likewise.
17053 * stdlib/tst-tls-atexit.c: Likewise.
17055 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17057 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17058 and __attribute_alloc_size__.
17060 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17062 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17063 __attribute_alloc_size__.
17064 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17065 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17067 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17069 * include/programs/xmalloc.h: New file.
17070 * catgets/gencat.c: Include it.
17071 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17072 * elf/pldd.c: Likewise.
17073 * iconv/iconv_charmap.c: Likewise.
17074 * iconv/iconvconfig.c: Likewise.
17075 * iconv/strtab.c: Likewise.
17076 * locale/programs/locale.c: Likewise.
17077 * locale/programs/localedef.h: Likewise.
17078 * locale/programs/simple-hash.c: Likewise.
17079 * nscd/nscd.h: Likewise.
17080 * nss/makedb.c: Likewise.
17081 * sysdeps/generic/ldconfig.h: Likewise.
17083 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17085 * Versions.def: Add GLIBC_2.18.
17086 * include/link.h (struct link_map): New member l_tls_dtor_count.
17087 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17088 (__call_tls_dtors): Likewise.
17089 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17090 __cxa_thread_atexit_impl.
17091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17099 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17107 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17108 (tests): Add test case tst-tls-atexit.
17109 (modules-names): Add shared library for tst-tls-atexit.
17110 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17111 (GLIBC_PRIVATE): Add __call_tls_dtors.
17112 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17114 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17115 * stdlib/tst-tls-atexit.c: New test case.
17116 * stdlib/tst-tls-atexit-lib.c: New test case.
17118 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17120 * elf/Versions (ld): Add _dl_find_dso_for_object.
17121 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17122 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17123 (dl_open_worker): Use _dl_find_dso_for_object.
17124 * elf/dl-sym.c (do_sym): Likewise.
17125 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17127 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17129 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17130 Syntactic changes only.
17131 (_dl_runtime_profile): Do a tail-call to the resolved function.
17133 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17136 * sysdeps/x86_64/bp-asm.h: Remove file.
17137 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17138 <bp-sym.h> and <bp-asm.h>.
17139 (__clone): Do not use BP_SYM.
17140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17141 <bp-sym.h> and <bp-asm.h>.
17142 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17143 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17145 (_setjmp): Do not use BP_SYM.
17146 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17148 (setjmp): Do not use BP_SYM.
17149 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17151 (mempcpy): Do not use BP_SYM in weak_alias.
17152 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17154 (strchr): Do not use BP_SYM.
17155 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17157 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17158 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17159 (_start): Do not use BP_SYM.
17160 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17162 (strcat): Do not use BP_SYM.
17163 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17165 (STRCMP): Do not use BP_SYM.
17166 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17168 (STRCPY): Do not use BP_SYM.
17169 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17171 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17173 (FUNCTION): Do not use BP_SYM.
17174 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17176 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17178 2013-02-17 Andreas Jaeger <aj@suse.de>
17180 * time/Versions: Sort entries.
17181 * string/Versions: Likewise.
17182 * resolv/Versions: Likewise.
17183 * posix/Versions: Likewise.
17184 * iconv/Versions: Likewise.
17185 * elf/Versions: Likewise.
17186 * wcsmbs/Versions: Likewise.
17188 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17190 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17191 loop termination condition.
17193 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17194 variable to calculate EZ.
17197 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17198 the lower precision input.
17200 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17203 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17204 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17205 (run-via-rtld-prefix): Do not handle %-bp tests.
17206 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17207 (all-object-suffixes): Remove .ob.
17208 (bppfx): Remove variable.
17209 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17210 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17211 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17212 [$(build-bounded) = yes] (libtype.ob): Likewise.
17213 * Makerules (elide-routines.ob): Remove variable.
17214 (do-tests-clean): Do not handle *-bp.out.
17215 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17216 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17217 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17218 (tests): Do not include $(tests-bp.out).
17219 (xtests): Do not include $(xtests-bp.out).
17220 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17221 [$(build-bounded) = yes] ($(addprefix
17222 $(objpfx),$(binaries-bounded))): Remove rule.
17223 ($(objpfx)%-bp.out): Remove rule.
17224 * config.make.in (build-bounded): Remove variable.
17225 * crypt/Makefile [$(build-bounded) = yes]
17226 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17227 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17228 append to variable.
17229 [$(build-bounded) = yes] (install-lib): Likewise.
17230 [$(build-bounded) = yes] (generated): Likewise.
17231 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17233 * intl/Makefile [$(build-bounded) = yes]
17234 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17235 * math/Makefile [$(build-bounded) = yes]
17236 ($(tests:%=$(objpfx)%-bp): Likewise.
17237 * misc/Makefile [$(build-bounded) = yes]
17238 ($(objpfx)tst-tsearch-bp): Likewise.
17239 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17240 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17242 * string/Makefile (o-objects.ob): Remove variable.
17243 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17244 (CFLAGS-.ob): Remove variable.
17245 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17246 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17247 both definitions of variable.
17248 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17249 (ASFLAGS-.ob): Remove variable.
17251 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17254 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17255 Remove __BOUNDED_POINTERS__ from condition.
17256 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17257 * string/bits/string2.h [!__NO_STRING_INLINES &&
17258 !__BOUNDED_POINTERS__]: Likewise.
17259 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17261 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17262 Remove conditional code.
17263 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17264 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17265 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17269 * csu/libc-start.c: Do not include <bp-sym.h>.
17270 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17271 * elf/dl-open.c: Do not include <bp-sym.h>.
17272 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17273 * math/fegetenv.c: Do not include <bp-sym.h>.
17274 (fegetenv): Do not use BP_SYM in versioned symbols.
17275 * nptl/sysdeps/pthread/bits/libc-lockP.h
17276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17279 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17281 (__pthread_mutex_destroy): Likewise.
17282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17283 (__pthread_mutex_lock): Likewise.
17284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17285 (__pthread_mutex_trylock): Likewise.
17286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17287 (__pthread_mutex_unlock): Likewise.
17288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17289 (__pthread_mutexattr_init): Likewise.
17290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17291 (__pthread_mutexattr_destroy): Likewise.
17292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17293 (__pthread_mutexattr_settype): Likewise.
17294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17295 (__pthread_rwlock_init): Likewise.
17296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17297 (__pthread_rwlock_destroy): Likewise.
17298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17299 (__pthread_rwlock_rdlock): Likewise.
17300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17301 (__pthread_rwlock_tryrdlock): Likewise.
17302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17303 (__pthread_rwlock_wrlock): Likewise.
17304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17305 (__pthread_rwlock_trywrlock): Likewise.
17306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17307 (__pthread_rwlock_unlock): Likewise.
17308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17309 (__pthread_key_create): Likewise.
17310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17311 (__pthread_setspecific): Likewise.
17312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17313 (__pthread_getspecific): Likewise.
17314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17317 (_pthread_cleanup_push_defer): Likewise.
17318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17319 (_pthread_cleanup_pop_restore): Likewise.
17320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17321 (pthread_setcancelstate): Likewise.
17322 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17324 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17325 (memchr): Do not use BP_SYM in weak_alias.
17326 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17327 (fegetenv): Do not use BP_SYM in versioned symbols.
17328 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17329 (fesetenv): Do not use BP_SYM in versioned symbols.
17330 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17331 (feupdateenv): Do not use BP_SYM in versioned symbols.
17332 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17333 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17334 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17335 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17336 (open64): Do not use BP_SYM in weak_alias.
17337 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17338 (fegetenv): Do not use BP_SYM in versioned symbols.
17339 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17340 (fesetenv): Do not use BP_SYM in versioned symbols.
17341 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17342 (feupdateenv): Do not use BP_SYM in versioned symbols.
17343 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17344 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17345 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17346 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17347 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17348 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17349 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17351 (__libc_start_main): Do not use BP_SYM.
17353 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17356 redundant return line.
17358 (denorm): Likewise.
17359 (dbl_mp): Likewise.
17360 (sub_magnitudes): Likewise.
17366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17368 (denorm): Likewise.
17369 (dbl_mp): Likewise.
17370 (sub_magnitudes): Likewise.
17377 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17379 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17380 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17383 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17384 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17386 of __mul for squares.
17387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17391 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17392 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17394 2013-02-13 Joseph Myers <joseph@codesourcery.com>
17397 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17399 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17400 prototype or function definition. Rename ubp_* variables and
17401 parameters. Remove argv definitions conditional on
17402 [__BOUNDED_POINTERS__].
17403 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17404 * elf/dl-runtime.c (_dl_fixup): Likewise.
17405 * include/set-hooks.h (RUN_HOOK): Likewise.
17406 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17408 * string/strcpy.c (strcpy): Do not use __unbounded.
17409 * sysdeps/generic/frame.h (struct layout): Likewise.
17410 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17411 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17412 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17413 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17414 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17415 (__backtrace): Likewise.
17416 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17418 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17419 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17420 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17422 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17423 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17424 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17425 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17426 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17427 Do not use __unbounded.
17428 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17429 Rename __unboundedrlimits parameter to rlimits in prototype.
17430 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17431 Do not use __unbounded.
17432 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17433 not use __ptrvalue.
17434 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17435 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17436 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17437 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17438 __ptrvalue or __unbounded.
17439 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17440 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17442 (__new_msgctl): Do not use __ptrvalue.
17443 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17445 (__libc_msgrcv): Do not use __ptrvalue.
17446 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17447 startup_info): Do not use __unbounded.
17448 (__libc_start_main): Likewise. Rename ubp_* variables and
17449 parameters. Remove argv definitions conditional on
17450 [__BOUNDED_POINTERS__].
17451 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17453 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17455 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17457 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17459 (__new_shmctl): Do not use __ptrvalue.
17460 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17461 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17463 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17464 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17465 (__libc_sigaction): Likewise.
17466 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17467 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17469 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17471 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
17473 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17475 * string/mempcpy.c: Implement by calling memcpy.
17477 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17484 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17485 values in the mantissa.
17487 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17488 minimize writes to Z.
17489 (sub_magnitudes): Simplify code a bit.
17491 2013-02-12 Roland McGrath <roland@hack.frob.com>
17493 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17494 from the message. The linker prefixes all warnings with that already.
17496 2013-02-12 Andreas Schwab <schwab@suse.de>
17499 * posix/regexec.c (extend_buffers): Add parameter min_len.
17500 (check_matching): Pass minimum needed length.
17501 (clean_state_log_if_needed): Likewise.
17502 (get_subexp): Likewise.
17503 * posix/Makefile (tests): Add bug-regex34.
17504 (bug-regex34-ENV): Define.
17505 * posix/bug-regex34.c: New file.
17508 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17509 elements compare against the byte sequence of it, not its name.
17510 * posix/Makefile (tests): Add bug-regex35.
17511 (bug-regex35-ENV): Define.
17512 * posix/bug-regex35.c: New file.
17514 2013-02-11 Tom de Vries <tom@codesourcery.com>
17516 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17518 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17519 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17520 (CHECK_EOL): Add undef.
17522 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
17524 * bits/stdlib-bsearch.h: New file.
17525 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17526 * stdlib/stdlib.h: Likewise.
17528 2013-02-11 Roland McGrath <roland@hack.frob.com>
17530 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17531 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17533 * manual/search.texi (Array Search Function): Add missing const in
17535 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17536 declaration to use rlim_t.
17537 (Basic Scheduling Functions): Remove erroneous const from
17538 sched_getparam prototype. Remove erroneous * from
17539 sched_get_priority_max and sched_get_priority_min prototypes.
17540 (Resource Usage): Fix summary @comment on vtimes to refer to
17541 sys/vtimes.h rather than vtimes.h.
17542 Add missing *s in vtimes prototype.
17543 (Limits on Resources): Fix ulimit prototype to return long int.
17544 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17545 prototypes to use long int rather than double.
17546 (BSD Random): Fix initstate and setstate to use char *, not void *.
17547 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17548 prototype to make second argument 'struct aiocb64 *const[]'.
17549 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17550 (Status of AIO Operations): Remove erroneous const in aio_return and
17551 aio_return64 prototypes.
17552 (Synchronizing I/O): Fix sync prototype to return void.
17553 * manual/startup.texi (Suboptions): Remove an erroneous const in
17554 getsubopt prototype.
17555 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17556 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17557 use size_t rather than int.
17558 (Scanning All Users): Likewise for getpwent_r.
17559 (Setting Groups): Add missing const to setgroups prototype.
17560 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17561 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17562 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17563 'const void *' rather than 'const char *'.
17564 (Host Address Functions): Likewise for inet_ntop.
17565 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17566 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17567 ssize_t for return value.
17568 (Sending Data): Likewise for send, sendto, sendmsg.
17569 (Socket Option Functions): Add a missing const in setsockopt prototype.
17570 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17571 use wchar_t for the argument.
17572 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17573 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17575 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17576 double/float/long double for second argument.
17577 Fix return types of significand, significandf, significandl.
17578 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17579 argument in fchmod prototype.
17580 (File Owner): Use uid_t and gid_t in fchown prototype.
17581 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17582 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17583 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17584 use 'const struct dirent **' as argument types to CMP function pointer
17586 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17587 (File Times): Fix summary magic @comment for struct utimbuf and utime
17588 to refer to utime.h, not time.h.
17589 * manual/string.texi (Argz Functions): Add missing const in
17590 argz_extract and argz_next prototypes.
17591 (Finding Tokens in a String): Likewise for basename.
17592 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17593 (Copying and Concatenation): Fix typo in wmemmove prototype.
17594 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17595 (Signal Stack): Remove erroneous const in sigstack prototype.
17596 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17598 (Simple Calendar Time): Likewise for stime.
17599 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17601 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17602 say sys/sysctl.h instead.
17603 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17604 and vsyslog prototypes.
17606 2013-02-11 Tom de Vries <tom@codesourcery.com>
17608 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17611 2013-02-11 Roland McGrath <roland@hack.frob.com>
17613 * misc/sys/mman.h: Fix typo in mremap comment.
17615 2013-02-08 Roland McGrath <roland@hack.frob.com>
17617 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17618 the '\0' terminator.
17620 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17623 * debug/segfault.c: Don't include <bp-checks.h>.
17624 * sysdeps/generic/bp-checks.h: Remove file.
17625 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17626 (__GETDENTS): Don't use CHECK_N.
17627 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17628 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17629 (__getgroups): Don't use CHECK_N.
17630 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17631 (setgroups): Don't use CHECK_N.
17632 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17633 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17634 (__libc_msgrcv): Don't use CHECK_N.
17635 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17636 (__libc_msgsnd): Don't use CHECK_N.
17637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17639 (__libc_pread): Don't use CHECK_N.
17640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17641 include <bp-checks.h>.
17642 (__libc_pread64): Don't use CHECK_N.
17643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17644 include <bp-checks.h>.
17645 (__libc_pwrite): Don't use CHECK_N.
17646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17647 include <bp-checks.h>.
17648 (__libc_pwrite64): Don't use CHECK_N.
17649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17651 (__libc_pread): Don't use CHECK_N.
17652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17653 include <bp-checks.h>.
17654 (__libc_pread64): Don't use CHECK_N.
17655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17656 include <bp-checks.h>.
17657 (__libc_pwrite): Don't use CHECK_N.
17658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17659 include <bp-checks.h>.
17660 (__libc_pwrite64): Don't use CHECK_N.
17661 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17662 (do_pread): Don't use CHECK_N.
17663 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17664 (do_pread64): Don't use CHECK_N.
17665 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17666 (do_pwrite): Don't use CHECK_N.
17667 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17668 (do_pwrite64): Don't use CHECK_N.
17669 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17670 (__libc_readv): Don't use CHECK_N.
17671 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17672 (semop): Don't use CHECK_N.
17673 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17675 (semtimedop): Don't use CHECK_N.
17676 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17677 (__libc_pread): Don't use CHECK_N.
17678 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17680 (__libc_pread64): Don't use CHECK_N.
17681 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17683 (__libc_pwrite): Don't use CHECK_N.
17684 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17686 (__libc_pwrite64): Don't use CHECK_N.
17687 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17689 (__libc_msgrcv): Don't use CHECK_N.
17690 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17691 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17692 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17693 (__libc_writev): Don't use CHECK_N.
17695 2013-02-08 Roland McGrath <roland@hack.frob.com>
17697 * string/strcpy.c: Removed unused variable.
17699 * Makeconfig (+sysdep-includes): Define with := rather than =.
17700 Use an existing include/ subdir of each sysdeps dir before it.
17702 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17704 * nscd/connection.c (register_traced_file): Comment function.
17705 [HAVE_INOTIFY] (union __inev): Define.
17706 [HAVE_INOTIFY] (inotify_check_files): New function.
17707 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17708 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17710 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17712 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17714 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17715 loaded if not already and that a failure is permanent.
17717 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17720 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17721 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17723 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17726 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17727 (CHECK_1_NULL_OK): Likewise.
17728 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17729 (__fxstat): Do not use CHECK_1.
17730 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17732 (___fxstat64): Do not use CHECK_1.
17733 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17735 (__fxstatat): Do not use CHECK_1.
17736 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17738 (__fxstatat64): Do not use CHECK_1.
17739 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17741 (__fxstat): Do not use CHECK_1.
17742 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17744 (__fxstatat): Do not use CHECK_1.
17745 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17747 (__getresgid): Do not use CHECK_1.
17748 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17750 (__getresuid): Do not use CHECK_1.
17751 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17753 (__lxstat): Do not use CHECK_1.
17754 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17756 (__old_msgctl): Do not use CHECK_1.
17757 (__new_msgctl): Likewise.
17758 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17760 (__new_setrlimit): Do not use CHECK_1.
17761 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17763 (__old_shmctl): Do not use CHECK_1.
17764 (__new_shmctl): Likewise.
17765 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17767 (__xstat): Do not use CHECK_1.
17768 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17769 (__lxstat): Do not use CHECK_1.
17770 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17772 (___lxstat64): Do not use CHECK_1.
17773 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17774 (__old_msgctl): Do not use CHECK_1.
17775 (__new_msgctl): Likewise.
17776 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17778 (__gettimeofday): Do not use CHECK_1.
17779 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17780 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17781 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17783 (__gettimeofday): Do not use CHECK_1.
17784 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17785 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17786 (__new_shmctl): Do not use CHECK_1.
17787 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17789 (do_sigtimedwait): Do not use CHECK_1.
17790 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17792 (do_sigwaitinfo): Do not use CHECK_1.
17793 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17795 (msgctl): Do not use CHECK_1.
17796 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17798 (shmctl): Do not use CHECK_1.
17799 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17800 (ustat): Do not use CHECK_1.
17801 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17803 (__fxstat): Do not use CHECK_1.
17804 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17806 (__fxstatat): Do not use CHECK_1.
17807 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17809 (__lxstat): Do not use CHECK_1.
17810 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17812 (__xstat): Do not use CHECK_1.
17813 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17814 (__xstat): Do not use CHECK_1.
17815 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17816 (___xstat64): Do not use CHECK_1.
17819 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17821 (CHECK_BOUNDS_HIGH): Likewise.
17822 * string/strcpy.c: Do not include <bp-checks.h>.
17823 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17825 2013-02-07 Roland McGrath <roland@hack.frob.com>
17827 * nscd/nscd-client.h (__nscd_drop_map_ref):
17828 Add __attribute__ ((unused)).
17829 * nis/nss-nisplus.h (niserr2nss): Likewise.
17831 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17832 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17834 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17835 Remove inline keyword.
17836 * include/rounding-mode.h (round_away): Likewise.
17837 * libio/wfileops.c (adjust_wide_data): Likewise.
17838 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17839 (__m128i_strloadu_tolower): Likewise.
17840 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17841 (__m128i_strloadu_tolower): Likewise.
17842 * time/mktime.c (ydhms_diff): Likewise.
17843 * locale/elem-hash.h (elem_hash): Likewise.
17844 * locale/setlocale.c (setdata): Likewise.
17845 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17846 (re_string_wchar_at): Likewise.
17847 (bitset_not, bitset_merge, bitset_mask): Likewise.
17848 [!(__GNUC__ > 3)] (inline): Remove macro.
17849 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17850 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17851 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17852 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17853 * string/memcmp.c (memcmp_bytes): Likewise.
17854 * locale/programs/locarchive.c (compute_hashval): Likewise.
17855 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17856 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17857 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17858 * nss/getent.c (print_rpc, print_protocols): Likewise.
17859 (print_passwd, print_group, print_aliases): Likewise.
17860 * nis/nss-nisplus.h (niserr2nss): Likewise.
17861 * nscd/connections.c (restart_p): Likewise.
17862 Change return type to bool.
17864 2013-02-05 Roland McGrath <roland@hack.frob.com>
17866 * Makeconfig (all-Depend-files): Add existing
17867 $(sorted-subdirs:=/Depend) files.
17868 (all-subdirs): Remove nss.
17869 * sysdeps/unix/inet/Subdirs: Add it here instead.
17870 * hesiod/Depend: New file.
17872 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17873 instead of calling alloca.
17875 * io/lseek.c (__lseek): Rename to __libc_lseek.
17876 Define __lseek as an alias.
17878 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17880 2013-02-04 Carlos O'Donell <carlos@redhat.com>
17882 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17883 else clause and remove check for non-standard endianness.
17885 2013-02-04 David S. Miller <davem@davemloft.net>
17887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17889 2013-02-04 Joseph Myers <joseph@codesourcery.com>
17892 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17893 (__ubp_memchr): Remove prototype.
17894 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17895 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17896 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17897 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17898 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17900 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17901 (__ubp_memchr): Likewise.
17902 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17903 (__ubp_memchr): Likewise.
17904 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17905 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17906 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17907 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17909 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17910 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17911 (__getcwd): Do not use CHECK_STRING.
17912 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17914 (__real_chown): Do not use CHECK_STRING.
17915 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17917 (fchownat): Do not use CHECK_STRING.
17918 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17920 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17922 (__lchown): Do not use CHECK_STRING.
17923 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17924 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17925 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17926 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17928 include <bp-checks.h>.
17929 (truncate64): Do not use CHECK_STRING.
17930 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17932 (__real_chown): Do not use CHECK_STRING.
17933 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17935 (__lchown): Do not use CHECK_STRING.
17936 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17938 (__chown): Do not use CHECK_STRING.
17939 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17941 (truncate64): Do not use CHECK_STRING.
17942 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17944 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17945 (__xmknod): Do not use CHECK_STRING.
17946 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17948 (__xmknodat): Do not use CHECK_STRING.
17949 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17950 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17952 2013-02-04 Andreas Schwab <schwab@suse.de>
17955 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17956 * include/netdb.h: Likewise for h_errno.
17957 * elf/tst-stackguard1.c: Include <tls.h>.
17959 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17961 * elf/link.h (struct link_map): Extend the l_addr comment.
17962 * include/link.h (struct link_map): Likewise.
17964 2013-02-01 Joseph Myers <joseph@codesourcery.com>
17967 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17968 (BOUNDED_1): Remove macro.
17969 * debug/backtrace.c: Don't include <bp-checks.h>.
17970 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17971 (__backtrace): Likewise.
17972 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17974 (__backtrace): Don't use BOUNDED_1.
17975 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17977 (__backtrace): Don't use BOUNDED_1.
17978 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17979 (__backtrace): Don't use BOUNDED_1.
17980 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17981 (shmat): Don't use BOUNDED_N.
17983 2013-01-31 Joseph Myers <joseph@codesourcery.com>
17986 * sysdeps/generic/bp-start.h: Remove file.
17987 * csu/libc-start.c: Don't include <bp-start.h>.
17988 (LIBC_START_MAIN): Set up __environ directly instead of using
17989 INIT_ARGV_and_ENVIRON.
17990 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17994 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17996 (CHECK_FCNTL): Likewise.
17997 (CHECK_N_PAGES): Likewise.
18000 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18002 (CHECK_SIGSET_NULL_OK): Likewise.
18003 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18005 (sigpending): Don't use CHECK_SIGSET.
18006 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18008 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18009 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18011 (do_sigsuspend): Don't use CHECK_SIGSET.
18012 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18014 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18015 (do_sigwait): Don't use CHECK_SIGSET.
18016 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18018 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18019 include <bp-checks.h>.
18020 (sigpending): Don't use CHECK_SIGSET.
18021 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18022 include <bp-checks.h>.
18023 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18024 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18026 (sigpending): Don't use CHECK_SIGSET.
18027 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18029 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18032 * sysdeps/generic/bp-semctl.h: Remove file.
18033 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18034 <bp-checks.h> and <bp-semctl.h>.
18035 (__old_semctl): Don't use CHECK_SEMCTL.
18036 (__new_semctl): Likewise.
18037 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18039 (__old_semctl): Don't use CHECK_SEMCTL.
18040 (__new_semctl): Likewise.
18041 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18042 <bp-checks.h> and <bp-semctl.h>.
18043 (__old_semctl): Don't use CHECK_SEMCTL.
18044 (__new_semctl): Likewise.
18045 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18046 <bp-checks.h> and <bp-semctl.h>.
18047 (semctl): Don't use CHECK_SEMCTL.
18050 * Makerules (elide-bp-thunks): Remove variable.
18051 (elide-routines.oS): Don't use $(elide-bp-thunks).
18052 (elide-routines.os): Likewise.
18053 (elide-routines.o): Likewise.
18054 (elide-routines.op): Likewise.
18055 (elide-routines.og): Likewise.
18056 (objects): Don't use $(bp-thunks).
18057 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18059 (common-generated): Do not add s-proto-bp.d.
18060 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18063 Do not generate makefile rules for bounded-pointer thunks.
18064 * sysdeps/generic/bp-thunks.h: Remove file.
18065 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18066 * sysdeps/unix/s-proto-bp.S: Likewise.
18069 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18070 parts of result separately when argument is not close to line from
18071 -i to i and one part of argument is small.
18072 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18073 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18074 * math/libm-test.inc (cacos_test): Add more tests.
18075 (casin_test): Likewise.
18076 (casinh_test): Likewise.
18077 * sysdeps/i386/fpu/libm-test-ulps: Update.
18078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18080 2013-01-31 David S. Miller <davem@davemloft.net>
18082 * po/de.po: Update from translation team.
18084 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18086 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18088 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18090 * configure.in (_AC_PROG_CC_C89): New definition.
18091 * configure: Regenerate.
18093 * configure.in (AC_PROG_CPP): New definition.
18094 * configure: Regenerate.
18096 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18098 * debug/tst-backtrace.h: New file.
18099 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18100 (ret): Remove variable.
18102 (FAIL): Remove macro.
18103 (NO_INLINE): Likewise.
18104 (fn1): Use match function instead of strstr.
18105 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18106 (ret): Remove variable.
18108 (FAIL): Remove macro.
18109 (NO_INLINE): Likewise.
18110 (fn): Use match function instead of strstr.
18111 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18112 (ret): Remove variable.
18114 (FAIL): Remove macro.
18115 (NO_INLINE): Likewise.
18116 (handle_signal): Use match function instead of strstr.
18117 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18118 (ret): Remove variable.
18120 (FAIL): Remove macro.
18121 (NO_INLINE): Likewise.
18122 (handle_signal): Use match function instead of strstr.
18124 2013-01-23 Roland McGrath <roland@hack.frob.com>
18126 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18128 2013-01-23 David S. Miller <davem@davemloft.net>
18130 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18131 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18132 argument of CAS if possible.
18133 * sysdeps/sparc/sparc64/bits/atomic.h
18134 (__arch_compare_and_exchange_val_32_acq): Likewise.
18135 (__arch_compare_and_exchange_val_64_acq): Likewise.
18137 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18139 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18140 * sysdeps/posix/ulimit.c: ... this.
18141 Include <limits.h>.
18142 * sysdeps/unix/bsd/ulimit.c: Remove file.
18144 2013-01-23 Adam Conrad <adconrad@0c3.net>
18146 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18147 (LDFLAGS-tst-array5): Likewise.
18149 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18152 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18153 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18154 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18155 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18157 2013-01-21 David S. Miller <davem@davemloft.net>
18159 * sysdeps/sparc/backtrace.c: New file.
18160 * sysdeps/sparc/sparc32/backtrace.h: New file.
18161 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18162 * sysdeps/sparc/sparc64/backtrace.h: New file.
18163 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18164 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18167 2013-01-21 Andreas Schwab <schwab@suse.de>
18170 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18173 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18179 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18180 Mark Mitchell <mark@codesourcery.com>
18181 Tom de Vries <tom@codesourcery.com>
18182 Paul Pluzhnikov <ppluzhnikov@google.com>
18184 * debug/tst-backtrace2.c: New file.
18185 * debug/tst-backtrace3.c: Likewise.
18186 * debug/tst-backtrace4.c: Likewise.
18187 * debug/tst-backtrace5.c: Likewise.
18188 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18189 (CFLAGS-tst-backtrace3.c): Likewise.
18190 (CFLAGS-tst-backtrace4.c): Likewise.
18191 (CFLAGS-tst-backtrace5.c): Likewise.
18192 (LDFLAGS-tst-backtrace2): Likewise.
18193 (LDFLAGS-tst-backtrace3): Likewise.
18194 (LDFLAGS-tst-backtrace4): Likewise.
18195 (LDFLAGS-tst-backtrace5): Likewise.
18196 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18197 tst-backtrace4 and tst-backtrace5.
18199 2013-01-18 Anton Blanchard <anton@samba.org>
18200 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18202 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18203 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18204 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18205 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18207 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18208 "+r" and remove output regs list as redundant. Add explicit inline
18209 asm to specify register of return val to work around compiler codegen
18210 bug. Remove (int) cast on return value. Add return type parameter to
18211 use in macro so that this macro does not truncate return value for
18213 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18214 pass to INTERNAL_VSYSCALL_NCS.
18215 (INLINE_VSYSCALL): Add 'long int' as return type to
18216 INTERNAL_VSYSCALL_NCS macro invocation.
18217 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18218 INTERNAL_VSYSCALL_NCS macro invocation.
18219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18221 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18224 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18225 Fix application of SIMD FP exception mask.
18227 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18228 mp_no from a power of two.
18229 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18230 __mpexp_twomm1. Use __pow_mp.
18232 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18235 2013-01-17 David S. Miller <davem@davemloft.net>
18237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18239 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18242 * include/complex.h: Condition contents on [!_COMPLEX_H].
18243 (__kernel_casinhf): New prototype.
18244 (__kernel_casinh): Likewise.
18245 (__kernel_casinhl): Likewise.
18246 * math/Makefile (libm_calls): Add k_casinh.
18247 * math/k_casinh.c: New file.
18248 * math/k_casinhf.c: Likewise.
18249 * math/k_casinhl.c: Likewise.
18250 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18251 finite nonzero arguments.
18252 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18253 finite nonzero arguments.
18254 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18255 finite nonzero arguments.
18256 * math/s_casinh.c: Do not include <float.h>.
18257 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18258 * math/s_casinhf.c: Do not include <float.h>.
18259 (__casinhf): Move code for finite nonzero arguments to
18261 * math/s_casinhl.c: Do not include <float.h>.
18262 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18264 (__casinhl): Move code for finite nonzero arguments to
18266 * math/libm-test.inc (cacos_test): Add more tests.
18267 * sysdeps/i386/fpu/libm-test-ulps: Update.
18268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18270 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18272 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18273 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18274 [!HAVE_MREMAP]: Remove [defined linux] case.
18275 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18277 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18279 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18281 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18283 * elf/elf.h (R_386_SIZE32): New relocation.
18284 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18286 (elf_machine_rela): Likewise.
18287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18288 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18290 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18292 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18293 (FP_FAST_FMA): Do not define.
18294 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18295 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18296 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18297 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18298 !_SOFT_FLOAT]: Likewise.
18299 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18300 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18302 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18303 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18304 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18305 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18306 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18307 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18310 2013-01-16 Andreas Schwab <schwab@suse.de>
18313 * include/stdlib.h (__mktemp): Add declaration.
18314 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18315 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18317 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18319 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18321 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18322 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18323 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18325 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18326 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18328 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18330 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18331 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18332 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18334 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18335 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18337 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18339 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18341 2013-01-15 David S. Miller <davem@davemloft.net>
18343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18344 trunc{,f} to libm-sysdep_routes.
18345 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18355 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18356 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18357 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18358 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18359 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18360 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18363 nearbyint{,f} to libm-sysdep_routes.
18364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18375 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18377 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18378 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18380 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18381 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18382 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18384 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18385 libc_feholdexcept and libc_fesetenv.
18387 2013-01-15 Mike Frysinger <vapier@gentoo.org>
18389 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18391 2013-01-14 David S. Miller <davem@davemloft.net>
18393 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18394 (SPARC_ASM_VIS2_IFUNC): Likewise.
18395 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18397 use of 'siam' instruction.
18398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18431 routines to libm-sysdep_routines.
18432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18435 fdim/fdimf to libm-sysdep_routines.
18436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18444 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18445 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18446 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18447 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18449 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18451 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18452 to optimize copies.
18454 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18459 local variable MPTWO.
18460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18463 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18465 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18468 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18470 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18472 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18474 * manual/pattern.texi (glob_t): Document gl_flags.
18475 (glob64_t): Likewise.
18477 2013-01-11 David S. Miller <davem@davemloft.net>
18479 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18480 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18481 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
18482 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18483 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18484 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18485 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18486 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18487 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18488 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18489 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18490 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18491 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18493 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18494 sparc V9 rather than using V8 code.
18495 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18496 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18498 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18500 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18503 2013-01-11 Roland McGrath <roland@hack.frob.com>
18505 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18506 not in the main loop.
18507 * configure: Regenerated.
18509 2013-01-11 Joseph Myers <joseph@codesourcery.com>
18511 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18512 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18514 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18515 [!__GLIBC_HAVE_LONG_LONG] case.
18516 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18517 condition to just #else.
18518 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18519 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18520 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18521 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18523 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18524 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18525 #elif condition to just #else.
18526 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18527 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18528 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18529 #elif condition to just #else.
18531 2013-01-11 Steve Ellcey <sellcey@mips.com>
18533 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18534 (EF_MIPS_ARCH_64): Fix value.
18535 (EF_MIPS_ARCH_32R2): New.
18536 (EF_MIPS_ARCH_64R2): New.
18538 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18540 * Makeconfig (+link-pie-before-libc): New.
18541 (+link-pie-after-libc): Likewise.
18542 (+link-pie-tests): Likewise.
18543 (+link-pie): Rewritten.
18544 (link-before-libc): Remove $(config-LDFLAGS).
18545 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18546 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18547 (config-LDFLAGS): Renamed to ...
18548 (rtld-LDFLAGS): This.
18549 (rtld-tests-LDFLAGS): New macro.
18550 (link-libc-rpath-link): Likewise.
18551 (link-libc-tests-rpath-link): Likewise.
18552 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18553 (link-libc): Prepand $(link-libc-rpath-link).
18554 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18555 (test-program-prefix): New macro.
18556 (test-via-rtld-prefix): Likewise.
18557 (test-program-cmd): Likewise.
18558 (host-test-program-cmd): Likewise.
18559 * Makefile ($(common-objpfx)testrun.sh): Replace
18560 $(run-program-prefix) with $(test-program-prefix).
18561 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18563 ($(common-objpfx)shlib.lds): Likewise.
18564 (build-module-helper): Likewise.
18565 ($(common-objpfx)format.lds): Likewise.
18566 * Rules (binaries-pie-tests): New.
18567 (binaries-pie-notests): Likewise.
18568 (binaries-pie): Rewritten.
18569 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18570 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18571 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18572 (make-test-out): Replace $(host-built-program-cmd) with
18573 $(host-test-program-cmd).
18574 * config.make.in (build-hardcoded-path-in-tests): New variable.
18575 * configure.in (--enable-hardcoded-path-in-tests): New configure
18577 (hardcoded_path_in_tests): New AC_SUBST.
18578 * configure: Regenerated.
18579 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18580 $(built-program-cmd) with $(test-program-cmd).
18581 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18582 (test_program_cmd): This.
18583 * elf/Makefile ($(objpfx)order.out): Run test with
18584 $(test-program-prefix).
18585 ($(objpfx)order2.out): Likewise.
18586 ($(objpfx)tst-initorder.out): Likewise.
18587 ($(objpfx)tst-initorder2.out): Likewise.
18588 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18589 $(test-program-cmd).
18590 ($(objpfx)tst-array1-static.out): Likewise.
18591 ($(objpfx)tst-array2.out): Likewise.
18592 ($(objpfx)tst-array3.out): Likewise.
18593 ($(objpfx)tst-array4.out): Likewise.
18594 ($(objpfx)tst-array5.out): Likewise.
18595 ($(objpfx)tst-array5-static.out): Likewise.
18596 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18597 $(test-program-cmd).
18598 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18599 $(run-program-prefix) with $(test-program-prefix).
18600 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18601 (test_program_prefix): This.
18602 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18603 $(run-program-prefix) with $(test-program-prefix).
18604 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18605 (test_program_prefix): This.
18606 * iconvdata/tst-tables.sh: Likewise.
18607 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18608 $(run-program-prefix) with $(test-program-prefix).
18609 ($(objpfx)tst-translit.out): Likewise.
18610 ($(objpfx)tst-gettext2.out): Likewise.
18611 ($(objpfx)tst-gettext4.out): Likewise.
18612 ($(objpfx)tst-gettext6.out): Likewise.
18613 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18614 (test_program_prefix): This.
18615 * intl/tst-gettext2.sh: Likewise.
18616 * intl/tst-gettext4.sh Likewise.
18617 * intl/tst-gettext6.sh: Likewise.
18618 * intl/tst-translit.sh: Likewise.
18619 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18620 with $(test-program-cmd).
18621 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18622 $(run-program-prefix) with $(test-program-prefix).
18623 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18624 (test_program_prefix): This.
18625 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18626 $(run-program-prefix) with $(test-program-prefix).
18627 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18628 (test_program_prefix): This.
18629 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18630 * posix/Makefile ($(objpfx)globtest.out): Replace
18631 $(run-via-rtld-prefix) and $(test-wrapper) with
18632 $(test-program-prefix) and $(test-via-rtld-prefix).
18633 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18634 $(test-program-prefix).
18635 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18636 $(host-test-program-cmd).
18637 (tst-spawn-ARGS): Likewise.
18638 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18639 $(test-program-prefix).
18640 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18641 (test_via_rtld_prefix): This.
18642 (test_wrapper): Renamed to ...
18643 (test_program_prefix): This.
18644 (run_program_prefix): Replaced by test_program_prefix.
18645 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18646 (test_program_prefix): This.
18647 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18648 with $(host-test-program-cmd).
18649 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18650 $(run-program-prefix) with $(test-program-prefix).
18651 ($(objpfx)tst-printf.out): Likewise.
18652 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18653 $(test-program-cmd).
18654 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18655 (test_program_prefix): This.
18656 * stdio-common/tst-unbputc.sh: Likewise.
18657 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18658 $(run-program-prefix) with $(test-program-prefix).
18659 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18660 (test_program_prefix): This.
18661 * string/Makefile ($(objpfx)tst-svc.out): Replace
18662 $(built-program-cmd) with $(test-program-cmd).
18664 2013-01-11 Andreas Jaeger <aj@suse.de>
18667 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18668 value. Sync with Linux 3.7.
18670 2013-01-10 David S. Miller <davem@davemloft.net>
18672 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18673 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18674 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18676 2013-01-10 Roland McGrath <roland@hack.frob.com>
18678 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18680 * configure: Regenerated.
18682 2013-01-10 David S. Miller <davem@davemloft.net>
18684 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18685 sparc V9 rather than using V8 code.
18686 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18687 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18689 2013-01-10 Roland McGrath <roland@hack.frob.com>
18691 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18692 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18693 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18694 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18695 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18696 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18697 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18698 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18699 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18700 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18701 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18702 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18703 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18704 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18705 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18706 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18707 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18708 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18709 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18710 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18711 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18712 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18713 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18714 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18715 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18716 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18717 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18719 2013-01-10 David S. Miller <davem@davemloft.net>
18721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18723 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18725 * posix/Makefile (tests-static): New variable.
18726 (tests): Add $(tests-static).
18727 (tst-exec-static-ARGS): New variable.
18728 (tst-spawn-static-ARGS): Likewise.
18729 * posix/tst-exec-static.c: New file.
18730 * posix/tst-spawn-static.c: Likewise.
18731 * posix/tst-exec.c: Support run directly.
18732 * posix/tst-spawn.c: Likewise.
18734 2013-01-10 Joseph Myers <joseph@codesourcery.com>
18736 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18738 * math/bits/mathcalls.h (llrint): Likewise.
18739 (llround): Likewise.
18740 * stdlib/stdlib.h (struct drand48_data): Likewise.
18741 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18742 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18743 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18745 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18747 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18748 (elf_greg_t): Likewise.
18749 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18750 (__jmp_buf): Likewise.
18751 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18753 (llrint): Likewise, for all definitions.
18754 (llrintl): Likewise.
18756 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18757 Remove [__GNUC__] condition.
18758 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18759 condition to just [__USE_ISOC99].
18760 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18762 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18765 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18766 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18768 (_POSIX_V6_ILP32_OFF32): Likewise.
18769 (_XBS5_ILP32_OFF32): Likewise.
18770 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18771 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18773 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18775 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18777 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18778 doubles __mpexp_twomm1. Adjust usage.
18779 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18782 2013-01-10 Andreas Schwab <schwab@suse.de>
18785 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18786 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18788 2013-01-09 David S. Miller <davem@davemloft.net>
18791 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18792 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18793 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18794 TCP_FASTOPEN): Define.
18795 (tcp_repair_opt): New structure.
18796 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18798 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18799 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18800 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18801 (tcp_cookie_transactions): New structure.
18803 2013-01-09 Anton Blanchard <anton@samba.org>
18805 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18806 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18807 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18808 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18810 2013-01-09 Joseph Myers <joseph@codesourcery.com>
18812 * include/features.h (__USE_ANSI): Remove.
18814 2013-01-09 Roland McGrath <roland@hack.frob.com>
18816 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18818 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18820 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18822 * sysdeps/s390/fpu/libm-test-ulps: Update.
18824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18826 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18830 (denorm): Likewise.
18831 (__mp_dbl): Likewise.
18832 (__dbl_mp): Likewise.
18833 (add_magnitudes): Likewise.
18834 (sub_magnitudes): Likewise.
18840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18844 (denorm): Likewise.
18845 (__mp_dbl): Likewise.
18846 (__dbl_mp): Likewise.
18847 (add_magnitudes): Likewise.
18848 (sub_magnitudes): Likewise.
18854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18858 (denorm): Likewise.
18859 (__mp_dbl): Likewise.
18860 (__dbl_mp): Likewise.
18861 (add_magnitudes): Likewise.
18862 (sub_magnitudes): Likewise.
18869 2013-01-08 Joseph Myers <joseph@codesourcery.com>
18871 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18872 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18873 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18874 2 && __USE_EXTERN_INLINES]: Likewise.
18876 2013-01-08 Andreas Jaeger <aj@suse.de>
18879 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18881 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18882 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18884 2013-01-07 Anton Blanchard <anton@samba.org>
18886 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18887 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18888 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18889 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18890 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18891 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18892 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18893 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18895 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18896 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18897 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18898 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18899 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18900 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18901 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18903 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18904 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18905 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18906 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18907 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18909 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18910 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18911 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18912 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18913 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18914 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18915 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18916 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18918 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18919 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18920 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18921 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18922 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18923 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18924 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18925 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18926 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18928 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18930 2013-01-07 Joseph Myers <joseph@codesourcery.com>
18932 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18933 (__MALLOC_PMT): Likewise.
18934 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18935 [__GNUC__], only on [_LIBC].
18936 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18937 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18938 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18939 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18940 forward declaration.
18941 (realloc_hook_ini): Likewise.
18942 (memalign_hook_ini): Likewise.
18943 (__libc_memalign): Do not use __MALLOC_PMT in variable
18945 (__libc_valloc): Likewise.
18946 (__libc_pvalloc): Likewise.
18947 (__libc_calloc): Likewise.
18948 (__posix_memalign): Likewise.
18951 * math/s_casinh.c: Include <float.h>.
18952 (__casinh): Do not do computation with squaring and square root
18953 for large arguments.
18954 * math/s_casinhf.c: Include <float.h>.
18955 (__casinhf): Do not do computation with squaring and square root
18956 for large arguments.
18957 * math/s_casinhl.c: Include <float.h>.
18958 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18959 (__casinhl): Do not do computation with squaring and square root
18960 for large arguments.
18961 * math/libm-test.inc (casin_test): Add more tests.
18962 (casinh_test): Likewise.
18963 * sysdeps/i386/fpu/libm-test-ulps: Update.
18964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18966 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18968 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18969 (__x86_64_raw_data_cache_size): Likewise.
18970 (__x86_64_data_cache_size_half): Likewise.
18971 (__x86_64_raw_data_cache_size_half): Likewise.
18972 (__x86_64_shared_cache_size): Likewise.
18973 (__x86_64_raw_shared_cache_size): Likewise.
18974 (__x86_64_shared_cache_size_half): Likewise.
18975 (__x86_64_raw_shared_cache_size_half): Likewise.
18976 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18978 (__x86_data_cache_size): This.
18979 (__x86_64_raw_data_cache_size): Renamed to ...
18980 (__x86_raw_data_cache_size): This.
18981 (__x86_64_data_cache_size_half): Renamed to ...
18982 (__x86_data_cache_size_half): This.
18983 (__x86_64_raw_data_cache_size_half): Renamed to ...
18984 (__x86_raw_data_cache_size_half): This.
18985 (__x86_64_shared_cache_size): Renamed to ...
18986 (__x86_shared_cache_size): This.
18987 (__x86_64_raw_shared_cache_size): Renamed to ...
18988 (__x86_raw_shared_cache_size): This.
18989 (__x86_64_shared_cache_size_half): Renamed to ...
18990 (__x86_shared_cache_size_half): This.
18991 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18992 (__x86_raw_shared_cache_size_half): This.
18993 * sysdeps/x86_64/memcpy.S: Updated.
18994 * sysdeps/x86_64/memset.S: Likewise.
18995 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18996 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18997 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18999 2013-01-04 David S. Miller <davem@davemloft.net>
19001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19003 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19005 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19006 1 to avoid redefinition warning.
19007 (__USE_GNU): Don't define.
19008 (init_signaling_nan): Protoize.
19010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19012 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19014 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19016 (__cpymn): Likewise.
19017 (norm): Remove commented code.
19018 (denorm): Likewise.
19019 (__mp_dbl): Likewise.
19021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19022 (__cpymn): Likewise.
19023 (norm): Remove commented code.
19024 (denorm): Likewise.
19025 (__mp_dbl): Likewise.
19028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19029 mp_no value for 1.0 and 2.0.
19030 (norm): Use RADIXI instead of radixi.d.
19031 (denorm): Likewise.
19032 (__mul): Use 0.0 instead of zero.d.
19033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19034 mp_no value for 1.0 and 2.0.
19035 (norm): Use RADIXI instead of radixi.d.
19036 (denorm): Likewise.
19037 (__mul): Use 0.0 instead of zero.d.
19039 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19042 * math/s_casinh.c (__casinh): Reduce finite argument to first
19043 quadrant then set signs of results at the end.
19044 * math/s_casinhf.c (__casinhf): Likewise.
19045 * math/s_casinhl.c (__casinhl): Likewise.
19046 * math/libm-test.inc (casin_test): Add more tests.
19047 (casinh_test): Likewise.
19048 * sysdeps/i386/fpu/libm-test-ulps: Update.
19049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19051 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19053 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19055 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19057 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19059 (denorm): Likewise.
19060 (__mp_dbl): Likewise.
19063 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19064 and adjust the header comment.
19066 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19067 variable name from declaration.
19069 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19072 Initialize COMMON_CPUID_INDEX_7 element.
19073 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19074 (CPUID_RTM): Likewise.
19075 (HAS_RTM): Likewise.
19076 (COMMON_CPUID_INDEX_7): New enum.
19078 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19081 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19082 size is zero, record memory as freed.
19084 2013-01-03 Andreas Jaeger <aj@suse.de>
19086 * po/ia.po: Add new Interlingua translation.
19088 2012-01-03 Allan McRae <allan@archlinux.org>
19090 * locale/programs/localedef.c: Fix description of '--posix' flag.
19092 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19094 * NEWS: Update dates in second copyright notice.
19095 * README: Update copyright dates in example.
19096 * manual/libc.texinfo: Update copyright dates.
19097 * scripts/test-installation.pl: Update copyright date in --version
19100 * hurd/ctty-input.c: Fix copyright notice formatting.
19101 * hurd/ctty-output.c: Likewise.
19102 * hurd/dtable.c: Likewise.
19103 * hurd/hurd-raise.c: Likewise.
19104 * hurd/hurdprio.c: Likewise.
19105 * hurd/msgportdemux.c: Likewise.
19106 * misc/sys/file.h: Likewise.
19107 * misc/sys/ioctl.h: Likewise.
19108 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19109 * sysdeps/mach/hurd/chdir.c: Likewise.
19110 * sysdeps/mach/hurd/fchdir.c: Likewise.
19111 * sysdeps/mach/hurd/rename.c: Likewise.
19112 * sysdeps/mach/hurd/rmdir.c: Likewise.
19113 * sysdeps/mach/hurd/seekdir.c: Likewise.
19114 * sysdeps/mach/hurd/setsid.c: Likewise.
19115 * sysdeps/posix/wait3.c: Likewise.
19117 * All files with FSF copyright notices: Update copyright dates
19118 using scripts/update-copyrights.
19119 * intl/plural.c: Regenerated.
19120 * locale/programs/charmap-kw.h: Likewise.
19121 * locale/programs/locfile-kw.h: Likewise.
19123 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19125 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19128 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19129 calculation loop and add branch prediction.
19131 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19132 check access beyond bounds of m1np.
19134 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19136 (__inv): Remove local variable MPTWO to use the global
19138 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19139 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19141 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19142 MP3HALFS static const.
19144 2013-01-01 David S. Miller <davem@davemloft.net>
19146 * po/ca.po: Update from translation team.
19148 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19150 * scripts/update-copyrights: New file.
19151 * Makeconfig: Reformat copyright notice.
19152 * ctype/ctype.h: Likewise.
19153 * debug/swprintf_chk.c: Likewise.
19154 * elf/dl-cache.c: Likewise.
19155 * elf/dl-debug.c: Likewise.
19156 * elf/dl-object.c: Likewise.
19157 * grp/initgroups.c: Likewise.
19158 * hurd/Makefile: Likewise.
19159 * hurd/hurd/signal.h: Likewise.
19160 * hurd/hurdfault.c: Likewise.
19161 * hurd/hurdioctl.c: Likewise.
19162 * hurd/hurdlookup.c: Likewise.
19163 * hurd/intr-msg.c: Likewise.
19164 * iconv/gconv_open.c: Likewise.
19165 * libio/swprintf.c: Likewise.
19166 * locale/lc-ctype.c: Likewise.
19167 * locale/nl_langinfo.c: Likewise.
19168 * mach/Machrules: Likewise.
19169 * mach/Makefile: Likewise.
19170 * malloc/obstack.h: Likewise.
19171 * manual/Makefile: Likewise.
19172 * manual/tsort.awk: Likewise.
19173 * misc/bits/stab.def: Likewise.
19174 * nis/nis_print_group_entry.c: Likewise.
19175 * nis/nis_table.c: Likewise.
19176 * nis/nss_compat/compat-pwd.c: Likewise.
19177 * nis/nss_compat/compat-spwd.c: Likewise.
19178 * po/Makefile: Likewise.
19179 * posix/fnmatch.c: Likewise.
19180 * posix/regex.h: Likewise.
19181 * resolv/Makefile: Likewise.
19182 * resolv/nss_dns/dns-network.c: Likewise.
19183 * resolv/res_hconf.c: Likewise.
19184 * scripts/gen-sorted.awk: Likewise.
19185 * soft-fp/soft-fp.h: Likewise.
19186 * stdio-common/printf.h: Likewise.
19187 * stdlib/monetary.h: Likewise.
19188 * stdlib/random.c: Likewise.
19189 * stdlib/random_r.c: Likewise.
19190 * sysdeps/generic/Makefile: Likewise.
19191 * sysdeps/gnu/Makefile: Likewise.
19192 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19199 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19202 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19204 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19206 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19208 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19209 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19210 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19211 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19212 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19213 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19214 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19215 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19216 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19217 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19218 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19219 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19220 * sysdeps/mach/hurd/errnos.awk: Likewise.
19221 * sysdeps/mach/hurd/fork.c: Likewise.
19222 * sysdeps/mach/hurd/getcwd.c: Likewise.
19223 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19224 * sysdeps/mach/hurd/mmap.c: Likewise.
19225 * sysdeps/mach/hurd/utimes.c: Likewise.
19226 * sysdeps/mach/hurd/xmknod.c: Likewise.
19227 * sysdeps/posix/profil.c: Likewise.
19228 * sysdeps/posix/readdir_r.c: Likewise.
19229 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19230 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19231 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19232 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19234 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19235 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19236 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19238 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19239 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19240 * sysdeps/pthread/lio_listio.c: Likewise.
19241 * sysdeps/sparc/dl-procinfo.h: Likewise.
19242 * sysdeps/unix/i386/sysdep.S: Likewise.
19243 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19244 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19245 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19246 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19248 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19249 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19250 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19251 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19252 * sysdeps/wordsize-32/divdi3.c: Likewise.
19253 * time/sys/time.h: Likewise.
19254 * wcsmbs/Makefile: Likewise.
19256 2013-01-01 David S. Miller <davem@davemloft.net>
19258 * po/fr.po: Update from translation team.
19260 * catgets/gencat.c: Update copyright year.
19261 * csu/version.c: Likewise.
19262 * debug/catchsegv.sh: Likewise.
19263 * debug/pcprofiledump.c: Likewise.
19264 * debug/xtrace.sh: Likewise.
19265 * elf/ldconfig.c: Likewise.
19266 * elf/ldd.bash.in: Likewise.
19267 * elf/pldd.c: Likewise.
19268 * elf/sotruss.ksh: Likewise.
19269 * elf/sprof.c: Likewise.
19270 * iconv/iconv_prog.c: Likewise.
19271 * iconv/iconvconfig.c: Likewise.
19272 * locale/programs/locale.c: Likewise.
19273 * locale/programs/localedef.c: Likewise.
19274 * login/programs/pt_chown.c: Likewise.
19275 * malloc/memusage.sh: Likewise.
19276 * malloc/memusagestat.c: Likewise.
19277 * malloc/mtrace.pl: Likewise.
19278 * nscd/nscd.c: Likewise.
19279 * nss/getent.c: Likewise.
19280 * nss/makedb.c: Likewise.
19281 * posix/getconf.c: Likewise.
19283 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19285 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19288 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19290 * math/bits/mathcalls.h (modf): Use __nonnull.
19292 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19294 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19295 (split): Use macro CN instead of the bare value.
19296 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19298 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19299 instead of the bare value.
19300 (power1): Likewise.
19302 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19304 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19306 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19308 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19310 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19311 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19312 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19313 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19315 2012-12-28 Andreas Jaeger <aj@suse.de>
19317 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19318 values are from Linux 3.7.
19320 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19321 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19323 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19325 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19328 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19330 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19331 variables with preprocessor constants.
19332 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19333 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19334 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19336 2012-12-27 Bruno Haible <bruno@clisp.org>
19339 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19342 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19345 and use variable directly.
19346 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19348 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19350 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19351 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19353 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19355 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19356 include directive. Remove local variable MPONE.
19357 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19358 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19359 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19361 2012-12-25 David S. Miller <davem@davemloft.net>
19363 * version.h (RELEASE): Set to "development".
19364 (VERSION): Set to "2.17.90".
19365 * NEWS: Add 2.18 section.
19367 2012-12-21 David S. Miller <davem@davemloft.net>
19369 * po/hr.po: Update from translation team.
19371 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19373 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19375 2012-12-19 Steve Ellcey <sellcey@mips.com>
19377 * NEWS: Mention new memcpy for MIPS.
19379 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19381 * manual/contrib.texi (Contributors): Spelling correction.
19383 2012-12-15 David S. Miller <davem@davemloft.net>
19385 * po/ru.po: Update from translation team.
19387 2012-12-13 David S. Miller <davem@davemloft.net>
19389 * NEWS: Mention IFUNC testsuite enhancements.
19391 * po/pl.po: Update from translation team.
19392 * po/bg.po: Likewise.
19394 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19395 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19397 2012-12-11 David S. Miller <davem@davemloft.net>
19399 * po/sv.po: Update from translation team.
19401 * po/vi.po: Update from translation team.
19403 * po/cs.po: Update from translation team.
19405 * po/de.po: Update from translation team.
19406 * po/eo.po: Likewise.
19407 * po/nl.po: Likewise.
19409 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19412 * manual/argp.texi (Argp Helper Functions): Move node to follow
19413 Argp Parsing State.
19416 * manual/conf.texi (Limits on File System Capacity): Mention if
19417 terminating null is included in the max size.
19419 2012-12-10 Andreas Jaeger <aj@suse.de>
19421 * po/cs.po: Update from translation team.
19423 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19425 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19426 void pointer and cast to uintptr_t.
19427 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19429 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19430 * sysdeps/s390/s390-64/memset.S: Likewise.
19432 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
19435 * menual/message.texi (Message Translation): Fix typos.
19436 (Helper programs for gettext): Likewise.
19438 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19441 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19444 2012-12-07 David S. Miller <davem@davemloft.net>
19446 * po/libc.pot: Update.
19448 2012-12-07 Richard Henderson <rth@redhat.com>
19451 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19452 normal/normal case to before the switch.
19453 (_FP_DIV): Likewise.
19455 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19456 Mike Frysinger <vapier@gentoo.org>
19458 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19459 check for __NR_fadvise64_64.
19461 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19463 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19464 0, not just to plain "0" as a statement.
19465 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19468 2012-12-06 Joseph Myers <joseph@codesourcery.com>
19470 * NEWS: Use sourceware.org in Bugzilla URL.
19472 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19475 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19477 * stdio-common/tst-put-error.c (do_test): Add newline to the
19478 padded test to ensure flush.
19480 2012-12-05 Jeff Law <law@redhat.com>
19482 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19484 2012-12-05 Joseph Myers <joseph@codesourcery.com>
19486 * README: Don't refer to ports add-on as distributed separately.
19487 Mention AArch64 in list of systems supported in the ports add-on.
19489 * LICENSES: Add more non-FSF copyright and license notices.
19491 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19494 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19496 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19497 10000 as width of padded output.
19499 2012-12-04 Joseph Myers <joseph@codesourcery.com>
19501 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19503 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19504 variable LX with __attribute__ ((unused)).
19505 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19507 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19508 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19509 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19510 with __attribute__ ((unused)).
19512 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
19514 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19516 2012-12-04 Joseph Myers <joseph@codesourcery.com>
19518 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19519 (CFLAGS-nldbl-acos.c): New variable.
19520 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19521 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19522 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19523 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19524 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19525 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19526 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19527 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19528 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19529 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19530 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19531 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19532 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19533 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19534 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19535 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19536 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19537 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19538 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19539 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19540 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19541 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19542 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19543 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19544 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19545 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19546 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19547 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19548 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19549 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19550 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19551 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19552 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19553 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19554 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19555 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19556 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19557 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19558 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19559 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19560 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19561 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19562 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19563 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19564 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19565 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19566 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19567 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19568 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19569 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19570 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19571 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19572 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19573 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19574 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19575 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19576 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19577 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19578 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19579 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19580 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19581 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19582 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19583 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19584 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19585 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19586 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19587 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19588 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19589 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19590 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19591 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19592 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19593 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19594 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19595 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19596 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19597 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19598 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19599 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19600 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19601 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19602 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19603 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19604 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19605 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19606 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19607 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19608 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19609 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19610 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19611 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19612 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19613 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19614 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19615 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19616 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19619 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19623 whole low double instead of just low 47 bits when splitting values
19626 2012-12-03 Allan McRae <allan@archlinux.org>
19628 * manual/stdio.texi (Predefined Printf Handlers): Remove
19629 @hsep and @vsep usage.
19631 2012-12-03 Mike Frysinger <vapier@gentoo.org>
19633 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19634 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19636 2012-12-03 Jeff Law <law@redhat.com>
19638 * time/sys/time.h (settimeofday): Do not mark TV argument
19641 2012-12-01 Mike Frysinger <vapier@gentoo.org>
19643 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19644 when currently writing and seek to current position when not.
19645 * libio/Makefile (tests): Remove bug-fclose1.
19646 * libio/bug-fclose1.c: Delete.
19648 2012-12-01 Joseph Myers <joseph@codesourcery.com>
19650 * manual/arith.texi (feenableexcept): Fix typo.
19651 (fedisableexcept): Likewise.
19653 2012-11-30 Roland McGrath <roland@hack.frob.com>
19655 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19656 second, differently-typed declaration, rather than a cast.
19658 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19660 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19661 * include/rpc/svc.h: ... here.
19663 2012-11-30 Aurelien Jarno <aurel32@debian.org>
19666 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19667 depending n and resplen2 to catch cases where answer
19670 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19672 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19673 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19675 2012-11-29 Mike Frysinger <vapier@gentoo.org>
19677 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19679 2012-11-29 Roland McGrath <roland@hack.frob.com>
19681 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19683 2012-11-28 Jeff Law <law@redhat.com>
19686 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19687 dataset_temporary. Track alloca usage into alloca_used.
19688 If dataset is large allocate and release it via malloc/free.
19690 2012-06-04 Florian Weimer <fweimer@redhat.com>
19693 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19695 2012-11-28 David S. Miller <davem@davemloft.net>
19697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19699 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19702 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19703 of pi/2 rounded to nearest to 64 bits.
19704 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19705 nearest to 64 bits.
19706 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19709 2012-11-28 Jeff Law <law@redhat.com>
19710 Martin Osvald <mosvald@redhat.com>
19713 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19714 * sunrpc/svc.c: Include time.h.
19715 (__svc_accept_failed): New function.
19716 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19717 any reason other than EINTR, call __svc_accept_failed.
19718 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19719 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19721 2012-11-28 Andreas Schwab <schwab@suse.de>
19723 * scripts/abilist.awk: Also handle indirect functions in .opd
19726 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19729 * sysdeps/x86/fpu/powl_helper.c: New file.
19730 * sysdeps/x86/fpu/Makefile: Likewise.
19731 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19733 (__ieee754_powl): Use __powl_helper for finite arguments except
19734 integer exponents below 8.
19735 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19737 (__ieee754_powl): Use __powl_helper for finite arguments except
19738 integer exponents below 8.
19739 * math/libm-test.inc (pow_test): Add more tests and enable some
19740 previously disabled tests.
19741 * sysdeps/i386/fpu/libm-test-ulps: Update.
19742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19744 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19745 Carlos O'Donell <carlos_odonell@mentor.com>
19747 * nss/makedb.c (is_prime): Assert that input is odd and greater
19748 than 4. Note that fact in a comment too.
19749 (next_prime): Add 4 to input.
19751 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19754 * libio/Makefile (tests): Add test case tst-fwrite-error.
19755 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19756 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19757 * libio/tst-fwrite-error.c: New test case.
19759 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19761 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19762 before casting to void *.
19763 * include/libc-internal.h (__pointer_type): New macro.
19764 (__integer_if_pointer_type_sub): Likewise.
19765 (__integer_if_pointer_type): Likewise.
19766 (cast_to_integer): Likewise.
19767 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19768 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19769 before casting to atomic64_t.
19770 (atomic_exchange_acq): Likewise.
19771 (__arch_exchange_and_add_body): Likewise.
19772 (__arch_add_body): Likewise.
19773 (atomic_add_negative): Likewise.
19774 (atomic_add_zero): Likewise.
19776 2012-11-26 Joseph Myers <joseph@codesourcery.com>
19778 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19779 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19780 (add_fdes): Likewise.
19781 (linear_search_fdes): Likewise.
19782 (binary_search_unencoded_fdes): Likewise.
19784 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19786 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19788 2012-11-24 Adam Conrad <adconrad@0c3.net>
19790 * configure.in: Autodetect C++ header directories.
19791 * configure: Regenerated.
19793 2012-11-23 Mike Frysinger <vapier@gentoo.org>
19795 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19797 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19801 2012-11-22 Joseph Myers <joseph@codesourcery.com>
19803 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19804 LDBL_MANT_DIG == 106]: Disable some tests.
19805 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19807 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19811 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19812 input for small inputs. Return +/- pi/2 for large inputs.
19813 * math/libm-test.inc (atan_test): Add more tests.
19815 * sysdeps/generic/unwind-dw2-fde-glibc.c
19816 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19817 __attribute__ ((unused)).
19820 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19821 x * y if x and y are nonzero and z is zero.
19824 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19825 nonzero exponents with absolute value below 0x1p-117 to +/-
19829 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19830 up arguments below 2**-450, not just those below 2**-500.
19831 * math/libm-test.inc (hypot_test): Add another test.
19834 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19835 Return a+b for ratio over 2**120, not 2**60.
19836 * math/libm-test.inc (hypot_test): Add another test.
19838 * math/libm-test.inc (clog_test): Use
19839 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19840 (clog10_test): Likewise.
19843 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19845 2012-11-22 Andreas Schwab <schwab@suse.de>
19847 * sysdeps/i386/fpu/libm-test-ulps: Update.
19849 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19851 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19852 printf output with newline.
19854 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19857 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19858 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19859 -z nodlopen, -z initfirst and -z execstack support.
19860 * configure: Regenerated.
19862 * elf/elf.h (DF_1_NODIRECT): New macro.
19863 (DF_1_IGNMULDEF): Likewise.
19864 (DF_1_NOKSYMS): Likewise.
19865 (DF_1_NOHDR): Likewise.
19866 (DF_1_EDITED): Likewise.
19867 (DF_1_NORELOC): Likewise.
19868 (DF_1_SYMINTPOSE): Likewise.
19869 (DF_1_GLOBAUDIT): Likewise.
19870 (DF_1_SINGLETON): Likewise.
19871 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19872 DT_1_SUPPORTED_MASK bits.
19873 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19875 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19877 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19879 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19881 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19884 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19885 (sendmmsg): Move declarations...
19886 * socket/sys/socket.h: ... here.
19887 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19888 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19890 * socket/recvmmsg.c: ... this new file.
19891 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19892 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19893 definition of __sendmmsg hidden.
19894 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19895 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19896 Move ENOSYS stub into and include it from...
19897 * socket/sendmmsg.c: ... this new file.
19898 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19899 (sysdep_routines): Move recvmmsg and sendmmsg...
19900 * socket/Makefile (routines): ... here.
19901 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19902 (GLIBC_PRIVATE): Add __sendmmsg.
19903 * include/sys/socket.h (__sendmmsg): Add declarations.
19904 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19907 2012-11-20 Joseph Myers <joseph@codesourcery.com>
19909 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19910 variable I1 with __attribute__ ((unused)).
19911 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19913 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19915 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19916 DUMMY variables with __attribute__ ((unused)).
19918 * bits/byteswap.h: Include <bits/types.h>.
19919 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19921 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19923 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19924 string_t. Do not manually set errno.
19925 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19926 length with __strnlen. Make sure to both set errno and return it on
19929 2012-11-19 David S. Miller <davem@davemloft.net>
19931 With help from Joseph Myers.
19932 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19933 very large arguments properly.
19934 * math/libm-test.inc (atan_test): New tests.
19935 (atan2_test): New tests.
19936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19939 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19942 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19945 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19946 [POSIX] (EADDRNOTAVAIL): Likewise.
19947 [POSIX] (EAFNOSUPPORT): Likewise.
19948 [POSIX] (EALREADY): Likewise.
19949 [POSIX] (ECONNABORTED): Likewise.
19950 [POSIX] (ECONNREFUSED): Likewise.
19951 [POSIX] (ECONNRESET): Likewise.
19952 [POSIX] (EDESTADDRREQ): Likewise.
19953 [POSIX] (EDQUOT): Likewise.
19954 [POSIX] (EHOSTUNREACH): Likewise.
19955 [POSIX] (EIDRM): Likewise.
19956 [POSIX] (EISCONN): Likewise.
19957 [POSIX] (ELOOP): Likewise.
19958 [POSIX] (EMULTIHOP): Likewise.
19959 [POSIX] (ENETDOWN): Likewise.
19960 [POSIX] (ENETUNREACH): Likewise.
19961 [POSIX] (ENOBUFS): Likewise.
19962 [POSIX] (ENODATA): Likewise.
19963 [POSIX] (ENOLINK): Likewise.
19964 [POSIX] (ENOMSG): Likewise.
19965 [POSIX] (ENOPROTOOPT): Likewise.
19966 [POSIX] (ENOSR): Likewise.
19967 [POSIX] (ENOSTR): Likewise.
19968 [POSIX] (ENOTCONN): Likewise.
19969 [POSIX] (ENOTSOCK): Likewise.
19970 [POSIX] (EOPNOTSUPP): Likewise.
19971 [POSIX] (EOVERFLOW): Likewise.
19972 [POSIX] (EPROTO): Likewise.
19973 [POSIX] (EPROTONOSUPPORT): Likewise.
19974 [POSIX] (EPROTOTYPE): Likewise.
19975 [POSIX] (ESTALE): Likewise.
19976 [POSIX] (ETIME): Likewise.
19977 [POSIX] (ETXTBSY): Likewise.
19978 [POSIX] (EWOULDBLOCK): Likewise.
19979 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19980 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19981 [POSIX] (SEEK_CUR): Likewise.
19982 [POSIX] (SEEK_END): Likewise.
19983 [POSIX || UNIX98] (mode_t): Do not require.
19984 [POSIX] (off_t): Likewise.
19985 [POSIX] (pid_t): Likewise.
19986 [POSIX] (sys/stat.h): Do not allow header.
19987 [POSIX] (unistd.h): Likewise.
19988 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19989 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19990 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19991 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19993 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19994 sigevent): Specify elements.
19995 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19997 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19998 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20000 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20001 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20002 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20003 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20004 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20005 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20006 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20007 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20008 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20009 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20010 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20011 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20012 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20013 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20015 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20017 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20019 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20021 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20022 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20023 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20024 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20025 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20026 Specify lower bound on value.
20027 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20028 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20029 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20030 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20031 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20032 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20033 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20034 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20036 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20038 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20039 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20040 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20041 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20042 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20043 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20045 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20046 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20047 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20048 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20049 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20050 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20051 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20052 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20053 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20055 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20057 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20058 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20059 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20060 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20061 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20062 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20064 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20065 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20066 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20067 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20068 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20069 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20070 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20072 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20073 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20074 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20075 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20076 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20077 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20078 specify as optional.
20079 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20080 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20081 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20082 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20083 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20084 [XPG3] (NL_LANGMAX): Likewise.
20085 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20086 [POSIX || XPG3] (NL_NMAX): Likewise.
20087 [POSIX || XPG3] (NL_SETMAX): Likewise.
20088 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20089 [XPG3] (NZERO): Likewise.
20090 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20091 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20092 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20093 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20094 (REG_ERANGE): Expect.
20095 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20097 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20098 Use (void) in prototype.
20099 [POSIX] (*_t): Allow.
20100 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20101 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20102 (WRDE_BADVAL): Expect.
20104 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20106 [XPG3 || XPG4] (O_RSYNC): Likewise.
20107 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20109 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20110 [XPG3 || XPG4] (sigqueue): Likewise.
20111 [XPG3 || XPG4] (sigtimedwait): Likewise.
20112 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20113 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20114 [XPG3 || XPG4] (vsnprintf): Likewise.
20115 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20117 [XPG3 || XPG4] (blksize_t): Likewise.
20118 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20120 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20121 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20122 [XPG3 || XPG4] (struct itimerspec): Likewise.
20123 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20124 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20125 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20126 [XPG3 || XPG4] (clockid_t): Likewise.
20127 [XPG3 || XPG4] (timer_t): Likewise.
20128 [XPG3 || XPG4] (clock_getres): Likewise.
20129 [XPG3 || XPG4] (clock_gettime): Likewise.
20130 [XPG3 || XPG4] (clock_settime): Likewise.
20131 [XPG3 || XPG4] (nanosleep): Likewise.
20132 [XPG3 || XPG4] (timer_create): Likewise.
20133 [XPG3 || XPG4] (timer_delete): Likewise.
20134 [XPG3 || XPG4] (timer_gettime): Likewise.
20135 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20136 [XPG3 || XPG4] (timer_settime): Likewise.
20137 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20138 [XPG3 || XPG4] (getlogin_r): Likewise.
20139 [XPG3 || XPG4] (pread): Likewise.
20140 [XPG3 || XPG4] (pthread_atfork): Likewise.
20141 [XPG3 || XPG4] (pwrite): Likewise.
20144 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20147 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20149 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20150 finalizing MALLSTREAM.
20152 * sysdeps/mach/hurd/syncfs.c: New file.
20154 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20157 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20158 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20159 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20160 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20161 (_nss_dns_gethostbyname4_r): Likewise.
20162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20163 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20165 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20168 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20170 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20172 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20173 * elf/cache.c (print_entry): Print ",AArch64" for
20176 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20177 * elf/cache.c (print_entry): Print ",hard-float" for
20180 2012-11-18 David S. Miller <davem@davemloft.net>
20182 With help from Joseph Myers.
20183 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20185 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20187 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20188 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20190 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20191 * math/libm-test.inc (y0_test): New tests.
20192 (y1_test): New tests.
20193 * sysdeps/i386/fpu/libm-test-ulps: Update.
20194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20197 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20199 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20201 * configure: Regenerated.
20203 2012-11-17 David S. Miller <davem@davemloft.net>
20206 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20207 nonzero exponents with absolute value below 0x1p-128 to +/-
20210 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20212 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20214 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20216 * posix/getconf-speclist.c: New file.
20217 * posix/posix-envs.def: Likewise.
20218 * posix/confstr.c (START_ENV_GROUP): New macro.
20219 (END_ENV_GROUP): Likewise.
20220 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20221 (KNOWN_PRESENT_ENV_STRING): Likewise.
20222 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20223 (UNKNOWN_ENVIRONMENT): Likewise.
20224 (confstr): Include posix-envs.def instead of handling
20225 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20226 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20227 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20228 (END_ENV_GROUP): Likewise.
20229 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20230 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20231 (UNKNOWN_ENVIRONMENT): Likewise.
20232 (__sysconf): Include posix-envs.def instead of handling associated
20233 cases directly here.
20234 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20235 preprocessing getconf-speclist.c rather than running getconf or
20236 generating empty file.
20238 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20240 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20242 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20245 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20247 2012-11-16 David S. Miller <davem@davemloft.net>
20249 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20250 smaller than LDBL_EPSILON/2.0L, just return xm1.
20252 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20254 * elf/tst-array1.c (init): Set constructor priority to 1000.
20255 (fini): Set destructor priority to 1000.
20256 * elf/tst-array2dep.c: Likewise.
20258 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20261 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20262 (_IO_new_file_xsputn): Also return EOF if none of the input
20263 data was written when overflow failed.
20264 * libio/iopadn.c (_IO_padn): Likewise.
20265 * libio/iowpadn.c (_IO_wpadn): Likewise.
20266 * stdio-common/tst-put-error.c: Add copyright notice.
20267 (do_test): Add case for printing padded string.
20268 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20269 _IO_padn returned error.
20270 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20271 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20274 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20276 * libio/libioP.h: Add comment note that the references to C++
20277 bits are now obsolete.
20279 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20281 * math/libm-test.inc (check_complex): Use asprintf.
20283 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20285 * debug/pcprofiledump.c (print_version): Update copyright year.
20286 * malloc/memusagestat.c (print_version): Likewise.
20288 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20291 * elf/Makefile (tests): Add tst-audit8.
20292 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20293 ($(objpfx)tst-audit8.out): New target.
20294 (tst-audit8-ENV): New variable.
20295 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20296 audit if l_reloc_result is NULL.
20297 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20298 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20299 * elf/tst-audit8.c: New file.
20301 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20303 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20304 * misc/Makefile (CFLAGS-select.c): Define.
20305 * posix/Makefile (CFLAGS-pause.c): Define.
20307 2012-11-13 David S. Miller <davem@davemloft.net>
20309 * crypt/Makefile: Move test targets after toplevel Rules
20310 inclusion. Grab any necessary sysdep routines when linking.
20311 * crypt/md5.c (md5_process_block): Remove define, we will always
20312 name it __md5_process_block.
20313 (md5_finish_ctx): Update md5_process_block call.
20314 (md5_stream): Likewise.
20315 (md5_process_bytes): Likewise.
20316 (md5_process_block): Rename to __md5_process_block and move to ...
20317 * crypt/md5-block.c: ... here.
20318 * crypt/sha256.c (sha256_process_block): Move to ...
20319 * crypt/sha256-block.c: ... here.
20320 * crypt/sha512.c (sha512_process_block): Move to ...
20321 * crypt/sha512-block.c: ... here.
20322 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20324 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20325 * sysdeps/sparc/sparc64/multiarch/Makefile
20326 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20328 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20329 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20331 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20332 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20333 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20334 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20335 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20336 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20337 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20338 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20339 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20341 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20342 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20344 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20346 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20348 * timezone/tzselect.ksh: Update from tzcode git revision
20349 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20350 * timezone/zdump.c: Likewise.
20351 * timezone/zic.c: Likewise.
20352 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20353 in TZVERSION setting, not $(PKGVERSION).
20354 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20355 REPORT_BUGS_TO settings.
20358 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20361 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20363 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20364 detection to immediately after _FP_ROUND().
20365 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20368 2012-11-11 David S. Miller <davem@davemloft.net>
20370 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20372 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20373 __close rather than their public counterparts.
20375 2012-11-10 Joseph Myers <joseph@codesourcery.com>
20377 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20379 [UNIX98] (sem_timedwait): Do not expect.
20380 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20381 [XPG4 || UNIX98] (sockatmark): Do not expect.
20382 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20383 (clock_getcpuclockid): Do not expect.
20384 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20385 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20387 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20388 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20389 [UNIX98] (vwscanf): Likewise.
20390 [UNIX98] (vswscanf): Likewise.
20392 2012-11-09 Joseph Myers <joseph@codesourcery.com>
20394 * timezone/version.h: Remove file.
20395 * timezone/README: Do not refer to version.h.
20396 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20397 $(objpfx)version.h.
20398 ($(objpfx)zdump.o): Likewise.
20399 ($(objpfx)version.h): New target.
20401 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20403 * timezone/README: Don't mention modification to tzselect.ksh.
20404 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20405 work on unmodified tzselect.ksh. Substitute version numbers in
20408 * Makefile (format-me): Remove.
20409 (INSTALL): Adjust indentation. Use commands directly instead of
20410 using $(format-me).
20412 * aclocal.m4 (ACX_PKGVERSION): New macro.
20413 (ACX_BUGURL): Likewise.
20414 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20415 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20416 (REPORT_BUGS_TO): Likewise.
20417 * configure: Regenerated.
20418 * config.h.in (PKGVERSION): New macro.
20419 (REPORT_BUGS_TO): Likewise.
20420 * config.make.in (PKGVERSION): New variable.
20421 (PKGVERSION_TEXI): Likewise.
20422 (REPORT_BUGS_TO): Likewise.
20423 (REPORT_BUGS_TEXI): Likewise.
20424 * Makefile (format-me): Use -I$(common-objpfx)manual.
20425 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20426 ($(common-objpfx)manual/%): New target.
20427 (manual/%): Remove target.
20428 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20429 (print_version): Use PKGVERSION.
20430 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20431 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20432 and REPORT_BUGS_TO.
20433 ($(objpfx)xtrace): Likewise.
20434 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20435 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20436 (print_version): Use PKGVERSION.
20437 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20438 (do_version): Use PKGVERSION.
20439 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20441 (common-ldd-rewrite): Likewise.
20442 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20443 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20444 (print_version): Use PKGVERSION.
20445 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20446 * elf/pldd.c (argp_program_bug_address): Remove variable.
20447 (more_help): New function.
20448 (argp): Use more_help.
20449 (print_version): Use PKGVERSION.
20450 * elf/sln.c (main): Use PKGVERSION.
20451 (usage): Use REPORT_BUGS_TO.
20452 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20453 (top level): Use PKGVERSION.
20454 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20455 (print_version): Use PKGVERSION.
20456 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20457 (print_version): Use PKGVERSION.
20458 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20459 (print_version): Use PKGVERSION.
20460 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20461 (print_version): Use PKGVERSION.
20462 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20463 (print_version): Use PKGVERSION.
20464 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20465 (print_version): Use PKGVERSION.
20466 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20468 ($(objpfx)memusage): Likewise.
20469 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20470 (do_version): Use PKGVERSION.
20471 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20472 (print_version): Use PKGVERSION.
20473 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20474 ($PKGVERSION): New variable.
20475 ($REPORT_BUGS_TO): Likewise.
20476 (usage): Use $REPORT_BUGS_TO.
20477 (top level): Use $PKGVERSION.
20478 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20479 ($(objpfx)pkgvers.texi): New rule.
20480 ($(objpfx)stamp-pkgvers): Likewise.
20481 * manual/install.texi: Include pkgvers.texi.
20482 (--with-pkgversion): Document new configure option.
20483 (--with-bugurl): Likewise.
20484 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20485 than necessarily for this particular distribution. Use
20486 REPORT_BUGS_TO for where to report bugs.
20487 * INSTALL: Regenerated.
20488 * manual/libc.texinfo: Include pkgvers.texi.
20489 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20490 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20491 (print_version): Use PKGVERSION.
20492 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20493 (print_version): Use PKGVERSION.
20494 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20495 (print_version): Use PKGVERSION.
20496 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20497 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20499 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20500 (print_version): Use PKGVERSION.
20501 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20502 (print_version): Use PKGVERSION.
20503 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20506 * timezone/checktab.awk: Update from tzcode 2012i.
20507 * timezone/ialloc.c: Likewise.
20508 * timezone/private.h: Likewise.
20509 * timezone/scheck.c: Likewise.
20510 * timezone/tzfile.h: Likewise.
20511 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20512 (TZVERSION): Hardcode tzcode version number.
20513 * timezone/zdump.c: Update from tzcode 2012i.
20514 * timezone/zic.c: Likewise.
20515 * timezone/version.h: New file.
20516 * timezone/README: Describe version.h. Update upstream location.
20519 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20520 (mktemp): Enable declaration.
20521 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20538 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20539 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20540 for copies of such integer values.
20541 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20542 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20544 2012-11-09 Andreas Jaeger <aj@suse.de>
20546 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20547 definitions and declarations that are provided by
20548 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20550 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20552 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20553 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20554 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20557 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20559 * elf/elf.h: Update comment before AArch64 relocations.
20561 2012-11-07 David S. Miller <davem@davemloft.net>
20563 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20564 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20565 (__start_context): Declare.
20566 (__makecontext_ret): Delete.
20567 (__makecontext): Hook up __start_context instead of
20569 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20570 (sysdep_routines): Add __start_context when in stdlib.
20572 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20574 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20575 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20576 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20578 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20579 (READELF): New variable. Use it instead of hardcoded "readelf".
20581 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20583 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20584 * sysdeps/x86/Makefile: Here.
20585 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20586 * sysdeps/x86/tst-xmmymm.sh: This.
20588 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20590 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20592 [UNIX98] (pthread_barrier_t): Do not expect.
20593 [UNIX98] (pthread_barrierattr_t): Likewise.
20594 [UNIX98] (pthread_spinlock_t): Likewise.
20595 [UNIX98] (pthread_barrier_destroy): Likewise.
20596 [UNIX98] (pthread_barrier_init): Likewise.
20597 [UNIX98] (pthread_barrier_wait): Likewise.
20598 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20599 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20600 [UNIX98] (pthread_barrierattr_init): Likewise.
20601 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20602 [UNIX98] (pthread_getcpuclockid): Likewise.
20603 [UNIX98] (pthread_mutex_timedlock): Likewise.
20604 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20605 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20606 [UNIX98] (pthread_sigmask): Likewise.
20607 [UNIX98] (pthread_spin_destroy): Likewise.
20608 [UNIX98] (pthread_spin_init): Likewise.
20609 [UNIX98] (pthread_spin_lock): Likewise.
20610 [UNIX98] (pthread_spin_trylock): Likewise.
20611 [UNIX98] (pthread_spin_unlock): Likewise.
20612 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20614 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20615 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20616 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20617 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20618 [XPG3 || XPG4] (pthread_key_t): Likewise.
20619 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20620 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20621 [XPG3 || XPG4] (pthread_once_t): Likewise.
20622 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20623 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20624 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20625 [XPG3 || XPG4] (pthread_t): Likewise.
20627 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20629 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20631 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20632 Change function return type to int.
20634 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20635 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20636 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20637 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20638 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20639 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20640 [!POSIX] (posix_madvise): Likewise.
20641 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20643 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20644 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20645 (mode_t): Likewise.
20646 (posix_mem_offset): Likewise.
20647 (posix_typed_mem_get_info): Likewise.
20648 (posix_typed_mem_open): Likewise.
20650 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20651 Change condition to [XOPEN2K8].
20653 * conform/conformtest.pl: Preprocess allow-header data with -x c
20654 instead of from stdin.
20655 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20656 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20657 [C99-based standards] (cerfc): Likewise.
20658 [C99-based standards] (cexp2): Likewise.
20659 [C99-based standards] (cexpm1): Likewise.
20660 [C99-based standards] (clog10): Likewise.
20661 [C99-based standards] (clog1p): Likewise.
20662 [C99-based standards] (clog2): Likewise.
20663 [C99-based standards] (clgamma): Likewise.
20664 [C99-based standards] (ctgamma): Likewise.
20665 [C99-based standards] (cerff): Likewise.
20666 [C99-based standards] (cerfcf): Likewise.
20667 [C99-based standards] (cexp2f): Likewise.
20668 [C99-based standards] (cexpm1f): Likewise.
20669 [C99-based standards] (clog10f): Likewise.
20670 [C99-based standards] (clog1pf): Likewise.
20671 [C99-based standards] (clog2f): Likewise.
20672 [C99-based standards] (clgammaf): Likewise.
20673 [C99-based standards] (ctgammaf): Likewise.
20674 [C99-based standards] (cerfl): Likewise.
20675 [C99-based standards] (cerfcl): Likewise.
20676 [C99-based standards] (cexp2l): Likewise.
20677 [C99-based standards] (cexpm1l): Likewise.
20678 [C99-based standards] (clog10l): Likewise.
20679 [C99-based standards] (clog1pl): Likewise.
20680 [C99-based standards] (clog2l): Likewise.
20681 [C99-based standards] (clgammal): Likewise.
20682 [C99-based standards] (ctgammal): Likewise.
20683 * conform/data/inttypes.h-data [C99-based standards]: Include
20684 stdint.h-data. Remove all expectations for stdint.h contents.
20685 [C99-based standards] (PRI*): Do not allow.
20686 [C99-based standards] (SCN*): Likewise.
20687 [C99-based standards] (*_t): Likewise.
20688 [C99-based-standards] (PRId8): Expect macro.
20689 [C99-based-standards] (PRIi8): Likewise.
20690 [C99-based-standards] (PRIo8): Likewise.
20691 [C99-based-standards] (PRIu8): Likewise.
20692 [C99-based-standards] (PRIx8): Likewise.
20693 [C99-based-standards] (PRIX8): Likewise.
20694 [C99-based-standards] (SCNd8): Likewise.
20695 [C99-based-standards] (SCNi8): Likewise.
20696 [C99-based-standards] (SCNo8): Likewise.
20697 [C99-based-standards] (SCNu8): Likewise.
20698 [C99-based-standards] (SCNx8): Likewise.
20699 [C99-based-standards] (PRIdLEAST8): Likewise.
20700 [C99-based-standards] (PRIiLEAST8): Likewise.
20701 [C99-based-standards] (PRIoLEAST8): Likewise.
20702 [C99-based-standards] (PRIuLEAST8): Likewise.
20703 [C99-based-standards] (PRIxLEAST8): Likewise.
20704 [C99-based-standards] (PRIXLEAST8): Likewise.
20705 [C99-based-standards] (SCNdLEAST8): Likewise.
20706 [C99-based-standards] (SCNiLEAST8): Likewise.
20707 [C99-based-standards] (SCNoLEAST8): Likewise.
20708 [C99-based-standards] (SCNuLEAST8): Likewise.
20709 [C99-based-standards] (SCNxLEAST8): Likewise.
20710 [C99-based-standards] (PRIdFAST8): Likewise.
20711 [C99-based-standards] (PRIiFAST8): Likewise.
20712 [C99-based-standards] (PRIoFAST8): Likewise.
20713 [C99-based-standards] (PRIuFAST8): Likewise.
20714 [C99-based-standards] (PRIxFAST8): Likewise.
20715 [C99-based-standards] (PRIXFAST8): Likewise.
20716 [C99-based-standards] (SCNdFAST8): Likewise.
20717 [C99-based-standards] (SCNiFAST8): Likewise.
20718 [C99-based-standards] (SCNoFAST8): Likewise.
20719 [C99-based-standards] (SCNuFAST8): Likewise.
20720 [C99-based-standards] (SCNxFAST8): Likewise.
20721 [C99-based-standards] (PRId16): Likewise.
20722 [C99-based-standards] (PRIi16): Likewise.
20723 [C99-based-standards] (PRIo16): Likewise.
20724 [C99-based-standards] (PRIu16): Likewise.
20725 [C99-based-standards] (PRIx16): Likewise.
20726 [C99-based-standards] (PRIX16): Likewise.
20727 [C99-based-standards] (SCNd16): Likewise.
20728 [C99-based-standards] (SCNi16): Likewise.
20729 [C99-based-standards] (SCNo16): Likewise.
20730 [C99-based-standards] (SCNu16): Likewise.
20731 [C99-based-standards] (SCNx16): Likewise.
20732 [C99-based-standards] (PRIdLEAST16): Likewise.
20733 [C99-based-standards] (PRIiLEAST16): Likewise.
20734 [C99-based-standards] (PRIoLEAST16): Likewise.
20735 [C99-based-standards] (PRIuLEAST16): Likewise.
20736 [C99-based-standards] (PRIxLEAST16): Likewise.
20737 [C99-based-standards] (PRIXLEAST16): Likewise.
20738 [C99-based-standards] (SCNdLEAST16): Likewise.
20739 [C99-based-standards] (SCNiLEAST16): Likewise.
20740 [C99-based-standards] (SCNoLEAST16): Likewise.
20741 [C99-based-standards] (SCNuLEAST16): Likewise.
20742 [C99-based-standards] (SCNxLEAST16): Likewise.
20743 [C99-based-standards] (PRIdFAST16): Likewise.
20744 [C99-based-standards] (PRIiFAST16): Likewise.
20745 [C99-based-standards] (PRIoFAST16): Likewise.
20746 [C99-based-standards] (PRIuFAST16): Likewise.
20747 [C99-based-standards] (PRIxFAST16): Likewise.
20748 [C99-based-standards] (PRIXFAST16): Likewise.
20749 [C99-based-standards] (SCNdFAST16): Likewise.
20750 [C99-based-standards] (SCNiFAST16): Likewise.
20751 [C99-based-standards] (SCNoFAST16): Likewise.
20752 [C99-based-standards] (SCNuFAST16): Likewise.
20753 [C99-based-standards] (SCNxFAST16): Likewise.
20754 [C99-based-standards] (PRId32): Likewise.
20755 [C99-based-standards] (PRIi32): Likewise.
20756 [C99-based-standards] (PRIo32): Likewise.
20757 [C99-based-standards] (PRIu32): Likewise.
20758 [C99-based-standards] (PRIx32): Likewise.
20759 [C99-based-standards] (PRIX32): Likewise.
20760 [C99-based-standards] (SCNd32): Likewise.
20761 [C99-based-standards] (SCNi32): Likewise.
20762 [C99-based-standards] (SCNo32): Likewise.
20763 [C99-based-standards] (SCNu32): Likewise.
20764 [C99-based-standards] (SCNx32): Likewise.
20765 [C99-based-standards] (PRIdLEAST32): Likewise.
20766 [C99-based-standards] (PRIiLEAST32): Likewise.
20767 [C99-based-standards] (PRIoLEAST32): Likewise.
20768 [C99-based-standards] (PRIuLEAST32): Likewise.
20769 [C99-based-standards] (PRIxLEAST32): Likewise.
20770 [C99-based-standards] (PRIXLEAST32): Likewise.
20771 [C99-based-standards] (SCNdLEAST32): Likewise.
20772 [C99-based-standards] (SCNiLEAST32): Likewise.
20773 [C99-based-standards] (SCNoLEAST32): Likewise.
20774 [C99-based-standards] (SCNuLEAST32): Likewise.
20775 [C99-based-standards] (SCNxLEAST32): Likewise.
20776 [C99-based-standards] (PRIdFAST32): Likewise.
20777 [C99-based-standards] (PRIiFAST32): Likewise.
20778 [C99-based-standards] (PRIoFAST32): Likewise.
20779 [C99-based-standards] (PRIuFAST32): Likewise.
20780 [C99-based-standards] (PRIxFAST32): Likewise.
20781 [C99-based-standards] (PRIXFAST32): Likewise.
20782 [C99-based-standards] (SCNdFAST32): Likewise.
20783 [C99-based-standards] (SCNiFAST32): Likewise.
20784 [C99-based-standards] (SCNoFAST32): Likewise.
20785 [C99-based-standards] (SCNuFAST32): Likewise.
20786 [C99-based-standards] (SCNxFAST32): Likewise.
20787 [C99-based-standards] (PRId64): Likewise.
20788 [C99-based-standards] (PRIi64): Likewise.
20789 [C99-based-standards] (PRIo64): Likewise.
20790 [C99-based-standards] (PRIu64): Likewise.
20791 [C99-based-standards] (PRIx64): Likewise.
20792 [C99-based-standards] (PRIX64): Likewise.
20793 [C99-based-standards] (SCNd64): Likewise.
20794 [C99-based-standards] (SCNi64): Likewise.
20795 [C99-based-standards] (SCNo64): Likewise.
20796 [C99-based-standards] (SCNu64): Likewise.
20797 [C99-based-standards] (SCNx64): Likewise.
20798 [C99-based-standards] (PRIdLEAST64): Likewise.
20799 [C99-based-standards] (PRIiLEAST64): Likewise.
20800 [C99-based-standards] (PRIoLEAST64): Likewise.
20801 [C99-based-standards] (PRIuLEAST64): Likewise.
20802 [C99-based-standards] (PRIxLEAST64): Likewise.
20803 [C99-based-standards] (PRIXLEAST64): Likewise.
20804 [C99-based-standards] (SCNdLEAST64): Likewise.
20805 [C99-based-standards] (SCNiLEAST64): Likewise.
20806 [C99-based-standards] (SCNoLEAST64): Likewise.
20807 [C99-based-standards] (SCNuLEAST64): Likewise.
20808 [C99-based-standards] (SCNxLEAST64): Likewise.
20809 [C99-based-standards] (PRIdFAST64): Likewise.
20810 [C99-based-standards] (PRIiFAST64): Likewise.
20811 [C99-based-standards] (PRIoFAST64): Likewise.
20812 [C99-based-standards] (PRIuFAST64): Likewise.
20813 [C99-based-standards] (PRIxFAST64): Likewise.
20814 [C99-based-standards] (PRIXFAST64): Likewise.
20815 [C99-based-standards] (SCNdFAST64): Likewise.
20816 [C99-based-standards] (SCNiFAST64): Likewise.
20817 [C99-based-standards] (SCNoFAST64): Likewise.
20818 [C99-based-standards] (SCNuFAST64): Likewise.
20819 [C99-based-standards] (SCNxFAST64): Likewise.
20820 [C99-based-standards] (PRIdMAX): Likewise.
20821 [C99-based-standards] (PRIiMAX): Likewise.
20822 [C99-based-standards] (PRIoMAX): Likewise.
20823 [C99-based-standards] (PRIuMAX): Likewise.
20824 [C99-based-standards] (PRIxMAX): Likewise.
20825 [C99-based-standards] (PRIXMAX): Likewise.
20826 [C99-based-standards] (SCNdMAX): Likewise.
20827 [C99-based-standards] (SCNiMAX): Likewise.
20828 [C99-based-standards] (SCNoMAX): Likewise.
20829 [C99-based-standards] (SCNuMAX): Likewise.
20830 [C99-based-standards] (SCNxMAX): Likewise.
20831 [C99-based-standards] (PRIdPTR): Likewise.
20832 [C99-based-standards] (PRIiPTR): Likewise.
20833 [C99-based-standards] (PRIoPTR): Likewise.
20834 [C99-based-standards] (PRIuPTR): Likewise.
20835 [C99-based-standards] (PRIxPTR): Likewise.
20836 [C99-based-standards] (PRIXPTR): Likewise.
20837 [C99-based-standards] (SCNdPTR): Likewise.
20838 [C99-based-standards] (SCNiPTR): Likewise.
20839 [C99-based-standards] (SCNoPTR): Likewise.
20840 [C99-based-standards] (SCNuPTR): Likewise.
20841 [C99-based-standards] (SCNxPTR): Likewise.
20842 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20844 * conform/data/stdint.h-data: Update comments to clarify
20846 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20848 [C99-based standards] (INT8_MAX): Likewise.
20849 [C99-based standards] (INT16_MIN): Likewise.
20850 [C99-based standards] (INT16_MAX): Likewise.
20851 [C99-based standards] (INT32_MIN): Likewise.
20852 [C99-based standards] (INT32_MAX): Likewise.
20853 [C99-based standards] (INT64_MIN): Likewise.
20854 [C99-based standards] (INT64_MAX): Likewise.
20855 [C99-based standards] (UINT8_MAX): Likewise.
20856 [C99-based standards] (UINT16_MAX): Likewise.
20857 [C99-based standards] (UINT32_MAX): Likewise.
20858 [C99-based standards] (UINT64_MAX): Likewise.
20859 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20860 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20861 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20862 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20863 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20864 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20865 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20866 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20867 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20868 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20869 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20870 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20871 [C99-based standards] (INT_FAST8_MIN): Likewise.
20872 [C99-based standards] (INT_FAST8_MAX): Likewise.
20873 [C99-based standards] (INT_FAST16_MIN): Likewise.
20874 [C99-based standards] (INT_FAST16_MAX): Likewise.
20875 [C99-based standards] (INT_FAST32_MIN): Likewise.
20876 [C99-based standards] (INT_FAST32_MAX): Likewise.
20877 [C99-based standards] (INT_FAST64_MIN): Likewise.
20878 [C99-based standards] (INT_FAST64_MAX): Likewise.
20879 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20880 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20881 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20882 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20883 [C99-based standards] (INTPTR_MIN): Likewise.
20884 [C99-based standards] (INTPTR_MAX): Likewise.
20885 [C99-based standards] (UINTPTR_MAX): Likewise.
20886 [C99-based standards] (INTMAX_MIN): Likewise.
20887 [C99-based standards] (INTMAX_MAX): Likewise.
20888 [C99-based standards] (UINTMAX_MAX): Likewise.
20889 [C99-based standards] (PTRDIFF_MIN): Likewise.
20890 [C99-based standards] (PTRDIFF_MAX): Likewise.
20891 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20892 [C99-based standards] (SIZE_MAX): Likewise.
20893 [C99-based standards] (WCHAR_MAX): Likewise.
20894 [C99-based standards] (WINT_MAX): Likewise.
20895 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20896 constraint on value.
20897 [C99-based standards] (WCHAR_MIN): Likewise.
20898 [C99-based standards] (WINT_MIN): Likewise.
20899 [C99-based standards] (*_t): Allow.
20900 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20901 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20902 Include math.h-data and complex.h-data. Remove all expectations
20903 of math.h and complex.h contents.
20904 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20906 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20907 (struct tm): Expect tag.
20908 [C99-based-standards] (wcstof): Expect function.
20909 [C99-based-standards] (wcstold): Likewise.
20910 [C99-based-standards] (wcstoll): Likewise.
20911 [C99-based-standards] (wcstoull): Likewise.
20912 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20913 macro-int-constant. Specify type.
20914 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20915 constraint on value.
20916 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20918 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20920 [ISO C standards]: Do not allow headers.
20921 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20922 wcs[abcdefghijklmnopqrstuvwxyz]*.
20923 [ISO C standards] (*_t): Do not allow.
20924 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20926 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20927 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20929 [ISO C standards]: Do not allow headers.
20930 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20931 is[abcdefghijklmnopqrstuvwxyz]*.
20932 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20933 to[abcdefghijklmnopqrstuvwxyz]*.
20934 [ISO C standards] (*_t): Do not allow.
20935 * conform/data/stdalign.h-data: New file.
20936 * conform/data/stdbool.h-data: Likewise.
20937 * conform/data/stdnoreturn.h-data: Likewise.
20939 2012-11-07 Roland McGrath <roland@hack.frob.com>
20942 * manual/filesys.texi (Directory Entries): Typo fix.
20943 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20945 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20947 * elf/elf.h (EM_AARCH64): New macro.
20948 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20949 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20950 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20951 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20952 (R_AARCH64_TLSDESC): Likewise.
20953 (NT_ARM_TLS): Likewise.
20954 (NT_ARM_HW_BREAK): Likewise.
20955 (NT_ARM_HW_WATCH): Likewise.
20957 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20960 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20961 (__ieee754_powl): Saturate nonzero exponents with absolute value
20962 below 0x1p-79 to +/- 0x1p-79.
20963 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20964 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20965 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20966 nonzero exponents with absolute value below 0x1p-32 to +/-
20968 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20969 (__ieee754_powl): Saturate nonzero exponents with absolute value
20970 below 0x1p-79 to +/- 0x1p-79.
20971 * math/libm-test.inc (pow_test): Add more tests.
20973 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20975 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20976 _dl_s390_cap_flags with kernel. Increase string length.
20977 (_dl_s390_platforms): Add z196 and zEC12.
20979 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20981 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20982 Change XOPEN21K to XOPEN2K.
20984 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20986 * string/memmove.c: Use memcpy when possible.
20988 2012-11-06 Andreas Jaeger <aj@suse.de>
20990 * po/eo.po: Update from translation team.
20992 2012-11-06 Joseph Myers <joseph@codesourcery.com>
20995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20996 exponent and small x and y exponents, scale x or y up. Increase
20997 by 2 the exponent used in scaling up.
20998 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20999 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21000 * math/libm-test.inc (fma_test): Add more tests.
21001 (fma_test_towardzero): Likewise.
21002 (fma_test_downward): Likewise.
21003 (fma_test_upward): Likewise.
21005 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21008 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21012 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21013 namespace for names of struct fields.
21014 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21016 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21017 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21019 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21022 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21024 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21026 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21030 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21033 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21037 definitely overflow as x * y not x * y + z.
21038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21040 * math/libm-test.inc (fma_test): Add more tests.
21041 (fma_test_towardzero): Likewise.
21042 (fma_test_downward): Likewise.
21043 (fma_test_upward): Likewise.
21045 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21049 * include/stub-tag.h: Remove file.
21050 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21052 * manual/maint.texi (Porting): Don't reference it.
21053 * Makerules ($(objpfx)stubs): Likewise.
21054 * dirent/closedir.c: Don't include <stub-tag.h>.
21055 * dirent/dirfd.c: Likewise.
21056 * dirent/fdopendir.c: Likewise.
21057 * dirent/getdents.c: Likewise.
21058 * dirent/getdents64.c: Likewise.
21059 * dirent/opendir.c: Likewise.
21060 * dirent/readdir.c: Likewise.
21061 * dirent/readdir64.c: Likewise.
21062 * dirent/readdir64_r.c: Likewise.
21063 * dirent/readdir_r.c: Likewise.
21064 * dirent/rewinddir.c: Likewise.
21065 * dirent/seekdir.c: Likewise.
21066 * dirent/telldir.c: Likewise.
21067 * gmon/profil.c: Likewise.
21068 * grp/setgroups.c: Likewise.
21069 * inet/if_index.c: Likewise.
21070 * io/access.c: Likewise.
21071 * io/chdir.c: Likewise.
21072 * io/chmod.c: Likewise.
21073 * io/chown.c: Likewise.
21074 * io/close.c: Likewise.
21075 * io/dup.c: Likewise.
21076 * io/dup2.c: Likewise.
21077 * io/dup3.c: Likewise.
21078 * io/euidaccess.c: Likewise.
21079 * io/faccessat.c: Likewise.
21080 * io/fchdir.c: Likewise.
21081 * io/fchmod.c: Likewise.
21082 * io/fchmodat.c: Likewise.
21083 * io/fchown.c: Likewise.
21084 * io/fchownat.c: Likewise.
21085 * io/fcntl.c: Likewise.
21086 * io/flock.c: Likewise.
21087 * io/fstatfs.c: Likewise.
21088 * io/fstatfs64.c: Likewise.
21089 * io/fstatvfs.c: Likewise.
21090 * io/fstatvfs64.c: Likewise.
21091 * io/futimens.c: Likewise.
21092 * io/fxstat.c: Likewise.
21093 * io/fxstat64.c: Likewise.
21094 * io/fxstatat.c: Likewise.
21095 * io/fxstatat64.c: Likewise.
21096 * io/getcwd.c: Likewise.
21097 * io/isatty.c: Likewise.
21098 * io/lchmod.c: Likewise.
21099 * io/lchown.c: Likewise.
21100 * io/link.c: Likewise.
21101 * io/linkat.c: Likewise.
21102 * io/lseek.c: Likewise.
21103 * io/lseek64.c: Likewise.
21104 * io/lxstat64.c: Likewise.
21105 * io/mkdir.c: Likewise.
21106 * io/mkdirat.c: Likewise.
21107 * io/mkfifo.c: Likewise.
21108 * io/mkfifoat.c: Likewise.
21109 * io/open.c: Likewise.
21110 * io/open64.c: Likewise.
21111 * io/openat.c: Likewise.
21112 * io/openat64.c: Likewise.
21113 * io/pipe.c: Likewise.
21114 * io/pipe2.c: Likewise.
21115 * io/poll.c: Likewise.
21116 * io/posix_fadvise.c: Likewise.
21117 * io/posix_fadvise64.c: Likewise.
21118 * io/posix_fallocate.c: Likewise.
21119 * io/posix_fallocate64.c: Likewise.
21120 * io/read.c: Likewise.
21121 * io/readlink.c: Likewise.
21122 * io/readlinkat.c: Likewise.
21123 * io/rmdir.c: Likewise.
21124 * io/sendfile.c: Likewise.
21125 * io/sendfile64.c: Likewise.
21126 * io/statfs.c: Likewise.
21127 * io/statfs64.c: Likewise.
21128 * io/statvfs.c: Likewise.
21129 * io/statvfs64.c: Likewise.
21130 * io/symlink.c: Likewise.
21131 * io/symlinkat.c: Likewise.
21132 * io/ttyname.c: Likewise.
21133 * io/ttyname_r.c: Likewise.
21134 * io/umask.c: Likewise.
21135 * io/unlink.c: Likewise.
21136 * io/unlinkat.c: Likewise.
21137 * io/utime.c: Likewise.
21138 * io/utimensat.c: Likewise.
21139 * io/write.c: Likewise.
21140 * io/xmknod.c: Likewise.
21141 * io/xmknodat.c: Likewise.
21142 * io/xstat.c: Likewise.
21143 * io/xstat64.c: Likewise.
21144 * login/getpt.c: Likewise.
21145 * login/grantpt.c: Likewise.
21146 * login/unlockpt.c: Likewise.
21147 * math/e_acoshl.c: Likewise.
21148 * math/e_acosl.c: Likewise.
21149 * math/e_asinl.c: Likewise.
21150 * math/e_atan2l.c: Likewise.
21151 * math/e_atanhl.c: Likewise.
21152 * math/e_coshl.c: Likewise.
21153 * math/e_expl.c: Likewise.
21154 * math/e_fmodl.c: Likewise.
21155 * math/e_gammal_r.c: Likewise.
21156 * math/e_hypotl.c: Likewise.
21157 * math/e_j0l.c: Likewise.
21158 * math/e_j1l.c: Likewise.
21159 * math/e_jnl.c: Likewise.
21160 * math/e_lgammal_r.c: Likewise.
21161 * math/e_log10l.c: Likewise.
21162 * math/e_log2l.c: Likewise.
21163 * math/e_logl.c: Likewise.
21164 * math/e_powl.c: Likewise.
21165 * math/e_rem_pio2l.c: Likewise.
21166 * math/e_sinhl.c: Likewise.
21167 * math/e_sqrtl.c: Likewise.
21168 * math/fclrexcpt.c: Likewise.
21169 * math/fedisblxcpt.c: Likewise.
21170 * math/feenablxcpt.c: Likewise.
21171 * math/fegetenv.c: Likewise.
21172 * math/fegetexcept.c: Likewise.
21173 * math/fegetround.c: Likewise.
21174 * math/feholdexcpt.c: Likewise.
21175 * math/fesetenv.c: Likewise.
21176 * math/fesetround.c: Likewise.
21177 * math/feupdateenv.c: Likewise.
21178 * math/fgetexcptflg.c: Likewise.
21179 * math/fraiseexcpt.c: Likewise.
21180 * math/fsetexcptflg.c: Likewise.
21181 * math/ftestexcept.c: Likewise.
21182 * math/k_cosl.c: Likewise.
21183 * math/k_rem_pio2l.c: Likewise.
21184 * math/k_sinl.c: Likewise.
21185 * math/k_tanl.c: Likewise.
21186 * math/s_asinhl.c: Likewise.
21187 * math/s_atanl.c: Likewise.
21188 * math/s_cbrtl.c: Likewise.
21189 * math/s_erfl.c: Likewise.
21190 * math/s_expm1l.c: Likewise.
21191 * math/s_log1pl.c: Likewise.
21192 * math/s_tanhl.c: Likewise.
21193 * misc/acct.c: Likewise.
21194 * misc/brk.c: Likewise.
21195 * misc/chflags.c: Likewise.
21196 * misc/chroot.c: Likewise.
21197 * misc/fchflags.c: Likewise.
21198 * misc/fgetxattr.c: Likewise.
21199 * misc/flistxattr.c: Likewise.
21200 * misc/fremovexattr.c: Likewise.
21201 * misc/fsetxattr.c: Likewise.
21202 * misc/fsync.c: Likewise.
21203 * misc/ftruncate.c: Likewise.
21204 * misc/futimes.c: Likewise.
21205 * misc/futimesat.c: Likewise.
21206 * misc/getdomain.c: Likewise.
21207 * misc/getdtsz.c: Likewise.
21208 * misc/gethostid.c: Likewise.
21209 * misc/gethostname.c: Likewise.
21210 * misc/getloadavg.c: Likewise.
21211 * misc/getpagesize.c: Likewise.
21212 * misc/getsysstats.c: Likewise.
21213 * misc/getxattr.c: Likewise.
21214 * misc/gtty.c: Likewise.
21215 * misc/ioctl.c: Likewise.
21216 * misc/lgetxattr.c: Likewise.
21217 * misc/listxattr.c: Likewise.
21218 * misc/llistxattr.c: Likewise.
21219 * misc/lremovexattr.c: Likewise.
21220 * misc/lsetxattr.c: Likewise.
21221 * misc/lutimes.c: Likewise.
21222 * misc/madvise.c: Likewise.
21223 * misc/mincore.c: Likewise.
21224 * misc/mlock.c: Likewise.
21225 * misc/mlockall.c: Likewise.
21226 * misc/mmap.c: Likewise.
21227 * misc/mprotect.c: Likewise.
21228 * misc/msync.c: Likewise.
21229 * misc/munlock.c: Likewise.
21230 * misc/munlockall.c: Likewise.
21231 * misc/munmap.c: Likewise.
21232 * misc/preadv.c: Likewise.
21233 * misc/preadv64.c: Likewise.
21234 * misc/ptrace.c: Likewise.
21235 * misc/pwritev.c: Likewise.
21236 * misc/pwritev64.c: Likewise.
21237 * misc/readv.c: Likewise.
21238 * misc/reboot.c: Likewise.
21239 * misc/remap_file_pages.c: Likewise.
21240 * misc/removexattr.c: Likewise.
21241 * misc/revoke.c: Likewise.
21242 * misc/select.c: Likewise.
21243 * misc/setdomain.c: Likewise.
21244 * misc/setegid.c: Likewise.
21245 * misc/seteuid.c: Likewise.
21246 * misc/sethostid.c: Likewise.
21247 * misc/sethostname.c: Likewise.
21248 * misc/setregid.c: Likewise.
21249 * misc/setreuid.c: Likewise.
21250 * misc/setxattr.c: Likewise.
21251 * misc/sstk.c: Likewise.
21252 * misc/stty.c: Likewise.
21253 * misc/swapoff.c: Likewise.
21254 * misc/swapon.c: Likewise.
21255 * misc/sync.c: Likewise.
21256 * misc/syncfs.c: Likewise.
21257 * misc/syscall.c: Likewise.
21258 * misc/truncate.c: Likewise.
21259 * misc/ualarm.c: Likewise.
21260 * misc/usleep.c: Likewise.
21261 * misc/ustat.c: Likewise.
21262 * misc/utimes.c: Likewise.
21263 * misc/vhangup.c: Likewise.
21264 * misc/writev.c: Likewise.
21265 * posix/_exit.c: Likewise.
21266 * posix/alarm.c: Likewise.
21267 * posix/execve.c: Likewise.
21268 * posix/fexecve.c: Likewise.
21269 * posix/fork.c: Likewise.
21270 * posix/fpathconf.c: Likewise.
21271 * posix/getaddrinfo.c: Likewise.
21272 * posix/getegid.c: Likewise.
21273 * posix/geteuid.c: Likewise.
21274 * posix/getgid.c: Likewise.
21275 * posix/getgroups.c: Likewise.
21276 * posix/getlogin.c: Likewise.
21277 * posix/getlogin_r.c: Likewise.
21278 * posix/getpgid.c: Likewise.
21279 * posix/getpid.c: Likewise.
21280 * posix/getppid.c: Likewise.
21281 * posix/getresgid.c: Likewise.
21282 * posix/getresuid.c: Likewise.
21283 * posix/getsid.c: Likewise.
21284 * posix/getuid.c: Likewise.
21285 * posix/glob64.c: Likewise.
21286 * posix/nanosleep.c: Likewise.
21287 * posix/pathconf.c: Likewise.
21288 * posix/pause.c: Likewise.
21289 * posix/posix_madvise.c: Likewise.
21290 * posix/pread.c: Likewise.
21291 * posix/pread64.c: Likewise.
21292 * posix/pwrite.c: Likewise.
21293 * posix/pwrite64.c: Likewise.
21294 * posix/sched_getaffinity.c: Likewise.
21295 * posix/sched_getp.c: Likewise.
21296 * posix/sched_gets.c: Likewise.
21297 * posix/sched_primax.c: Likewise.
21298 * posix/sched_primin.c: Likewise.
21299 * posix/sched_rr_gi.c: Likewise.
21300 * posix/sched_setaffinity.c: Likewise.
21301 * posix/sched_setp.c: Likewise.
21302 * posix/sched_sets.c: Likewise.
21303 * posix/sched_yield.c: Likewise.
21304 * posix/setgid.c: Likewise.
21305 * posix/setlogin.c: Likewise.
21306 * posix/setpgid.c: Likewise.
21307 * posix/setresgid.c: Likewise.
21308 * posix/setresuid.c: Likewise.
21309 * posix/setsid.c: Likewise.
21310 * posix/setuid.c: Likewise.
21311 * posix/sleep.c: Likewise.
21312 * posix/spawni.c: Likewise.
21313 * posix/sysconf.c: Likewise.
21314 * posix/times.c: Likewise.
21315 * posix/wait.c: Likewise.
21316 * posix/wait3.c: Likewise.
21317 * posix/wait4.c: Likewise.
21318 * posix/waitpid.c: Likewise.
21319 * resolv/gai_sigqueue.c: Likewise.
21320 * resource/getpriority.c: Likewise.
21321 * resource/getrlimit.c: Likewise.
21322 * resource/getrusage.c: Likewise.
21323 * resource/nice.c: Likewise.
21324 * resource/setpriority.c: Likewise.
21325 * resource/setrlimit.c: Likewise.
21326 * resource/ulimit.c: Likewise.
21327 * rt/aio_cancel.c: Likewise.
21328 * rt/aio_fsync.c: Likewise.
21329 * rt/aio_read.c: Likewise.
21330 * rt/aio_sigqueue.c: Likewise.
21331 * rt/aio_suspend.c: Likewise.
21332 * rt/aio_write.c: Likewise.
21333 * rt/clock_getres.c: Likewise.
21334 * rt/clock_gettime.c: Likewise.
21335 * rt/clock_nanosleep.c: Likewise.
21336 * rt/clock_settime.c: Likewise.
21337 * rt/lio_listio.c: Likewise.
21338 * rt/mq_close.c: Likewise.
21339 * rt/mq_getattr.c: Likewise.
21340 * rt/mq_notify.c: Likewise.
21341 * rt/mq_open.c: Likewise.
21342 * rt/mq_receive.c: Likewise.
21343 * rt/mq_send.c: Likewise.
21344 * rt/mq_setattr.c: Likewise.
21345 * rt/mq_timedreceive.c: Likewise.
21346 * rt/mq_timedsend.c: Likewise.
21347 * rt/mq_unlink.c: Likewise.
21348 * rt/shm_open.c: Likewise.
21349 * rt/shm_unlink.c: Likewise.
21350 * rt/timer_create.c: Likewise.
21351 * rt/timer_delete.c: Likewise.
21352 * rt/timer_getoverr.c: Likewise.
21353 * rt/timer_gettime.c: Likewise.
21354 * rt/timer_settime.c: Likewise.
21355 * setjmp/__longjmp.c: Likewise.
21356 * setjmp/setjmp.c: Likewise.
21357 * signal/kill.c: Likewise.
21358 * signal/killpg.c: Likewise.
21359 * signal/raise.c: Likewise.
21360 * signal/sigaction.c: Likewise.
21361 * signal/sigaltstack.c: Likewise.
21362 * signal/sigblock.c: Likewise.
21363 * signal/sigignore.c: Likewise.
21364 * signal/sigintr.c: Likewise.
21365 * signal/signal.c: Likewise.
21366 * signal/sigpause.c: Likewise.
21367 * signal/sigpending.c: Likewise.
21368 * signal/sigqueue.c: Likewise.
21369 * signal/sigreturn.c: Likewise.
21370 * signal/sigset.c: Likewise.
21371 * signal/sigsetmask.c: Likewise.
21372 * signal/sigstack.c: Likewise.
21373 * signal/sigsuspend.c: Likewise.
21374 * signal/sigtimedwait.c: Likewise.
21375 * signal/sigvec.c: Likewise.
21376 * signal/sigwait.c: Likewise.
21377 * signal/sigwaitinfo.c: Likewise.
21378 * signal/sysv_signal.c: Likewise.
21379 * socket/accept.c: Likewise.
21380 * socket/accept4.c: Likewise.
21381 * socket/bind.c: Likewise.
21382 * socket/connect.c: Likewise.
21383 * socket/getpeername.c: Likewise.
21384 * socket/getsockname.c: Likewise.
21385 * socket/getsockopt.c: Likewise.
21386 * socket/isfdtype.c: Likewise.
21387 * socket/listen.c: Likewise.
21388 * socket/recv.c: Likewise.
21389 * socket/recvfrom.c: Likewise.
21390 * socket/recvmsg.c: Likewise.
21391 * socket/send.c: Likewise.
21392 * socket/sendmsg.c: Likewise.
21393 * socket/sendto.c: Likewise.
21394 * socket/setsockopt.c: Likewise.
21395 * socket/shutdown.c: Likewise.
21396 * socket/sockatmark.c: Likewise.
21397 * socket/socket.c: Likewise.
21398 * socket/socketpair.c: Likewise.
21399 * stdio-common/ctermid.c: Likewise.
21400 * stdio-common/cuserid.c: Likewise.
21401 * stdio-common/remove.c: Likewise.
21402 * stdio-common/rename.c: Likewise.
21403 * stdio-common/renameat.c: Likewise.
21404 * stdio-common/tempname.c: Likewise.
21405 * stdlib/getcontext.c: Likewise.
21406 * stdlib/makecontext.c: Likewise.
21407 * stdlib/setcontext.c: Likewise.
21408 * stdlib/swapcontext.c: Likewise.
21409 * stdlib/system.c: Likewise.
21410 * streams/fattach.c: Likewise.
21411 * streams/fdetach.c: Likewise.
21412 * streams/getmsg.c: Likewise.
21413 * streams/getpmsg.c: Likewise.
21414 * streams/putmsg.c: Likewise.
21415 * streams/putpmsg.c: Likewise.
21416 * sysdeps/unix/bsd/getpt.c: Likewise.
21417 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21418 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21419 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21422 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21423 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21424 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21425 * sysvipc/msgctl.c: Likewise.
21426 * sysvipc/msgget.c: Likewise.
21427 * sysvipc/msgrcv.c: Likewise.
21428 * sysvipc/msgsnd.c: Likewise.
21429 * sysvipc/semctl.c: Likewise.
21430 * sysvipc/semget.c: Likewise.
21431 * sysvipc/semop.c: Likewise.
21432 * sysvipc/semtimedop.c: Likewise.
21433 * sysvipc/shmat.c: Likewise.
21434 * sysvipc/shmctl.c: Likewise.
21435 * sysvipc/shmdt.c: Likewise.
21436 * sysvipc/shmget.c: Likewise.
21437 * termios/tcdrain.c: Likewise.
21438 * termios/tcflow.c: Likewise.
21439 * termios/tcflush.c: Likewise.
21440 * termios/tcgetattr.c: Likewise.
21441 * termios/tcgetpgrp.c: Likewise.
21442 * termios/tcsendbrk.c: Likewise.
21443 * termios/tcsetattr.c: Likewise.
21444 * termios/tcsetpgrp.c: Likewise.
21445 * time/adjtime.c: Likewise.
21446 * time/clock.c: Likewise.
21447 * time/getitimer.c: Likewise.
21448 * time/gettimeofday.c: Likewise.
21449 * time/setitimer.c: Likewise.
21450 * time/settimeofday.c: Likewise.
21451 * time/stime.c: Likewise.
21452 * time/time.c: Likewise.
21454 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
21456 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21459 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21461 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21463 2012-11-03 Joseph Myers <joseph@codesourcery.com>
21466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21467 FE_TONEAREST before applying Dekker multiplication and Knuth
21468 addition. Clear inexact exceptions and check for exact zero
21469 results afterwards.
21470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21471 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21472 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21473 * math/libm-test.inc (fma_test): Add more tests.
21474 (fma_test_towardzero): Likewise.
21475 (fma_test_downward): Likewise.
21476 (fma_test_upward): Likewise.
21477 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21479 (libc_fesetround): New macro.
21480 (libc_fesetroundf): Likewise.
21481 (libc_fesetroundl): Likewise.
21482 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21484 (libc_fesetround_387): Likewise.
21485 (libc_fesetroundf): New macro.
21486 (libc_fesetround): Likewise.
21487 (libc_fesetroundl): Likewise.
21488 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21490 (libc_fesetroundf): New macro.
21491 (libc_fesetround): Likewise.
21492 (libc_fesetroundl): Likewise.
21493 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21494 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21495 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21497 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21498 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21500 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21501 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21503 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21507 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21508 integer constant usable in #if and use that to give value to enum
21510 (FE_DIVBYZERO): Likewise.
21511 (FE_UNDERFLOW): Likewise.
21512 (FE_OVERFLOW): Likewise.
21513 (FE_INVALID): Likewise.
21514 (FE_INVALID_SNAN): Likewise.
21515 (FE_INVALID_ISI): Likewise.
21516 (FE_INVALID_IDI): Likewise.
21517 (FE_INVALID_ZDZ): Likewise.
21518 (FE_INVALID_IMZ): Likewise.
21519 (FE_INVALID_COMPARE): Likewise.
21520 (FE_INVALID_SOFTWARE): Likewise.
21521 (FE_INVALID_SQRT): Likewise.
21522 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21523 (FE_TONEAREST): Likewise.
21524 (FE_TOWARDZERO): Likewise.
21525 (FE_UPWARD): Likewise.
21526 (FE_DOWNWARD): Likewise.
21527 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21528 (FE_DIVBYZERO): Likewise.
21529 (FE_OVERFLOW): Likewise.
21530 (FE_UNDERFLOW): Likewise.
21531 (FE_INEXACT): Likewise.
21532 (FE_TONEAREST): Likewise.
21533 (FE_DOWNWARD): Likewise.
21534 (FE_UPWARD): Likewise.
21535 (FE_TOWARDZERO): Likewise.
21536 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21537 (FE_UNDERFLOW): Likewise.
21538 (FE_OVERFLOW): Likewise.
21539 (FE_DIVBYZERO): Likewise.
21540 (FE_INVALID): Likewise.
21541 (FE_TONEAREST): Likewise.
21542 (FE_TOWARDZERO): Likewise.
21543 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21544 (FE_OVERFLOW): Likewise.
21545 (FE_UNDERFLOW): Likewise.
21546 (FE_DIVBYZERO): Likewise.
21547 (FE_INEXACT): Likewise.
21548 (FE_TONEAREST): Likewise.
21549 (FE_TOWARDZERO): Likewise.
21550 (FE_UPWARD): Likewise.
21551 (FE_DOWNWARD): Likewise.
21552 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21553 (FE_DIVBYZERO): Likewise.
21554 (FE_OVERFLOW): Likewise.
21555 (FE_UNDERFLOW): Likewise.
21556 (FE_INEXACT): Likewise.
21557 (FE_TONEAREST): Likewise.
21558 (FE_DOWNWARD): Likewise.
21559 (FE_UPWARD): Likewise.
21560 (FE_TOWARDZERO): Likewise.
21562 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21564 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21566 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21568 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21569 commands. Quote $PWD.
21570 (blacklist_exports): Don't use remove_newlines. Replace "declare
21572 (remove_newlines): Remove.
21574 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21576 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21577 * stdlib/stdlib.h (atof): Moved to ...
21578 * include/bits/stdlib-float.h: Here. New file.
21579 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21580 * stdlib/bits/stdlib-float.h: New file.
21581 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21583 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21586 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21588 * conform/conformtest.pl (@headers): Add fenv.h.
21589 * conform/data/fenv.h-data: New file.
21590 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21591 include of <math/fenv.h>.
21593 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21594 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21595 && !UNIX98]. Enables tests for XOPEN2K8.
21596 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21597 POSIX2008]: Likewise.
21599 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21600 (struct rusage): Do not expect type or its members.
21603 * math/math.h (FP_NAN): Define macro to integer constant usable in
21604 #if and use that to give value to enum constant.
21605 (FP_INFINITE): Likewise.
21606 (FP_ZERO): Likewise.
21607 (FP_SUBNORMAL): Likewise.
21608 (FP_NORMAL): Likewise.
21610 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21612 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21613 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21616 2012-11-02 Roland McGrath <roland@hack.frob.com>
21618 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21619 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21620 autoconf-time if not.
21621 * configure.in: Remove AC_PREREQ.
21623 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21625 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21626 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21627 of the internal implementation.
21629 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21631 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21632 except include of <misc/sys/syslog.h>.
21634 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21637 function returns with a NULL context exit with zero.
21639 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21641 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21643 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21645 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21646 (run_program_cmd): This.
21647 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21648 (tst_langinfo): New variable. Use it.
21650 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21652 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21653 floating point opcodes.
21655 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21657 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21660 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21662 * sysdeps/mach/hurd/powerpc: Remove directory.
21663 * sysdeps/mach/powerpc: Likewise.
21665 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21667 * scripts/check-local-headers.sh: Ignore c++ headers.
21669 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21671 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21672 __libc_cleanup_region_start argument.
21674 2012-11-01 Joseph Myers <joseph@codesourcery.com>
21678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21679 x * y using scaling, not as x * y + z.
21680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21682 * math/libm-test.inc (fma_test): Add more tests.
21683 (fma_test_towardzero): Likewise.
21684 (fma_test_downward): Likewise.
21685 (fma_test_upward): Likewise.
21687 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21689 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21691 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21693 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21696 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21698 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21700 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21707 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21710 Fix the order of the list for glibc 2.17.
21711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21714 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21718 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21721 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21722 for low part of x being zero before using __atanl (y).
21723 * math/libm-test.inc (atan2_test): Add another test.
21725 * manual/install.texi (Configuring and compiling): Document
21726 general use of test-wrapper and test-wrapper-env.
21727 * INSTALL: Regenerated.
21729 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21730 (__fma): Do not extract and scale down low bits on after-rounding
21731 systems when result rounded to normal precision would have normal
21733 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21734 (__fmal): Do not extract and scale down low bits on after-rounding
21735 systems when result rounded to normal precision would have normal
21737 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21738 (__fmal): Do not extract and scale down low bits on after-rounding
21739 systems when result rounded to normal precision would have normal
21741 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21743 (fma_test): Add more tests.
21744 (fma_test_towardzero): Likewise.
21745 (fma_test_downward): Likewise.
21746 (fma_test_upward): Likewise.
21748 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21750 * sysdeps/i386/tininess.h: Renamed to ...
21751 * sysdeps/x86/tininess.h: This.
21752 * sysdeps/x86_64/tininess.h: Removed.
21754 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21756 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21757 input. Use $(build-program-cmd).
21758 ($(objpfx)tst-array1-static.out): Likewise.
21759 ($(objpfx)tst-array2.out): Likewise.
21760 ($(objpfx)tst-array3.out): Likewise.
21761 ($(objpfx)tst-array4.out): Likewise.
21762 ($(objpfx)tst-array5.out): Likewise.
21763 ($(objpfx)tst-array5-static.out): Likewise.
21765 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21767 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21770 * nss/nsswitch.h (nss_interface_function): Provide new
21771 macro for use with NSS functions.
21772 * grp/initgroups.c: Use new macro.
21773 * nss/getXXbyYY.c: Likewise.
21774 * nss/getXXbyYY_r.c: Likewise.
21775 * nss/getXXent.c: Likewise.
21776 * nss/getXXent_r.c: Likewise.
21777 * sysdeps/posix/getaddrinfo.c: Likewise.
21779 2012-10-30 Andreas Jaeger <aj@suse.de>
21781 * po/ru.po: Update Russion translation from translation project.
21783 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21788 result and shift together with sticky bit instead of replicating
21789 round-to-nearest rounding.
21790 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21791 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21792 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21793 missing underflow exceptions.
21794 (fma_test_towardzero): Add more tests.
21795 (fma_test_downward): Likewise.
21796 (fma_test_upward): Likewise.
21799 * sysdeps/generic/tininess.h: New file.
21800 * sysdeps/i386/tininess.h: Likewise.
21801 * sysdeps/sh/tininess.h: Likewise.
21802 * sysdeps/x86_64/tininess.h: Likewise.
21803 * stdlib/tst-strtod-underflow.c: Likewise.
21804 * stdlib/tst-tininess.c: Likewise.
21805 * stdlib/strtod_l.c: Include <tininess.h>.
21806 (round_and_return): Do not set errno for exact underflow cases.
21807 Force an underflow exception when setting errno for underflow.
21808 Determine underflow based on rounding to normal precision if
21809 TININESS_AFTER_ROUNDING.
21810 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21811 ERANGE for exact underflow cases.
21812 * stdlib/Makefile (tests): Add tst-tininess and
21813 tst-strtod-underflow.
21814 ($(objpfx)tst-tininess): Use $(link-libm).
21815 ($(objpfx)tst-strtod-underflow): Likewise.
21817 2012-10-30 Andreas Jaeger <aj@suse.de>
21820 * elf/Makefile (tests): Remove conditional for have-initfini-array
21821 since this is now always required and the variable does not exist
21823 (tests-static): Likewise.
21824 (modules-names): Likewise.
21826 * po/eo.po: Add Esperanto translation from translation project.
21828 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21829 merged with constructor/destructor.
21830 (init_array): Likewise.
21831 * elf/tst-array2dep.c (fini_array): Likewise.
21832 (init_array): Likewise.
21834 2012-10-29 Mike Frysinger <vapier@gentoo.org>
21836 * manual/message.texi: Delete @cartouche tags.
21838 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21840 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21842 * sysdeps/mach/hurd/fsync.c: Likewise.
21844 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21845 [_POSIX_REALTIME_SIGNALS]: Change condition to
21846 [_POSIX_REALTIME_SIGNALS > 0].
21848 2012-10-27 Andreas Jaeger <aj@suse.de>
21850 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21851 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21852 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21853 [__WORDSIZE != 64]: Likewise.
21855 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21857 * iconvdata/tst-table.sh: Remove ${SHELL}.
21858 * iconvdata/tst-tables.sh: Likewise.
21860 2012-10-25 David S. Miller <davem@davemloft.net>
21862 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21863 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21868 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21869 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21870 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21873 2012-10-25 Roland McGrath <roland@hack.frob.com>
21875 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21876 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21879 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21880 Jim Blandy <jimb@codesourcery.com>
21882 * scripts/cross-test-ssh.sh: New file.
21883 * manual/install.texi (Configuring and compiling): Document use of
21885 * INSTALL: Regenerated.
21887 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21889 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21892 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21894 * Makeconfig (run-program-prefix): Fix comment.
21896 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21897 Jim Blandy <jimb@codesourcery.com>
21899 * Makeconfig (test-wrapper): New variable,
21900 (test-wrapper-env): Likewise.
21901 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21902 (run-built-tests): Define to yes.
21903 (run-program-prefix): Use $(test-wrapper).
21904 (built-program-cmd): Likewise.
21905 * Rules (make-test-out): Use $(test-wrapper-env) and
21906 $(host-built-program-cmd).
21907 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21908 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21910 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21911 $(test-wrapper-env) to tst-rtld-load-self.sh.
21912 ($(objpfx)order2.out): Use $(test-wrapper).
21913 ($(objpfx)tst-initorder.out): Likewise.
21914 ($(objpfx)tst-initorder2.out): Likewise.
21915 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21916 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21917 (test_wrapper_env): New variable. Use it to run ld.so.
21918 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21919 Use it to run ld.so.
21920 (test_wrapper_env): Likewise.
21921 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21922 $(test-wrapper) to run-iconv-test.sh.
21923 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21924 (ICONV): Use $test_wrapper.
21925 * posix/Makefile ($(objpfx)globtest.out): Pass
21926 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21927 globtest.sh, not $(run-program-prefix).
21928 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21929 (test_wrapper): Likewise.
21930 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21931 set together with run_via_rtld_prefix.
21932 (run_program_prefix): Define in terms of test_wrapper and
21933 run_via_rtld_prefix.
21935 2012-10-24 Roland McGrath <roland@hack.frob.com>
21937 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21938 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21942 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21943 Declare __clock_getres, __clock_gettime, __clock_settime,
21944 __clock_nanosleep, and __clock_getcpuclockid.
21945 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21946 Remove librt_hidden_def (clock_gettime).
21947 * sysdeps/unix/clock_gettime.c: Likewise.
21948 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21949 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21950 * rt/clock_getres.c: Define __clock_getres as an alias.
21951 * sysdeps/posix/clock_getres.c: Likewise.
21952 * rt/clock_settime.c: Define __clock_settime as an alias.
21953 * sysdeps/unix/clock_settime.c: Likewise.
21954 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21955 * sysdeps/unix/clock_nanosleep.c: Likewise.
21956 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21957 * rt/clock-compat.c: New file.
21958 * rt/Makefile (librt-routines): Add clock-compat and move
21959 $(clock-routines) to ...
21960 (routines): ... here, new variable.
21961 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21962 Don't add get_clockfreq here.
21963 * rt/Versions (libc: GLIBC_2.17): New version set.
21964 Add clock_* symbols here.
21965 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21966 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21967 (GLIBC_2.17): Add clock_* symbols.
21968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21970 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21979 * NEWS: Mention the move.
21981 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21982 Use __open, __read, __close rather than their public counterparts.
21983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21984 (__get_clockfreq_via_cpuinfo): Likewise.
21985 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21986 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21988 * config.h.in (HAVE_IFUNC): New #undef.
21989 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21991 * configure: Regenerated.
21993 2012-10-24 Mike Frysinger <vapier@gentoo.org>
21995 * configure.in: Move READELF check to start of file.
21996 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21997 libc_cv_asm_gnu_indirect_function in the process.
21998 * configure: Regenerated.
22000 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22002 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22003 send the output to /dev/null.
22004 (libc_cv_cc_with_libunwind): Likewise.
22005 (libc_cv_as_noexecstack): Likewise.
22006 * configure: Regenerate.
22008 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22010 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22012 * posix/globtest.sh (TMPDIR): Do not set.
22013 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22014 (testout): Likewise.
22016 2012-10-24 Andreas Jaeger <aj@suse.de>
22018 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22019 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22020 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22021 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22022 posix_fadvise64, posix_fallocate64.
22024 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22025 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22026 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22028 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22030 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22033 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22034 <bits/fcntl-linux.h>.
22035 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22038 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22039 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22040 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22041 [__WORDSIZE != 64]: Likewise.
22043 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22045 * Makeconfig (run-built-tests): New variable.
22046 * Rules [$(cross-compiling) = yes]: Change condition to
22047 [$(run-built-tests) = no].
22048 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22049 to [$(run-built-tests) = yes].
22050 * elf/Makefile [$(cross-compiling) = no]: Likewise
22051 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22052 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22053 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22054 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22055 * io/Makefile [$(cross-compiling) = no]: Likewise.
22056 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22057 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22058 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22059 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22060 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22061 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22062 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22063 * string/Makefile [$(cross-compiling) = no]: Likewise.
22065 * posix/Makefile ($(objpfx)globtest.out): Pass
22066 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22067 $(rtld-installed-name).
22068 * posix/globtest.sh (elf_objpfx): Remove variable.
22069 (rtld_installed_name): Likewise.
22070 (library_path): Likewise.
22071 (run_program_prefix): New variable. Use for running globtest
22074 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22075 Joseph Myers <joseph@codesourcery.com>
22077 * Makeconfig (host-built-program-cmd): New variable.
22078 * elf/Makefile (tst-stackguard1-ARGS): Use
22079 $(host-built-program-cmd).
22080 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22081 (tst-spawn-ARGS): Likewise.
22082 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22084 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22085 Jim Blandy <jimb@codesourcery.com>
22087 * Makeconfig (run-via-rtld-prefix): New variable.
22088 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22089 (built-program-cmd): Likewise.
22091 2012-10-22 Andreas Jaeger <aj@suse.de>
22093 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22094 __O_RSYNC if it exists, otherwise to O_SYNC.
22096 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22097 Joseph Myers <joseph@codesourcery.com>
22099 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22101 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22103 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22106 2012-10-22 Andreas Jaeger <aj@suse.de>
22108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22112 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22113 bits/fcntl-linux.h.
22115 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22116 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22123 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22124 Joseph Myers <joseph@codesourcery.com>
22126 * config.make.in (NM): New variable.
22128 2012-10-21 Andreas Jaeger <aj@suse.de>
22130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22131 definitions and declarations that are provided by
22132 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22134 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22137 * elf/Makefile (tests-static): Add tst-leaks1-static.
22138 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22139 ($(objpfx)tst-leaks1-static): New rule.
22140 ($(objpfx)tst-leaks1-static-mem): Likewise.
22141 (tst-leaks1-static-ENV): New macro.
22142 * elf/dl-open.c (dl_open_worker): Check the main application
22143 only if SHARED is defined.
22144 * elf/tst-leaks1-static.c: New file.
22146 2012-10-20 Andreas Jaeger <aj@suse.de>
22148 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22149 generic values for Linux.
22150 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22151 and declarations that are provided by <bits/fcntl-linux.h> and
22152 include <bits/fcntl-linux.h>.
22153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22156 2012-10-20 Roland McGrath <roland@hack.frob.com>
22158 * io/fcntl.h: Move include of <bits/types.h> to the top and
22159 include it unconditionally.
22161 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22163 * wcsmbs/Makefile (tests-ifunc): New variable.
22164 (tests): Add $(tests-ifunc).
22165 * wcsmbs/test-wcschr-ifunc.c: New file.
22166 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22167 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22168 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22169 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22170 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22172 * string/Makefile (tests-ifunc): New variable.
22173 (tests): Add $(tests-ifunc).
22174 * string/test-memccpy.c (TEST_NAME): New macro.
22175 * string/test-memchr.c (TEST_NAME): Likewise.
22176 * string/test-memcmp.c (TEST_NAME): Likewise.
22177 * string/test-memcpy.c (TEST_NAME): Likewise.
22178 * string/test-memmem.c (TEST_NAME): Likewise.
22179 * string/test-memmove.c (TEST_NAME): Likewise.
22180 * string/test-memset.c (TEST_NAME): Likewise.
22181 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22182 * string/test-stpcpy.c (TEST_NAME): Likewise.
22183 * string/test-stpncpy.c (TEST_NAME): Likewise.
22184 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22185 * string/test-strcasestr.c (TEST_NAME): Likewise.
22186 * string/test-strcat.c (TEST_NAME): Likewise.
22187 * string/test-strchr.c (TEST_NAME): Likewise.
22188 * string/test-strcmp.c(TEST_NAME): Likewise.
22189 * string/test-strcpy.c (TEST_NAME): Likewise.
22190 * string/test-strcspn.c (TEST_NAME): Likewise.
22191 * string/test-strlen.c (TEST_NAME): Likewise.
22192 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22193 * string/test-strncmp.c (TEST_NAME): Likewise.
22194 * string/test-strncpy.c (TEST_NAME): Likewise.
22195 * string/test-strnlen.c (TEST_NAME): Likewise.
22196 * string/test-strpbrk.c (TEST_NAME): Likewise.
22197 * string/test-strrchr.c (TEST_NAME): Likewise.
22198 * string/test-strspn.c (TEST_NAME): Likewise.
22199 * string/test-strstr.c (TEST_NAME): Likewise.
22200 * string/test-bcopy-ifunc.c: New file.
22201 * string/test-bzero-ifunc.c: Likewise.
22202 * string/test-memccpy-ifunc.c: Likewise.
22203 * string/test-memchr-ifunc.c: Likewise.
22204 * string/test-memcmp-ifunc.c: Likewise.
22205 * string/test-memcpy-ifunc.c: Likewise.
22206 * string/test-memmem-ifunc.c: Likewise.
22207 * string/test-memmove-ifunc.c: Likewise.
22208 * string/test-mempcpy-ifunc.c: Likewise.
22209 * string/test-memset-ifunc.c: Likewise.
22210 * string/test-rawmemchr-ifunc.c: Likewise.
22211 * string/test-stpcpy-ifunc.c: Likewise.
22212 * string/test-stpncpy-ifunc.c: Likewise.
22213 * string/test-strcasecmp-ifunc.c: Likewise.
22214 * string/test-strcasestr-ifunc.c: Likewise.
22215 * string/test-strcat-ifunc.c: Likewise.
22216 * string/test-strchr-ifunc.c: Likewise.
22217 * string/test-strchrnul-ifunc.c: Likewise.
22218 * string/test-strcmp-ifunc.c: Likewise.
22219 * string/test-strcpy-ifunc.c: Likewise.
22220 * string/test-strcspn-ifunc.c: Likewise.
22221 * string/test-strlen-ifunc.c: Likewise.
22222 * string/test-strncasecmp-ifunc.c: Likewise.
22223 * string/test-strncat-ifunc.c: Likewise.
22224 * string/test-strncmp-ifunc.c: Likewise.
22225 * string/test-strncpy-ifunc.c: Likewise.
22226 * string/test-strnlen-ifunc.c: Likewise.
22227 * string/test-strpbrk-ifunc.c: Likewise.
22228 * string/test-strrchr-ifunc.c: Likewise.
22229 * string/test-strspn-ifunc.c: Likewise.
22230 * string/test-strstr-ifunc.c: Likewise.
22232 * debug/Makefile (tests-ifunc): New variable.
22233 (tests): Add $(tests-ifunc).
22234 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22235 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22236 * debug/test-stpcpy_chk-ifunc.c: New file.
22237 * debug/test-strcpy_chk-ifunc.c: Likewise.
22239 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22242 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22243 header is not read in.
22245 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22247 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22248 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22249 directly. Pass built executable to script as
22250 $(built-program-cmd).
22251 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22252 $testprogram without using LD_LIBRARY_PATH and $ldso.
22254 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22255 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22256 $(rtld-installed-name).
22257 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22258 (rtld_installed_name): Likewise.
22259 (library_path): Likewise.
22260 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22261 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22262 $(run-program-prefix) to tst-tables.sh.
22263 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22264 it to run tst-table-from and tst-table-to.
22265 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22266 Pass it to tst-table.sh.
22267 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22268 $(run-program-prefix) to tst-gettext.sh.
22269 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22271 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22273 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22274 to run tst-gettext.
22275 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22276 to run tst-gettext2.
22277 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22278 to run tst-translit.
22279 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22280 $(run-program-prefix) to tst-mtrace.sh.
22281 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22283 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22284 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22285 $(rtld-installed-name).
22286 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22287 (rtld_installed_name): Likewise.
22288 (run_program_prefix): New variable. Use it to run wordexp-test.
22290 * Makeconfig (ARCH): Remove all definitions.
22291 (machine): Likewise.
22292 [ARCH]: Remove conditional code.
22293 [!objdir]: Give error.
22294 [!objdir] (objpfx): Remove.
22295 [!objdir] (common-objpfx): Likewise.
22296 [!objdir] (common-objdir): Likewise.
22297 * configure.in (config_makefile): Remove. Hardcode Makefile in
22298 AC_CONFIG_FILES call.
22299 * configure: Regenerated.
22302 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22304 (testout): Likewise.
22306 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22307 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22308 $(rtld-installed-name).
22309 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22310 (rtld_installed_name): Likwise.
22311 (runit): Remove function.
22312 (run_getconf): New variable, Use it for running getconf binary.
22314 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22317 * string/test-memmem.c (check_result): New function.
22318 (do_one_test): Use it.
22319 (check1): New function.
22320 (test_main): Use it.
22322 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22324 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22326 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22328 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22329 (_G_LSEEK64): Likewise.
22330 (_G_MMAP64): Likewise.
22331 (_G_FSTAT64): Likewise.
22332 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22333 (_G_LSEEK64): Likewise.
22334 (_G_MMAP64): Likewise.
22335 (_G_FSTAT64): Likewise.
22336 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22337 unconditional. Call __mmap64 directly.
22338 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22339 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22340 __lseek64 directly.
22341 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22342 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22344 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22345 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22346 __lseek64 directly.
22347 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22348 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22349 __lseek64 directly.
22350 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22351 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22352 __lseek64 directly.
22353 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22354 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22355 __fxstat64 directly.
22356 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22357 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22359 (freopen64) [!_G_OPEN64]: Remove conditional code.
22360 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22362 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22363 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22365 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22366 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22368 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22369 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22371 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22372 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22374 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22375 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22377 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22378 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22380 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22382 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22385 * manual/memory.texi (Malloc Tunable Parameters): Add note
22386 about free list pointers overwriting some perturb bytes.
22387 Wording suggested by Roland McGrath.
22389 2012-10-17 Joseph Myers <joseph@codesourcery.com>
22391 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22392 (lgamma_test): Likewise.
22393 (tgamma_test): Likewise.
22395 2012-10-16 Florian Weimer <fweimer@redhat.com>
22398 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22399 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22401 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22403 * NEWS: Mention BZ #14716.
22404 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22405 when removing AVAILABLE1_USES_J macro.
22407 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22409 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22410 (__bswap_64): __uint64_t for unsigned 64-bit int.
22412 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22414 * include/string.h (memmem): Declare libc hidden alias.
22415 * string/memmem.c (memmem): Define libc hidden alias.
22416 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22417 __read, __close instead of open, read, close.
22419 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22422 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22424 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22425 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22426 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22428 (__rawmemchr_sse2): Likewise.
22429 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22430 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22431 (__strchr_sse2): Likewise.
22432 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22433 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22434 (__strcasecmp_sse2): Likewise.
22435 (__strncasecmp_sse2): Likewise.
22436 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22437 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22438 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22439 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22440 (__strrchr_sse2): Likewise.
22441 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22443 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22444 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22445 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22446 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22447 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22448 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22449 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22450 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22451 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22452 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22453 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22454 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22455 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22456 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22457 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22458 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22459 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22460 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22461 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22462 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22463 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22464 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22465 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22466 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22467 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22468 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22469 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22470 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22471 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22472 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22474 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22476 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22477 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22478 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22479 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22481 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22483 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22484 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22485 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22486 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22488 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22489 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22490 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22491 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22492 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22493 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22494 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22495 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22496 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22497 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22498 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22499 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22500 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22501 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22502 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22503 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22504 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22505 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22506 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22507 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22509 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22510 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22511 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22512 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22513 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22514 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22515 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22516 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22517 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22518 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22519 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22520 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22521 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22522 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22523 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22524 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22525 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22526 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22527 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22528 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22530 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22531 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22532 * include/ifunc-impl-list.h: New file.
22533 * misc/ifunc-impl-list.c: Likewise.
22534 * misc/Makefile (routines): Add ifunc-impl-list.
22535 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22536 * string/test-string.h: Include <ifunc-impl-list.h>.
22537 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22538 impl_array): New variables.
22539 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22541 (test_init): Call __libc_ifunc_impl_list to initialize
22542 func_list if TEST_IFUNC and TEST_NAME are defined.
22544 * string/Makefile (strop-tests): Add bcopy and bzero.
22545 * string/test-bcopy.c: New file.
22546 * string/test-bzero.c: Likewise.
22547 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22549 * string/test-memset.c: Support bzero test if TEST_BZERO is
22551 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22553 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22555 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22558 2012-10-10 Joseph Myers <joseph@codesourcery.com>
22560 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22561 * configure: Regenerated.
22563 * Makeconfig (+link-static-before-libc): Don't include
22564 $(link-static-libc).
22566 * libio/libio.h (_IO_pos_t): Remove.
22568 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22570 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22573 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22575 * crypt/crypt-entry.c: Include fips-private.h.
22576 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22577 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22578 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22579 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22581 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22583 * crypt/crypt-private.h: Include stdbool.h.
22584 (_ufc_setup_salt_r): Return bool.
22585 * crypt/crypt-entry.c: Include errno.h.
22586 (__crypt_r): Return NULL with EINVAL for bad salt.
22587 * crypt/crypt_util.c (bad_for_salt): New.
22588 (_ufc_setup_salt_r): Check that salt is long enough and within
22589 the specified alphabet.
22590 * crypt/badsalttest.c: New file.
22591 * crypt/Makefile (tests): Add it.
22592 ($(objpfx)badsalttest): New.
22594 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22596 * NEWS: Add entry for BZ #14602.
22598 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22600 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22602 * math/libm-test.inc: Update comment listing what functions and
22604 (isgreater_test): New function.
22605 (isgreaterequal_test): Likewise.
22606 (isless_test): Likewise.
22607 (islessequal_test): Likewise.
22608 (islessgreater_test): Likewise.
22609 (isunordered_test): Likewise.
22610 (main): Call the new functions.
22612 2012-10-09 Roland McGrath <roland@hack.frob.com>
22614 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22615 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22616 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22617 * sysdeps/i386/configure: Regenerated.
22618 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22619 * sysdeps/mach/configure: Regenerated.
22620 * sysdeps/mach/hurd/configure: Regenerated.
22621 * sysdeps/powerpc/configure: Regenerated.
22622 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22623 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22624 * sysdeps/s390/s390-32/configure: Regenerated.
22625 * sysdeps/s390/s390-64/configure: Regenerated.
22626 * sysdeps/sh/configure: Regenerated.
22627 * sysdeps/sparc/configure: Regenerated.
22628 * sysdeps/unix/sysv/linux/configure: Regenerated.
22629 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22630 * sysdeps/x86_64/configure: Regenerated.
22632 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22633 defined. Don't check if MAP is NULL.
22635 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22637 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22638 (_G_stat64): Likewise.
22639 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22640 (_G_stat64): Likewise.
22641 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22642 instead of struct _G_stat64.
22643 * libio/fileops.c (mmap_remap_check): Likewise.
22644 (decide_maybe_mmap): Likewise.
22645 (_IO_new_file_seekoff): Likewise.
22646 (_IO_file_stat): Likewise.
22647 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22649 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22650 instead of struct _G_stat64.
22651 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22653 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22656 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22658 (CHECK_EOL): New macro.
22659 (two_way_short_needle): Check beginning of haystack for EOL. Use
22661 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22662 Replace with CHECK_EOL.
22663 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22664 Replace with CHECK_EOL.
22666 2012-10-08 Joseph Myers <joseph@codesourcery.com>
22668 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22670 * math/libm-test.inc: Update comment listing what functions and
22672 (finite_test): New function.
22673 (isinf_test): Likewise.
22674 (isnan_test): Likewise.
22675 (fpclassify_test): Test subnormal input.
22676 (isfinite_test): Likewise.
22677 (isnormal_test): Likewise.
22678 (main): Call the new functions.
22680 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22683 * Makerules (%.dynsym): Force C locale when running
22684 $(OBJDUMP) --dynamic-syms.
22686 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22688 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22691 2012-10-06 David S. Miller <davem@davemloft.net>
22693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22694 upper 32-bits of the length value in %o2 since we use branch-on-register
22695 tests which consider the entire 64-bit register.
22697 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22699 * string/test-strstr.c (check2): Add a test for page boundary.
22701 2012-10-05 David S. Miller <davem@davemloft.net>
22703 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22704 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22706 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22708 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22709 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22710 and bzero when HWCAP_SPARC_CRYPTO is present.
22712 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22715 * string/test-strstr.c (check2): New function.
22716 (test_main): Call check2.
22718 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22720 * string/bug-strcasestr1.c (do_test): Moved to ...
22721 * string/test-strcasestr.c (check1): Here. New function.
22722 (do_one_test): Break out result checking code into ...
22723 (check_result): This. New function.
22724 (do_one_test): Call check_result.
22725 (test_main): Call check1.
22726 * string/bug-strchr1.c (do_test): Moved to ...
22727 * string/test-strchr.c (check1): Here. New function.
22728 (do_one_test): Break out result checking code into ...
22729 (check_result): This. New function.
22730 (do_one_test): Call check_result.
22731 (test_main): Call check1.
22732 * string/bug-strstr1.c (main): Moved to ...
22733 * string/test-strstr.c (check1): Here. New function.
22734 (do_one_test): Break out result checking code into ...
22735 (check_result): This. New function.
22736 (do_one_test): Call check_result.
22737 (test_main): Call check1.
22738 * string/bug-strcasestr1.c: Removed.
22739 * string/bug-strchr1.c: Likewise.
22740 * string/bug-strstr1.c: Likewise.
22742 * elf/Makefile (dl-routines): Add hwcaps.
22743 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22744 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22745 (_dl_important_hwcaps): Moved to ...
22746 * elf/dl-hwcaps.c: Here. New file.
22747 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22750 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22751 if IS_IN_rtld isn't defined.
22753 * elf/dl-support.c (_dl_sysinfo_map): New.
22754 Include "get-dynamic-info.h" and "setup-vdso.h".
22755 (_dl_non_dynamic_init): Call setup_vdso.
22756 * elf/dynamic-link.h: Don't include <assert.h>.
22757 (elf_get_dynamic_info): Moved to ...
22758 * elf/get-dynamic-info.h: Here. New file.
22759 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22760 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22761 * elf/setup-vdso.h: Here. New file.
22762 * elf/rtld.c: Include "setup-vdso.h".
22763 (dl_main): Call setup_vdso.
22765 2012-10-05 Joseph Myers <joseph@codesourcery.com>
22767 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22768 creal in comment listing functions tested. List finite, isinf,
22769 isnan, isless, islessequal, isgreater, isgreaterequal,
22770 islessgreater, isunordered, lgamma_r and pow10 as functions and
22771 macros not tested. Mention which functions not tested are aliases
22772 for other functions. Fix typo. Note that signs of NaNs are not
22775 * scripts/config.guess: Update from config.git.
22776 * scripts/config.sub: Likewise.
22778 2012-10-04 Roland McGrath <roland@hack.frob.com>
22780 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22781 * misc/madvise.c (madvise): Renamed to __madvise.
22782 Make madvise a weak alias.
22783 * include/sys/mman.h: Declare __madvise.
22784 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22785 * sysdeps/unix/syscalls.list
22786 (madvise): Make __madvise the strong name, and madvise a weak alias.
22787 * sysdeps/unix/sysv/linux/syscalls.list
22788 (madvise, mmap): Remove redundant entries.
22789 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22790 * malloc/malloc.c (mtrim): Likewise.
22791 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22793 2012-10-03 Roland McGrath <roland@hack.frob.com>
22795 * sysdeps/mach/hurd/dl-cache.c: File removed.
22796 * config.h.in (USE_LDCONFIG): New #undef.
22797 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22798 * configure: Regenerated.
22799 * elf/Makefile (dl-routines): Add dl-cache only under
22800 [$(use-ldconfig) = yes].
22801 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22802 cache on [USE_LDCONFIG].
22803 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22805 * elf/rtld.c (dl_main): Likewise.
22807 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22809 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22810 _SC_LEVEL4_CACHE_LINESIZE.
22812 2012-10-03 Roland McGrath <roland@hack.frob.com>
22814 * sysdeps/unix/bsd/confstr.h: File removed.
22816 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
22818 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22821 2012-10-02 Roland McGrath <roland@hack.frob.com>
22823 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22824 Make 'mapoff' field ElfW(Off) rather than off_t.
22826 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22828 * nscd/Makefile: Remove nscd-cflags and all its users.
22829 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22830 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22833 * malloc.c (malloc_printerr): Clarify error message.
22835 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22839 Set bit_FMA_Usable if FMA is supported.
22840 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22842 (bit_FMA4_Usable): Updated.
22843 (index_FMA_Usable): New macro.
22844 (CPUID_FMA): Likewise
22845 (HAS_FMA): Defined with bit_FMA_Usable.
22847 2012-10-01 Roland McGrath <roland@hack.frob.com>
22849 * bits/types.h (__swblk_t): Type removed.
22850 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22851 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22853 (__SWBLK_T_TYPE): Likewise.
22854 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22855 (__SWBLK_T_TYPE): Likewise.
22856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22857 (__SWBLK_T_TYPE): Likewise.
22858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22859 (__SWBLK_T_TYPE): Likewise.
22861 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
22862 Honza Horak <hhorak@redhat.com>
22864 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22865 (xdr_mapname): Use YPMAXMAP as maxsize.
22866 (xdr_peername): Use YPMAXPEER as maxsize.
22867 (xdr_keydat): Use YPAXRECORD as maxsize.
22868 (xdr_valdat): Use YPMAXRECORD as maxsize.
22870 2012-10-01 Roland McGrath <roland@hack.frob.com>
22872 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22874 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22875 * csu/init-first.c: ... here.
22876 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22877 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22878 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22879 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22880 * sysdeps/i386/init-first.c: File removed.
22881 * sysdeps/sh/init-first.c: File removed.
22883 2012-10-01 Joseph Myers <joseph@codesourcery.com>
22886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22887 if x * y might underflow to zero and z is zero.
22888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22890 * math/libm-test.inc (min_subnorm_value): New variable.
22891 (fma_test): Add more tests.
22892 (fma_test_towardzero): Likewise.
22893 (fma_test_downward): Likewise
22894 (fma_test_upward): Likewise.
22895 (initialize): Set min_subnorm_value.
22897 2012-09-29 Joseph Myers <joseph@codesourcery.com>
22900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22902 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22903 mode for addition resulting in exact zero.
22904 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22905 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22907 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22908 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22909 * math/libm-test.inc (fma_test): Add more tests.
22910 (fma_test_towardzero): New function.
22911 (fma_test_downward): Likewise.
22912 (fma_test_upward): Likewise.
22913 (main): Call the new functions.
22915 2012-09-28 David S. Miller <davem@davemloft.net>
22917 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22919 2012-09-28 Roland McGrath <roland@hack.frob.com>
22921 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22922 instead of SIGALRM.
22924 * sysdeps/gnu/_G_config.h: Moved to ...
22925 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22926 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22927 * sysdeps/generic/_G_config.h: ... here.
22929 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22931 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22933 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22934 Conditionalize target on [libnss_test1.so-version].
22936 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22938 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22939 (elfobjdir): Move out of conditionals.
22941 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22942 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22943 (__nss_lookup_function): Conditionalize label remove_from_tree on
22944 [!DO_STATIC_NSS || SHARED], matching its only use.
22946 2012-09-28 David S. Miller <davem@davemloft.net>
22948 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22949 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22951 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22953 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22954 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22955 when HWCAP_SPARC_CRYPTO is present.
22957 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22959 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22961 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22964 * stdio-common/vfprintf.c (process_string_arg): Revert
22967 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22969 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22971 * stdio-common/tst-sprintf.c: Include <locale.h>
22972 (main): Test sprintf's handling of incomplete multibyte
22975 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22977 * elf/dl-runtime.c (VERSYMIDX): Removed.
22978 * elf/dl-version.c (VERSYMIDX): Likewise.
22979 * elf/do-rel.h (VERSYMIDX): Likewise.
22980 (VALIDX): Likewise.
22981 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22982 * elf/rtld.c (VALIDX): Likewise.
22983 (ADDRIDX): Likewise.
22984 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22985 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22986 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22987 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22988 (VALIDX): Likewise.
22989 (ADDRIDX): Likewise.
22991 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22993 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22995 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22998 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23000 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23001 addresses are in the same scope as 192.0.2/24.
23002 * posix/gai.conf: Document new scope table defaults.
23004 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23007 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23008 for ftell. Compute offsets from write pointers instead.
23009 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23011 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23014 * libio/Makefile (tests): New test case tst-fseek.
23015 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23016 combination works in wide mode.
23017 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23018 state when the external buffer state changes.
23020 2012-09-27 David S. Miller <davem@davemloft.net>
23023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23024 pass reloc->r_addend in as the 'high' argument to
23025 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23029 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23031 * rt/tst-aio2.c: Include <pthread.h>.
23032 * rt/tst-aio3.c: Likewise.
23034 2012-09-27 Steve Ellcey <sellcey@mips.com>
23036 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23038 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23040 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23041 contents on [SHARED].
23043 2012-09-26 Marek Polacek <polacek@redhat.com>
23047 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23048 for C++ and GCC <4.3 as well as for non GCC compilers.
23050 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23054 2012-09-25 Roland McGrath <roland@hack.frob.com>
23056 * Makefile.in (all, install): Declare with .PHONY.
23057 Reported by Michael Hope <michael.hope@linaro.org>.
23059 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23061 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23062 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23064 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23066 (sydep_routines): Add the new and the internal functions.
23067 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23068 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23070 (GLIBC_2.17): Add the new function.
23071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23072 (GLIBC_2.17): Likewise.
23073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23074 (GLIBC_2.17): Likewise.
23075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23076 (GLIBC_2.17): Likewise.
23077 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23079 2012-09-25 Alan Modra <amodra@gmail.com>
23081 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23082 Add release barrier before setting once_control to say
23083 initialisation is done. Add hints on lwarx. Use macro in
23085 (clear_once_control): Add release barrier.
23087 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23090 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23092 * math/s_clog10.c (__clog10): Likewise.
23093 * math/s_clog10f.c (__clog10f): Likewise.
23094 * math/s_clog10l.c (__clog10l): Likewise.
23095 * math/s_clogf.c (__clogf): Likewise.
23096 * math/s_clogl.c (__clogl): Likewise.
23097 * math/Makefile (libm-calls): Add x2y2m1.
23098 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23099 (__x2y2m1): Likewise.
23100 (__x2y2m1l): Likewise.
23101 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23102 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23103 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23104 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23105 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23106 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23107 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23108 * sysdeps/i386/fpu/libm-test-ulps: Update.
23109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23112 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23113 int as type of variable DEPTH.
23114 (glob): Use size_t instead of int as type of variables NEWCOUNT
23117 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23119 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23120 Add s_sincosf-sse2.
23121 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23122 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23123 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23124 macros for using routine as __sincosf_ia32.
23125 Use macro for function declaration and weak_alias.
23126 * sysdeps/i386/fpu/libm-test-ulps: Update.
23128 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23131 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23132 subnormal argument.
23133 * math/s_cexpf.c (__cexpf): Likewise.
23134 * math/s_csinf.c (__csinf): Likewise.
23135 * math/s_csinhf.c (__csinhf): Likewise.
23136 * math/s_ctanf.c (__ctanf): Likewise.
23137 * math/s_ctanhf.c (__ctanhf): Likewise.
23138 * math/s_ccosh.c (__ccoshf): Likewise.
23139 * math/s_cexp.c (__cexpl): Likewise.
23140 * math/s_csin.c (__csin): Likewise.
23141 * math/s_csinh.c (__csinh): Likewise.
23142 * math/s_ctan.c (__ctan): Likewise.
23143 * math/s_ctanh.c (ctanh): Likewise.
23144 * math/s_ccoshl.c (__ccoshl): Likewise.
23145 * math/s_cexpl.c (__cexpl): Likewise.
23146 * math/s_csinl.c (__csinl): Likewise.
23147 * math/s_csinhl.c (__csinhl): Likewise.
23148 * math/s_ctanl.c (__ctanl): Likewise.
23149 * math/s_ctanhl.c (__ctanhl): Likewise.
23151 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23153 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23154 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23155 (_IO_off_t): Define to __off_t, not _G_off_t.
23156 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23157 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23158 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23159 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23160 type of __dummy and __dummy2 fields.
23161 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23162 (_G_ssize_t): Likewise.
23163 (_G_off_t): Likewise.
23164 (_G_pid_t): Likewise.
23165 (_G_uid_t): Likewise.
23166 (_G_wchar_t): Likewise.
23167 (_G_wint_t): Likewise.
23168 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23169 (_G_ssize_t): Likewise.
23170 (_G_off_t): Likewise.
23171 (_G_pid_t): Likewise.
23172 (_G_uid_t): Likewise.
23173 (_G_wchar_t): Likewise.
23174 (_G_wint_t): Likewise.
23175 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23176 (_G_ssize_t): Likewise.
23177 (_G_off_t): Likewise.
23178 (_G_pid_t): Likewise.
23179 (_G_uid_t): Likewise.
23180 (_G_wchar_t): Likewise.
23181 (_G_wint_t): Likewise.
23183 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23185 * malloc/arena.c: Include malloc-sysdep.h.
23186 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23187 is sufficient to shrink the heap or an unmap is needed.
23188 * sysdeps/generic/malloc-sysdep.h: New file. Define
23189 new function check_may_shrink_heap.
23190 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23191 new function check_may_shrink_heap.
23193 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23195 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23198 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23200 * catgets/test-gencat.sh: Add "set -e".
23201 * elf/tst-pathopt.sh: Likewise.
23202 * grp/tst_fgetgrent.sh: Likewise.
23203 * iconvdata/run-iconv-test.sh: Likewise.
23204 * intl/tst-gettext.sh: Likewise.
23205 * intl/tst-gettext2.sh: Likewise.
23206 * intl/tst-gettext4.sh: Likewise.
23207 * intl/tst-gettext6.sh: Likewise.
23208 * intl/tst-translit.sh: Likewise.
23209 * io/ftwtest-sh: Likewise.
23210 * libio/test-freopen.sh: Likewise.
23211 * malloc/tst-mtrace.sh: Likewise.
23212 * posix/globtest.sh: Likewise.
23213 * posix/tst-getconf.sh: Likewise.
23214 * posix/wordexp-tst.sh: Likewise.
23215 * stdio-common/tst-printf.sh: Likewise.
23216 * stdio-common/tst-unbputc.sh: Likewise.
23217 * stdlib/tst-fmtmsg.sh: Likewise.
23218 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23219 * catgets/Makefile: Do not specify -e option when running
23220 testsuite shell scripts.
23221 * elf/Makefile: Likewise.
23222 * grp/Makefile: Likewise.
23223 * iconvdata/Makefile: Likewise.
23224 * intl/Makefile: Likewise.
23225 * io/Makefile: Likewise.
23226 * libio/Makefile: Likewise.
23227 * malloc/Makefile: Likewise.
23228 * posix/Makefile: Likewise.
23229 * stdio-common/Makefile: Likewise.
23230 * stdlib/Makefile: Likewise.
23231 * sysdeps/x86_64/Makefile: Likewise.
23233 * io/ftwtest-sh: Add copyright header.
23234 * posix/globtest.sh: Likewise.
23235 * posix/tst-getconf.sh: Likewise.
23236 * posix/wordexp-tst.sh: Likewise.
23237 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23239 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23242 * Makeconfig (+link): Defined as $(+link-static) if
23243 $(build-shared) isn't yes.
23244 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23246 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23248 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23251 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23252 new chunk size with MALLOC_ALIGN_MASK.
23254 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23257 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23259 (__printf_fphex): Determine rounding using get_rounding_mode and
23261 * stdio-common/tst-printf-round.c (struct hex_test): New
23263 (hex_tests): New variable.
23264 (test_hex_in_one_mode): New function.
23265 (do_test): Also run tests for hex float output.
23267 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23269 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23270 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23271 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23272 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23273 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23274 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23275 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23276 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23278 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23280 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23281 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23282 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23283 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23285 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23288 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23290 * elf/tst-rtld-load-self.sh: New test.
23291 * elf/Makefile: Run it.
23293 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23295 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23296 (tst-writev-ENV): Remove.
23297 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23299 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23301 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23303 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23305 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23307 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23309 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23310 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23311 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23314 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23317 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23318 * config.make.in (have-cpp-asm-debuginfo): Removed.
23319 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23320 * configure: Regenerated.
23322 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23325 * stdio-common/printf_fp.c: Include <stdbool.h> and
23327 (___printf_fp): Determine rounding using get_rounding_mode and
23329 * stdio-common/tst-printf-round.c: New file.
23330 * stdio-common/Makefile (tests): Add tst-printf-round.
23331 (link-libm): New variable.
23332 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23334 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23337 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23338 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23340 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23343 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23345 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23346 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23347 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23348 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23350 2012-09-12 Joseph Myers <joseph@codesourcery.com>
23353 * include/rounding-mode.h: New file.
23354 * sysdeps/generic/get-rounding-mode.h: Likewise.
23355 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23356 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23357 (MAX_VALUE): New macro.
23358 (MIN_VALUE): Likewise.
23359 (overflow_value): New function.
23360 (underflow_value): Likewise.
23361 (round_and_return): Use overflow_value and underflow_value to
23362 determine return values in overflow and underflow cases. Use
23363 round_away to determine rounding depending on rounding mode.
23364 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23365 determine return values in overflow and underflow cases.
23366 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23367 (struct test_results): New structure.
23368 (struct test): Use struct test_results to store expected results
23369 for all rounding modes.
23370 (TEST): Include expected results for all rounding modes.
23371 (test_in_one_mode): New function.
23372 (do_test): Use test_in_one_mode to compute and check results.
23373 Check results for all rounding modes.
23374 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23377 2012-12-09 Allan McRae <allan@archlinux.org>
23379 * sysdeps/i386/fpu/libm-test-ulps: Update
23381 2012-09-11 Joseph Myers <joseph@codesourcery.com>
23383 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23384 (_G_int32_t): Likewise.
23385 (_G_uint16_t): Likewise.
23386 (_G_uint32_t): Likewise.
23387 (_G_HAVE_BOOL): Likewise.
23388 (_G_HAVE_ATEXIT): Likewise.
23389 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23390 (_G_HAVE_IO_FILE_OPEN): Likewise.
23391 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23392 (_G_int32_t): Likewise.
23393 (_G_uint16_t): Likewise.
23394 (_G_uint32_t): Likewise.
23395 (_G_HAVE_BOOL): Likewise.
23396 (_G_HAVE_ATEXIT): Likewise.
23397 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23398 (_G_HAVE_IO_FILE_OPEN): Likewise.
23399 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23400 (_G_int32_t): Likewise.
23401 (_G_uint16_t): Likewise.
23402 (_G_uint32_t): Likewise.
23403 (_G_HAVE_BOOL): Likewise.
23404 (_G_HAVE_ATEXIT): Likewise.
23405 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23406 (_G_HAVE_IO_FILE_OPEN): Likewise.
23408 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23410 * csu/libc-tls.c: Update copyright years.
23412 2012-09-10 Joseph Myers <joseph@codesourcery.com>
23414 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23415 [!_G_USING_THUNKS]: Remove conditional code.
23416 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23417 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23419 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23420 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23421 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23422 (_G_VTABLE_LABEL_PREFIX): Likewise.
23423 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23424 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23425 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23426 (_G_VTABLE_LABEL_PREFIX): Likewise.
23427 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23428 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23429 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23430 (_G_VTABLE_LABEL_PREFIX): Likewise.
23431 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23433 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23435 * libio/Makefile: Include ../Makeconfig before tests.
23436 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23437 only if $(build-shared) is yes.
23439 * iconv/gconv_db.c: Update copyright years.
23441 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23443 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23444 unwind info if defined PIC. Fix special cases description.
23445 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23447 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23449 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23451 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23453 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23455 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23458 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23459 (LDLIBS-tst-chk4): This.
23460 (LDFLAGS-tst-chk5): Renamed to ...
23461 (LDLIBS-tst-chk5): This.
23462 (LDFLAGS-tst-chk6): Renamed to ...
23463 (LDLIBS-tst-chk6): This.
23464 (LDFLAGS-tst-lfschk4): Renamed to ...
23465 (LDLIBS-tst-lfschk4): This.
23466 (LDFLAGS-tst-lfschk5): Renamed to ...
23467 (LDLIBS-tst-lfschk5): This.
23468 (LDFLAGS-tst-lfschk6): Renamed to ...
23469 (LDLIBS-tst-lfschk6): This.
23471 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23472 on $(common-objpfx)soversions.mk.
23474 2012-09-07 Joseph Myers <joseph@codesourcery.com>
23477 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23480 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23482 * malloc/arena.c (arena_get_retry): New function that gets
23483 another arena for the caller to try its request on.
23484 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23485 current arena cannot fulfill the request.
23486 (__libc_memalign): Likewise.
23487 (__libc_memalign): Likewise.
23488 (__libc_pvalloc): Likewise.
23489 (__libc_calloc): Likewise.
23491 2012-09-05 John Tobey <john.tobey@gmail.com>
23494 * manual/arith.texi (Operations on Complex): Fix description
23495 of carg branch cut.
23497 2012-09-06 Joseph Myers <joseph@codesourcery.com>
23500 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23504 * manual/memory.texi (Memory): Make order of menu items match
23507 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23509 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23510 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23511 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23513 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23515 * csu/libc-tls.c (static_dtv): Renamed to ...
23516 (_dl_static_dtv): This. Make it global.
23517 (_dl_initial_dtv): Removed.
23518 (__libc_setup_tls): Updated.
23519 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23520 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23523 2012-09-06 Petr Machata <pmachata@redhat.com>
23525 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23526 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23527 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23528 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23530 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23533 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23534 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23537 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23540 * Makeconfig (link-static-before-libc): Replace $(+prector)
23542 (link-static-after-libc): Replace $(+postctor) with
23544 (link-bounded): Replace $(+prector)/$(+postctor) with
23545 $(+prectorT)/$(+postctorT).
23546 (+prectorT): New macro.
23547 (+postctorT): Likewise.
23549 2012-09-06 Joseph Myers <joseph@codesourcery.com>
23551 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23552 (round_str): Handle values above the maximum for IBM long double
23554 * stdlib/tst-strtod-round.c (tests): Regenerated.
23556 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23558 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23560 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23561 zarch_nohighgprs around the zarch optimized routines.
23562 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23563 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23564 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23567 2012-09-05 David S. Miller <davem@davemloft.net>
23569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23571 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23572 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23573 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23574 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23577 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23579 * malloc/arena.c: Fold copyright years.
23580 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23582 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23584 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23586 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23588 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23590 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23592 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23593 change internal state upon failure.
23595 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23597 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23598 * malloc/memusage.c (mmap): Likewise.
23599 (mmap64, mremap): Likewise. Adjust name in comment.
23601 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23603 * libio/fileops.c: Fix typos in comments.
23604 * libio/oldfileops.c: Likewise.
23605 * libio/wfileops.c: Likewise.
23607 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23610 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23611 (tst-malloc-usable-ENV): Set environment for test case.
23612 * malloc/hooks.c (malloc_check_get_size): New function to get
23614 * malloc/malloc.c (musable): Use malloc_check_get_size.
23615 * malloc/tst-malloc-usable.c: New test case.
23617 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23619 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23621 2012-09-05 Allan McRae <allan@archlinux.org>
23624 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23625 determine header location.
23626 * configure: Regenerated.
23628 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23630 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23632 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23633 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23635 (test): Regenerate.
23637 2012-09-04 David S. Miller <davem@davemloft.net>
23639 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23640 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23641 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23643 2012-09-04 Florian Weimer <fweimer@redhat.com>
23645 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23648 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23650 2012-09-04 Joseph Myers <joseph@codesourcery.com>
23653 * libio/iogetdelim.c: Include <limits.h>.
23654 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23655 + len + 1 would overflow.
23657 2012-09-03 Andreas Jaeger <aj@suse.de>
23659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23660 * sysdeps/i386/fpu/libm-test-ulps: Update.
23662 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23664 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23665 Add s_sinf-sse2, s_conf-sse2.
23667 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23668 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23669 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23670 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23672 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23673 for using routine as __sinf_ia32.
23674 Use macro for function declaration and weak_alias.
23675 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23676 for using routine as __cosf_ia32.
23677 Use macro for function declaration and weak_alias.
23679 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23680 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23682 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23683 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23686 * math/libm-test.inc (cos_test): Add more test cases.
23687 (sin_test): Likewise.
23688 (sincos_test): Likewise.
23690 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23692 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23693 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23695 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23697 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23700 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23701 first element of the GOT.
23702 (elf_machine_load_address): Return the difference between
23703 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23705 2012-09-01 Allan McRae <allan@archlinux.org>
23708 * configure.in (AWK): Require gawk version 3.0 or later.
23709 * configure: Regenerated.
23711 2012-09-01 Joseph Myers <joseph@codesourcery.com>
23713 * sysdeps/unix/sysv/linux/kernel-features.h
23714 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23715 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23716 [__NR_clock_getres]: Make code unconditional.
23717 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23718 (clock_getcpuclockid): Remove code left unreachable by removal of
23720 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23721 code unconditional.
23722 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23723 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23724 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23725 Make code unconditional.
23726 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23727 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23728 * sysdeps/unix/sysv/linux/clock_settime.c
23729 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23731 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23732 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23734 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23737 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23738 scripts/test-installation.pl.
23740 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23741 and $ld_so_version if it is set.
23743 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23746 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23747 failure if reading from procfs failed.
23748 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23750 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23752 * sysdeps/unix/sysv/linux/kernel-features.h
23753 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23754 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23755 Remove conditional code.
23756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23757 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23758 Remove conditional code.
23759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23760 * sysdeps/unix/sysv/linux/i386/fxstat.c
23761 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23763 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23764 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23766 * sysdeps/unix/sysv/linux/i386/lxstat.c
23767 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23768 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23769 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23770 Remove conditional code.
23771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23772 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23773 Remove conditional code.
23774 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23775 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23776 <kernel-features.h>.
23777 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23779 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23780 Remove conditional code.
23781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23782 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23783 Remove conditional.
23785 2012-08-27 Mike Frysinger <vapier@gentoo.org>
23788 * NEWS: Add fixed bug number.
23790 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23793 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23794 underflowing exponent in case of negative sign.
23795 * stdlib/tst-strtod-round-data: Add more tests.
23796 * stdlib/tst-strtod-round.c (tests): Regenerated.
23799 * stdlib/strtod_l.c (NDIG): Remove.
23800 (HEXNDIG): Likewise.
23801 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23802 smallest representable value.
23803 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23804 lie within an exact representation of 1/2 ulp of the result.
23805 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23807 (TENS_P9_IDX): Define unconditionally.
23808 (TENS_P9_SIZE): Likewise.
23809 (TENS_P10_IDX): Likewise.
23810 (TENS_P10_SIZE): Likewise.
23811 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23812 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23813 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23814 entries for 10^2^13 and 10^2^14.
23815 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23816 (TENS_P13_IDX): Define.
23817 (TENS_P13_SIZE): Likewise.
23818 (TENS_P14_IDX): Likewise.
23819 (TENS_P14_SIZE): Likewise.
23820 (_fpioconst_pow10): Change array size to
23821 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23823 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23824 1024]: Add entries for 10^2^13 and 10^2^14.
23825 [LAST_POW10 > _LAST_POW10]: Remove #error.
23826 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23827 (_fpioconst_pow10): Change array size to
23828 FPIOCONST_POW10_ARRAY_SIZE.
23829 * stdlib/gen-fpioconst.c: New file.
23830 * stdlib/gen-tst-strtod-round.c: Likewise.
23831 * stdlib/tst-strtod-round-data: Likewise.
23832 * stdlib/tst-strtod-round.c: Likewise.
23833 * stdlib/Makefile (tests): Add tst-strtod-round.
23836 * stdlib/strtod_l.c: Include <stdint.h>.
23837 (NDEBUG): Do not define.
23838 (round_and_return): Change EXPONENT parameter to type intmax_t.
23839 Rearrange calculations to avoid internal overflow possibilities.
23840 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23841 Rearrange calculations to avoid internal overflow possibilities.
23842 Assert that number fits inside MPNSIZE limbs.
23843 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23844 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23845 calculations and add assertions to avoid internal overflow
23846 possibilities. Add casts to avoid signed/unsigned operations.
23847 * stdlib/tst-strtod-overflow.c: New file.
23848 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23850 2012-08-25 Marek Polacek <polacek@redhat.com>
23852 * time/time.h: Fix some typos in comments.
23854 2012-08-23 Roland McGrath <roland@hack.frob.com>
23856 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23857 * posix/tst-rfc3484-2.c: Likewise.
23858 * posix/tst-rfc3484-3.c: Likewise.
23860 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23862 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23863 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23865 2012-08-23 Joseph Myers <joseph@codesourcery.com>
23867 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23868 #include of fxstatat64.c.
23870 2012-08-22 Roland McGrath <roland@hack.frob.com>
23872 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23873 * shadow/getspent_r.c: Likewise.
23874 * shadow/getspnam.c: Likewise.
23875 * shadow/getspnam_r.c: Likewise.
23876 * gshadow/getsgent.c: Likewise.
23877 * gshadow/getsgent_r.c: Likewise.
23878 * gshadow/getsgnam.c: Likewise.
23879 * gshadow/getsgnam_r.c: Likewise.
23880 * inet/getnetbyad.c: Likewise.
23881 * inet/getnetbyad_r.c: Likewise.
23882 * inet/getnetbynm.c: Likewise.
23883 * inet/getnetbynm_r.c: Likewise.
23884 * inet/getnetent.c: Likewise.
23885 * inet/getnetent_r.c: Likewise.
23886 * inet/getproto.c: Likewise.
23887 * inet/getproto_r.c: Likewise.
23888 * inet/getprtent.c: Likewise.
23889 * inet/getprtent_r.c: Likewise.
23890 * inet/getprtname.c: Likewise.
23891 * inet/getprtname_r.c: Likewise.
23892 * inet/getrpcbyname.c: Likewise.
23893 * inet/getrpcbyname_r.c: Likewise.
23894 * inet/getrpcbynumber.c: Likewise.
23895 * inet/getrpcbynumber_r.c: Likewise.
23896 * inet/getrpcent.c: Likewise.
23897 * inet/getrpcent_r.c: Likewise.
23898 * inet/getaliasent.c: Likewise.
23899 * inet/getaliasent_r.c: Likewise.
23900 * inet/getaliasname.c: Likewise.
23901 * inet/getaliasname_r.c: Likewise.
23902 * nscd/getgrgid_r.c: Likewise.
23903 * nscd/getgrnam_r.c: Likewise.
23904 * nscd/gethstbyad_r.c: Likewise.
23905 * nscd/gethstbynm3_r.c: Likewise.
23906 * nscd/getpwnam_r.c: Likewise.
23907 * nscd/getpwuid_r.c: Likewise.
23908 * nscd/getsrvbynm_r.c: Likewise.
23909 * nscd/getsrvbypt_r.c: Likewise.
23910 * nscd/gai.c: Likewise.
23912 * configure.in (build_nscd): New substituted variable, set
23913 by --disable-build-nscd and defaults to $use_nscd.
23914 * configure: Regenerated.
23915 * config.make.in (build-nscd): New substituted variable.
23916 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23917 Change conditional to require [$(build-nscd) = yes] as well.
23918 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23921 * configure.in (use_nscd): New substituted variable, set by
23922 --disable-nscd. If enabled, define USE_NSCD.
23923 * configure: Regenerated.
23924 * config.h.in: Add USE_NSCD.
23925 * config.make.in (use-nscd): New substituted variable.
23926 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23927 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23928 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23929 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23930 (CFLAGS-getgrnam_r.c): Likewise.
23931 (CFLAGS-initgroups.c): Likewise.
23932 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23933 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23935 * inet/getnetgrent_r.c
23936 (nscd_setnetgrent): New function, broken out of ...
23937 (setnetgrent): ... here. Call it.
23938 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23939 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23940 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23941 * nscd/Makefile (routines, aux): Move definitions after include of
23942 Makeconfig. Conditionalize on [$(use-nscd) != no].
23943 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23944 Conditionalize on [USE_NSCD].
23945 (is_nscd, nscd_init_cb): Likewise.
23946 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23947 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23948 * nss/nss_db/db-init.c: Likewise.
23949 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23951 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23952 (make_request): Use it.
23953 (cache_valid_p): New function.
23954 (__check_pf): Use it.
23955 * NEWS: Add item for --disable-nscd.
23957 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23959 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23960 to support sed >= 4.2.1-20-ga9bf076.
23961 * configure: Regenerated.
23963 2012-08-22 Roland McGrath <roland@hack.frob.com>
23965 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23966 Conditionalize whole body on [IREL].
23968 2012-08-22 Jeff Law <law@redhat.com>
23971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23972 if the family is PF_UNSPEC.
23974 2012-08-22 Mike Frysinger <vapier@gentoo.org>
23976 * Makerules (lib-version): Rename from V.
23977 (install-lib-nosubdir): Change V to lib-version.
23979 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23982 * powerpc32/power6/wcschr.c: New file.
23983 * powerpc32/power6/wcscpy.c: New file.
23984 * powerpc32/power6/wcsrchr.c: New file.
23985 * powerpc64/power6/wcschr.c: New file.
23986 * powerpc64/power6/wcscpy.c: New file.
23987 * powerpc64/power6/wcsrchr.c: New file.
23989 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23991 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23992 (two_way_short_needle): Use it.
23993 * string/strstr.c (AVAILABLE1_USES_J): Define.
23994 * string/strcasestr.c: Likewise.
23996 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23998 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24001 * NEWS: Add an entry.
24002 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24003 define their defaults.
24004 (two_way_short_needle): Detect end-of-string on-the-fly.
24005 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24006 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24007 * string/bug-strcasestr1.c: New test.
24008 * string/Makefile: Run it.
24010 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24013 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24014 the first character.
24016 2012-08-21 Roland McGrath <roland@hack.frob.com>
24018 * csu/elf-init.c (__libc_csu_irel): Function removed.
24019 * csu/libc-start.c (apply_irel): New function.
24020 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24022 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24024 * sysdeps/unix/sysv/linux/kernel-features.h
24025 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24026 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24027 <kernel-features.h>.
24028 [__NR_fadvise64_64]: Make code unconditional.
24029 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24030 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24031 !__NR_fadvise64_64)]: Likewise.
24032 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24033 !__NR_fadvise64_64))]: Likewise.
24034 [__NR_fadvise64]: Make code unconditional.
24035 [!__NR_fadvise64]: Remove conditional code.
24036 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24037 <kernel-features.h>.
24038 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24040 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24043 not include <kernel-features.h>.
24044 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24046 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24048 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24049 include <kernel-features.h>.
24050 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24052 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24055 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24057 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24058 slight instruction rearrangements per scrollpipe analysis.
24059 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24061 2012-08-20 Roland McGrath <roland@hack.frob.com>
24063 * manual/syslog.texi (syslog; vsyslog, closelog):
24064 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24065 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24067 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24068 DSOCAPS to match condition on defining it.
24070 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24072 * sysdeps/unix/sysv/linux/kernel-features.h
24073 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24075 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24076 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24078 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24079 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24081 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24082 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24084 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24085 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24087 * sysdeps/unix/sysv/linux/kernel-features.h
24088 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24089 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24091 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24092 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24093 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24094 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24095 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24096 Make code unconditional.
24097 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24098 (__mmap64) [!__NR_mmap2]: Likewise.
24099 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24100 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24101 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24102 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24103 [__NR_mmap2]: Make code unconditional.
24104 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24105 (__mmap64) [!__NR_mmap2]: Likewise.
24107 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24109 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24111 2012-08-18 Andreas Jaeger <aj@suse.de>
24113 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24115 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24117 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24118 * include/unistd.h (__have_sock_cloexec): Likewise.
24119 (__have_pipe2): Likewise.
24120 (__have_dup3): Likewise.
24122 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24125 * include/unistd.h (__have_pipe2): Change define into an extern int.
24126 (__have_dup3): Likewise.
24127 * socket/have_sock_cloexec.c: Include fcntl.h.
24128 (__have_pipe2): New variable.
24129 (__have_dup3): Likewise.
24131 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24133 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24135 2012-08-17 Marek Polacek <polacek@redhat.com>
24137 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24138 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24140 2012-08-17 Roland McGrath <roland@hack.frob.com>
24142 * configure.in: Add AC_SUBST for sysheaders.
24143 * configure: Regenerated.
24144 * config.make.in (sysheaders): New substituted variable.
24146 * sysdeps/unix/mkfifo.c: Moved ...
24147 * sysdeps/posix/mkfifo.c: ... here.
24148 * sysdeps/unix/mkfifoat.c: Moved ...
24149 * sysdeps/posix/mkfifoat.c: ... here.
24151 * sysdeps/unix/utime.c: Moved ...
24152 * sysdeps/posix/utime.c: ... here.
24154 * sysdeps/unix/time.c: Moved ...
24155 * sysdeps/posix/time.c: ... here.
24156 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24157 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24159 * sysdeps/unix/nice.c: Moved ...
24160 * sysdeps/posix/nice.c: ... here.
24162 * sysdeps/unix/alarm.c: Moved ...
24163 * sysdeps/posix/alarm.c: ... here.
24165 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24167 2012-08-17 Jeff Law <law@redhat.com>
24169 * intl/Makefile (codeset_mo): New variable.
24170 ($(codeset_mo)): New target.
24171 (tst-codeset.out): Depend on that. Remove explicit rule.
24172 (tst-gettext3.out, tst-gettext5.out): Likewise.
24173 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24174 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24175 * intl/tst-codeset.sh: Remove.
24176 * intl/tst-gettext3.sh: Likewise.
24177 * intl/tst-gettext5.sh: Likewise.
24179 2012-08-17 Roland McGrath <roland@hack.frob.com>
24181 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24182 * sysdeps/unix/syscalls.list: ... here.
24184 * sysdeps/posix/getaddrinfo.c
24185 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24186 (gaiconf_init, gaiconf_reload): Use them.
24187 [!_STATBUF_ST_NSEC]
24188 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24189 Define using time_t rather than struct timespec.
24191 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24192 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24194 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24196 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24197 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24200 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24201 __libc_cleanup_push argument.
24203 * bits/param.h: New file.
24204 * misc/sys/param.h: New file.
24205 * include/sys/param.h: New file.
24206 * misc/Makefile (headers): Add bits/param.h.
24207 * sysdeps/generic/sys/param.h: File removed.
24208 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24209 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24210 * sysdeps/mach/hurd/bits/param.h: New file.
24211 * sysdeps/mach/hurd/sys/param.h: File removed.
24213 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24216 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24218 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24219 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24222 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24223 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24224 rather than -D_IO_MTSAFE_IO conditionally.
24225 * stdio-common/Makefile (CPPFLAGS): Likewise.
24226 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24227 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24228 Use $(libio-mtsafe).
24229 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24230 of -D_IO_MTSAFE_IO.
24231 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24232 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24233 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24234 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24235 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24236 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24237 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24238 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24239 (CFLAGS-fread_u_chk.c): Likewise.
24240 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24241 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24242 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24243 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24244 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24245 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24246 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24247 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24248 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24250 * libio/Makefile: Test [$(libc-reentrant) = yes]
24251 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24254 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24255 * sysdeps/pthread/configure: File removed.
24256 * sysdeps/pthread/Makeconfig: New file.
24257 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24258 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24260 2012-08-16 Gary Benson <gbenson@redhat.com>
24262 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24263 unmapping the first object in a namespace.
24265 2012-08-16 Roland McGrath <roland@hack.frob.com>
24267 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24268 (__internal_setnetgrent): ... this. Add internal_function to
24269 definition. Add libc_hidden_def.
24270 (setnetgrent): Update caller.
24271 (internal_endnetgrent): Renamed to ...
24272 (__internal_endnetgrent): ... this. Add internal_function to
24273 definition. Add libc_hidden_def.
24274 (endnetgrent): Update caller.
24275 (internal_getnetgrent_r): Renamed to ...
24276 (__internal_getnetgrent_r): ... this. Add internal_function to
24277 definition. Add libc_hidden_def.
24278 (__getnetgrent_r): Update caller.
24279 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24281 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24283 * stdlib/longlong.h: Update from GCC.
24285 2012-08-16 Roland McGrath <roland@hack.frob.com>
24287 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24288 on _QL, which is set by umul_ppmm but never used.
24289 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24290 variables, which are set by GMP macros but never used.
24291 * stdio-common/_itowa.c (_itowa): Likewise.
24292 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24293 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24295 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24297 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24298 struct La_sh_regs is not constant.
24299 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24300 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24301 and struct La_sparc64_regs are not constant.
24303 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24305 * sysdeps/unix/sysv/linux/kernel-features.h
24306 (__ASSUME_POSIX_TIMERS): Remove.
24307 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24308 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24309 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24310 Make code unconditional.
24311 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24312 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24313 Make code unconditional.
24314 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24315 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24316 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24317 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24318 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24319 Make code unconditional.
24320 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24321 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24322 (__libc_missing_posix_timers): Remove.
24324 2012-08-15 Roland McGrath <roland@hack.frob.com>
24326 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24327 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24329 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24331 * elf/dl-sym.c: Include <stdlib.h>.
24333 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24334 constants, which avoids warnings in 32-bit builds.
24336 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24337 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24339 * misc/lseek.c: File moved to ...
24340 * io/lseek.c: ... here.
24342 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24344 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24345 shifting LEN more than 31 bits at once.
24347 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24350 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24351 segmentation fault for a case of two empty input strings.
24352 * string/test-strncasecmp.c (check1): Renamed to...
24353 (bz12205): ...this.
24354 (bz14195): Add new testcase for two empty input strings and N > 0.
24355 (test_main): Call new testcase, adapt for renamed function.
24357 2012-08-15 Andreas Jaeger <aj@suse.de>
24360 * crypt/md5test2.c: New test, based on test supplied by Serge
24361 Belyshev <belyshev@depni.sinp.msu.ru>.
24362 * crypt/Makefile (xtests): Add md5test-giant..
24363 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24365 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24368 * crypt/md5.c (md5_process_block): Don't assume the buffer
24369 length is less than 2**32.
24370 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24371 length is less than 2**64.
24373 2012-08-15 Roland McGrath <roland@hack.frob.com>
24375 * string/str-two-way.h: Include <sys/param.h>.
24376 (MAX): Macro removed.
24378 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24379 Move #define and #undef of memmove to just before and after
24380 including <string.h>.
24382 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24383 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24384 and after including <string.h>. Move declarations of
24385 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24386 to before #include "string/memmove.c".
24388 * include/dirent.h: Declare __getdirentries.
24390 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24391 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24393 2012-08-14 Mike Frysinger <vapier@gentoo.org>
24395 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24396 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24397 * sysdeps/i386/configure: Regenerated.
24398 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24399 STABS_CURRENT_FILE, and STABS_FUN.
24400 (END): Remove call to STABS_FUN_END.
24401 (STABS_CURRENT_FILE1): Delete.
24402 (STABS_CURRENT_FILE): Likewise.
24403 (STABS_FUN): Likewise.
24404 (STABS_FUN_END): Likewise.
24405 (STABS_FUN2): Likewise.
24406 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24407 * sysdeps/x86_64/configure: Regenerated.
24409 2012-08-14 Roland McGrath <roland@hack.frob.com>
24411 * elf/dl-open.c: Include <atomic.h>.
24412 * elf/dl-lookup.c: Likewise.
24414 2012-08-14 Joseph Myers <joseph@codesourcery.com>
24416 * sysdeps/unix/sysv/linux/kernel-features.h
24417 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24418 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24420 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24422 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24423 condition on __ASSUME_CLONE_THREAD_FLAGS.
24425 2012-08-14 Andreas Jaeger <aj@suse.de>
24427 * sysdeps/i386/fpu/libm-test-ulps: Update.
24429 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24431 * include/atomic.h (atomic_exchange_and_add): Split into ...
24432 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24435 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24439 2012-08-13 Jeff Law <law@redhat.com>
24441 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24442 null byte in the output string.
24444 2012-08-10 Joseph Myers <joseph@codesourcery.com>
24446 * sysdeps/unix/sysv/linux/kernel-features.h
24447 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24448 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24449 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24450 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24451 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24452 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24453 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24455 2012-08-09 Jeff Law <law@redhat.com>
24458 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24459 When avoid_arena is set, don't retry in the that arena. Pick the
24460 next one, whatever it might be.
24461 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24462 (arena_lock): Pass in new parameter to arena_get2.
24463 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24465 (__libc_malloc): Unify retrying after main arena failure with
24466 __libc_memalign version.
24467 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24469 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24472 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24473 to __redirect_strstr.
24474 (__strstr_sse42): Use typeof __redirect_strstr.
24475 (__strstr_ia32): Likewise.
24476 (__libc_strstr): New prototype.
24477 (strstr): Renamed to ...
24478 (__libc_strstr): This.
24479 (strstr): New strong alias of __libc_strstr.
24480 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24481 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24484 (__libc_time): New prototype.
24485 (time_ifunc): Replace time with __libc_time.
24486 (time): New strong alias and hidden definition of __libc_time.
24487 (__GI_time): Remove strong alias.
24488 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24489 Include <stddef.h>.
24490 (memmove): Redefined to __redirect_memmove.
24491 (__memmove_sse2): Use typeof __redirect_memmove.
24492 (__memmove_ssse3): Likewise.
24493 (__memmove_ssse3_back): Likewise.
24494 (__libc_memmove): New prototype.
24495 (memmove): Renamed to ...
24496 (__libc_memmove): This.
24497 (memmove): New strong alias of __libc_memmove.
24499 2012-08-08 Mark Salter <msalter@redhat.com>
24502 (R_MN10300_TLS_GD): Define.
24503 (R_MN10300_TLS_LD): Likewise.
24504 (R_MN10300_TLS_LDO): Likewise.
24505 (R_MN10300_TLS_GOTIE): Likewise.
24506 (R_MN10300_TLS_IE): Likewise.
24507 (R_MN10300_TLS_LE): Likewise.
24508 (R_MN10300_TLS_DTPMOD): Likewise.
24509 (R_MN10300_TLS_DTPOFF): Likewise.
24510 (R_MN10300_TLS_TPOFF): Likewise.
24511 (R_MN10300_SYM_DIFF): Likewise.
24512 (R_MN10300_ALIGN): Likewise.
24513 (R_MN10300_NUM): Update.
24515 2012-08-08 Joseph Myers <joseph@codesourcery.com>
24517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24520 2012-08-08 Roland McGrath <roland@hack.frob.com>
24522 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24524 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24525 sysdeps/unix -> sysdeps/posix move.
24526 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24528 2012-08-07 Allan McRae <allan@archlinux.org>
24531 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24532 (SUNOS_CPP): Likewise.
24533 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24535 (open_input): Call CPP using execvp.
24537 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24539 * sysdeps/unix/sysv/linux/kernel-features.h
24540 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24541 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24542 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24543 (__ASSUME_WAITID_SYSCALL): Likewise.
24544 * sysdeps/unix/sysv/linux/dl-execstack.c
24545 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24546 code unconditional.
24547 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24549 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24550 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24551 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24553 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24555 [__ASSUME_WAITID_SYSCALL]: Likewise.
24556 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24558 2012-08-07 Roland McGrath <roland@hack.frob.com>
24560 * sysdeps/unix/closedir.c: Renamed to ...
24561 * sysdeps/posix/closedir.c: ... here.
24562 * sysdeps/unix/dirfd.c: Renamed to ...
24563 * sysdeps/posix/dirfd.c: ... here.
24564 * sysdeps/unix/dirstream.h: Renamed to ...
24565 * sysdeps/posix/dirstream.h: ... here.
24566 * sysdeps/unix/fdopendir.c: Renamed to ...
24567 * sysdeps/posix/fdopendir.c: ... here.
24568 * sysdeps/unix/opendir.c: Renamed to ...
24569 * sysdeps/posix/opendir.c: ... here.
24570 * sysdeps/unix/readdir.c: Renamed to ...
24571 * sysdeps/posix/readdir.c: ... here.
24572 * sysdeps/unix/readdir_r.c: Renamed to ...
24573 * sysdeps/posix/readdir_r.c: ... here.
24574 * sysdeps/unix/rewinddir.c: Renamed to ...
24575 * sysdeps/posix/rewinddir.c: ... here.
24576 * sysdeps/unix/seekdir.c: Renamed to ...
24577 * sysdeps/posix/seekdir.c: ... here.
24578 * sysdeps/unix/telldir.c: Renamed to ...
24579 * sysdeps/posix/telldir.c: ... here.
24580 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24581 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24582 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24583 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24585 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24586 * bits/fcntl.h: ... here.
24588 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24590 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24591 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24592 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24593 (struct flock): Move l_start, l_len to the beginning.
24594 Use __pid_t for l_pid.
24595 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24596 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24597 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24598 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24599 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24600 [__USE_LARGEFILE64] (struct flock64): New type.
24601 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24603 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24604 * bits/dirent.h: ... here.
24606 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24607 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24609 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24612 Change from 2.6.0 to 2.6.16.
24613 * sysdeps/unix/sysv/linux/configure: Regenerated.
24614 * sysdeps/unix/sysv/linux/kernel-features.h
24615 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24616 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24618 (__ASSUME_UTIMES): Likewise.
24619 (__ASSUME_CLONE_STOPPED): Remove.
24620 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24621 architectures, not kernel version.
24622 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24623 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24624 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24625 (__ASSUME_WAITID_SYSCALL): Likewise.
24626 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24627 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24628 * README: State 2.6.16 as minimum Linux kernel version. Do not
24629 refer to older versions.
24631 2012-08-06 Roland McGrath <roland@hack.frob.com>
24633 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24634 Define alphasort64 as an alias.
24635 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24636 Define versionsort64 as an alias.
24637 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24638 Define scandir64 as an alias.
24639 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24640 Define scandirat64 as an alias.
24641 * dirent/alphasort64.c (alphasort64):
24642 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24643 * dirent/versionsort64.c: Likewise.
24644 * dirent/scandir64.c: Likewise.
24645 * dirent/scandirat64.c: Likewise.
24646 * sysdeps/wordsize-64/alphasort.c: File removed.
24647 * sysdeps/wordsize-64/alphasort64.c: File removed.
24648 * sysdeps/wordsize-64/scandir.c: File removed.
24649 * sysdeps/wordsize-64/scandir64.c: File removed.
24650 * sysdeps/wordsize-64/scandirat.c: File removed.
24651 * sysdeps/wordsize-64/scandirat64.c: File removed.
24652 * sysdeps/wordsize-64/versionsort.c: File removed.
24653 * sysdeps/wordsize-64/versionsort64.c: File removed.
24654 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24655 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24656 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24657 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24658 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24659 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24660 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24661 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24663 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24665 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24667 [defined __arch64__ || defined __sparcv9]
24668 (__INO_T_MATCHES_INO64_T): New macro.
24669 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24670 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24671 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24672 * sysdeps/unix/sysv/linux/bits/dirent.h
24673 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24674 (_DIRENT_MATCHES_DIRENT64): New macro.
24676 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24677 Define lockf64 as an alias.
24678 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24679 Define fseeko64 as an alias.
24680 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24681 Define ftello64 as an alias.
24682 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24683 Define _IO_fgetpos64 and fgetpos64 as aliases.
24684 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24685 Define _IO_fsetpos64 and fsetpos64 as aliases.
24686 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24687 Conditionalize body on this.
24688 * libio/fseeko64.c: Likewise.
24689 * libio/ftello64.c: Likewise.
24690 * libio/iofgetpos64.c: Likewise.
24691 * libio/iofsetpos64.c: Likewise.
24692 * sysdeps/wordsize-64/lockf.c: File removed.
24693 * sysdeps/wordsize-64/lockf64.c: File removed.
24694 * sysdeps/wordsize-64/fseeko.c: File removed.
24695 * sysdeps/wordsize-64/fseeko64.c: File removed.
24696 * sysdeps/wordsize-64/ftello.c: File removed.
24697 * sysdeps/wordsize-64/ftello64.c: File removed.
24698 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24699 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24700 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24701 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24702 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24703 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24704 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24705 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24706 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24707 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24708 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24709 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24710 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24711 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24713 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24715 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24716 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24717 [defined __arch64__ || defined __sparcv9]
24718 (__OFF_T_MATCHES_OFF64_T): New macro.
24719 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24720 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24722 (__OFF_T_MATCHES_OFF64_T): New macro.
24724 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24726 * stdlib/secure-getenv.c (__secure_getenv): Replace
24727 GLIBC_2_16 with GLIBC_2_17.
24729 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24731 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24732 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24734 2012-08-03 David S. Miller <davem@davemloft.net>
24736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24738 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24740 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24742 (__ASSUME_CORRECT_SI_PID): Likewise.
24743 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24744 (__ASSUME_TMPFS_NAME): Likewise.
24745 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24746 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24747 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24748 (HAVE_AUX_SECURE): Make definition unconditional.
24749 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24750 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24752 2012-08-03 Roland McGrath <roland@hack.frob.com>
24754 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24755 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24756 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24757 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24758 __eloop_threshold instead of SYMLOOP_MAX.
24760 * sysdeps/generic/eloop-threshold.h: New file.
24761 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24763 * elf/chroot_canon.c (chroot_canon): Likewise.
24765 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24768 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24769 Change to 2.6.0 everywhere.
24770 * sysdeps/unix/sysv/linux/configure: Regenerated.
24771 * sysdeps/unix/sysv/linux/kernel-features.h
24772 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24773 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24775 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24776 (__ASSUME_FUTEX_REQUEUE): Remove.
24777 (__ASSUME_STATFS64): Define unconditionally.
24778 (__ASSUME_AT_SECURE): Likewise.
24779 (__ASSUME_CORRECT_SI_PID): Likewise.
24780 (__ASSUME_TGKILL): Define without depending on kernel version for
24782 (__ASSUME_UTIMES): Likewise.
24783 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24785 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24786 (__ASSUME_TMPFS_NAME): Likewise.
24787 * README: Update reference to Linux kernel versions.
24789 2012-08-02 Marek Polacek <polacek@redhat.com>
24792 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24793 libc_cv_asm_type_prefix with %.
24794 * configure: Regenerated.
24795 * include/libc-symbols.h: Remove comment about
24796 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24797 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24798 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24799 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24800 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24801 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24802 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24803 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24804 * elf/tst-unique2mod1.c: Likewise.
24805 * elf/tst-unique1mod2.c: Likewise.
24806 * elf/tst-unique1mod1.c: Likewise.
24807 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24808 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24809 Replace ASM_TYPE_DIRECTIVE with .type.
24810 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24811 * sysdeps/i386/sysdep.h: Likewise.
24812 * sysdeps/x86_64/sysdep.h: Likewise.
24813 * sysdeps/sh/sysdep.h: Likewise.
24814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24815 Do not define ASM_TYPE_DIRECTIVE.
24816 * sysdeps/powerpc/sysdep.h: Likewise.
24817 * sysdeps/powerpc/powerpc32/sysdep.h:
24818 Replace ASM_TYPE_DIRECTIVE with .type.
24819 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24820 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24821 * sysdeps/i386/fpu/e_powf.S: Likewise.
24822 * sysdeps/i386/fpu/e_expl.S: Likewise.
24823 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24824 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24825 * sysdeps/i386/fpu/e_pow.S: Likewise.
24826 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24827 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24828 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24829 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24830 * sysdeps/i386/fpu/e_log2.S: Likewise.
24831 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24832 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24833 * sysdeps/i386/fpu/e_powl.S: Likewise.
24834 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24835 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24836 * sysdeps/i386/fpu/e_logl.S: Likewise.
24837 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24838 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24839 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24840 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24841 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24842 * sysdeps/i386/fpu/e_log.S: Likewise.
24843 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24844 * sysdeps/i386/fpu/e_logf.S: Likewise.
24845 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24846 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24847 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24848 * sysdeps/i386/fpu/e_log10.S: Likewise.
24849 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24850 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24851 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24852 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24853 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24854 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24855 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24856 * sysdeps/i386/i686/strtok.S: Likewise.
24857 * sysdeps/i386/i386-mcount.S: Likewise.
24858 * sysdeps/i386/strtok.S: Likewise.
24859 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24860 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24861 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24862 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24863 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24864 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24865 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24866 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24867 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24868 * sysdeps/x86_64/_mcount.S: Likewise.
24869 * sysdeps/x86_64/strtok.S: Likewise.
24870 * sysdeps/sh/_mcount.S: Likewise.
24872 2012-08-01 Roland McGrath <roland@hack.frob.com>
24874 * libio/iofopen.c: Include <fcntl.h>.
24875 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24876 (_IO_fopen64, fopen64): Define as aliases.
24877 * libio/iofopen64.c: Include <fcntl.h>.
24878 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24879 Conditionalize body on this.
24880 * sysdeps/wordsize-64/iofopen.c: File removed.
24881 * sysdeps/wordsize-64/iofopen64.c: File removed.
24883 2012-08-01 Marek Polacek <polacek@redhat.com>
24885 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24886 Use dlfcn directly instead of a variable.
24887 (binfmt-subdir): Do not define.
24890 2012-08-01 Joseph Myers <joseph@codesourcery.com>
24892 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24893 Remove all definitions.
24894 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24895 <kernel-features.h>.
24896 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24897 (miss_F_GETOWN_EX): Remove all definitions.
24898 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24900 [!__ASSUME_FCNTL64]: Remove conditional code.
24901 [__ASSUME_FCNTL64]: Make code unconditional.
24902 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24903 <kernel-features.h>.
24904 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24905 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24906 (lockf64) [__NR_fcntl64]: Make code unconditional.
24907 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24909 * sysdeps/unix/sysv/linux/kernel-features.h
24910 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24911 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24912 Make code unconditional.
24913 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24914 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24916 [__NR_vfork]: Make code unconditional.
24917 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24918 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24920 [__NR_vfork]: Make code unconditional.
24921 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24922 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24924 2012-08-01 Roland McGrath <roland@hack.frob.com>
24926 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24927 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24929 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24930 Define mkstemp64 as an alias.
24931 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24932 Define mkstemps64 as an alias.
24933 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24934 Define mkostemp64 as an alias.
24935 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24936 Define mkostemps64 as an alias.
24937 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24938 Conditionalize body on this.
24939 * misc/mkostemp64.c: Likewise.
24940 * misc/mkostemps64.c: Likewise.
24941 * misc/mkstemps64.c: Likewise.
24942 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24943 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24944 * sysdeps/wordsize-64/mkostemp.c: File removed.
24945 * sysdeps/wordsize-64/mkstemp.c: File removed.
24946 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24947 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24948 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24949 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24952 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24953 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24954 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24955 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24957 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24958 compat_symbol macros from <shlib-compat.h> rather than the underlying
24959 default_symbol_version and symbol_version macros, so that DEFAULT
24960 lines in shlib-versions are respected.
24961 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24963 2012-08-01 Florian Weimer <fweimer@redhat.com>
24965 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24966 Declare with warn_unused_result.
24967 (setgid, setregid, setegid, setresgid): Likewise.
24968 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24970 * WUR-REPORT: Remove set*id functions.
24972 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24974 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24976 2012-07-31 Roland McGrath <roland@hack.frob.com>
24979 * include/sys/socket.h (__libc_accept, __libc_accept4):
24980 Add attribute_hidden.
24981 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24983 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24985 * inet/getnetgrent_r.c (setup): Likewise.
24987 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24989 2012-07-31 David S. Miller <davem@davemloft.net>
24991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24993 2012-07-31 Joseph Myers <joseph@codesourcery.com>
24996 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24997 value between 1.0 and 2.0 and smaller part has absolute value less
24999 * math/s_clog10.c (__clog10): Likewise.
25000 * math/s_clog10f.c (__clog10f): Likewise.
25001 * math/s_clog10l.c (__clog10l): Likewise.
25002 * math/s_clogf.c (__clogf): Likewise.
25003 * math/s_clogl.c (__clogl): Likewise.
25004 * math/libm-test.inc (clog_test): Add more tests.
25005 (clog10_test): Likewise.
25006 * sysdeps/i386/fpu/libm-test-ulps: Update.
25007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25009 2012-07-31 Florian Weimer <fweimer@redhat.com>
25011 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25012 Exit with zero in case no suitable GID is found, and write a
25013 message to standard error.
25015 2012-07-30 Roland McGrath <roland@hack.frob.com>
25017 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25019 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25020 (MAXPATHLEN): Removed.
25021 (NOGROUP, NODEV): New macros.
25022 (setbit, clrbit, isset, isclr): New macros.
25023 (howmany, roundup, powerof2): New macros.
25024 (DEV_BSIZE): New macro.
25026 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25027 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25029 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25030 definition on [!__NO_LONG_DOUBLE_MATH].
25032 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25033 PTR_MANGLE and PTR_DEMANGLE.
25035 * socket/accept4.c (accept4): Rename to __libc_accept4.
25036 Define accept4 as a weak alias.
25038 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25039 on [_DIRENT_HAVE_D_TYPE].
25040 * io/ftw.c (ftw_dir): Likewise.
25042 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25044 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25046 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25047 Use the BSD numbers rather than the arbitrary ones we had.
25048 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25049 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25050 (SIGXCPU, SIGXFSZ): New macros.
25053 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25054 initializer on [_LIBC_REENTRANT].
25056 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25057 definitions inside [_POSIX_MAPPED_FILES].
25059 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25061 * dirent/opendir.c: Include <fcntl.h>.
25063 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25064 (__libc_getspecific): Likewise.
25065 (__libc_key_create): Likewise.
25067 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25068 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25069 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25070 (tmpfile64): Define as alias.
25071 * sysdeps/wordsize-64/tmpfile.c: File removed.
25072 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25073 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25074 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25076 * stdio-common/vfscanf.c: Include <stdbool.h>.
25077 * nss/makedb.c: Likewise.
25078 * stdio-common/_i18n_number.h: Likewise.
25079 * argp/argp-help.c: Likewise.
25080 * posix/wordexp.c: Likewise.
25081 * sysdeps/posix/spawni.c: Likewise.
25082 * nss/nss_files/files-initgroups.c: Likewise.
25083 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25084 * nss/nss_files/files-initgroups.c: Likewise.
25085 * nss/nss_db/db-netgrp.c: Likewise.
25086 * nss/nss_db/db-initgroups.c: Likewise.
25087 * io/fchmodat.c: Include <sys/stat.h>.
25089 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25090 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25092 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25095 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25096 Add multiple inclusion protection.
25098 2012-07-27 David S. Miller <davem@davemloft.net>
25100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25102 2012-07-27 Gary Benson <gbenson@redhat.com>
25105 * elf/rtld.c: Include <stap-probe.h>.
25106 (dl_main): Added static probes "init_start" and "init_complete".
25107 * elf/dl-load.c: Include <stap-probe.h>.
25108 (lose): Take new parameter "nsid".
25109 Added static probe "map_failed".
25110 (_dl_map_object_from_fd): Pass namespace id to lose.
25111 Added static probe "map_start".
25112 (open_verify): Pass namespace id to lose.
25113 * elf/dl-open.c: Include <stap-probe.h>.
25114 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25115 and "reloc_complete".
25116 * elf/dl-close.c: Include <stap-probe.h>.
25117 (_dl_close_worker): Added static probes "unmap_start" and
25119 * elf/rtld-debugger-interface.txt: New file documenting the above.
25121 2012-07-26 Roland McGrath <roland@hack.frob.com>
25123 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25124 rather than a string variable.
25125 * sunrpc/rpc_main.c (h_output): Likewise.
25126 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25128 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25130 * inet/check_native.c: New file.
25132 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25135 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25136 if larger part has absolute value 1.0.
25137 * math/s_clog10.c (__clog10): Likewise.
25138 * math/s_clog10f.c (__clog10f): Likewise.
25139 * math/s_clog10l.c (__clog10l): Likewise.
25140 * math/s_clogf.c (__clogf): Likewise.
25141 * math/s_clogl.c (__clogl): Likewise.
25142 * math/libm-test.inc (clog_test): Add more tests.
25143 (clog10_test): Likewise.
25144 * sysdeps/i386/fpu/libm-test-ulps: Update.
25145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25147 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25148 (pltexit): Likewise.
25149 (La_regs): Likewise.
25150 (La_retval): Likewise.
25151 (int_retval): Likewise.
25152 Update #error for removed macros to refer only to definitions in
25154 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25156 (pltexit): Likewise.
25157 (La_regs): Likewise.
25158 (La_retval): Likewise.
25159 (int_retval): Likewise.
25160 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25162 (pltexit): Likewise.
25163 (La_regs): Likewise.
25164 (La_retval): Likewise.
25165 (int_retval): Likewise.
25166 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25168 (pltexit): Likewise.
25169 (La_regs): Likewise.
25170 (La_retval): Likewise.
25171 (int_retval): Likewise.
25172 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25174 (pltexit): Likewise.
25175 (La_regs): Likewise.
25176 (La_retval): Likewise.
25177 (int_retval): Likewise.
25178 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25180 (pltexit): Likewise.
25181 (La_regs): Likewise.
25182 (La_retval): Likewise.
25183 (int_retval): Likewise.
25184 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25186 (pltexit): Likewise.
25187 (La_regs): Likewise.
25188 (La_retval): Likewise.
25189 (int_retval): Likewise.
25190 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25191 macro definitions in tst-audit.h.
25192 * sysdeps/i386/tst-audit.h: New file.
25193 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25194 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25195 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25196 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25197 * sysdeps/sh/tst-audit.h: Likewise.
25198 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25199 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25200 * sysdeps/x86_64/tst-audit.h: Likewise.
25202 2012-07-26 Andreas Jaeger <aj@suse.de>
25204 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25207 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25208 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25209 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25211 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25212 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25213 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25215 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25218 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25220 (si_call_addr, si_syscall, si_arch): Define new macro.
25221 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25223 (si_call_addr, si_syscall, si_arch): Define new marcro.
25224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25226 (si_call_addr, si_syscall, si_arch): Define new macro.
25227 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25229 (si_call_addr, si_syscall, si_arch): Define new macro.
25231 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25235 Change to 2.4.21 where previously 2.4.1.
25236 * sysdeps/unix/sysv/linux/configure: Regenerated.
25237 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25238 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25239 Linux kernel version.
25240 (__ASSUME_STD_AUXV): Remove.
25241 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25243 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25244 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25245 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25246 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25247 (__ASSUME_NETLINK_SUPPORT): Likewise.
25248 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25249 (__no_netlink_support): Remove conditional definition.
25250 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25252 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25253 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25254 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25255 (if_nameindex_ioctl): Remove.
25256 (if_nameindex_netlink): Do not handle __no_netlink_support.
25257 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25259 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25260 Remove conditional code.
25261 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25263 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25265 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25266 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25267 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25269 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25270 [!__ASSUME_STD_AUXV]: Remove conditional code.
25271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25272 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25273 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25275 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25276 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25278 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25280 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25281 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25283 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25285 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25288 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25291 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25292 code unconditional.
25293 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25295 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25297 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25300 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25302 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25305 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25306 code unconditional.
25307 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25309 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25311 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25314 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25315 code unconditional.
25316 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25318 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25320 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25323 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25325 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25326 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25327 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25328 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25329 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25330 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25331 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25332 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25333 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25334 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25335 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25336 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25337 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25338 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25339 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25340 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25341 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25342 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25343 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25345 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25346 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25347 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25349 2012-07-25 Florian Weimer <fweimer@redhat.com>
25351 * Versions.def: Add GLIBC_2.17.
25352 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25353 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25354 Introduce __libc_secure_getenv.
25355 * stdlib/Versions (2.17): Add secure_getenv
25356 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25357 * stdlib/secure-getenv.c: Rename __secure_getenv to
25358 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25359 symbol __secure_getenv for GLIBC_2.0.
25360 * stdlib/tst-secure-getenv.c: New.
25361 * stdlib/Makefile (tests): Add testcase.
25362 * manual/startup.texi (Environment Access): Document
25364 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25365 __libc_secure_getenv.
25366 * inet/ruserpass.c (ruserpass): Likewise.
25367 * malloc/mtrace.c (mtrace): Likewise.
25368 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25369 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25370 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25371 * sysdeps/posix/tempname.c: Likewise. Evaluate
25372 HAVE_SECURE_GETENV.
25373 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25374 __secure_getenv to __libc_secure_getenv.
25375 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25388 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25390 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25391 (struct La_i86_retval): Likewise.
25392 (struct La_x86_64_regs): Likewise.
25393 (struct La_x86_64_retval): Likewise.
25394 (struct La_x32_regs): Likewise.
25395 (struct La_x32_retval): Likewise.
25396 (struct La_ppc32_regs): Likewise.
25397 (struct La_ppc32_retval): Likewise.
25398 (struct La_ppc64_regs): Likewise.
25399 (struct La_ppc64_retval): Likewise.
25400 (struct La_sh_regs): Likewise.
25401 (struct La_sh_retval): Likewise.
25402 (struct La_s390_32_regs): Likewise.
25403 (struct La_s390_32_retval): Likewise.
25404 (struct La_s390_64_regs): Likewise.
25405 (struct La_s390_64_retval): Likewise.
25406 (struct La_sparc32_regs): Likewise.
25407 (struct La_sparc32_retval): Likewise.
25408 (struct La_sparc64_regs): Likewise.
25409 (struct La_sparc64_retval): Likewise.
25410 (struct audit_ifaces): Remove architecture-specific pltenter and
25412 * sysdeps/i386/ldsodefs.h: New file.
25413 * sysdeps/powerpc/ldsodefs.h: Likewise.
25414 * sysdeps/s390/ldsodefs.h: Likewise.
25415 * sysdeps/sh/ldsodefs.h: Likewise.
25416 * sysdeps/sparc/ldsodefs.h: Likewise.
25417 * sysdeps/x86_64/ldsodefs.h: Likewise.
25419 2012-07-25 Marek Polacek <polacek@redhat.com>
25422 * math/libm-test.inc (yn_test): Add another test.
25423 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25424 to ERANGE when the result is +-Inf.
25425 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25426 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25427 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25428 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25430 2012-07-24 Joseph Myers <joseph@codesourcery.com>
25432 * conform/data/time.h-data (NULL): Use macro-constant. Require
25434 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25436 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25438 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25440 * configure.in <sysdeps resolving>: Correct printing
25442 * configure: Regenerate.
25444 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25446 * math/w_ilogb.c: Include <limits.h>.
25447 * math/w_ilogbl.c: Likewise.
25449 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25451 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25452 va_copy. Document allowing for unavailable va_copy only as
25453 pre-C99 compatibility.
25454 * manual/string.texi (Copying and Concatenation): Use va_copy
25455 instead of __va_copy in concat example.
25457 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25459 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25460 (__sendto): Use create_address_port. Initialize APORT and deallocate
25463 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25464 with O_NOLINK passed to __file_name_lookup.
25466 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25467 with O_NOLINK passed to __file_name_lookup.
25469 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25470 negative N or less than NGIDS.
25472 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25473 type to string_t. Set ERANGE as errno and return it if NAME is not big
25474 enough. Use memcpy instead of strncpy.
25476 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25478 * elf/Makefile (check-data): Remove.
25479 (localplt.data): New vpath directive.
25480 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25481 instead of $(check-data).
25482 * scripts/data/localplt-generic.data: Move to ...
25483 * sysdeps/generic/localplt.data: ... here.
25484 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25485 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25486 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25489 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25492 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25495 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25498 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25501 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25505 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25507 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25508 PPC32 and PPC64 files.
25509 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25510 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25512 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25514 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25515 __makecontext_ret to ...
25516 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25517 ... here and call exit if uc_link is NULL. New file.
25518 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25519 __makecontext_ret.S.
25520 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25521 __makecontext_ret to ...
25522 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25523 ... here and call exit if uc_link is NULL. New file.
25524 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25525 __makecontext_ret.S.
25527 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25529 * elf/elf.h (R_390_IRELATIVE): New definition.
25530 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25531 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25532 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25533 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25534 (elf_machine_lazy_rel): Likewise.
25535 * sysdeps/s390/dl-irel.h: New file.
25536 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25537 * sysdeps/s390/s390-64/memset.S: New asm code.
25538 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25539 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25540 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25541 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25542 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25543 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25544 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25545 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25546 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25547 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25548 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25549 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25550 * sysdeps/s390/s390-32/memset.S: New asm code.
25551 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25553 2012-07-17 Marek Polacek <polacek@redhat.com>
25556 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25557 * sysdeps/s390/s390-64/configure.in: Likewise.
25558 * sysdeps/sparc/configure.in: Likewise.
25559 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25560 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25561 * sysdeps/i386/configure.in: Likewise.
25562 * sysdeps/x86_64/configure.in: Likewise.
25563 * sysdeps/sh/configure.in: Likewise.
25564 * sysdeps/s390/s390-32/configure: Regenerated.
25565 * sysdeps/s390/s390-64/configure: Likewise.
25566 * sysdeps/x86_64/configure: Likewise.
25567 * sysdeps/sh/configure: Likewise.
25568 * sysdeps/powerpc/powerpc64/configure: Likewise.
25569 * sysdeps/powerpc/powerpc32/configure: Likewise.
25570 * sysdeps/sparc/configure: Likwise.
25571 * sysdeps/i386/configure: Likewise.
25573 * elf/dl-open.c: Comment fixes.
25575 2012-07-17 Joseph Myers <joseph@codesourcery.com>
25577 * Makefile [CXX] (check-data): Remove.
25578 [CXX] (c++-types.data): New vpath directive.
25579 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25580 vpath. Do not allow for C++ type data being missing.
25581 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25582 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25583 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25584 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25585 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25586 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25587 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25590 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25593 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25596 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25599 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25602 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25605 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25608 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25611 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25612 definitions to architecture-specific files.
25613 (TLS_IE): Likewise.
25614 (TLS_LD): Likewise.
25615 (TLS_GD): Likewise.
25616 * sysdeps/i386/tls-macros.h: New file.
25617 * sysdeps/powerpc/tls-macros.h: Likewise.
25618 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25619 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25620 * sysdeps/sh/tls-macros.h: Likewise.
25621 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25622 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25623 * sysdeps/x86_64/tls-macros.h: Likewise.
25625 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25627 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25628 zero value for regular exit case.
25630 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25631 (__start_context): Preserve zero value for regular exit case.
25633 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25634 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25636 * manual/setjmp.texi (setcontext): Clarify normal process
25637 termination when uc_link is the null pointer.
25638 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25641 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25643 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25644 preprocessor. Test for each exception mask separately.
25646 2012-07-16 Andreas Jaeger <aj@suse.de>
25648 * po/ru.po: Update from translation team.
25650 2012-07-15 Joseph Myers <joseph@codesourcery.com>
25652 * conform/data/string.h-data (NULL): Use macro-constant. Require
25654 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25655 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25656 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25657 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25658 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25660 2012-07-13 Andreas Jaeger <aj@suse.de>
25662 * po/fr.po: Update from translation team.
25664 2012-07-12 Marek Polacek <polacek@redhat.com>
25667 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25668 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25671 2012-07-12 Joseph Myers <joseph@codesourcery.com>
25674 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25675 Change to 2.4.1 where previously 2.4.0.
25676 * sysdeps/unix/sysv/linux/configure: Regenerated.
25677 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25678 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25680 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25681 (__ASSUME_AT_CLKTCK): Remove.
25682 (__ASSUME_AT_PAGESIZE): Likewise.
25683 (__ASSUME_AT_XID): Likewise.
25684 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25685 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25686 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25688 (HAVE_AUX_PAGESIZE): Likewise.
25689 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25690 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25691 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25693 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25697 the temporary buffer used to invoke __gethostbyname2_r,
25698 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25699 host_data / struct gaih_addrtuple.
25700 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25701 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25702 header file nss/nsswitch.h.
25703 * nss/nsswitch.h (global scope): Add definition of implementation
25704 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25705 resolv/nss_dns/dns-host.c).
25707 2012-07-11 Andreas Jaeger <aj@suse.de>
25709 * po/fr.po: Update from translation team.
25711 * po/sv.po: Update from translation team
25712 * po/fr.po: Another update from translation team.
25714 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25716 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25717 for subnormals or multiply small sinh result by itself.
25718 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25721 2012-07-11 David S. Miller <davem@davemloft.net>
25723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25725 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25728 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25729 (INTERNAL_MARK): Shift it here.
25731 2012-07-10 Marek Polacek <polacek@redhat.com>
25734 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25735 libc_cv_asm_global_directive with .globl.
25736 * configure: Regenerated.
25737 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25739 * sysdeps/i386/configure: Regenerated.
25740 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25742 * sysdeps/x86_64/configure: Regenerated.
25743 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25744 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25745 * elf/tst-unique2mod2.c: Likewise.
25746 * elf/tst-unique2mod1.c: Likewise.
25747 * elf/tst-unique1mod2.c: Likewise.
25748 * elf/tst-unique1mod1.c: Likewise.
25749 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25750 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25751 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25752 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25753 * sysdeps/mach/sysdep.h: Likewise.
25754 * sysdeps/i386/sysdep.h: Likewise.
25755 * sysdeps/i386/i386-mcount.S: Likewise.
25756 * sysdeps/x86_64/_mcount.S: Likewise.
25757 * sysdeps/x86_64/sysdep.h: Likewise.
25758 * sysdeps/sh/_mcount.S: Likewise.
25759 * sysdeps/sh/sysdep.h: Likewise.
25760 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25761 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25762 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25763 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25764 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25765 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25766 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25767 * locale/localeinfo.h: Likewise.
25768 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25769 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25771 2012-07-09 Roland McGrath <roland@hack.frob.com>
25774 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25776 * manual/message.texi (The Uniforum approach): Likewise.
25777 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25778 (glibc iconv Implementation): Likewise.
25780 2012-07-09 Joseph Myers <joseph@codesourcery.com>
25783 * math/s_clog.c (__clog): Avoid scaling a value down where that
25784 could result in underflow.
25785 * math/s_clog10.c (__clog10): Likewise.
25786 * math/s_clog10f.c (__clog10f): Likewise.
25787 * math/s_clog10l.c (__clog10l): Likewise.
25788 * math/s_clogf.c (__clogf): Likewise.
25789 * math/s_clogl.c (__clogl): Likewise.
25790 * math/libm-test.inc (clog_test): Add more tests.
25791 (clog10_test): Likewise.
25792 * sysdeps/i386/fpu/libm-test-ulps: Update.
25793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25795 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25798 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25799 by 7 not 8 to examine high bit of fractional part.
25802 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25803 for call to __mcount_internal.
25804 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25805 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25806 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25808 2012-07-06 Joseph Myers <joseph@codesourcery.com>
25811 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25812 approximation for values within 0x1p-13f of an odd multiple of
25814 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25815 exception. Add more tests.
25816 * sysdeps/i386/fpu/libm-test-ulps: Update.
25819 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25820 inputs and return -1 for them. Do not check for +Inf in case not
25821 reachable for +Inf.
25822 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25823 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25824 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25825 and return -1 for them. Do not check for +Inf in case not
25826 reachable for +Inf.
25827 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25829 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25830 and return -1 for them. Do not check for +Inf in case not
25831 reachable for +Inf.
25832 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25833 spurious underflow.
25834 * sysdeps/i386/fpu/libm-test-ulps: Update.
25835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25837 2012-07-06 Mike Frysinger <vapier@gentoo.org>
25839 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25841 2012-07-05 Joseph Myers <joseph@codesourcery.com>
25845 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25846 could result in spurious underflow. Scale down values above
25847 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25848 * math/s_csqrtf.c (__csqrtf): Likewise.
25849 * math/s_csqrtl.c (__csqrtl): Likewise.
25850 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25851 spurious underflow.
25852 * sysdeps/i386/fpu/libm-test-ulps: Update.
25853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25855 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25857 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25859 * catgets/xopen-msg.awk: New file.
25860 * catgets/xopen-msg.sed: Removed.
25862 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25864 * intl/po2test.awk: New file.
25865 * intl/po2test.sed: Removed.
25867 2012-07-04 Joseph Myers <joseph@codesourcery.com>
25870 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25871 or multiply small sinh result by itself.
25872 * math/s_ctanf.c (__ctanf): Likewise.
25873 * math/s_ctanh.c (__ctanh): Likewise.
25874 * math/s_ctanhf.c (__ctanhf): Likewise.
25875 * math/s_ctanhl.c (__ctanhl): Likewise.
25876 * math/s_ctanl.c (__ctanl): Likewise.
25877 * math/libm-test.inc (ctan_test_tonearest): New function.
25878 (ctan_test_towardzero): Likewise.
25879 (ctan_test_downward): Likewise.
25880 (ctan_test_upward): Likewise.
25881 (ctanh_test_tonearest): Likewise.
25882 (ctanh_test_towardzero): Likewise.
25883 (ctanh_test_downward): Likewise.
25884 (ctanh_test_upward): Likewise.
25885 (main): Call these new functions.
25886 * sysdeps/i386/fpu/libm-test-ulps: Update.
25887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25889 2012-07-03 Mike Frysinger <vapier@gentoo.org>
25891 * .gitignore: Delete /ports entry.
25893 2012-07-03 Andreas Jaeger <aj@suse.de>
25895 * po/bg.po: Update from translation team.
25896 * po/cs.po: Likewise.
25897 * po/de.po: Likewise.
25898 * po/hr.po: Likewise.
25899 * po/nl.pl: Likewise.
25900 * po/pl.po: Likewise.
25901 * po/vi.po: Likewise.
25903 2012-07-03 Joseph Myers <joseph@codesourcery.com>
25905 * Makeconfig [!+link] (+link-before-libc): New variable.
25906 [!+link] (+link-after-libc): Likewise.
25907 [!+link] (+link-tests): Likewise.
25908 [!+link] (+link): Define in terms of $(+link-before-libc) and
25909 $(+link-after-libc).
25910 [!+link-static] (+link-static-before-libc): New variable.
25911 [!+link-static] (+link-static-after-libc): Likewise.
25912 [!+link-static] (+link-static-tests): Likewise.
25913 [!+link-static] (+link-static): Define in terms of
25914 $(+link-static-before-libc) and $(+link-static-after-libc).
25915 [build-shared] (link-libc-before-gnulib): New variable.
25916 [build-shared] (link-libc-tests): Likewise.
25917 [build-shared] (link-libc): Define in terms of
25918 $(link-libc-before-gnulib).
25919 [!build-shared] (link-libc-tests): New variable.
25920 (link-libc-static-tests): New variable.
25921 [!gnulib] (gnulib-arch): New variable.
25922 [!gnulib] (gnulib-tests): Likewise.
25923 [!gnulib] (static-gnulib-arch): Likewise.
25924 [!gnulib] (static-gnulib-tests): Likewise.
25925 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25926 Define with "=" instead of ":=".
25927 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25928 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25929 * Rules (binaries-all-notests): New variable.
25930 (binaries-all-tests): Likewise.
25931 (binaries-static-notests): Likewise.
25932 (binaries-static-tests): Likewise.
25933 (binaries-all): Define using $(binaries-all-notests) and
25934 $(binaries-all-tests).
25935 (binaries-static): Define using $(binaries-static-notests) and
25936 $(binaries-static-tests).
25937 (binaries-shared-tests): New variable.
25938 (binaries-shared-notests): Likewise.
25939 (binaries-shared): Remove variable.
25940 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25941 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25942 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25943 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25944 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25945 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25946 * elf/Makefile (sln-modules): New variable.
25947 (extra-objs): Add $(sln-modules:=.o).
25948 (ldconfig-modules): Add static-stubs.
25949 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25950 * elf/static-stubs.c: New file.
25953 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25954 by 7 not 8 to examine high bit of fractional part. Use volatile
25955 variables when splitting into final array of floats if
25956 __FLT_EVAL_METHOD__ != 0.
25957 * math/libm-test.inc (cos_test): Add another test.
25958 (sin_test): Likewise.
25959 * sysdeps/i386/fpu/libm-test-ulps: Update.
25962 * math/libm-test.inc (cosh_test): Add more tests.
25964 * version.h (RELEASE): Set to "development".
25965 (VERSION): Set to "2.16.90".
25967 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25969 * NEWS: Update copyright. Remove last-updated date.
25970 Mention math library bug fixes and timezone data changes.
25971 * README: Mention GNU/Hurd, x32, and HPPA support status.
25973 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25975 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25977 2012-06-27 Andreas Jaeger <aj@suse.de>
25979 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25981 2012-06-25 Andreas Jaeger <aj@suse.de>
25983 * sysdeps/s390/fpu/libm-test-ulps: Update.
25985 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25986 Thomas Schwinge <thomas@codesourcery.com>
25988 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25989 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25993 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25995 * sysdeps/mach/start.c: Remove file.
25996 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25997 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25998 * sysdeps/sh/init-first.c: Likewise.
26000 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26001 registers for frame unwinding purposes, add CFI directives.
26002 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26003 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26004 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26007 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26008 __fortify_fail returning.
26009 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26011 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26012 sysdeps/sh/____longjmp_chk.S.
26013 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26014 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26015 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26016 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26018 * sysdeps/sh/abort-instr.h: New file.
26019 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26020 process in case exit returns.
26022 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26023 initialize the GOT register before use.
26025 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26026 calculation of ARGC > 4.
26028 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26029 meaningful names to some local labels.
26031 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26032 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26034 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26035 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26036 (__arch_compare_and_exchange_val_16_acq): Likewise.
26037 (__arch_compare_and_exchange_val_32_acq): Likewise.
26038 (atomic_exchange_and_add): Fix gUSA sequence.
26039 (atomic_add): Likewise.
26040 (atomic_add_negative): Likewise.
26041 (atomic_add_zero): Likewise.
26042 (atomic_bit_test_set): Likewise.
26044 2012-06-22 Andreas Schwab <schwab@redhat.com>
26047 * include/link.h (struct link_map): Add l_free_initfini.
26048 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26050 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26051 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26052 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26055 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26057 * configure.in: Use AC_LANG_SOURCE.
26058 * configure: Regenerate.
26060 2012-06-22 Roland McGrath <roland@hack.frob.com>
26062 * configure.in (libc_cv_localstatedir): New substituted variable.
26063 * configure: Regenerated.
26064 * config.make.in (localstatedir): New variable, substituted from
26065 libc_cv_localstatedir.
26066 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26067 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26068 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26069 * sysdeps/gnu/configure: Regenerated.
26071 2012-06-21 Jeff Law <law@redhat.com>
26074 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26075 free. Simplify list management for _LIBC case.
26077 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26080 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26081 Clear sign bit of 64-bit integer value before comparing against
26084 * sysdeps/mach/configure: Regenerated.
26086 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26089 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26091 2012-06-21 Jeff Law <law@redhat.com>
26094 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26095 uint16_t for elements in the "seen" array to avoid char overflows.
26096 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26097 * elf/dl-open.c (dl_open_worker): Likewise.
26099 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26101 * scripts/list-sources.sh: Scan PORTS for translations.
26102 * po/libc.pot: Regenerated.
26104 2012-06-21 Andreas Jaeger <aj@suse.de>
26107 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26109 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26110 * bits/byteswap-16.h (__bswap_16): Likewise.
26111 * bits/byteswap.h (__bswap_constant_16): Likewise.
26113 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26116 * sysdeps/i386/fpu_control.h: Removed.
26117 * sysdeps/x86_64/fpu_control.h: Moved to ...
26118 * sysdeps/x86/fpu_control.h: Here.
26120 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26121 (_FPU_SETCW): Likewise.
26123 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26126 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26127 * sysdeps/x86/fpu/bits/mathinline.h: This.
26128 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26132 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26133 functions if __x86_64__ is defined.
26135 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26137 * string/endian.h: Add !__ASSEMBLER__ condition for including
26138 conversion interfaces.
26140 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26143 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26144 of ABS(x) in calculating zero to negative powers other than odd
26146 * math/libm-test.inc (pow_test): Add more tests.
26148 2012-06-15 Andreas Jaeger <aj@suse.de>
26150 * manual/contrib.texi (Contributors): Update entry of Liubov
26151 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26154 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26156 * string/string.h: Add __wur to GNU version of strerror_r.
26158 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26161 * string/Makefile (tests): Add tst-strtok_r.
26162 * string/tst-strtok_r.c: New file.
26163 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26164 RAX_LP/RDX_LP on SAVE_PTR.
26166 2012-06-14 Roland McGrath <roland@hack.frob.com>
26168 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26170 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26172 * libm_test.inc (csqrt_test): Allow more spurious underflow
26174 (j0_test): Likewise.
26175 (j1_test): Likewise.
26176 (y0_test): Likewise.
26177 (y1_test): Likewise.
26179 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26181 * po/Makefile (libc.pot): Use UTF-8 charset.
26183 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26186 Suppress sign-conversion warning from FD_SET.
26187 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26188 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26189 not unsigned long int.
26190 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26192 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26196 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26197 __extern_always_inline instead of __extern_inline.
26198 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26199 (__signbit): Likewise.
26200 (__signbitl): Support C++ namespace.
26201 (lrintf): New inline function.
26203 (llrintf): Likewise.
26204 (llrint): Likewise.
26214 (floorf): Likewise.
26215 (nearbyint): Likewise.
26216 (nearbyintf): Likewise.
26218 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26220 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26221 non-default versions.
26223 2012-06-11 Roland McGrath <roland@hack.frob.com>
26226 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26228 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26230 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26231 (FE_UPWARD, FE_DOWNWARD): Don't define.
26232 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26233 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26235 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26237 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26238 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26240 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26242 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26243 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26244 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26245 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26247 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26250 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26251 * sysdeps/i386/fpu/Implies: New file.
26252 * sysdeps/x86_64/fpu/Implies: Likewise.
26253 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26254 * sysdeps/x86/fpu/bits/fenv.h: This.
26256 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26259 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26262 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26263 character 0xffff that matches the last element of the
26266 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26271 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26273 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26274 values higher than 25.6283.
26276 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26278 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26279 subnormal exponent extraction and add some __builtin_expect.
26280 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26281 Fix for subnormal mantissa calculation.
26283 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26285 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26286 cpu2 is -1 and errno is not ENOSYS.
26288 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26291 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26292 * sysdeps/x86/bits/string.h: This.
26293 * sysdeps/x86_64/bits/string.h: Removed.
26295 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26296 if not compiling for x86-64, but compiling for >= i486.
26298 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26299 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26301 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26302 New macro from Linux kernel 3.4.0.
26303 (FP_XSTATE_MAGIC2): Likewise.
26304 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26305 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26306 (struct _fpx_sw_bytes): New struct.
26307 (struct _xsave_hdr): Likewise.
26308 (struct _ymmh_state): Likewise.
26309 (struct _xstate): Likewise.
26311 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26312 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26313 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26314 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26315 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26316 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26318 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26319 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26320 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26321 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26322 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26323 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26325 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26328 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26329 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26330 (sysdep_headers): Include sys/platform/ppc.h.
26331 * sysdeps/powerpc/test-gettimebase.c: Test for
26332 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26333 * manual/Makefile (appendices): Include platform.texi.
26334 * manual/contrib.texi (Contributors): Update @node pointers.
26335 * manual/maint.texi (Maintenance): Likewise.
26336 (Platform): New node.
26337 * manual/platform.texi: New file. Document the new features.
26339 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26340 Jakub Jelinek <jakub@redhat.com>
26343 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26344 where __builtin_expect is unavailable.
26346 2012-06-03 David S. Miller <davem@davemloft.net>
26348 * stdlib/longlong.h: Updated from GCC.
26350 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26353 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26354 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26357 (GLIBC_2.16): Likewise.
26359 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26361 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26363 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26366 (default-abi): New variable.
26367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26368 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26370 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26372 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26374 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26377 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26378 definition. Document in comment.
26380 2012-06-01 David S. Miller <davem@davemloft.net>
26382 * stdlib/longlong.h: Updated from GCC.
26384 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26387 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26388 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26389 sys/debugreg.h sys/io.h here.
26390 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26391 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26393 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26394 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26395 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26396 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26397 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26398 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26400 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26401 Define only if __x86_64__ is defined.
26403 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26406 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26407 Use int64_t for variable i.
26408 * math/libm-test.inc (fmod_test): Add more tests.
26410 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26411 z computation is not scheduled after fetestexcept.
26412 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26413 Use math_force_eval instead of asm to ensure calculation scheduled
26414 before exception test.
26415 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26416 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26418 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26421 computation is not scheduled after fetestexcept.
26423 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26426 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26427 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26429 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26431 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26432 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26434 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26437 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26439 (__WCHAR_MIN): Support __WORDSIZE == 64.
26440 (__WCHAR_MAX): Likewise.
26442 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26443 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26446 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26447 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26450 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26451 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26453 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26454 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26456 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26457 Defined to 1 if __x86_64__ isn't defined.
26458 (_STAT_VER_LINUX_OLD): New.
26459 (st_atime): Remove duplicate.
26460 (st_mtime): Likewise.
26461 (st_ctime): Likewise.
26463 2012-05-31 David S. Miller <davem@davemloft.net>
26465 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26468 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26470 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26474 * elf/dl-reloc.c: Include <_itoa.h>.
26475 (_dl_reloc_bad_type): Remove use of INTUSE.
26476 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26477 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26478 * stdio-common/psiginfo.c (psiginfo): Likewise.
26479 * stdio-common/psignal.c (psignal): Likewise.
26480 * string/strsignal.c (strsignal): Likewise.
26481 * include/signal.h (_sys_siglist): Declare hidden proto.
26482 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26483 INTVARDEF with libc_hidden_data_def.
26484 * stdio-common/itoa-udigits.c: Likewise.
26485 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26486 (_itoa_lower_digits_internal): Remove declaration.
26487 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26488 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26489 (_sys_sigabbrev_internal): Remove aliases.
26490 (_sys_siglist): Define hidden alias.
26492 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26497 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26500 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26501 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26503 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26504 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26505 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26506 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26507 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26508 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26510 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26511 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26512 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26514 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26522 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26523 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26524 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26526 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26527 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26529 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26530 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26531 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26533 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26534 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26536 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26537 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26539 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26541 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26543 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26544 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26546 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26548 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26549 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26550 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26552 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26554 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26556 2012-05-31 Joseph Myers <joseph@codesourcery.com>
26558 * math/math.h (M_El): Use two more decimal places.
26559 (M_LOG2El): Likewise.
26560 (M_LOG10El): Likewise.
26561 (M_LN2l): Likewise.
26562 (M_LN10l): Likewise.
26564 (M_PI_2l): Likewise.
26565 (M_PI_4l): Likewise.
26566 (M_1_PIl): Likewise.
26567 (M_2_PIl): Likewise.
26568 (M_2_SQRTPIl): Likewise.
26569 (M_SQRT2l): Likewise.
26570 (M_SQRT1_2l): Likewise.
26572 2012-05-31 David S. Miller <davem@davemloft.net>
26574 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26575 values between float registers.
26576 * sysdeps/sparc/sparc64/memset.S: Likewise.
26577 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26579 2012-05-31 Mike Frysinger <vapier@gentoo.org>
26581 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26582 -D_FORTIFY_SOURCE=1.
26583 (CPPFLAGS-tst-longjmp_chk.c): Define.
26584 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26585 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26586 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26587 CFLAGS-tst-wchar-h.c.
26589 2012-05-31 Marek Polacek <polacek@redhat.com>
26592 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26593 __endmntent_internal): Remove declaration.
26594 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26595 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26596 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26598 2012-05-30 David S. Miller <davem@davemloft.net>
26600 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26601 (___Q_simulate_exceptions): Use real FP ops rather than writing
26603 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26606 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26609 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26610 * sysdeps/x86/bits/xtitypes.h: This.
26612 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26613 * sysdeps/x86/bits/wordsize.h: This.
26615 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26616 * sysdeps/x86/bits/huge_vall.h: This.
26618 * sysdeps/i386/bits/select.h: Removed.
26619 * sysdeps/x86_64/bits/select.h: Renamed to ...
26620 * sysdeps/x86/bits/select.h: This.
26622 * sysdeps/i386/bits/setjmp.h: Removed.
26623 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26624 * sysdeps/x86/bits/setjmp.h: This.
26626 * sysdeps/i386/bits/mathdef.h: Removed.
26627 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26628 * sysdeps/x86/bits/mathdef.h: This.
26630 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26633 * include/sys/socket.h (__connect_internal)
26634 (__libc_sa_len_internal): Remove declaration.
26635 (__connect, __libc_sa_len): Declare hidden_proto.
26636 (SA_LEN): Remove use of INTUSE.
26637 * socket/connect.c: Add libc_hidden_def.
26638 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26639 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26640 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26642 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26643 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26644 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26645 of adding _internal alias.
26647 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26650 * sysdeps/i386/bits/link.h: Removed.
26651 * sysdeps/i386/bits/linkmap.h: Likewise.
26652 * sysdeps/x86_64/bits/link.h: Renamed to ...
26653 * sysdeps/x86/bits/link.h: This.
26654 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26655 * sysdeps/x86/bits/linkmap.h: This.
26657 * sysdeps/i386/bits/endian.h: Removed.
26658 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26659 * sysdeps/x86/bits/endian.h: This.
26661 * sysdeps/i386/bits/byteswap.h: Removed.
26662 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26663 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26664 * sysdeps/x86/bits/byteswap.h: This.
26665 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26666 * sysdeps/x86/bits/byteswap-16.h: This.
26667 * sysdeps/i386/Implies: Add x86.
26668 * sysdeps/x86_64/Implies: Likewise.
26670 2012-05-30 David S. Miller <davem@davemloft.net>
26672 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26673 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26674 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26675 (FP_TRAPPING_EXCEPTIONS): Define.
26676 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26677 (FP_TRAPPING_EXCEPTIONS): Define.
26678 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26679 subnormals only when inexact has been signalled or underflow
26680 exceptions are enabled.
26681 (_FP_PACK_CANONICAL): Likewise.
26683 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26686 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26687 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26689 2012-05-30 Richard Henderson <rth@twiddle.net>
26691 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26692 with #ifndef NOT_IN_libc.
26694 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26695 marked to avoid plt entry.
26697 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26700 * Makeconfig (default-abi): New macro.
26701 (abi-includes): Likewise.
26702 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26703 $(abi-$(default-abi)-lib-soname) for soname if defined.
26704 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26706 * Makefile (installed-stubs): Likewise.
26707 * include/stubs-biarch.h: Removed.
26708 * scripts/lib-names.awk: Only handle one library at a time.
26709 * scripts/soversions.awk: Remove WORDSIZE support.
26710 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26712 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26714 (syscall-list-default-condition): Likewise.
26715 (syscall-list-default-condition): Likewise.
26716 (syscall-list-includes): Likewise.
26717 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26718 syscall-list-* with abi-*. Handle undefined abi-variants.
26719 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26720 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26721 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26722 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26723 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26724 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26726 (syscall-list-32-options): Likewise.
26727 (syscall-list-32-condition): Likewise.
26728 (syscall-list-64-options): Likewise.
26729 (syscall-list-64-condition): Likewise.
26730 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26732 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26735 (abi-64-ld-soname): New macro.
26736 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26737 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26740 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26741 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26743 2012-05-30 Joseph Myers <joseph@codesourcery.com>
26745 * sysdeps/unix/sysv/linux/kernel-features.h
26746 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26747 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26748 include <kernel-features.h>.
26749 [!__NR_ftruncate64]: Remove conditional code.
26750 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26751 [__NR_ftruncate64]: Make code unconditional.
26752 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26753 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26754 include <kernel-features.h>.
26755 [!__NR_ftruncate64]: Remove conditional code.
26756 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26757 [__NR_ftruncate64]: Make code unconditional.
26758 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26760 include <kernel-features.h>.
26761 [!__NR_ftruncate64]: Remove conditional code.
26762 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26763 [__NR_ftruncate64]: Make code unconditional.
26764 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26766 include <kernel-features.h>.
26767 [!__NR_ftruncate64]: Remove conditional code.
26768 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26769 [__NR_ftruncate64]: Make code unconditional.
26770 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26772 * configure.in (libc_cv_fpie): Weaken to a compile test using
26773 LIBC_TRY_CC_OPTION.
26774 * configure: Regenerated.
26776 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26791 2012-05-27 David S. Miller <davem@davemloft.net>
26793 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26795 (__Q_simulate_exceptions): Return void. Change to simulate
26796 exceptions by writing into the %fsr.
26797 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26798 (__Qp_handle_exceptions): Likewise.
26800 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26801 __Qp_handle_exceptions.
26802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26803 __Qp_handle_exceptions.
26804 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26805 as unused and give dummy FP_RND_NEAREST initializer.
26806 (FP_INHIBIT_RESULTS): Define.
26807 (___Q_simulate_exceptions): Update declaration.
26808 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26810 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26811 as unused and give dummy FP_RND_NEAREST initializer.
26812 (__Qp_handle_exceptions): Update declaration.
26813 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26816 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26818 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26819 the temporary FPU control word.
26820 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26821 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26822 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26823 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26824 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26825 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26826 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26827 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26828 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26829 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26830 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26832 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26834 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26837 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26839 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26840 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26841 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26842 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26844 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26845 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26848 2012-05-27 Ulrich Drepper <drepper@gmail.com>
26850 * po/h.po: Update from translation team.
26852 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26854 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26856 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26857 handling of denormals.
26858 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26859 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26860 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26861 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26862 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26864 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26867 2012-05-26 Marek Polacek <polacek@redhat.com>
26870 * math/libm-test.inc (fma_test): Don't always expect underflow
26873 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26876 * elf/tst-execstack.c: Include stackinfo.h.
26877 (do_test): Adjust test case to ensure that pthread_getattr_np
26878 behaviour remains the same after marking stack executable.
26880 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26882 * sysdeps/unix/sysv/linux/kernel-features.h
26883 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26884 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26886 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26887 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26888 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26890 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26891 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26893 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26895 * configure.in: Define the default includes to being none.
26896 * configure: Regenerated.
26898 2012-05-25 Roland McGrath <roland@hack.frob.com>
26900 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26901 * sysdeps/x86_64/setjmp.S: Likewise.
26902 * sysdeps/i386/bsd-setjmp.S: Likewise.
26903 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26904 * sysdeps/i386/setjmp.S: Likewise.
26905 * sysdeps/i386/__longjmp.S: Likewise.
26906 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26907 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26909 * include/stap-probe.h: New file.
26910 * configure.in: Handle --enable-systemtap.
26911 * configure: Regenerated.
26912 * config.h.in (USE_STAP_PROBE): New #undef.
26913 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26914 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26915 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26917 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26920 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26921 to 2.4.0 where earlier.
26922 * sysdeps/unix/sysv/linux/configure: Regenerated.
26923 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26924 <kernel-features.h>.
26925 [__ASSUME_32BITUIDS]: Make code unconditional.
26926 [!__ASSUME_32BITUIDS]: Remove conditional code.
26927 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26928 <kernel-features.h>.
26929 [__ASSUME_32BITUIDS]: Make code unconditional.
26930 [!__ASSUME_32BITUIDS]: Remove conditional code.
26931 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26932 [__ASSUME_32BITUIDS]: Make code unconditional.
26933 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26934 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26935 <kernel-features.h>.
26936 [__ASSUME_32BITUIDS]: Make code unconditional.
26937 [!__ASSUME_32BITUIDS]: Remove conditional code.
26938 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26939 <kernel-features.h>.
26940 [__ASSUME_32BITUIDS]: Make code unconditional.
26941 [!__ASSUME_32BITUIDS]: Remove conditional code.
26942 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26943 <kernel-features.h>.
26944 [__ASSUME_32BITUIDS]: Make code unconditional.
26945 [!__ASSUME_32BITUIDS]: Remove conditional code.
26946 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26947 <kernel-features.h>.
26948 [__ASSUME_32BITUIDS]: Make code unconditional.
26949 [!__ASSUME_32BITUIDS]: Remove conditional code.
26950 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26951 <kernel-features.h>.
26952 [__ASSUME_32BITUIDS]: Make code unconditional.
26953 [!__ASSUME_32BITUIDS]: Remove conditional code.
26954 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26955 <kernel-features.h>.
26956 [__ASSUME_32BITUIDS]: Make code unconditional.
26957 [!__ASSUME_32BITUIDS]: Remove conditional code.
26958 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26959 <kernel-features.h>.
26960 [__ASSUME_32BITUIDS]: Make code unconditional.
26961 [!__ASSUME_32BITUIDS]: Remove conditional code.
26962 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26963 <kernel-features.h>.
26964 [__ASSUME_32BITUIDS]: Make code unconditional.
26965 [!__ASSUME_32BITUIDS]: Remove conditional code.
26966 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26967 <kernel-features.h>.
26968 [__ASSUME_32BITUIDS]: Make code unconditional.
26969 [!__ASSUME_32BITUIDS]: Remove conditional code.
26970 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26971 <kernel-features.h>.
26972 [__ASSUME_32BITUIDS]: Make code unconditional.
26973 [!__ASSUME_32BITUIDS]: Remove conditional code.
26974 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26975 <kernel-features.h>.
26976 [__NR_setresgid] (__setresgid): Do not declare.
26977 [__ASSUME_32BITUIDS]: Make code unconditional.
26978 [!__ASSUME_32BITUIDS]: Remove conditional code.
26979 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26980 <kernel-features.h>.
26981 [__NR_setresuid] (__setresuid): Do not declare.
26982 [__ASSUME_32BITUIDS]: Make code unconditional.
26983 [!__ASSUME_32BITUIDS]: Remove conditional code.
26984 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26985 <kernel-features.h>.
26986 [__ASSUME_32BITUIDS]: Make code unconditional.
26987 [!__ASSUME_32BITUIDS]: Remove conditional code.
26988 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26989 <kernel-features.h>.
26990 [__ASSUME_32BITUIDS]: Make code unconditional.
26991 [!__ASSUME_32BITUIDS]: Remove conditional code.
26992 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26993 <kernel-features.h>.
26994 [__ASSUME_32BITUIDS]: Make code unconditional.
26995 [!__ASSUME_32BITUIDS]: Remove conditional code.
26996 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26997 <kernel-features.h>.
26998 [__ASSUME_32BITUIDS]: Make code unconditional.
26999 [!__ASSUME_32BITUIDS]: Remove conditional code.
27000 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27001 <kernel-features.h>.
27002 [__ASSUME_32BITUIDS]: Make code unconditional.
27003 [!__ASSUME_32BITUIDS]: Remove conditional code.
27004 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27005 <kernel-features.h>.
27006 [__ASSUME_32BITUIDS]: Make code unconditional.
27007 [!__ASSUME_32BITUIDS]: Remove conditional code.
27008 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27009 <kernel-features.h>.
27010 [__ASSUME_32BITUIDS]: Make code unconditional.
27011 [!__ASSUME_32BITUIDS]: Remove conditional code.
27012 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27013 <kernel-features.h>.
27014 [__ASSUME_32BITUIDS]: Make code unconditional.
27015 [!__ASSUME_32BITUIDS]: Remove conditional code.
27016 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27017 <kernel-features.h>.
27018 [__ASSUME_32BITUIDS]: Make code unconditional.
27019 [!__ASSUME_32BITUIDS]: Remove conditional code.
27020 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27021 <kernel-features.h>.
27022 [__ASSUME_32BITUIDS]: Make code unconditional.
27023 [!__ASSUME_32BITUIDS]: Remove conditional code.
27024 * sysdeps/unix/sysv/linux/kernel-features.h
27025 (__ASSUME_SETRESUID_SYSCALL): Remove.
27026 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27027 (__ASSUME_32BITUIDS): Likewise.
27028 (__ASSUME_LDT_WORKS): Likewise.
27029 (__ASSUME_O_DIRECTORY): Likewise.
27030 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27031 architecture but not kernel version.
27032 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27033 (__ASSUME_MMAP2_SYSCALL): Likewise.
27034 (__ASSUME_STAT64_SYSCALL): Likewise.
27035 (__ASSUME_IPC64): Likewise.
27036 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27037 <kernel-features.h>.
27038 [__ASSUME_32BITUIDS]: Make code unconditional.
27039 [!__ASSUME_32BITUIDS]: Remove conditional code.
27040 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27041 <kernel-features.h>.
27042 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27043 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27044 132096]: Remove conditional code.
27045 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27046 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27047 <kernel-features.h>.
27048 [__ASSUME_32BITUIDS]: Make code unconditional.
27049 [!__ASSUME_32BITUIDS]: Remove conditional code.
27050 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27051 <kernel-features.h>.
27052 [__ASSUME_32BITUIDS]: Make code unconditional.
27053 [!__ASSUME_32BITUIDS]: Remove conditional code.
27054 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27055 <kernel-features.h>.
27056 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27058 (__setresgid): Do not declare.
27059 [__ASSUME_32BITUIDS]: Make code unconditional.
27060 [!__ASSUME_32BITUIDS]: Remove conditional code.
27061 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27062 <kernel-features.h>.
27063 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27065 (__setresuid): Do not declare.
27066 [__ASSUME_32BITUIDS]: Make code unconditional.
27067 [!__ASSUME_32BITUIDS]: Remove conditional code.
27068 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27069 <kernel-features.h>.
27070 [__ASSUME_32BITUIDS]: Make code unconditional.
27071 [!__ASSUME_32BITUIDS]: Remove conditional code.
27072 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27073 <kernel-features.h>.
27074 [__ASSUME_32BITUIDS]: Make code unconditional.
27075 [!__ASSUME_32BITUIDS]: Remove conditional code.
27077 2012-05-25 Richard Henderson <rth@twiddle.net>
27079 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27080 dl_hwcap to ifunc resolver.
27081 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27083 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27084 dl_hwcap to ifunc resolver.
27085 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27087 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27090 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27091 for |x| <= 2**-26, not 2**-57.
27092 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27095 2012-05-24 Jeff Law <law@redhat.com>
27097 * stdio-common/Makefile (tests): Add bug25.
27098 * stdio-common/bug25.c: New test.
27100 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27103 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27104 multiple of MALLOC_ALIGNMENT in size.
27105 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27107 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27109 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27111 (FILENAME_MAX): Use macro-int-constant.
27112 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27113 (_IOFBF): Use macro-int-constant.
27114 (_IOLBF): Likewise.
27115 (_IONBF): Likewise.
27116 (SEEK_CUR): Likewise.
27117 (SEEK_END): Likewise.
27118 (SEEK_SET): Likewise.
27119 (TMP_MAX): Likewise.
27120 (EOF): Use macro-int-constant. Require < 0.
27121 (NULL): Use macro-constant. Require == 0.
27122 (stdin): Require type to be FILE *.
27123 (stdout): Likewise.
27124 (stderr): Likewise.
27125 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27126 macro-int-constant.
27127 (EXIT_SUCCESS): Likewise.
27128 (NULL): Use macro-constant. Require == 0.
27129 (RAND_MAX): Use macro-int-constant.
27130 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27131 [C99-based standards] (strtof): Require function.
27132 [C99-based standards] (strtold): Likewise.
27133 [C99-based standards] (strtoll): Likewise.
27134 [C99-based standards] (strtoull): Likewise.
27135 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27136 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27137 [ISO || ISO99 || ISO11] (math.h): Likewise.
27138 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27139 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27140 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27142 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27145 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27146 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27147 * intl/dgettext.c (DCGETTEXT): Likewise.
27148 * intl/gettext.c (DCGETTEXT): Likewise.
27149 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27150 * posix/regex_internal.h (gettext): Likewise.
27151 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27152 Remove declaration.
27153 * include/argz.h (__argz_count_internal)
27154 (__argz_stringify_internal): Remove declaration.
27155 (__argz_count, __argz_stringify): Declare hidden proto.
27156 * intl/dcgettext.c: Remove use of INTDEF.
27157 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27158 * string/argz-stringify.c: Likewise.
27159 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27160 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27161 Declare hidden proto.
27162 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27163 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27164 Declare hidden proto.
27165 * include/stdio.h (__asprintf_internal): Don't declare.
27166 (__asprintf): Don't define as macro. Declare hidden proto.
27167 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27168 (__fsetlocking): Declare hidden proto.
27169 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27170 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27172 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27173 (_IO_setlinebuf): Remove use of INTUSE.
27174 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27175 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27176 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27177 Remove declaration.
27178 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27179 (_IO_do_flush): Remove use of INTUSE.
27180 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27181 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27182 (_IO_adjust_column, _IO_least_wmarker)
27183 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27184 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27185 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27186 (_IO_default_doallocate, _IO_wdefault_doallocate)
27187 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27188 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27189 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27190 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27191 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27192 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27193 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27194 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27195 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27196 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27197 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27198 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27199 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27201 (_IO_flush_all_internal, _IO_adjust_column_internal)
27202 (_IO_default_uflow_internal, _IO_default_finish_internal)
27203 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27204 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27205 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27206 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27207 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27208 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27209 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27210 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27211 (_IO_file_close_internal, _IO_file_close_it_internal)
27212 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27213 (_IO_file_init_internal, _IO_file_attach_internal)
27214 (_IO_file_fopen_internal, _IO_file_read_internal)
27215 (_IO_file_sync_internal, _IO_file_seek_internal)
27216 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27217 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27218 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27219 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27220 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27221 (_IO_list_all_internal, _IO_link_in_internal)
27222 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27223 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27224 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27225 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27226 (_IO_do_write_internal, _IO_padn_internal)
27227 (_IO_getline_info_internal, _IO_getline_internal)
27228 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27229 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27230 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27231 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27232 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27233 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27234 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27235 with libc_hidden_ver, remove use of INTUSE.
27236 * libio/genops.c: Likewise.
27237 * libio/freopen.c: Likewise.
27238 * libio/freopen64.c: Likewise.
27239 * libio/iofclose.c: Likewise.
27240 * libio/iofdopen.c: Likewise.
27241 * libio/iofflush.c: Likewise.
27242 * libio/iofflush_u.c: Likewise.
27243 * libio/iofgets.c: Likewise.
27244 * libio/iofgets_u.c: Likewise.
27245 * libio/iofopen.c: Likewise.
27246 * libio/iofopncook.c: Likewise.
27247 * libio/iofread.c: Likewise.
27248 * libio/iofread_u.c: Likewise.
27249 * libio/ioftell.c: Likewise.
27250 * libio/iofwrite.c: Likewise.
27251 * libio/iogetline.c: Likewise.
27252 * libio/iogets.c: Likewise.
27253 * libio/iogetwline.c: Likewise.
27254 * libio/iopadn.c: Likewise.
27255 * libio/iopopen.c: Likewise.
27256 * libio/ioseekoff.c: Likewise.
27257 * libio/ioseekpos.c: Likewise.
27258 * libio/iosetbuffer.c: Likewise.
27259 * libio/iosetvbuf.c: Likewise.
27260 * libio/ioungetc.c: Likewise.
27261 * libio/ioungetwc.c: Likewise.
27262 * libio/iovdprintf.c: Likewise.
27263 * libio/iovsprintf.c: Likewise.
27264 * libio/iovsscanf.c: Likewise.
27265 * libio/memstream.c: Likewise.
27266 * libio/obprintf.c: Likewise.
27267 * libio/oldfileops.c: Likewise.
27268 * libio/oldiofclose.c: Likewise.
27269 * libio/oldiofdopen.c: Likewise.
27270 * libio/oldiofopen.c: Likewise.
27271 * libio/oldiopopen.c: Likewise.
27272 * libio/oldstdfiles.c: Likewise.
27273 * libio/putc.c: Likewise.
27274 * libio/setbuf.c: Likewise.
27275 * libio/setlinebuf.c: Likewise.
27276 * libio/stdfiles.c: Likewise.
27277 * libio/strops.c: Likewise.
27278 * libio/vasprintf.c: Likewise.
27279 * libio/vscanf.c: Likewise.
27280 * libio/vsnprintf.c: Likewise.
27281 * libio/vswprintf.c: Likewise.
27282 * libio/wfiledoalloc.c: Likewise.
27283 * libio/wfileops.c: Likewise.
27284 * libio/wgenops.c: Likewise.
27285 * libio/wmemstream.c: Likewise.
27286 * libio/wstrops.c: Likewise.
27287 * libio/__fpurge.c: Likewise.
27288 * libio/__fsetlocking.c: Likewise.
27289 * assert/assert.c: Likewise.
27290 * debug/fgets_chk.c: Likewise.
27291 * debug/fgets_u_chk.c: Likewise.
27292 * debug/fread_chk.c: Likewise.
27293 * debug/fread_u_chk.c: Likewise.
27294 * debug/gets_chk.c: Likewise.
27295 * debug/obprintf_chk.c: Likewise.
27296 * debug/vasprintf_chk.c: Likewise.
27297 * debug/vdprintf_chk.c: Likewise.
27298 * debug/vsnprintf_chk.c: Likewise.
27299 * debug/vsprintf_chk.c: Likewise.
27300 * malloc/mtrace.c: Likewise.
27301 * misc/error.c: Likewise.
27302 * misc/syslog.c: Likewise.
27303 * stdio-common/asprintf.c: Likewise.
27304 * stdio-common/fxprintf.c: Likewise.
27305 * stdio-common/getw.c: Likewise.
27306 * stdio-common/isoc99_fscanf.c: Likewise.
27307 * stdio-common/isoc99_scanf.c: Likewise.
27308 * stdio-common/isoc99_vfscanf.c: Likewise.
27309 * stdio-common/isoc99_vscanf.c: Likewise.
27310 * stdio-common/isoc99_vsscanf.c: Likewise.
27311 * stdio-common/printf-prs.c: Likewise.
27312 * stdio-common/printf_fp.c: Likewise.
27313 * stdio-common/printf_fphex.c: Likewise.
27314 * stdio-common/printf_size.c: Likewise.
27315 * stdio-common/putw.c: Likewise.
27316 * stdio-common/scanf.c: Likewise.
27317 * stdio-common/sprintf.c: Likewise.
27318 * stdio-common/tmpfile.c: Likewise.
27319 * stdio-common/vfprintf.c: Likewise.
27320 * stdio-common/vfscanf.c: Likewise.
27321 * stdlib/strfmon_l.c: Likewise.
27322 * sunrpc/openchild.c: Likewise.
27323 * sunrpc/xdr_stdio.c: Likewise.
27324 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27325 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27327 2012-05-24 Roland McGrath <roland@hack.frob.com>
27329 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27331 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27332 in the third column, to generate for the shared library an IFUNC
27333 that uses _dl_vdso_vsym.
27334 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27335 * Makeconfig (object-suffixes-noshared): New variable.
27337 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27338 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27339 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27340 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27343 * include/sys/time.h (__gettimeofday): Remove macro.
27344 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27345 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27347 (__gettimeofday): Add libc_hidden_def.
27348 (gettimeofday): Add libc_hidden_weak.
27349 * sysdeps/mach/gettimeofday.c: Likewise.
27350 * sysdeps/posix/gettimeofday.c: Likewise.
27351 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27352 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27353 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27354 (__gettimeofday_internal): Remove strong_alias.
27355 (__gettimeofday): Add libc_hidden_def.
27356 (gettimeofday): Add libc_hidden_weak.
27357 * sysdeps/unix/syscalls.list (gettimeofday):
27358 Remove __gettimeofday_internal alias.
27360 2012-05-24 Daniel Jacobowitz <drow@false.org>
27361 H.J. Lu <hongjiu.lu@intel.com>
27364 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27365 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27366 (largebin_index_32_big): New.
27367 (largebin_index): Use it for 16-byte alignment.
27368 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27369 correction with front_misalign.
27371 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27399 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27400 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27402 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27406 * math/libm-test.inc (exp_test): Add test from bug 14036.
27407 (pow_test): Add test from bug 10846.
27409 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27411 (special_function): Do not include flags in test name.
27412 (parse_args): Likewise.
27413 * sysdeps/i386/fpu/libm-test-ulps: Update.
27414 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27415 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27416 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27419 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27421 * math/libm-test.inc ("Philosophy"): Update comment about
27423 (UNDERFLOW_EXCEPTION): New macro.
27424 (UNDERFLOW_EXCEPTION_OK): Likewise.
27425 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27426 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27427 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27428 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27429 (INVALID_EXCEPTION_OK): Update value.
27430 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27431 (OVERFLOW_EXCEPTION_OK): Likewise.
27432 (IGNORE_ZERO_INF_SIGN): Likewise.
27433 (test_exceptions): Handle underflow exceptions.
27434 (acos_test): Update for underflow exception expectations.
27435 (cexp_test): Likewise.
27436 (clog_test): Likewise.
27437 (clog10_test): Likewise.
27438 (csqrt_test): Likewise.
27439 (ctan_test): Likewise.
27440 (ctanh_test): Likewise.
27441 (exp_test): Likewise.
27442 (exp10_test): Likewise.
27443 (exp2_test): Likewise.
27444 (expm1_test): Likewise.
27445 (fma_test): Likewise.
27446 (j0_test): Likewise.
27447 (jn_test): Likewise.
27448 (nexttoward_test): Likewise.
27449 (pow_test): Likewise.
27450 (scalbn_test): Likewise.
27451 (scalbln_test): Likewise.
27452 (tan_test): Likewise.
27453 (y1_test): Likewise.
27454 * sysdeps/i386/fpu/libm-test-ulps: Update.
27455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27457 2012-05-23 David S. Miller <davem@davemloft.net>
27459 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27460 (__libc_sigaction): Remove unused local variables.
27462 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27464 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27466 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27468 mktime: avoid signed integer overflow
27469 * time/mktime.c (__mktime_internal): Do not mishandle the case
27470 where diff == INT_MIN.
27472 mktime: simplify computation of average
27473 * time/mktime.c (ranged_convert): Use new time_t_avg function
27474 instead of rolling our own (probably-slower) code.
27476 mktime: do not assume signed right shift propagates sign bit
27477 * time/mktime.c (isdst_differ): New static function.
27478 (__mktime_internal): No need to normalize tm_isdst now.
27479 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27482 mktime: merge another wrapv change from gnulib
27483 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27484 from some compilers.
27486 mktime: remove incorrect attempt at unusual arithmetics
27487 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27488 The code didn't really work on such machines anyway.
27489 (TYPE_MINIMUM): Assume two's complement.
27490 (twos_complement_arithmetic): Verify that long_int and time_t
27491 are two's complement (or unsigned, in the latter case).
27493 mktime: check signed shifts on long_int and time_t, too
27494 * time/mktime.c (SHR): Check that shifts work as desired
27495 on the types long_int and time_t too, as SHR is used on
27498 mktime: do not assume 'long' is wide enough
27499 * time/mktime.c (verify): Move decl up.
27500 (long_int): New type.
27501 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27502 to remove assumption in the code that 'long' is wide enough to
27503 store year values. This assumption is not true on x32 and on
27504 some non-glibc platforms.
27506 mktime: merge wrapv change from gnulib
27507 * time/mktime.c (WRAPV): New macro.
27508 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27509 (guess_time_tm, __mktime_internal): Do not assume that signed
27510 integer overflow wraps around; modern compilers generate code
27511 where this assumption is no longer valid.
27513 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27515 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27516 Replace "jmp L(pseudo_end)" with "ret".
27517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27520 2012-05-23 Andreas Jaeger <aj@suse.de>
27522 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27523 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27525 2012-05-23 Andreas Jaeger <aj@suse.de>
27526 Maximilian Attems <max@stro.at>
27528 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27531 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27533 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27534 code so that pseudo_end is just ret and the stack pointer is
27535 correct also for static library in error case.
27537 2012-05-23 Joseph Myers <joseph@codesourcery.com>
27539 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27540 move to syscalls.list.
27541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27546 * manual/install.texi (Running make install): Do not mention Linux
27547 kernel version for which pt_chown is not needed.
27548 (Linux): Do not mention problems with nscd with 2.0 kernels.
27549 * INSTALL: Regenerated.
27551 2012-05-23 Andreas Jaeger <aj@suse.de>
27553 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27554 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27556 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27557 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27558 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27559 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27560 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27561 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27562 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27563 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27564 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27566 * sysdeps/unix/sysv/linux/bits/in.h
27567 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27569 2012-05-22 Roland McGrath <roland@hack.frob.com>
27571 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27572 (PREPARE_VERSION): Just use assert instead, it will be elided
27573 under [NDEBUG] anyway.
27575 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27577 * sysdeps/unix/sysv/linux/Makefile: Include
27578 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27579 (sysdep_routines): Remove sysctl.
27580 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27581 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27582 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27583 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27584 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27586 2012-05-22 Andreas Jaeger <aj@suse.de>
27588 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27589 that pseudo_end is just ret and the stack pointer is correct also
27590 for static library in error case.
27592 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27595 * nss/nsswitch.c (defconfig_entries): New variable.
27596 (__nss_database_lookup): Don't leak defconfig entries.
27597 (nss_parse_service_list): Don't leak on error paths.
27598 (free_database_entries): New function.
27599 (free_defconfig): New function.
27600 (free_mem): Move common code to free_database_entries.
27602 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27604 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27606 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27608 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27609 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27612 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27613 (INTERNAL_SYSCALL_TYPES): Likewise.
27614 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27615 (LOAD_REGS_TYPES_[1-6]): Likewise.
27616 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27617 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27619 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27621 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27622 copysignl for GLIBC_2_0.
27623 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27624 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27626 logbl for GLIBC_2_0.
27627 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27628 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27630 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27632 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27633 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27635 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27638 * time/mktime.c: Update copyright years.
27640 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27642 mktime: merge comment-quoting-style change from gnulib
27643 * time/mktime.c: Quote 'like this' in comments.
27644 The GNU coding standards suggest that we no longer quote `like this',
27645 as "`" and "'" are typically rendered asymmetrically nowadays.
27646 The typical gnulib style is to quote 'like this' when quoting
27647 code, and "like this" when quoting English.
27649 * time/mktime.c (compile-command): Add "-I.".
27651 mktime: merge mktime-internal.h change from gnulib
27652 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27654 mktime: merge time_r change from gnulib
27655 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27657 mktime: merge DEBUG change from gnulib
27658 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27659 case system <time.h> has a #define.
27661 mktime: merge <sys/types.h> change from gnulib
27662 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27663 since <time.t> is now guaranteed to define time_t.
27665 mktime: merge HAVE_CONFIG_H change from gnulib
27666 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27668 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27673 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27675 (struct rusage): Use anonymous union to pad each field to
27678 2012-05-21 David S. Miller <davem@davemloft.net>
27680 * Makefules (o-iterator): Remove .s cases.
27681 (compile-command.s): Delete.
27682 (COMPILE.s): Delete.
27683 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27685 2012-05-21 Joseph Myers <joseph@codesourcery.com>
27687 * configure.in (libc_cv_predef_stack_protector): Only consider
27688 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27689 * configure: Regenerated.
27691 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27694 New macro. Use R*LP on int and pointer.
27695 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27696 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27697 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27698 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27700 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27701 [__WORDSIZE_TIME64_COMPAT32] instead of
27702 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27703 (struct utmp): Likewise.
27704 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27705 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27707 (__WORDSIZE_TIME64_COMPAT32): This.
27708 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27709 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27710 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27711 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27712 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27713 (__WORDSIZE_TIME64_COMPAT32): New macro.
27715 2012-05-21 Andreas Jaeger <aj@suse.de>
27717 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27718 only if [SHARED]. Add prototype for __wcschr_ia32.
27720 2012-05-21 Roland McGrath <roland@hack.frob.com>
27722 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27723 of %rbp unmolested in the jmp_buf while mangling the low bits.
27724 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27725 unmolested high bits of %rbp while demangling the low bits.
27726 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27728 2012-05-21 Andreas Jaeger <aj@suse.de>
27730 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27731 * sunrpc/svc_simple.c: Use it for registerrpc.
27732 * sunrpc/xcrypt.c: Use it for passwd2des.
27734 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27736 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27738 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27739 Don't define if [__SYSCALL_WORDSIZE != 32].
27740 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27743 2012-05-21 Bruno Haible <bruno@clisp.org>
27744 Andreas Jaeger <aj@suse.de>
27746 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27747 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27748 inptr and inend for must_buffer_ch.
27749 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27750 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27751 * stdio-common/Makefile (tests): Remove bug15.
27752 (bug15-ENV): Remove macro.
27753 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27756 2012-05-19 Andreas Jaeger <aj@suse.de>
27757 Roland McGrath <roland@hack.frob.com>
27759 * manual/contrib.texi: Completely rewritten. It contains now an
27760 alphabetical list of contributors and their contributions.
27762 2012-05-21 Richard Henderson <rth@twiddle.net>
27764 * misc/getauxval.c (__getauxval): Use unsigned long int.
27765 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27766 (getauxval): Use unsigned long int.
27768 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27770 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27772 2012-05-21 Roland McGrath <roland@hack.frob.com>
27774 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27775 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27776 __alignof__ (long double).
27778 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27782 2012-05-20 Richard Henderson <rth@twiddle.net>
27784 * misc/getauxval.c: New file.
27785 * misc/sys/auxv.h: New file.
27786 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27787 (routines): Add getauxval.
27788 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27789 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27790 * elf/dl-sysdep.c (_dl_auxv): Remove.
27791 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27792 * elf/dl-support.c (_dl_auxv): New variable.
27793 (_dl_aux_init): Initialize it.
27794 * manual/startup.texi (Auxiliary Vector): New node.
27795 * sysdeps/generic/bits/hwcap.h: New file.
27796 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27797 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27798 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27799 * sysdeps/sparc/sysdep.h: ... here. Include it.
27800 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27807 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27813 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27817 2012-05-19 David S. Miller <davem@davemloft.net>
27819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27821 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27824 * math/s_ccosh.c: Include <float.h>
27825 (__ccosh): Avoid internal overflow calculating sinh and cosh
27826 values before multiplying by sin and cos values.
27827 * math/s_ccoshf.c: Likewise.
27828 * math/s_ccoshl.c: Likewise.
27829 * math/s_csin.c: Likewise.
27830 * math/s_csinf.c: Likewise.
27831 * math/s_csinl.c: Likewise.
27832 * math/s_csinh.c: Likewise.
27833 * math/s_csinhf.c: Likewise.
27834 * math/s_csinhl.c: Likewise.
27835 * math/libm-test.inc (ccos_test): Add more tests.
27836 (ccosh_test): Likewise.
27837 (csin_test): Likewise.
27838 (csinh_test): Likewise.
27839 * sysdeps/i386/fpu/libm-test-ulps: Update.
27840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27842 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27844 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27845 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27847 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27849 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27851 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27852 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27853 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27854 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27855 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27856 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27857 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27858 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27859 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27860 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27861 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27862 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27863 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27864 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27865 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27866 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27867 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27868 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27869 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27870 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27871 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27872 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27873 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27874 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27875 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27876 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27877 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27878 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27879 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27880 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27881 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27883 2012-05-18 Andreas Jaeger <aj@suse.de>
27885 * csu/.gitignore: Delete.
27887 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27889 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27890 (timex): Use __syscall_slong_t.
27892 2012-05-18 Andreas Jaeger <aj@suse.de>
27893 Carlos O'Donell <carlos_odonell@mentor.com>
27895 * manual/install.texi (Configuring and compiling): Update
27896 description about files modified in the source directory.
27897 * INSTALL: Regenerated.
27899 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27901 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27902 value. Use "or" to set return value to -1.
27903 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27904 negate return value.
27906 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27908 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27909 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27910 failure if the compiler has Graphite support disabled.
27911 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27913 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27914 CFLAGS-memmove.c): Likewise.
27915 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27918 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27920 * sysdeps/x86_64/x32/_itoa.h: New file.
27922 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27923 getdents system call only if kernel and user dirents have the
27924 same d_ino and d_off.
27926 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27927 LLONG_MAX != LONG_MAX.
27928 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27929 (_fitoa_word): Likewise.
27931 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27933 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27934 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27935 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27937 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27938 include <bits/wordsize.h>. Check __x86_64__ instead of
27940 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27941 if __x86_64__ is defined. Use anonymous union on fpstate.
27943 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27946 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27948 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27949 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27950 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27951 Refer to _rtld_local_ro instead of _rtld_global_ro.
27952 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27954 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27956 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27958 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27959 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27960 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27962 * sysdeps/powerpc/powerpc32/dl-machine.c
27963 (__elf_machine_runtime_setup) [PROF]: Don't reference
27966 2012-05-18 Andreas Jaeger <aj@suse.de>
27968 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27969 function only available for GCCs before 3.4 since GCC 3.4
27970 introduced a builtin.
27972 (llrintf): Likewise.
27973 (llrint): Likewise.
27980 (nearbyint): Likewise.
27981 (nearbyintf): Likewise.
27985 (floorf): Likewise.
27987 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27989 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27990 on both fields and cast pointer to __syscall_ulong_t.
27992 * bits/types.h (__fsword_t): New type.
27993 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27994 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27996 (__FSWORD_T_TYPE): Likewise.
27997 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27998 (__FSWORD_T_TYPE): Likewise.
27999 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28000 (__FSWORD_T_TYPE): Likewise.
28001 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28002 (__FSWORD_T_TYPE): Likewise.
28003 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28004 __SWORD_TYPE with __fsword_t.
28005 (statfs64): Likewise.
28007 2012-05-17 David S. Miller <davem@davemloft.net>
28009 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28011 2012-05-17 Andreas Jaeger <aj@suse.de>
28013 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28016 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28018 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28020 2012-05-17 Andreas Jaeger <aj@suse.de>
28022 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28025 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28027 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28029 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28031 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28032 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28034 2012-05-17 Andreas Jaeger <aj@suse.de>
28035 Carlos O'Donell <carlos_odonell@mentor.com>
28038 * sysdeps/x86_64/multiarch/init-arch.h
28039 (bit_YMM_Usable): Rename to...
28040 (bit_AVX_Usable): ... this.
28041 (bit_FMA4_Usable): New macro.
28042 (bit_XMM_state): New macro.
28043 (bit_YMM_state): New macro.
28044 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28045 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28046 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28047 (CPUID_OSXSAVE): New macro.
28048 (CPUID_AVX): New macro.
28049 (CPUID_FMA4): New macro.
28050 (index_YMM_Usable): Rename to...
28051 (index_AVX_Usable): ... this.
28052 (HAS_AVX): Use HAS_ARCH_FEATURE.
28053 (HAS_FMA4): Likewise.
28054 (HAS_YMM_USABLE): Remove.
28055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28056 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28058 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28059 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28060 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28061 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28062 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28064 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28066 * math/libm-test.c: Support platforms without multiple rounding modes.
28067 * math/bug-nextafter.c: Support platforms without FP exceptions.
28068 * math/bug-nexttoward.c: Likewise.
28069 * math/test-fenv.c: Likewise.
28070 * math/test-misc.c: Likewise.
28071 * stdlib/bug-getcontext.c: Likewise.
28073 2012-05-17 Andreas Jaeger <aj@suse.de>
28075 * manual/examples/search.c (critter_cmp): Change signature to
28077 * manual/string.texi (Collation Functions): Likewise.
28079 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28081 * bits/types.h: Fold copyright years.
28082 * bits/typesizes.h: Likewise.
28083 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28086 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28087 * time/time.h: Likewise.
28089 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28092 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28093 in instead of returning them. Return void.
28094 (__libc_mallinfo): Accumulate over all arenas.
28095 (__malloc_stats): Adjust for change in int_mallinfo interface.
28097 2012-05-16 Roland McGrath <roland@hack.frob.com>
28100 * configure.in (NM): Add AC_CHECK_TOOL for it.
28101 (libc_extra_cflags): New substituted variable.
28102 Check for -fstack-protector being used implicitly.
28103 * configure: Regenerated.
28104 * config.make.in (config-extra-cflags): New variable,
28105 gets @libc_extra_cflags@.
28106 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28109 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28110 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28111 * configure: Regenerated.
28112 * config.make.in (CPPUNDEFS): New substituted variable.
28113 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28114 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28115 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28117 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28119 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28120 (mq_attr): Use __syscall_slong_t.
28122 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28124 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28125 Check __x86_64__ instead of __WORDSIZE.
28126 (_STAT_VER_LINUX): Likewise.
28127 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28128 __syscall_ulong_t and __syscall_slong_t.
28129 (stat64): Likewise.
28131 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28133 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28135 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28137 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28139 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28141 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28144 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28145 include <bits/wordsize.h>. Check __x86_64__ instead of
28147 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28149 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28151 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28152 include <bits/wordsize.h>. Check __x86_64__ instead of
28154 (user_regs_struct): Use "__extension__ unsigned long long"
28155 instead of "unsigned long" if __x86_64__ is defined.
28156 (user): Likewise. Pad after pointer field if __ILP32__ is
28159 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28161 * configure.in (makeinfo): Require version 4.5 or later. Allow
28163 * configure: Regenerated.
28164 * manual/install.texi (texinfo): Increase version requirement to
28166 * INSTALL: Regenerated.
28168 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28170 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28172 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28174 * sysdeps/x86_64/x32/ffs.c: New file.
28176 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28178 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28179 defined. Use __syscall_ulong_t.
28180 (shminfo): Use __syscall_ulong_t.
28181 (shm_info): Likewise.
28183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28186 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28188 (msgqnum_t): Use __syscall_ulong_t.
28189 (msglen_t): Likewise.
28190 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28193 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28194 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28196 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28198 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28199 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28201 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28204 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28205 include <bits/wordsize.h>. Check __x86_64__ instead of
28208 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28209 "unsigned long long int" if __x86_64__ is defined.
28210 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28212 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28213 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28214 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28216 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28218 (GET_PC): Cast to uintptr_t first.
28219 (GET_FRAME): Likewise.
28220 (GET_STACK): Likewise.
28222 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28224 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28225 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28226 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28227 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28228 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28229 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28230 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28231 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28232 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28233 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28234 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28235 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28236 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28237 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28238 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28239 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28240 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28241 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28242 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28243 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28244 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28245 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28246 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28247 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28248 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28249 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28250 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28252 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28254 * Makerules (+depfiles): Also collect depfiles from .oS in
28256 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28257 .oS, $(libnldbl-routines)).
28259 * Makerules (native-compile-mkdep-flags): Define.
28260 * sunrpc/Makefile (extra-objs): Add $(addprefix
28261 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28262 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28263 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28264 calling $(make-target-directory).
28266 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28268 * bits/types.h (__snseconds_t): Removed.
28269 * time/time.h (struct timespec): Replace __snseconds_t with
28271 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28272 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28275 (__SNSECONDS_T_TYPE): Likewise.
28276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28277 (__SNSECONDS_T_TYPE): Likewise.
28278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28279 (__SNSECONDS_T_TYPE): Likewise.
28281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28283 * sysdeps/mach/hurd/bits/typesizes.h
28284 (__SYSCALL_SLONG_TYPE): New macro.
28285 (__SYSCALL_ULONG_TYPE): Likewise.
28287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28289 * bits/types.h (__syscall_slong_t): New type.
28290 (__syscall_ulong_t): Likewise.
28292 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28293 (__SYSCALL_ULONG_TYPE): Likewise.
28294 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28295 (__SYSCALL_SLONG_TYPE): Likewise.
28296 (__SYSCALL_ULONG_TYPE): Likewise.
28297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28298 (__SYSCALL_SLONG_TYPE): Likewise.
28299 (__SYSCALL_ULONG_TYPE): Likewise.
28300 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28301 (__SYSCALL_SLONG_TYPE): Likewise.
28302 (__SYSCALL_ULONG_TYPE): Likewise.
28304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28306 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28307 Add sigaltstack-offsets.sym.
28308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28309 <sigaltstack-offsets.h>.
28310 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28311 longjmp_msg pointer.
28312 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28313 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28315 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28317 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28319 * elf/stackguard-macros.h: Remove file.
28320 * sysdeps/generic/stackguard-macros.h: New file.
28321 * sysdeps/i386/stackguard-macros.h: Likewise.
28322 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28323 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28324 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28325 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28326 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28327 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28328 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28329 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28330 <elf/stackguard-macros.h>.
28333 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28334 __aligned__ in attribute.
28335 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28336 (gregset_t): Likewise.
28338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28340 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28341 * sysdeps/x86_64/64/Implies-after: Here. New file.
28342 * sysdeps/x86_64/x32/Implies-after: New file.
28344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28346 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28347 and access return value for _dl_profile_fixup. Use R10_LP to
28350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28352 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28356 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28357 * sysdeps/x86_64/x32/sysdep.h: New file.
28359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28361 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28362 * sysdeps/x86_64/setjmp.S: Likewise.
28364 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28366 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28367 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28368 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28369 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28370 remove unused global constant.
28372 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28374 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28375 include of <not-cancel.h>.
28377 2012-05-15 Roland McGrath <roland@hack.frob.com>
28379 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28381 2012-05-15 Jeff Law <law@redhat.com>
28382 Andreas Jaeger <aj@suse.de>
28385 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28387 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28388 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28389 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28390 code changing __hst_map_handle.map.
28392 2012-05-15 Roland McGrath <roland@hack.frob.com>
28394 * configure.in (sysnames): Look for Implies-before and Implies-after
28396 * configure: Regenerated.
28398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28400 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28401 8-byte data alignment with LP_SIZE alignment.
28403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28405 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28410 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28414 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28415 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28416 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28418 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28422 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28423 (stackinfo_sub_sp): Likewise.
28425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28427 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28432 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28442 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28446 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28447 into R11_LP and load __x86_64_shared_cache_size_half into
28450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28452 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28455 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28463 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28464 powerpc32/power7/fpu/s_logb.c via #include.
28465 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28466 powerpc32/power7/fpu/s_logbf.c via #include.
28467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28468 powerpc32/power7/fpu/s_logbl.c via #include.
28470 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28472 * README.libm: Remove file.
28474 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28476 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28477 count for x32. Use R*_LP and omit operand-size suffix.
28479 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28481 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28482 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28483 * sysdeps/x86_64/x32/shlib-versions: New file.
28485 2012-05-14 Roland McGrath <roland@hack.frob.com>
28487 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28488 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28489 Use _dl_fatal_printf instead.
28491 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28493 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28494 set if not set by the user. Do not allow for being unset.
28495 * sysdeps/unix/sysv/linux/configure: Regenerated.
28497 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28499 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28500 the `q' suffix from lea and replace .quad with ASM_ADDR.
28502 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28505 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28507 (PTR_DEMANGLE): Likewise.
28509 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28511 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28513 (ASM_ADDR): Likewise.
28514 (RAX_LP): Likewise.
28515 (RBP_LP): Likewise.
28516 (RBX_LP): Likewise.
28517 (RCX_LP): Likewise.
28518 (RDI_LP): Likewise.
28519 (RSI_LP): Likewise.
28520 (RSP_LP): Likewise.
28523 (R10_LP): Likewise.
28524 (R10_LP): Likewise.
28525 (R11_LP): Likewise.
28526 (R12_LP): Likewise.
28527 (R13_LP): Likewise.
28528 (R14_LP): Likewise.
28529 (R15_LP): Likewise.
28531 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28533 * sysdeps/x86_64/x32/dl-machine.h: New file.
28535 2012-05-14 Andreas Jaeger <aj@suse.de>
28537 * manual/Makefile (subdir): Remove export of subdir.
28538 (all): Remove target.
28539 (.PHONY): Remove all from list.
28540 (mkinstalldirs): Remove.
28541 (.PHONY): Remove installdirs from list.
28542 ($(inst_infodir)/libc.info): Use make-target-directory.
28543 (installdirs): Remove.
28544 (subdir_%): Remove.
28545 (glibc-targets): Remove.
28548 ($(objpfx)stubs ../po/manual.pot): Remove.
28549 ($(objpfx)stamp%): Remove.
28550 (make-target-directory): Remove.
28551 (subdir_install): Remove.
28552 (routines): Remove.
28559 * manual/.gitignore: Remove, it's not needed anymore.
28560 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28562 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28564 (texis): Renamed to $(objpfx)texis.
28565 (texis-path): New, contains path to generated files.
28566 (chapters.%): Use texis-path for complete path, add extra argument
28568 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28569 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28570 (summary,texi, stamp-summary): Use complete path of
28571 files. Generate files in build dir.
28572 (dir-add.texi): Build in build dir.
28573 (libm-err.texi,stamp-libm-err): Likewise.
28574 (version.texi, stamp-version): Likewise.
28575 (.%c.texi): Likewise.
28576 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28577 (mostlyclean): Remove target.
28578 (realclean): Remove target.
28579 (generated): Add new variable with contents from mostlyclean and
28580 realclean, remove entries duplicated in common-mostlyclean, add
28581 stamp-libm-err and stamp-version.
28582 (generated-dirs): Add libc directory.
28583 ($(inst_infodir)/libc.info): Install files from build dir.
28585 * manual/install.texi (Configuring and compiling): Adjust since
28586 the info files are not part of the tar ball anymore.
28588 2012-05-14 Andreas Jaeger <aj@suse.de>
28590 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28593 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28597 to 2.2.0 where earlier.
28598 * sysdeps/unix/sysv/linux/configure: Regenerated.
28599 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28600 Remove conditional code.
28601 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28602 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28603 Remove conditional code.
28604 [!__NR_lchown]: Likewise.
28605 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28606 [__NR_lchown]: Likewise.
28607 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28608 comment referencing __ASSUME_LCHOWN_SYSCALL.
28609 * sysdeps/unix/sysv/linux/i386/sigaction.c
28610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28612 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28613 Remove conditional code.
28614 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28615 (__protocol_available): Remove #if 0 code.
28616 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28618 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28619 * sysdeps/unix/sysv/linux/kernel-features.h
28620 (__ASSUME_GETCWD_SYSCALL): Don't define.
28621 (__ASSUME_REALTIME_SIGNALS): Likewise.
28622 (__ASSUME_PREAD_SYSCALL): Likewise.
28623 (__ASSUME_PWRITE_SYSCALL): Likewise.
28624 (__ASSUME_POLL_SYSCALL): Likewise.
28625 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28626 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28628 (__ASSUME_SIOCGIFNAME): Don't define.
28629 (__ASSUME_MSG_NOSIGNAL): Likewise.
28630 (__ASSUME_SENDFILE): Define unconditionally.
28631 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28632 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28634 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28635 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28636 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28637 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28638 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28639 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28640 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28642 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28645 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28648 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28651 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28654 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28657 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28660 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28663 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28665 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28666 Remove conditional code.
28667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28668 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28669 Remove conditional code.
28670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28671 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28672 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28673 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28674 Remove conditional code.
28675 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28676 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28677 Remove conditional code.
28678 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28679 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28680 Remove conditional code.
28681 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28682 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28683 Remove conditional code.
28684 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28685 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28686 Remove conditional code.
28687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28688 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28689 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28690 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28691 * sysdeps/unix/sysv/linux/sigaction.c
28692 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28693 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28694 * sysdeps/unix/sysv/linux/sigpending.c
28695 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28696 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28697 * sysdeps/unix/sysv/linux/sigprocmask.c
28698 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28699 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28700 * sysdeps/unix/sysv/linux/sigsuspend.c
28701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28703 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28704 (__libc_missing_rt_sigs): Remove.
28705 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28706 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28707 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28708 Remove conditional code.
28709 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28710 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28712 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28713 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28714 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28715 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28717 2012-05-14 Andreas Jaeger <aj@suse.de>
28719 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28720 it's not used in glibc.
28721 (__coshm1): Likewise.
28722 (__acosh1p): Likewise.
28725 * manual/string.texi (Copying and Concatenation): Add missing
28726 variable in concat example.
28727 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28729 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28732 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28733 __builtin_clzl with __builtin_clzll.
28735 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28738 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28741 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28743 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28744 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28745 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28746 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28748 2012-05-14 Mike Frysinger <vapier@gentoo.org>
28750 * NEWS: Update ia64 info.
28752 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28754 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28757 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28759 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28760 * sysdeps/unix/syscalls.list (dup3): Likewise.
28761 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28762 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28764 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28766 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28767 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28769 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28771 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28773 (TLS_IE): Use mov/add instead of movq/addq to load thread
28775 (TLS_GD_PREFIX): New.
28778 2012-05-11 David S. Miller <davem@davemloft.net>
28780 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28781 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28782 (_FPU_SETCW): Likewise.
28784 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28786 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28787 is 32-byte aligned.
28789 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28792 * iconvdata/gb18030.c: Update tables.
28793 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28794 characters specially.
28795 (BODY for TO_LOOP): Add encoding of missing ranges.
28797 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28800 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28801 * sysdeps/mach/hurd/dup3.c: Likewise.
28802 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28803 * sysdeps/powerpc/memmove.c:: Likewise.
28805 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28807 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28808 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28810 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28812 * elf/elf.h (R_X86_64_RELATIVE64): New.
28813 (R_X86_64_NUM): Updated.
28814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28815 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28816 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28817 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28818 tst-quad1pie tst-quad2pie
28819 (modules-names): Add tst-quadmod1 tst-quadmod2.
28820 ($(objpfx)tst-quad1): New dependency.
28821 ($(objpfx)tst-quad2): Likewise.
28822 ($(objpfx)tst-quad1pie): Likewise.
28823 ($(objpfx)tst-quad2pie): Likewise.
28824 * sysdeps/x86_64/tst-quad1.c: New file.
28825 * sysdeps/x86_64/tst-quad1pie.c: New file.
28826 * sysdeps/x86_64/tst-quad2.c: Likewise.
28827 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28828 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28829 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28830 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28831 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28833 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28835 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28836 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28837 * streams/stropts.h (t_scalar_t): Define type.
28839 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28840 (_PATH_PRESERVE): Set to "/var/lib".
28841 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28843 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28846 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28847 if __dir_mkfile succeeded.
28849 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28850 checking for _hurd_dtablesize. Unlock it right after having
28851 finished _hurd_dtable allocation.
28853 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28855 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28856 * sysdeps/mach/hurd/configure: Regenerated.
28857 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28858 special-casing to...
28859 * sysdeps/gnu/configure.in: ... this new file.
28860 * sysdeps/unix/sysv/linux/configure: Regenerated.
28861 * sysdeps/gnu/configure: New generated file.
28863 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28864 for Linux: use nsec instead of usec, as well as:
28865 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28866 members of type struct timespec.
28867 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28869 (struct stat64): Likewise.
28870 (_STATBUF_ST_NSEC): New macro.
28871 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28873 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28874 __strtoul_internal rather than strtoul.
28876 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28878 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28881 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28883 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28884 which preserves existing values.
28885 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28887 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28889 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28890 TIMEOUT values. Return EINVAL for NFDS values either negative or
28891 greater than FD_SETSIZE.
28893 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28895 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28896 allocated, call __vm_protect to finish enabling the existing space, and
28897 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28898 allocate the remainder.
28900 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28902 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28903 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28905 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28907 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28908 sysdeps/mach/hurd/readlink.c.
28910 * posix/tst-sysconf.c (posix_options): Only use
28911 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28912 _POSIX_SYNCHRONIZED_IO when they are defined
28913 * sysdeps/mach/hurd/bits/posix_opt.h:
28914 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28915 (_XOPEN_REALTIME): Undefine macro.
28916 (_XOPEN_REALTIME_THREADS): Undefine macro.
28917 (_XOPEN_SHM): Undefine macro.
28918 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28920 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28922 (_POSIX_ASYNC_IO): Undefine macro.
28923 (_POSIX_PRIORITIZED_IO): Undefine macro.
28924 (_POSIX_SPIN_LOCKS): Define macro to -1.
28926 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28927 SA_NODEFER, SA_RESETHAND.
28928 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28929 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28932 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28934 * elf/Makefile (pldd-modules): Define unconditionally.
28936 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28938 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28940 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28942 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28943 Return ENOENT when name is empty.
28944 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28946 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28948 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28950 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28952 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28954 Fix mlock in all cases except non-readable pages.
28955 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28956 instead of VM_PROT_ALL as parameter to __vm_wire function.
28958 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28959 (__mkdir): When path is `/', just fail with EEXIST.
28960 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28962 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28964 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28965 <sys/uio.h> (for writev).
28966 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28967 and <sys/param.h> (for MIN).
28969 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28971 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28972 REQUESTED_TIME. Properly set the remaining time and return EINTR
28975 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28977 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28978 Depend on against $(link-rpcuserlibs).
28980 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28982 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28983 (__libc_stack_end): Do not use attribute_relro.
28984 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28985 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28986 to libthread-provided value.
28987 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28993 * bits/libc-lock.h (__libc_once_get): New macro.
28994 * sysdeps/mach/bits/libc-lock.h: Likewise.
28995 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28996 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28997 instead of using implementation details.
28999 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29000 * libio/freopen.c: Likewise.
29001 * libio/freopen64.c: Likewise.
29002 * misc/syslog.c: Likewise.
29003 * nscd/connections.c: Likewise.
29004 * nscd/netgroupcache.c: Likewise.
29005 * sysdeps/posix/getcwd.c: Likewise.
29007 2012-05-10 Roland McGrath <roland@hack.frob.com>
29009 * math/w_ilogbf.c: Add #include <limits.h>.
29011 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29013 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29014 path instead of returning without unlocking.
29016 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29017 immediate-write ioctls.
29018 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29020 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29022 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29023 __builtin_frame_address instead of making assumptions about the
29024 location of the return address relative to DATA. Force early load of
29025 the return address.
29026 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29027 __builtin_frame_address.
29030 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29031 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29032 implement dup3 and do some further code clean-ups.
29033 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29034 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29036 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29038 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29040 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29041 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29042 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29043 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29044 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29047 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29048 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29049 when handler == SIG_ERR, not when handler != SIG_ERR.
29051 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29053 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29054 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29057 accept4 for GNU Hurd.
29058 * include/sys/socket.h (__libc_accept4): New prototype.
29059 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29060 to implement __libc_accept4.
29061 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29063 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29065 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29066 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29067 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29068 signal-defines.sym.
29070 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29072 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29074 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29076 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29077 assertion on O_CLOEXEC flag.
29078 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29079 * hurd/intern-fd.c: Likewise.
29080 * hurd/port2fd.c: Likewise.
29082 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29085 * bits/in.h (IPV6_PKTINFO): Define new macro.
29086 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29088 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29093 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29094 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29095 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29096 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29097 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29098 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29099 * math/libm-test.inc (logb_test) : Additional logb tests.
29101 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29102 Andreas Jaeger <aj@suse.de>
29104 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29105 * configure: Regenerated.
29106 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29107 * config.make.in (link-obsolete-rpc): New substituted variable.
29108 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29109 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29110 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29111 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29112 so that libc.a contains the symbols.
29113 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29114 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29115 * sunrpc/auth_none.c: Likewise.
29116 * sunrpc/auth_unix.c: Likewise.
29117 * sunrpc/authdes_prot.c: Likewise.
29118 * sunrpc/authuxprot.c: Likewise.
29119 * sunrpc/clnt_gen.c: Likewise.
29120 * sunrpc/clnt_perr.c: Likewise.
29121 * sunrpc/clnt_raw.c: Likewise.
29122 * sunrpc/clnt_simp.c: Likewise.
29123 * sunrpc/clnt_tcp.c: Likewise.
29124 * sunrpc/clnt_udp.c: Likewise.
29125 * sunrpc/clnt_unix.c: Likewise.
29126 * sunrpc/des_crypt.c: Likewise.
29127 * sunrpc/des_soft.c: Likewise.
29128 * sunrpc/get_myaddr.c: Likewise.
29129 * sunrpc/key_call.c: Likewise.
29130 * sunrpc/key_prot.c: Likewise.
29131 * sunrpc/netname.c: Likewise.
29132 * sunrpc/pm_getmaps.c: Likewise.
29133 * sunrpc/pm_getport.c: Likewise.
29134 * sunrpc/pmap_clnt.c: Likewise.
29135 * sunrpc/pmap_prot.c: Likewise.
29136 * sunrpc/pmap_prot2.c: Likewise.
29137 * sunrpc/pmap_rmt.c: Likewise.
29138 * sunrpc/publickey.c: Likewise.
29139 * sunrpc/rpc_cmsg.c: Likewise.
29140 * sunrpc/rpc_common.c: Likewise.
29141 * sunrpc/rpc_dtable.c: Likewise.
29142 * sunrpc/rpc_prot.c: Likewise.
29143 * sunrpc/rpc_thread.c: Likewise.
29144 * sunrpc/rtime.c: Likewise.
29145 * sunrpc/svc.c: Likewise.
29146 * sunrpc/svc_auth.c: Likewise.
29147 * sunrpc/svc_raw.c: Likewise.
29148 * sunrpc/svc_run.c: Likewise.
29149 * sunrpc/svc_tcp.c: Likewise.
29150 * sunrpc/svc_udp.c: Likewise.
29151 * sunrpc/svc_unix.c: Likewise.
29152 * sunrpc/svcauth_des.c: Likewise.
29153 * sunrpc/xcrypt.c: Likewise.
29154 * sunrpc/xdr.c: Likewise.
29155 * sunrpc/xdr_array.c: Likewise.
29156 * sunrpc/xdr_float.c: Likewise.
29157 * sunrpc/xdr_intXX_t.c: Likewise.
29158 * sunrpc/xdr_mem.c: Likewise.
29159 * sunrpc/xdr_rec.c: Likewise.
29160 * sunrpc/xdr_ref.c: Likewise.
29161 * sunrpc/xdr_sizeof.c: Likewise.
29162 * sunrpc/xdr_stdio.c: Likewise.
29164 2012-05-10 Roland McGrath <roland@hack.frob.com>
29166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29167 change. Update copyright years.
29169 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29171 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29173 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29174 Joseph Myers <joseph@codesourcery.com>
29175 Paul Pluzhnikov <ppluzhnikov@google.com>
29178 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29180 [cross-compiling] (extra-libs): Likewise.
29181 [cross-compiling] (extra-libs-others): Likewise.
29182 [cross-compiling] (librpcsvc-routines): Likewise.
29183 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29184 [cross-compiling] (omit-deps): Likewise.
29185 (sunrpc-CPPFLAGS): New variable.
29186 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29187 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29188 (cross-rpcgen-objs): New variable.
29189 (extra-objs): Append $(cross-rpcgen-objs).
29190 ($(cross-rpcgen-objs)): New rule.
29191 ($(objpfx)cross-rpcgen): Likewise.
29192 (rpcgen-cmd): Define to use $(built-program-file). Expand
29194 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29195 ($(objpfx)x%.stmp): Likewise.
29196 * sunrpc/proto.h [IS_IN_build] (_): Define.
29197 [IS_IN_build] (_libc_intl_domainname): Likewise.
29199 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29201 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29202 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29203 and R_X86_64_TPOFF64.
29205 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29207 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29208 sysdeps/unix/sysv/syscalls.list.
29211 * sysdeps/unix/sysv/syscalls.list: Remove file.
29213 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29216 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29217 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29218 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29219 (__LC_IDENTIFICATION): Make these macros useful in #if
29220 expressions, as required by C99.
29222 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29224 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29225 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29228 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29230 * stdlib/longlong.h: Updated from GCC.
29232 2012-05-09 Andreas Jaeger <aj@suse.de>
29234 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29235 default is first entry.
29236 (run_mode): Set type.
29237 (main): Remove informal message about syslog.
29238 (options): Fix typo.
29241 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29244 (llrintf): Likewise.
29245 (llrint): Likewise.
29248 (nearbyint): Likewise.
29249 (nearbyintf): Likewise.
29251 2012-05-09 Andreas Jaeger <aj@suse.de>
29252 Pedro Alves <palves@redhat.com>
29254 * nscd/nscd.c (run_mode): Use enum.
29255 (main): Cleanup coding style issue.
29257 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29258 Andreas Jaeger <aj@suse.de>
29260 * nscd/nscd.c (go_background): Replaced with...
29261 (run_mode): ... this.
29262 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29263 (options): Add -F --foreground.
29264 (main): Implement it.
29265 (parse_opt): Parse it.
29267 2012-05-09 Andreas Jaeger <aj@suse.de>
29270 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29271 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29272 -Wconversion warning.
29273 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29276 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29278 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29280 (LC_ALL): Use macro-int-constant.
29281 (LC_COLLATE): Likewise.
29282 (LC_CTYPE): Likewise.
29283 (LC_MESSAGES): Likewise.
29284 (LC_MONETARY): Likewise.
29285 (LC_NUMERIC): Likewise.
29286 (LC_TIME): Likewise.
29287 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29288 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29290 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29292 [C99-based standards] (float_t): Expect type.
29293 [C99-based standards] (double_t): Expect type.
29294 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29296 [C99-based standards] (HUGE_VALL): Likewise.
29297 [C99-based standards] (INFINITY): Likewise.
29298 [C99-based standards] (NAN): Likewise.
29299 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29300 [C99-based standards] (FP_NAN): Likewise.
29301 [C99-based standards] (FP_NORMAL): Likewise.
29302 [C99-based standards] (FP_SUBNORMAL): Likewise.
29303 [C99-based standards] (FP_ZERO): Likewise.
29304 [C99-based standards] (FP_FAST_FMA): Use
29305 optional-macro-int-constant. Specify type. Require == 1.
29306 [C99-based standards] (FP_FAST_FMAF): Likewise.
29307 [C99-based standards] (FP_FAST_FMAL): Likewise.
29308 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29309 [C99-based standards] (FP_ILOGBNAN): Likewise.
29310 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29312 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29313 [C99-based standards] (math_errhandling): Specify type.
29314 [ISO99 || ISO11] (signgam): Do not allow.
29315 [non-C99-based standards] (copysignf): Do not allow.
29316 [non-C99-based standards] (exp2f): Likewise.
29317 [non-C99-based standards] (log2f): Likewise.
29318 [non-C99-based standards] (modff): Allow.
29319 [non-C99-based standards] (erff): Do not allow.
29320 [non-C99-based standards] (erfcf): Likewise.
29321 [non-C99-based standards] (gammaf): Likewise.
29322 [non-C99-based standards] (hypotf): Likewise.
29323 [non-C99-based standards] (j0f): Likewise.
29324 [non-C99-based standards] (j1f): Likewise.
29325 [non-C99-based standards] (jnf): Likewise.
29326 [non-C99-based standards] (lgammaf): Likewise.
29327 [non-C99-based standards] (tgammaf): Likewise.
29328 [non-C99-based standards] (y0f): Likewise.
29329 [non-C99-based standards] (y1f): Likewise.
29330 [non-C99-based standards] (ynf): Likewise.
29331 [non-C99-based standards] (isnanf): Likewise.
29332 [non-C99-based standards] (acoshf): Likewise.
29333 [non-C99-based standards] (asinhf): Likewise.
29334 [non-C99-based standards] (atanhf): Likewise.
29335 [non-C99-based standards] (cbrtf): Likewise.
29336 [non-C99-based standards] (expm1f): Likewise.
29337 [non-C99-based standards] (ilogbf): Likewise.
29338 [non-C99-based standards] (log1pf): Likewise.
29339 [non-C99-based standards] (logbf): Likewise.
29340 [non-C99-based standards] (nextafterf): Likewise.
29341 [non-C99-based standards] (remainderf): Likewise.
29342 [non-C99-based standards] (rintf): Likewise.
29343 [non-C99-based standards] (scalbf): Likewise.
29344 [non-C99-based standards] (copysignl): Likewise.
29345 [non-C99-based standards] (exp2l): Likewise.
29346 [non-C99-based standards] (log2l): Likewise.
29347 [non-C99-based standards] (modfl): Allow.
29348 [non-C99-based standards] (erfl): Do not allow.
29349 [non-C99-based standards] (erfcl): Likewise.
29350 [non-C99-based standards] (gammal): Likewise.
29351 [non-C99-based standards] (hypotl): Likewise.
29352 [non-C99-based standards] (j0l): Likewise.
29353 [non-C99-based standards] (j1l): Likewise.
29354 [non-C99-based standards] (jnl): Likewise.
29355 [non-C99-based standards] (lgammal): Likewise.
29356 [non-C99-based standards] (tgammal): Likewise.
29357 [non-C99-based standards] (y0l): Likewise.
29358 [non-C99-based standards] (y1l): Likewise.
29359 [non-C99-based standards] (ynl): Likewise.
29360 [non-C99-based standards] (isnanl): Likewise.
29361 [non-C99-based standards] (acoshl): Likewise.
29362 [non-C99-based standards] (asinhl): Likewise.
29363 [non-C99-based standards] (atanhl): Likewise.
29364 [non-C99-based standards] (cbrtl): Likewise.
29365 [non-C99-based standards] (expm1l): Likewise.
29366 [non-C99-based standards] (ilogbl): Likewise.
29367 [non-C99-based standards] (log1pl): Likewise.
29368 [non-C99-based standards] (logbl): Likewise.
29369 [non-C99-based standards] (nextafterl): Likewise.
29370 [non-C99-based standards] (remainderl): Likewise.
29371 [non-C99-based standards] (rintl): Likewise.
29372 [non-C99-based standards] (scalbl): Likewise.
29373 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29374 [non-C99-based standards] (FP_*): Do not allow.
29375 [C99-based standards] (FP_*): Change to
29376 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29377 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29379 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29380 (SIG_ERR): Likewise.
29381 [X/Open-based standards] (SIG_HOLD): Likewise.
29382 (SIG_IGN): Likewise.
29383 (SIGABRT): Use macro-int-constant. Specify type. Require
29385 (SIGFPE): Likewise.
29386 (SIGILL): Likewise.
29387 (SIGINT): Likewise.
29388 (SIGSEGV): Likewise.
29389 (SIGTER): Likewise.
29390 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29391 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29392 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29393 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29394 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29395 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29396 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29397 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29398 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29399 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29400 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29401 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29402 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29403 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29404 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29405 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29406 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29407 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29408 [X/Open-based standards] (SIGTRAP): Likewise.
29409 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29410 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29411 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29412 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29413 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29416 2012-05-08 Ian Wienand <ianw@vmware.com>
29419 * time/tzset.c (__tzset_parse_tz): Update default rules for
29420 daylight time changes in the Energy Policy Act of 2005.
29422 2012-05-09 Andreas Jaeger <aj@suse.de>
29425 * elf/ldconfig.c (parse_conf): Change string to make clear that
29426 ldconfig only issued a warning if ld.so.conf does not exist.
29428 2012-05-08 David S. Miller <davem@davemloft.net>
29430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29431 movxtod instead of popping the value on the stack.
29433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29435 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29437 * config.h.in: Add HAVE_ARM_PCS_VFP.
29439 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
29442 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29443 checking but the checks are disabled for any reason.
29445 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29447 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29448 and ELF64_R_TYPE with ELFW(R_TYPE).
29450 2012-05-08 Joseph Myers <joseph@codesourcery.com>
29452 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29453 (ulimit): Likewise.
29455 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29456 (settimeofday): Likewise.
29458 2012-05-08 Mike Frysinger <vapier@gentoo.org>
29460 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29461 a struct th_u2 inside the union, and move tu_block/tu_code into
29462 a new th_u3 union of tu_block/tu_code inside of that. Move
29463 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29464 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29465 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29466 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29467 (th_stuff): Change to th_u1.tu_stuff.
29469 (th_msg): Change to th_u1.th_u2.tu_data.
29471 2012-05-07 David S. Miller <davem@davemloft.net>
29473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29476 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29477 (SETUP_PIC_REG): Use it.
29478 (SETUP_PIC_REG_LEAF): Use it.
29480 2012-05-07 Joseph Myers <joseph@codesourcery.com>
29484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29486 (EXPL_FINITE): Likewise.
29487 (FLDLOG): Likewise.
29488 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29489 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29491 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29493 (EXPL_FINITE): Likewise.
29494 (FLDLOG): Likewise.
29495 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29496 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29498 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29499 test of -max_value argument for long double.
29500 * sysdeps/i386/fpu/libm-test-ulps: Update.
29501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29503 2012-05-06 David S. Miller <davem@davemloft.net>
29505 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29506 quad soft-float symbols whose references which are compiler
29508 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29510 2012-05-06 Joseph Myers <joseph@codesourcery.com>
29514 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29516 (EXPL_FINITE): Likewise.
29517 (FLDLOG): Likewise.
29520 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29521 Adjust comments for base varying.
29522 (__expl_finite): Change alias to EXPL_FINITE.
29523 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29525 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29526 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29527 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29528 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29529 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29531 (EXPL_FINITE): Likewise.
29532 (FLDLOG): Likewise.
29535 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29536 Adjust comments for base varying.
29537 (__expl_finite): Change alias to EXPL_FINITE.
29538 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29543 * math/libm-test.inc (check_float_internal): Correct ulp
29544 calculation for subnormal expected results.
29546 2012-05-06 Andreas Jaeger <aj@suse.de>
29548 * Makeconfig (+math-flags): New, set to -frounding-math.
29549 (+cflags): Add +math-flags so that all of glibc gets compiled with
29552 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29554 2012-05-05 Joseph Myers <joseph@codesourcery.com>
29556 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29562 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29563 (__ieee754_expl): Allow for and saturate large arguments.
29564 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29565 (u_threshold): Likewise.
29566 (__exp): Call __ieee754_exp before checking for overflow and
29568 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29569 (u_threshold): Likewise.
29570 (__expf): Call __ieee754_expf before checking for overflow and
29572 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29573 (u_threshold): Likewise.
29574 (__expl): Call __ieee754_expl before checking for overflow and
29576 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29577 (__ieee754_expl): Allow for and saturate large arguments.
29578 * math/libm-test.inc (exp_test): Add another test. Do not allow
29579 missing overflow exception on overflow.
29580 (expm1_test): Do not allow missing overflow exception on overflow.
29582 * sysdeps/i386/fpu/e_expl.c: Move to ...
29583 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29584 rather than using inline asm.
29585 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29586 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29587 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29589 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29592 (signal): Likewise.
29596 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29598 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29599 sysdeps/unix/common/syscalls.list.
29600 (fchmod): Likewise.
29601 (fchown): Likewise.
29602 (ftruncate): Likewise.
29603 (getrusage): Likewise.
29604 (gettimeofday): Likewise.
29605 (setpgid): Likewise.
29606 (setregid): Likewise.
29607 (setreuid): Likewise.
29608 (sigaction): Likewise.
29609 (truncate): Likewise.
29610 (vhangup): Likewise.
29611 * sysdeps/unix/common/syscalls.list: Remove file.
29612 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29613 * sysdeps/unix/sysv/linux/Implies: Likewise.
29615 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29617 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29619 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29623 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29626 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29629 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29632 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29635 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29638 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29641 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29645 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29649 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29652 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29656 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29660 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29662 * sysdeps/unix/common/bits/dirent.h: Remove file.
29663 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29665 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29666 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29667 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29668 * sysdeps/unix/bsd/isatty.c: Likewise.
29669 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29670 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29671 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29673 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29676 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29677 long double comparison inaccuracies.
29678 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29681 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29683 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29684 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29686 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29689 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29690 nonzero digits before rounding a hex value.
29691 * stdlib/tst-strtod.c (tests): Add another test.
29693 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29695 * sysdeps/s390/fpu/libm-test-ulps: Update.
29697 2012-05-03 Andreas Jaeger <aj@suse.de>
29699 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29700 does not get optimized out.
29701 (malloc_opt_barrier): New.
29703 2012-05-03 Andreas Jaeger <aj@suse.de>
29704 Roland McGrath <roland@hack.frob.com>
29706 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29707 intermediate file deletion.
29708 (generated): Add .symlist files.
29710 2012-05-03 Joseph Myers <joseph@codesourcery.com>
29713 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29714 Redirect under this condition.
29715 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29716 [__USE_GNU] (__dprintf_chk): Not under this condition.
29717 [__USE_GNU] (__vdprintf_chk): Likewise.
29718 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29719 under this condition.
29720 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29721 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29722 [__USE_XOPEN2K8] (vdprintf): Likewise.
29723 [__USE_GNU] (__dprintf_chk): Not under this condition.
29724 [__USE_GNU] (__vdprintf_chk): Likewise.
29725 [__USE_GNU] (dprintf): Likewise.
29726 [__USE_GNU] (vdprintf): Likewise.
29728 2012-05-03 Roland McGrath <roland@hack.frob.com>
29730 * elf/Makefile (common-generated): Set this instead of generated for
29731 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29732 $(all-built-dso)-derived lists.
29734 2012-05-03 Andreas Jaeger <aj@suse.de>
29736 * sysdeps/i386/fpu/libm-test-ulps: Update.
29739 * FAQ.in: Likewise.
29740 * scripts/gen-FAQ.pl: Likewise.
29741 * manual/install.texi (Installation): Point to online location of
29743 * Makefile (files-for-dist): Remove FAQ.
29746 2012-05-02 Allan McRae <allan@archlinux.org>
29748 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29749 (LDFLAGS-reldepmod5.so): Likewise.
29750 (LDFLAGS-reldep6mod1.so): Likewise.
29751 (LDFLAGS-reldep6mod4.so): Likewise.
29752 (LDFLAGS-reldep8mod3.so): Likewise.
29753 (LDFLAGS-unload4mod1.so): Likewise.
29754 (LDFLAGS-unload4mod2.so): Likewise.
29755 (LDFLAGS-tst-initorder): Likewise.
29756 (LDFLAGS-tst-initordera2.so): Likewise.
29757 (LDFLAGS-tst-initordera3.so): Likewise.
29758 (LDFLAGS-tst-initordera4.so): Likewise.
29759 (LDFLAGS-tst-initorderb2.so): Likewise.
29760 (LDFLAGS-noload): Likewise.
29761 (LDFLAGS-next): Likewise.
29762 (LDFLAGS-order2mod1.so): Likewise.
29763 (LDFLAGS-order2mod2.so): Likewise.
29764 (LDFLAGS-tst-initorder2): Likewise.
29765 (LDFLAGS-tst-initorder2a.so): Likewise.
29766 (LDFLAGS-tst-initorder2b.so): Likewise.
29767 (LDFLAGS-tst-initorder2c.so): Likewise.
29768 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29770 2012-05-02 David S. Miller <davem@davemloft.net>
29772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29774 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29777 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29779 2012-05-02 Andreas Jaeger <aj@suse.de>
29781 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29782 since we manipulate rounding mode.
29783 (CPPFLAGS-test-idouble.c): Likewise.
29784 (CPPFLAGS-test-ifloat.c): Likewise.
29785 (CFLAGS-test-ldouble.c): Likewise.
29786 (CFLAGS-test-double.c): Likewise.
29787 (CFLAGS-test-float.c): Likewise.
29788 (CFLAGS-test-misc.c): Likewise.
29789 (CFLAGS-test-test-fenv.c): Likewise.
29791 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29796 comparisons to determine direction to adjust input.
29798 2012-05-01 Roland McGrath <roland@hack.frob.com>
29800 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29801 output to the target.
29803 * scripts/localplt.awk: New file.
29804 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29805 (check-localplt-CFLAGS): Variable removed.
29806 ($(all-built-dso:=.jmprel)): New static pattern rule.
29807 (generated): Add those targets.
29808 (localplt-built-dso): New variable.
29809 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29811 * elf/check-localplt.c: File removed.
29813 * scripts/check-execstack.awk: New file.
29814 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29815 (check-execstack-CFLAGS): Variable removed.
29816 ($(objpfx)check-execstack.h): Target removed.
29817 ($(objpfx)execstack-default): New target.
29818 (generated): Add that instead of check-execstack.h.
29819 ($(all-built-dso:=.phdr)): New static pattern rule.
29820 (generated): Add those targets.
29821 * elf/check-execstack.c: File removed.
29823 * scripts/check-textrel.awk: New file.
29824 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29825 (check-textrel-CFLAGS): Variable removed.
29826 (all-built-dso): Use := to define.o
29827 ($(all-built-dso:=.dyn)): New static pattern rule.
29828 (generated): Add those targets.
29829 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29830 * config.make.in (READELF): New substituted variable.
29831 * elf/check-textrel.c: File removed.
29833 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29835 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29837 * conform/data/ctype.h-data [C99-based standards] (isblank):
29839 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29840 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29841 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29842 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29843 Specify type. Require positive value.
29844 (EILSEQ): Likewise.
29845 (ERANGE): Likewise.
29846 [ISO || POSIX] (EILSEQ): Do not expect.
29847 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29848 Specify type. Require positive value.
29849 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29850 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29851 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29852 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29853 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29854 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29855 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29856 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29857 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29858 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29859 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29860 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29861 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29862 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29863 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29864 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29865 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29866 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29867 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29868 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29869 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29870 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29871 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29872 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29873 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29874 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29875 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29876 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29877 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29878 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29879 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29880 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29881 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29882 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29883 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29884 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29885 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29886 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29887 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29888 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29889 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29890 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29891 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29892 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29893 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29894 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29895 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29896 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29897 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29898 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29899 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29900 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29901 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29902 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29903 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29904 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29905 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29906 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29907 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29908 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29909 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29910 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29911 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29912 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29914 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29915 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29916 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29917 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29918 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29919 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29920 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29922 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29923 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29924 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29925 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29927 (FLT_ROUNDS): Expect as macro, not constant.
29928 (FLT_MANT_DIG): Use macro-int-constant.
29929 (DBL_MANT_DIG): Likewise.
29930 (LDBL_MANT_DIG): Likewise.
29931 (FLT_DIG): Likewise.
29932 (DBL_DIG): Likewise.
29933 (LDBL_DIG): Likewise.
29934 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29935 (DBL_MIN_EXP): Likewise.
29936 (LDBL_MIN_EXP): Likewise.
29937 (FLT_MAX_EXP): Use macro-int-constant.
29938 (DBL_MAX_EXP): Likewise.
29939 (LDBL_MAX_EXP): Likewise.
29940 (FLT_MAX_10_EXP): Likewise.
29941 (DBL_MAX_10_EXP): Likewise.
29942 (LDBL_MAX_10_EXP): Likewise.
29943 (FLT_MAX): Use macro-constant.
29944 (DBL_MAX): Likewise.
29945 (LDBL_MAX): Likewise.
29946 (FLT_EPSILON): Use macro-constant. Give upper bound.
29947 (DBL_EPSILON): Likewise.
29948 (LDBL_EPSILON): Likewise.
29949 (FLT_MIN): Likewise.
29950 (DBL_MIN): Likewise.
29951 (LDBL_MIN): Likewise.
29952 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29953 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29954 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29955 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29956 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29957 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29958 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29959 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29960 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29961 [ISO11] (FLT_TRUE_MIN): Likewise.
29962 [ISO11] (LDBL_TRUE_MIN): Likewise.
29963 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29964 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29965 (SCHAR_MIN): Use macro-int-constant. Specify type.
29966 (SCHAR_MAX): Likewise.
29967 (UCHAR_MAX): Likewise.
29968 (CHAR_MIN): Likewise.
29969 (CHAR_MAX): Likewise.
29970 (MB_LEN_MAX): Use macro-int-constant.
29971 (SHRT_MIN): Use macro-int-constant. Specify type.
29972 (SHRT_MAX): Likewise.
29973 (USHRT_MAX): Likewise.
29974 (INT_MAX): Likewise.
29975 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29977 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29979 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29981 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29982 bound negative. Suffix upper bound with "L".
29983 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29985 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29987 [C99-based standards] (LLONG_MAX): Likewise.
29988 [C99-based standards] (ULLONG_MAX): Likewise.
29989 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29991 [ISO11] (max_align_t): Require type.
29992 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29994 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29995 from $CFLAGS, without defining away __attribute__ calls.
29996 (checknamespace): Use $CFLAGS_namespace.
29998 * conform/conformtest.pl (@keywords): Only include C99 keywords
29999 for standards based on C99 or C11.
30001 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30003 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30006 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30007 usability of symbols in #if.
30009 * conform/conformtest.pl: If macro or constant types start
30010 "promoted:", expect the symbol to be of the following type
30011 promoted by the integer promotions.
30013 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30014 in one place. Also handle "macro-constant".
30016 * conform/conformtest.pl: Only accept expected macro values with
30017 "==". Parse all "macro" lines in one place.
30018 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30020 * conform/conformtest.pl: Handle braced types on "constant" lines
30021 instead of handling "typed-constant".
30022 * conform/data/signal.h-data: Use "constant" instead of
30025 * conform/conformtest.pl: Handle "optional-" at start of lines in
30026 one place rather than duplicating several cases. Handle each
30027 format of "macro" line with initial "optional-".
30029 * conform/conformtest.pl: Only accept expected constant or
30030 optional-constant values with "==". Parse all "constant" lines in
30031 one place. Parse all "optional-constant" lines in one place.
30032 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30033 * conform/data/fmtmsg.h-data: Likewise.
30034 * conform/data/netinet/in.h-data: Likewise.
30035 * conform/data/tar.h-data: Likewise.
30036 * conform/data/limits.h-data: Use "==" form on "constant" and
30037 "optional-constant" lines.
30039 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30040 Use -std=c99 for XOPEN2K.
30041 (@knownproblems): Remove.
30042 (newtoken): Don't check %isknown.
30044 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30045 Do not expect macro.
30046 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30047 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30048 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30049 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30050 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30051 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30052 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30053 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30054 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30055 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30056 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30057 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30058 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30059 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30060 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30061 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30062 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30063 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30064 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30065 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30066 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30067 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30068 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30069 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30070 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30071 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30072 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30073 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30074 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30075 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30076 [XPG3] (acosh): Likewise.
30077 [XPG3] (asinh): Likewise.
30078 [XPG3] (atanh): Likewise.
30079 [XPG3] (cbrt): Likewise.
30080 [XPG3] (expm1): Likewise.
30081 [XPG3] (ilogb): Likewise.
30082 [XPG3] (log1p): Likewise.
30083 [XPG3] (logb): Likewise.
30084 [XPG3] (nextafter): Likewise.
30085 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30086 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30087 [XPG3] (remainder): Likewise.
30088 [XPG3] (rint): Likewise.
30089 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30090 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30091 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30092 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30093 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30094 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30095 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30096 [UNIX98 || XOPEN2K] (scalb): Expect.
30097 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30098 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30099 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30100 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30101 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30102 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30103 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30104 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30105 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30106 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30107 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30108 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30109 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30110 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30111 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30112 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30113 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30114 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30115 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30116 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30117 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30118 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30119 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30120 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30121 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30122 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30123 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30124 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30125 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30126 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30127 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30128 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30129 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30130 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30131 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30132 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30133 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30134 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30135 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30136 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30137 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30138 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30139 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30140 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30141 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30142 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30143 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30144 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30145 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30146 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30151 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30152 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30153 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30154 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30155 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30156 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30157 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30158 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30159 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30160 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30161 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30162 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30163 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30164 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30165 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30166 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30167 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30168 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30169 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30170 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30171 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30172 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30173 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30174 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30175 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30176 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30177 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30178 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30179 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30180 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30181 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30182 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30183 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30184 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30185 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30186 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30187 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30188 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30189 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30190 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30191 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30192 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30193 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30194 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30195 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30196 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30197 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30198 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30199 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30200 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30201 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30202 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30203 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30204 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30205 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30206 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30207 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30208 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30209 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30210 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30211 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30212 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30213 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30214 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30215 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30216 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30217 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30218 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30219 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30220 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30221 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30222 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30223 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30224 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30225 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30226 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30227 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30228 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30229 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30230 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30231 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30232 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30233 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30235 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30236 _XOPEN_SOURCE_EXTENDED for XPG4.
30238 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30240 * Makeconfig (localtime): Remove variable.
30241 (inst_localtime-file): Likewise.
30243 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30264 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30268 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30269 comparisons to determine direction to adjust input.
30270 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30271 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30272 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30274 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30276 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30278 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30279 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30281 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30283 * math/libm-test.inc (nexttoward_test): Add more tests.
30285 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30288 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30289 in version GLIBC_2.1, not GLIBC_2.0.
30290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30293 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30296 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30298 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30299 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30300 * math/libm-test.inc (acos_test): Add more tests.
30301 (asin_test): Likewise.
30302 * sysdeps/i386/fpu/libm-test-ulps: Update.
30303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30306 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30308 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30309 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30310 * math/libm-test.inc (acos_test_tonearest): New function.
30311 (acos_test_towardzero): Likewise.
30312 (acos_test_downward): Likewise.
30313 (acos_test_upward): Likewise.
30314 (asin_test_tonearest): Likewise.
30315 (asin_test_towardzero): Likewise.
30316 (asin_test_downward): Likewise.
30317 (asin_test_upward): Likewise.
30318 (main): Call the new functions.
30319 * sysdeps/i386/fpu/libm-test-ulps: Update.
30320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30324 * math/e_exp10.c: Include <float.h>.
30325 (__ieee754_exp10): Handle underflow here rather than multiplying
30326 large negative argument by M_LN10.
30327 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30329 * math/e_exp10l.c: Include <float.h>.
30330 (__ieee754_exp10l): Handle underflow here rather than multiplying
30331 large negative argument by M_LN10l.
30332 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30333 spurious overflow exception on underflow.
30335 2012-04-29 Marek Polacek <polacek@redhat.com>
30337 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30338 (__fortify_function): New macro.
30339 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30340 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30341 __extern_always_inline.
30342 * libio/bits/stdio2.h: Likewise.
30343 * libio/bits/stdio.h: Likewise.
30344 * string/string.h: Likewise.
30345 * string/bits/string3.h: Likewise.
30346 * include/stdio.h: Likewise.
30347 * stdlib/bits/stdlib.h: Likewise.
30348 * stdlib/stdlib.h: Likewise.
30349 * rt/bits/mqueue2.h: Likewise.
30350 * rt/mqueue.h: Likewise.
30351 * posix/bits/unistd.h: Likewise.
30352 * posix/unistd.h: Likewise.
30353 * io/bits/poll2.h: Likewise.
30354 * io/bits/fcntl2.h: Likewise.
30355 * io/fcntl.h: Likewise.
30356 * io/sys/poll.h: Likewise.
30357 * misc/bits/syslog.h: Likewise.
30358 * misc/bits/syslog-ldbl.h: Likewise.
30359 * misc/sys/syslog.h: Likewise.
30360 * socket/bits/socket2.h: Likewise.
30361 * socket/sys/socket.h: Likewise.
30362 * debug/tst-chk1.c: Likewise.
30363 * wcsmbs/bits/wchar2.h: Likewise.
30364 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30365 * wcsmbs/wchar.h: Likewise.
30367 2012-04-29 Andreas Jaeger <aj@suse.de>
30369 * Makerules (tests): Remove enable-check-abi protection.
30370 (check-abi-warn): Remove.
30371 (check-abi-%): Remove check-abi-warn usage.
30373 * configure.in: Remove check-abi configure option.
30374 * configure: Regenerated.
30375 * config.make.in (enable-check-abi): Remove.
30377 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30380 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30381 double functions to double *_finite functions.
30384 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30385 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30387 * stdio-common/Makefile (tests): Add tst-sprintf3.
30388 * stdio-common/tst-sprintf3.c: New file.
30390 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30391 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30393 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30395 * conform/conformtest.pl: Remove duplicate typed-constant
30398 2012-04-28 David S. Miller <davem@davemloft.net>
30400 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30401 (check-abi-%): Remove AWK script prerequisite and explicit
30403 (check-abi): Rewrite to just diff the symlist with the abilist.
30404 (config-tls, config-abi-config): Delete, no longer used.
30405 (update-abi-%): Remove AWK script and explicit abilist directory.
30406 (update-abi): Rewrite to simply compare and conditionally copy the
30407 symlist and the sysdep abilist file. Remove update-abi-config
30409 * abilist/ld.abilist: Remove.
30410 * abilist/libBrokenLocale.abilist: Remove.
30411 * abilist/libanl.abilist: Remove.
30412 * abilist/libcrypt.abilist: Remove.
30413 * abilist/libdl.abilist: Remove.
30414 * abilist/librt.abilist: Remove.
30415 * abilist/libthread_db.abilist: Remove.
30416 * abilist/libutil.abilist: Remove.
30417 * scripts/extract-abilist.awk: Remove.
30418 * scripts/merge-abilist.awk: Remove.
30419 * sysdeps/generic/libcidn.abilist: New file.
30420 * sysdeps/generic/libnss_compat.abilist: New file.
30421 * sysdeps/generic/libnss_db.abilist: New file.
30422 * sysdeps/generic/libnss_dns.abilist: New file.
30423 * sysdeps/generic/libnss_files.abilist: New file.
30424 * sysdeps/generic/libnss_hesiod.abilist: New file.
30425 * sysdeps/generic/libnss_nis.abilist: New file.
30426 * sysdeps/generic/libnss_nisplus.abilist: New file.
30427 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30428 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30429 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30431 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30432 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30433 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30434 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30435 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30436 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30437 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30438 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30439 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30441 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30442 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30443 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30444 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30446 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30447 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30448 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30449 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30450 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30451 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30453 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30454 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30455 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30457 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30560 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30561 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30562 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30564 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30565 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30566 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30567 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30568 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30569 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30570 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30571 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30572 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30573 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30625 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30627 * conform/conformtest.pl: Fix typo in handling typed-constant from
30630 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30632 * README: Cut down references to pre-2.6 Linux kernels and
30633 Linuxthreads. Update lists of configurations in libc and ports
30634 and sort alphabetically. Say "or newer" with Linux kernel version
30637 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30639 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30642 * math/libm-test.inc (logb_test_downward): New test to expose
30643 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30646 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30649 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30651 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30652 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30654 2012-04-26 Joseph Myers <joseph@codesourcery.com>
30656 * sysdeps/unix/i386/brk.S: Remove file.
30657 * sysdeps/unix/i386/dl-brk.S: Likewise.
30658 * sysdeps/unix/i386/pipe.S: Likewise.
30659 * sysdeps/unix/i386/sigreturn.S: Likewise.
30660 * sysdeps/unix/i386/syscall.S: Likewise.
30661 * sysdeps/unix/i386/vfork.S: Likewise.
30662 * sysdeps/unix/i386/wait.S: Likewise.
30664 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30665 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30667 * configure.in (arm*-none*): Do not allow without
30668 --enable-hacker-mode.
30669 (netbsd*): Remove case setting base_os.
30670 (386bsd*): Likewise.
30671 (freebsd*): Likewise.
30674 (sunos*): Likewise.
30675 (ultrix*): Likewise.
30676 (newsos*): Likewise.
30677 (dynix*): Likewise.
30683 (minix*): Likewise.
30684 (irix4*): Likewise.
30685 (irix6*): Likewise.
30686 (solaris[2-9]*): Likewise.
30688 * configure: Regenerated.
30690 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30693 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30694 overflow or cancellation in calculating denominator.
30695 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30696 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30697 down expression to avoid unexpected rounding in newer GCCs.
30698 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30700 2012-04-26 David S. Miller <davem@davemloft.net>
30702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30703 long-double compat symbols.
30704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30718 2012-04-25 David S. Miller <davem@davemloft.net>
30720 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30721 HWCAP_* values only after the memory barriers have been defined.
30722 (atomic_full_barrier): Define.
30723 (atomic_read_barrier): Define.
30724 (atomic_write_barrier): Define.
30726 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30728 * shlib-versions: Add libgcc_s version information.
30729 * sysdeps/generic/libgcc_s.h: Remove.
30730 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30732 * sysdeps/gnu/unwind-resume.c: Likewise.
30733 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30735 2012-04-25 David S. Miller <davem@davemloft.net>
30737 * sysdeps/unix/sparc/brk.S: Delete.
30738 * sysdeps/unix/sparc/dl-brk.S: Delete.
30739 * sysdeps/unix/sparc/pipe.S: Delete.
30740 * sysdeps/unix/sparc/sysdep.S: Delete.
30741 * sysdeps/unix/sparc/sysdep.h: Delete.
30742 * sysdeps/unix/sparc/vfork.S: Delete.
30743 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30744 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30745 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30746 ret_ERRVAL, r0, r1, MOVE): Define.
30747 (JUMPTARGET): Remove.
30748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30749 sysdeps/unix/sparc/sysdep.h
30750 (ENTRY, END): Remove.
30751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30753 2012-04-25 Joseph Myers <joseph@codesourcery.com>
30755 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30756 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30759 * timezone/README: Update upstream location and email address for
30761 * timezone/zdump.c: Update from tzcode 2012b.
30762 * timezone/zic.c: Likewise.
30764 * configure.in (libc_cv_as_needed): Remove test.
30765 * configure: Regenerated.
30766 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30767 conditional definition.
30768 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30769 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30770 * config.make.in (have-as-needed): Remove variable.
30772 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30773 Paul Pluzhnikov <ppluzhnikov@google.com>
30775 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30778 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30780 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30781 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30782 * sysdeps/sh/strlen.S: Likewise.
30784 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30786 * sysdeps/unix/fork.S: Remove file.
30787 * sysdeps/unix/i386/fork.S: Likewise.
30788 * sysdeps/unix/sparc/fork.S: Likewise.
30790 * sysdeps/unix/system.c: Remove file.
30791 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30793 * sysdeps/unix/getegid.S: Remove file.
30794 * sysdeps/unix/geteuid.S: Likewise.
30796 2012-04-24 Roland McGrath <roland@hack.frob.com>
30798 * scripts/check-localplt.awk: New file.
30799 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30801 * scripts/data/localplt-generic.data: Add a comment.
30803 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30804 NODE when __dir_mkfile failed.
30805 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30806 Reported by Ludovic Courtès <ludo@gnu.org>.
30808 2012-04-24 Andreas Jaeger <aj@suse.de>
30810 * Makerules (common-clean): Also remove gen-as-const-headers
30813 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30815 * Makerules (native-compile): Do not change working directory for
30816 build. Use $(OUTPUT_OPTION) in command.
30817 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30819 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30822 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30823 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30824 * math/libm-test.inc (floor_test): Add more tests.
30825 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30827 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30829 * sysdeps/unix/getdents.c: Remove file.
30830 * sysdeps/unix/sysv/getdents.c: Likewise.
30831 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30833 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30834 sysdeps/unix/mman/syscalls.list.
30836 (mprotect): Likewise.
30838 (munmap): Likewise.
30839 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30840 * sysdeps/unix/mman/syscalls.list: Remove.
30841 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30843 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30844 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30845 * configure: Regenerated.
30846 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30847 $(libgcc_s_suffix).
30848 * config.make.in (libgcc_s_suffix): Remove variable.
30850 2012-04-23 Joseph Myers <joseph@codesourcery.com>
30852 * sysdeps/unix/sysv/gethostname.c: Move to ...
30853 * sysdeps/posix/gethostname.c: ... here.
30855 * sysdeps/unix/execve.S: Remove file.
30857 * sysdeps/unix/_exit.S: Remove file.
30859 2012-04-23 Andreas Jaeger <aj@suse.de>
30862 * manual/Makefile: Remove make dist support, there's no
30863 need for a stand-alone documentation tar ball.
30864 (TEXI2DVI): Define always, it's not in Makeconfig.
30867 (edition): Removed.
30868 (glibc-doc-$(edition).tar): Removed
30872 (ETAGS): Remove, it's in Makeconfig.
30873 (move-if-change): Remove, it's in Makeconfig.
30875 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
30878 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30879 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30880 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30881 (strtod_l, strtof_l, strtold_l): Remove __wur.
30882 It is not necessarily an error to ignore strtol's return value.
30883 One can reliably look at the stored endptr to decide whether
30884 the number had valid syntax.
30886 2012-04-21 Andreas Jaeger <aj@suse.de>
30889 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30891 2012-04-21 Joseph Myers <joseph@codesourcery.com>
30893 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30894 * sysdeps/unix/sysv/Versions: Remove file.
30896 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30901 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
30904 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30905 version from __vm86.
30907 2012-04-20 Joseph Myers <joseph@codesourcery.com>
30909 * sysdeps/unix/common/lxstat.c: Remove file.
30910 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30912 * sysdeps/unix/sysv/Makefile: Remove file.
30914 * sysdeps/unix/sysv/direct.h: Remove file.
30916 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30917 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30918 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30919 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30920 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30921 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30922 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30924 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30926 * sysdeps/unix/xmknod.c: Remove file.
30927 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30929 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30931 * sysdeps/unix/sysv/i386/time.S: Remove file.
30933 * sysdeps/unix/fxstat.c: Remove file.
30934 * sysdeps/unix/xstat.c: Likewise.
30935 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30937 * sysdeps/unix/sysv/sigaction.c: Remove file.
30939 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30940 (sysdep_headers): Remove variable.
30941 [termio.h not in sysdep_headers] (generated): Likewise.
30942 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30943 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30944 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30945 * sysdeps/unix/sysv/tcflow.c: Likewise.
30946 * sysdeps/unix/sysv/tcflush.c: Likewise.
30947 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30948 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30949 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30950 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30951 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30953 * sysdeps/unix/siglist.c: Remove file.
30955 * sysdeps/unix/getppid.S: Remove file.
30957 * sysdeps/unix/mkdir.c: Remove file.
30958 * sysdeps/unix/rmdir.c: Likewise.
30960 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30962 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30964 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30965 errlist-compat value.
30967 2012-04-18 David S. Miller <davem@davemloft.net>
30969 * sysdeps/generic/memcopy.h (reg_char): Delete.
30970 * debug/strcat_chk.c: Use char, not reg_char.
30971 * debug/strcpy_chk.c: Likewise.
30972 * debug/strncat_chk.c: Likewise.
30973 * debug/strncpy_chk.c: Likewise.
30974 * string/memchr.c: Likewise.
30975 * string/memrchr.c: Likewise.
30976 * string/rawmemchr.c: Likewise.
30977 * string/strcat.c: Likewise.
30978 * string/strchr.c: Likewise.
30979 * string/strchrnul.c: Likewise.
30980 * string/strcmp.c: Likewise.
30981 * string/strcpy.c: Likewise.
30982 * string/strncat.c: Likewise.
30983 * string/strncmp.c: Likewise.
30984 * string/strncpy.c: Likewise.
30986 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30988 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30989 __builtin_memcopy is called when src and dest ranges are known to not
30992 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30994 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30995 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30996 fwd_align_merge macro call.
30997 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30998 bwd_align_merge macro call.
30999 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31001 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31003 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31004 bwd_align_merge macros.
31005 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31006 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31009 2012-04-18 David S. Miller <davem@davemloft.net>
31011 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31013 2012-04-18 Andreas Jaeger <aj@suse.de>
31016 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31017 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31018 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31020 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31021 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31022 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31024 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31025 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31026 Adjust for changed ldbl-128 files.
31028 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31029 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31030 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31032 2012-04-17 David S. Miller <davem@davemloft.net>
31034 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31036 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31038 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31039 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31040 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31041 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31042 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31043 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31045 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31048 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31049 * math/libm-test.inc: Add ilogb errno and exception tests.
31050 * math/w_ilogb.c: New file: ilogb wrapper.
31051 * math/w_ilogbf.c: New file: ilogbf wrapper.
31052 * math/w_ilogbl.c: New file: ilogbl wrapper.
31053 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31054 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31055 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31056 exception being thrown with 0.0 as argument.
31057 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31058 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31059 exception being thrown with 0.0 as argument.
31060 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31061 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31062 exception being thrown with 0.0 as argument.
31063 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31064 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31065 exception being thrown with 0.0 as argument.
31066 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31067 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31068 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31069 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31070 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31071 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31072 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31073 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31074 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31076 2012-04-17 Petr Baudis <pasky@ucw.cz>
31078 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31081 2012-04-16 Marek Polacek <polacek@redhat.com>
31083 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31085 2012-04-16 Marek Polacek <polacek@redhat.com>
31087 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31088 operands of fdivp instruction.
31090 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31092 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31093 * elf/tst-auditmod3b.c: Likewise.
31094 * elf/tst-auditmod4b.c: Likewise.
31095 * elf/tst-auditmod5b.c: Likewise.
31096 * elf/tst-auditmod6b.c: Likewise.
31097 * elf/tst-auditmod6c.c: Likewise.
31098 * elf/tst-auditmod7b.c: Likewise.
31099 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31100 * sysdeps/x86_64/preconfigure.in: Likewise.
31101 * sysdeps/x86_64/preconfigure: Regenerated.
31103 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31105 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31108 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31110 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31111 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31113 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31116 * locale/iso-639.def: Fix gl language name. Spotted by
31119 2012-04-12 Roland McGrath <roland@hack.frob.com>
31122 * libio/libio.h (__io_write_fn): Update comment.
31124 2012-04-12 Petr Baudis <pasky@ucw.cz>
31127 * stdio.texi (Hook Functions): The user provided writer function
31128 is not allowed to return -1.
31130 2012-04-11 David S. Miller <davem@davemloft.net>
31132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31134 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31136 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31137 Add a leading slash to rtkaio.
31139 2012-04-11 Jim Meyering <meyering@redhat.com>
31142 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31143 It is not necessarily an error to ignore fwrite's return
31144 value. One can reliably use ferror to test for errors after
31147 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31149 * bits/types.h (__snseconds_t): New type.
31150 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31152 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31154 (__SNSECONDS_T_TYPE): Likewise.
31155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31156 (__SNSECONDS_T_TYPE): Likewise.
31157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31158 (__SNSECONDS_T_TYPE): Likewise.
31160 2012-04-10 Andreas Jaeger <aj@suse.de>
31163 * manual/time.texi (Processor Time): Return type of times is
31164 elapsed real time since an arbitrary point in the past.
31165 (CPU Time): Move CLK_TCK from here...
31166 (Processor Time): ...to here. Correct description.
31167 * manual/conf.texi (Constants for Sysconf): Correct description of
31170 2012-04-10 David S. Miller <davem@davemloft.net>
31173 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31174 where the is a gap between DT_REL(A) and DT_JMPREL.
31176 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31178 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31179 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31180 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31182 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31184 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31185 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31186 (dl_main): Handle --inhibit-cache.
31187 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31189 * elf/dl-load.c (_dl_map_object): Use it.
31190 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31192 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31195 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31196 (__ieee754_powl): Saturate large exponents rather than testing for
31197 overflow of y*log2(x).
31198 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31199 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31203 * math/s_ctan.c: Include <float.h>.
31204 (__ctan): Avoid internal overflow or cancellation in calculating
31206 * math/s_ctanf.c: Likewise.
31207 * math/s_ctanl.c: Likewise.
31208 * math/s_ctanh.c: Likewise.
31209 * math/s_ctanhf.c: Likewise.
31210 * math/s_ctanhl.c: Likewise.
31211 * math/libm-test.inc (ctan_test): Add more tests.
31212 (ctanh_test): Likewise.
31213 * sysdeps/i386/fpu/libm-test-ulps: Update.
31214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31216 2012-04-09 Andreas Jaeger <aj@suse.de>
31219 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31220 is an optional BSD extension.
31223 * manual/stdio.texi (Opening Streams): Document additional fopen
31226 2012-04-09 Roland McGrath <roland@hack.frob.com>
31228 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31229 %eax without telling the compiler.
31231 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31234 * manual/install.texi: Use sourceware.org.
31236 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31239 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31240 (__ieee754_pow): Generate overflow and underflow using huge*huge
31241 and tiny*tiny rather than just returning constant infinity or zero
31242 for large exponents.
31243 * math/libm-test.inc (pow_test): Require overflow exceptions for
31244 applicable cases of large exponents.
31247 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31248 (__ieee754_pow): Use iterative multiplication algorithm only for
31249 integer exponents with absolute value below 1024. Check for odd
31250 integer exponents when using algorithm for real exponents.
31251 * math/libm-test.inc (pow_test): Add more tests.
31252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31254 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31257 * math/libm-test.inc (exp_test): Do not allow overflow exception
31260 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31263 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31264 instead of __kernel_standard_f.
31266 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31268 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31269 * sysdeps/x86_64/memset_chk.S: Likewise.
31271 2012-04-08 Andreas Jaeger <aj@suse.de>
31274 * manual/startup.texi (Environment Access): Describe return value
31275 for putenv and setenv.
31278 * manual/filesys.texi (Directory Entries): Add description for
31282 * manual/filesys.texi (Directory Entries): Clarify that it's file
31283 system not operating system in the description of DT_UNKNOWN.
31286 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31288 2012-04-08 Stephen Compall <s11@member.fsf.org>
31291 * manual/llio.texi (Opening and Closing Files): Add cross
31292 reference to explain mode argument.
31294 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31296 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31297 * sysdeps/x86_64/memset_chk.S: Likewise.
31299 2012-04-07 David S. Miller <davem@davemloft.net>
31301 * elf/elf.h (R_SPARC_WDISP10): Define.
31302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31305 R_SPARC_SIZE64 and R_SPARC_H34.
31307 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31309 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31310 conditions and remove no longer applicable assertion.
31312 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31314 * bits/byteswap.h: Include <features.h>.
31315 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31316 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31318 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31320 * bits/byteswap.h (__bswap_16): Removed.
31321 Include <bits/byteswap-16.h> to get __bswap_16.
31322 * sysdeps/i386/bits/byteswap.h: Likewise.
31323 * sysdeps/s390/bits/byteswap.h: Likewise.
31324 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31325 * bits/byteswap-16.h: New file.
31326 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31327 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31328 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31329 * string/Makefile (headers): Add bits/byteswap-16.h.
31331 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31334 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31336 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31337 * nss/tst-nss-static.c: New.
31339 2012-04-06 Robert Millan <rmh@gnu.org>
31342 * manual/llio.texi (File Position Primitive): lseek
31343 refers to WHENCE when it really means OFFSET.
31345 2012-04-06 Andreas Jaeger <aj@suse.de>
31347 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31348 strncmp declarations.
31350 * abilist/libc.abilist: Add __poll and __ppoll.
31352 2012-04-05 David S. Miller <davem@davemloft.net>
31354 * scripts/check-local-headers.sh: Accept a host triplet in the
31355 path matched by the exclude regexp.
31357 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31359 * sysdeps/powerpc/powerpc32/dl-machine.h
31360 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31361 * sysdeps/s390/s390-32/dl-machine.h
31362 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31363 * sysdeps/sparc/sparc32/dl-machine.h
31364 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31365 * sysdeps/sparc/sparc64/dl-machine.h
31366 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31368 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31370 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31371 undefined symbol errors.
31373 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31376 2012-04-05 Michael Matz <matz@suse.de>
31379 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31381 2012-04-05 Andreas Jaeger <aj@suse.de>
31384 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31387 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31389 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31390 which ROUND is no valid rounding mode.
31392 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31394 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31396 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31398 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31400 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31401 an exception using FPU order intentionally.
31403 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31405 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31406 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31407 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31408 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31410 2012-04-05 Simon Josefsson <simon@josefsson.org>
31413 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31414 EINVAL when BUFLEN is too smal.
31416 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31419 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31420 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31422 2012-04-03 Andreas Jaeger <aj@suse.de>
31425 * manual/setjmp.texi (System V contexts): Fix sentence.
31428 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31429 New macro for this case.
31430 [!__GNUC__] (__bswap_64): New inline function for this case.
31431 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31432 * bits/byteswap.h: Likewise.
31433 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31434 ull, guard with __GLIBC_HAVE_LONG_LONG.
31436 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31437 __GLIBC_HAVE_LONG_LONG.
31439 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31440 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31442 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31445 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31446 inptr and inend, rather than using last_ch.
31448 2012-04-02 David S. Miller <davem@davemloft.net>
31450 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31451 * stdio-common/printf-parse.h (read_int): Change return type to
31452 'int', return -1 on INT_MAX overflow.
31453 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31454 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31455 overflows INT_MAX. Check for overflow of in-format-string precision
31456 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31457 SIZE_MAX not INT_MAX for integer overflow test.
31458 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31459 skip the construct in the format string but do not record anything.
31460 * stdio-common/bug22.c: Adjust to test both width/prevision
31461 INT_MAX overflow as well as total length INT_MAX overflow. Check
31462 explicitly for proper errno values.
31464 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31466 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31468 * string/test-strcmp.c [! WIDE]: Likewise.
31469 * time/tst-mktime2.c: Likewise for INT_MAX.
31470 * string/test-string.h: #include <sys/param.h> for MIN.
31472 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31473 * sysdeps/i386/init-first.c (init): Likewise.
31474 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31475 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31476 * sysdeps/sh/init-first.c (init): Likewise.
31478 2012-04-01 Ulrich Drepper <drepper@gmail.com>
31480 * po/ru.po: Update from translation team.
31481 * po/vi.po: Likewise.
31483 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31485 * resolv/nss_dns/dns-host.c: Merge copyright years.
31487 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31490 Optimize memcpy with prefetch if
31491 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31492 src, dst pointers have unequal 16 byte alignments.
31494 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31497 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31498 from a CNAME entry and return the minimum ttl for the query.
31499 (gaih_getanswer_slice): Likewise.
31501 2012-03-30 Jeff Law <law@redhat.com>
31503 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31505 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31506 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31508 * resolv/nss_dns/dns-host.c: Update copyright year.
31510 2012-03-30 Ulrich Drepper <drepper@gmail.com>
31512 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
31513 requests to save a system call. Fix check that all bytes are sent.
31515 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31516 comments for sendmmsg.
31518 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31521 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31522 with only 1 character between 0x0041 and 0x01b0.
31523 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31524 * wcsmbs/tst-mbsnrtowcs.c: New file.
31526 2012-03-29 David S. Miller <davem@davemloft.net>
31528 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31529 small copies by hand.
31531 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31534 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31535 _nss_compat_initgroups_dyn): Fall back to malloc/free
31536 for large group memberships.
31538 2012-03-28 David S. Miller <davem@davemloft.net>
31540 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31541 that branches into memcpy.
31542 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31543 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31545 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31548 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31549 implementation too.
31550 * sysdeps/sparc/mempcpy.S: New file.
31552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31553 the IFUNC routine in the libc case.
31554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31556 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31557 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31558 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31559 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31560 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31561 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31562 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31563 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31565 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31566 loop to 256 bytes instead of 64 bytes and fix test signedness.
31568 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31569 * sysdeps/sparc/sparc32/Makefile: rather than here...
31570 * sysdeps/sparc/sparc64/Makefile: and here.
31572 2012-03-28 Ulrich Drepper <drepper@gmail.com>
31574 * malloc/mallocbug.c: Avoid warnings about unused variables.
31576 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31579 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31580 in the right place. Discard and retry query if response is
31581 larger than input buffer size.
31583 2012-03-28 Joseph Myers <joseph@codesourcery.com>
31588 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31589 x for large integer exponent.
31590 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31591 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31592 sign of result as needed afterwards.
31593 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31594 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31595 result for underflowing pow the same as for overflow.
31596 (__kernel_standard_l): Handle powl overflow and underflow here
31597 rather than calling __kernel_standard.
31598 * math/libm-test.inc (pow_test): Add more tests.
31613 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31614 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31615 (__kernel_standard_l): New function.
31616 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31618 * math/w_acosl.c (__acosl): Likewise.
31619 * math/w_asinl.c (__asinl): Likewise.
31620 * math/w_atan2l.c (__atan2l): Likewise.
31621 * math/w_atanhl.c (__atanhl): Likewise.
31622 * math/w_coshl.c (__coshl): Likewise.
31623 * math/w_exp10l.c (__exp10l): Likewise.
31624 * math/w_exp2l.c (__exp2l): Likewise.
31625 * math/w_fmodl.c (__fmodl): Likewise.
31626 * math/w_hypotl.c (__hypotl): Likewise.
31627 * math/w_j0l.c (__j0l, __y0l): Likewise.
31628 * math/w_j1l.c (__j1l, __y1l): Likewise.
31629 * math/w_jnl.c (__jnl, __ynl): Likewise.
31630 * math/w_lgammal.c (__lgammal): Likewise.
31631 * math/w_log10l.c (__log10l): Likewise.
31632 * math/w_log2l.c (__log2l): Likewise.
31633 * math/w_logl.c (__logl): Likewise.
31634 * math/w_powl.c (__powl): Likewise.
31635 * math/w_remainderl.c (__remainderl): Likewise.
31636 * math/w_scalbl.c (sysv_scalbl): Likewise.
31637 * math/w_sinhl.c (__sinhl): Likewise.
31638 * math/w_sqrtl.c (__sqrtl): Likewise.
31639 * math/w_tgammal.c (__tgammal): Likewise.
31640 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31641 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31642 * math/libm-test.inc (acos_test): Add more tests.
31643 (acosh_test): Likewise.
31644 (asin_test): Likewise.
31645 (atanh_test): Likewise.
31646 (exp_test): Likewise.
31647 (exp10_test): Likewise.
31648 (exp2_test): Likewise.
31649 (expm1_test): Likewise.
31650 (lgamma_test): Likewise.
31651 (log_test): Likewise.
31652 (log10_test): Likewise.
31653 (log1p_test): Likewise.
31654 (log2_test): Likewise.
31655 (pow_test): Do not allow some spurious overflow exceptions.
31656 (sqrt_test): Add more tests.
31657 (tgamma_test): Likewise.
31658 (y0_test): Likewise.
31659 (y1_test): Likewise.
31660 (yn_test): Likewise.
31662 2012-03-27 Anton Blanchard <anton@samba.org>
31664 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31666 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31667 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31668 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31670 2012-03-27 David S. Miller <davem@davemloft.net>
31672 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31674 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31675 have-as-vis3 check.
31677 2012-03-27 Andreas Jaeger <aj@suse.de>
31679 * sysdeps/x86_64/elf/configure.in: Moved to ...
31680 * sysdeps/x86_64/configure.in: ... here.
31681 * sysdeps/x86_64/elf/start.S: Moved to ...
31682 * sysdeps/x86_64/start.S: ... here.
31683 * sysdeps/x86_64/elf/configure: Delete.
31685 * sysdeps/x86_64/configure.in: Merge contents from
31686 sysdeps/i386/configure.in (without i686 check).
31688 * sysdeps/i386/elf/Versions: Merge into ...
31689 * sysdeps/i386/Versions: ... this.
31690 * sysdeps/i386/elf/Versions: Delete file.
31691 * sysdeps/i386/elf/start.S: Moved to ...
31692 * sysdeps/i386/start.S: ...here.
31693 * sysdeps/i386/elf/configure.in: Merge into...
31694 * sysdeps/i386/configure.in: ...here.
31695 * sysdeps/i386/elf/configure.in: Delete file.
31696 * sysdeps/i386/elf/configure: Delete file.
31698 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31699 * debug/backtracesyms.c: ... here.
31700 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31701 * debug/backtracesymsfd.c: ... here.
31702 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31703 * sysdeps/generic/ifunc-sel.h: ... here.
31705 * sysdeps/unix/i386/start.c: Delete file.
31706 * sysdeps/unix/sparc/start.c: Delete file.
31707 * sysdeps/unix/start.c: Delete file.
31709 * sysdeps/sh/elf/configure.in: Moved to ...
31710 * sysdeps/sh/configure.in: ... here.
31711 * sysdeps/sh/elf/start.S: Moved to ...
31712 * sysdeps/sh/start.S: ... here.
31713 * sysdeps/sh/elf/configure: Delete file.
31715 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31716 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31717 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31718 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31719 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31720 * sysdeps/powerpc/powerpc64/start.S: here.
31721 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31722 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31723 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31724 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31725 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31727 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31728 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31729 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31730 * sysdeps/powerpc/powerpc32/start.S: ... here.
31731 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31732 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31733 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31735 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31736 * sysdeps/powerpc/ifunc-sel.h: ... here.
31737 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31738 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31740 * sysdeps/sparc/elf/configure.in: Moved to ...
31741 * sysdeps/sparc/configure.in: ... here.
31742 * sysdeps/sparc/elf/configure: Delete file.
31743 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31744 * sysdeps/sparc/sparc32/start.S: ... here.
31745 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31746 * sysdeps/sparc/sparc64/start.S: ... here.
31747 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31748 * sysdeps/sparc/sparc32/Makefile: ... this.
31749 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31750 * sysdeps/sparc/sparc64/Makefile: ... this.
31752 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31753 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31754 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31755 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31756 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31757 * sysdeps/s390/s390-32/setjmp.S: ... here.
31758 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31759 * sysdeps/s390/s390-32/configure.in: ... here.
31760 * sysdeps/s390/s390-32/elf/configure: Delete file.
31761 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31762 * sysdeps/s390/s390-32/start.S: ... here.
31764 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31765 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31766 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31767 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31768 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31769 * sysdeps/s390/s390-64/setjmp.S: ... here.
31770 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31771 * sysdeps/s390/s390-64/configure.in: ... here
31772 * sysdeps/s390/s390-64/elf/configure: Delete file.
31773 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31774 * sysdeps/s390/s390-64/start.S: ... here.
31775 * sysdeps/s390/s390-64/elf/configure: Delete.
31777 * configure.in: Remove support for elf directories in sysdeps.
31779 * configure: Regenerated.
31780 * sysdeps/i386/configure: Regenerated.
31781 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31782 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31783 * sysdeps/s390/s390-32/configure: Regenerated.
31784 * sysdeps/s390/s390-64/configure: Regenerated.
31785 * sysdeps/sh/configure: Regenerated.
31786 * sysdeps/sparc/configure: Regenerated.
31787 * sysdeps/x86_64/configure: Regenerated.
31789 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31794 denormal result into account.
31796 2012-03-25 Roland McGrath <roland@hack.frob.com>
31798 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31799 Reported by Allan McRae <allan@archlinux.org>.
31801 2012-03-23 Jeff Law <law@redhat.com>
31803 * nss/getnssent.c (__nss_getent): Fix typo.
31805 2012-03-23 David S. Miller <davem@davemloft.net>
31807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31809 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31811 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31812 to pad to uint64_t for each field.
31813 (dl_tls_index): Replace unsigned long with uint64_t.
31815 2012-03-23 Daniel Jacobowitz <dmj@google.com>
31816 Paul Pluzhnikov <ppluzhnikov@google.com>
31819 * grp/Makefile (otherlibs): Don't set it.
31820 * inet/Makefile (otherlibs): Likewise.
31821 * login/Makefile (otherlibs): Likewise.
31822 * nscd/Makefile (otherlibs): Likewise.
31823 * posix/Makefile (otherlibs): Likewise.
31824 * pwd/Makefile (otherlibs): Likewise.
31825 * rt/Makefile (otherlibs): Likewise.
31826 * sunrpc/Makefile (otherlibs): Likewise.
31827 * nss/Makefile (otherlibs): Likewise.
31828 Add libnss_files to routines and static-only-routines.
31829 ($(objpfx)getent): Remove rule.
31830 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31831 static-only-routines.
31833 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31836 * math/s_cexp.c: Include <float.h>.
31837 (__cexp): Handle exp result overflowing not necessarily
31838 overflowing both real and imaginary parts of result.
31839 * math/s_cexpf.c: Likewise.
31840 * math/s_cexpl.c: Likewise.
31841 * math/libm-test.inc (cexp_test): Add more tests.
31842 * sysdeps/i386/fpu/libm-test-ulps: Update.
31843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31845 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31847 * include/link.h (ELFW): New macro.
31848 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31849 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31851 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31853 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31856 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31858 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31860 (struct La_x32_retval): Likewise.
31862 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31864 * sysdeps/x86_64/preconfigure.in: New file.
31865 * sysdeps/x86_64/preconfigure: New generated file.
31867 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31870 * math/e_exp2l.c: Include <float.h>.
31871 (__ieee754_exp2l): Handle overflow and underflow cases
31872 separately. Only pass fractional part of argument to
31874 * math/libm-test.inc (exp2_test): Add more tests.
31876 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31877 negating x to take absolute value.
31878 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31880 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31881 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31883 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31884 computing low part if x was negated.
31885 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31887 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31889 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31890 la_x32_gnu_pltexit.
31891 (pltexit): Cast int_retval to ptrdiff_t.
31892 * elf/tst-auditmod3b.c: Likewise.
31893 * elf/tst-auditmod4b.c: Likewise.
31894 * elf/tst-auditmod5b.c: Likewise.
31895 * elf/tst-auditmod6b.c: Likewise.
31896 * elf/tst-auditmod6c.c: Likewise.
31897 * elf/tst-auditmod7b.c: Likewise.
31899 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31900 and x32_gnu_pltexit.
31902 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31903 __ELF_NATIVE_CLASS.
31904 (La_x32_regs): New macro.
31905 (La_x32_retval): Likewise.
31906 (la_x32_gnu_pltenter): New function prototype.
31907 (la_x32_gnu_pltexit): Likewise.
31909 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31916 * configure.in (libc_cv_cc_nofma): Check for option to disable
31917 generation of FMA instructions.
31918 * configure: Regenerate.
31919 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31920 * sysdeps/ieee754/dbl-64/Makefile: New file.
31921 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31922 Remove brandred-fma4.
31923 (CFLAGS-brandred-fma4.c): Remove.
31924 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31925 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31927 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31930 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31932 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31933 LLONG_MAX != LONG_MAX.
31934 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31935 (_fitoa_word): Likewise.
31936 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31937 LLONG_MAX != LONG_MAX.
31938 * stdio-common/_itowa.h: Include <_itoa.h>.
31939 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31940 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31941 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31942 only if not defined.
31943 (_ITOA_WORD_TYPE): Likewise.
31944 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31945 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31947 2012-03-21 David S. Miller <davem@davemloft.net>
31949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31951 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31953 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31954 of x86_64 when setting libc_cv_slibdir, libdir and
31956 * sysdeps/unix/sysv/linux/configure: Regenerated.
31958 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31960 * manual/lang.texi (Old Varargs): Remove section.
31961 (How Variadic): Update menu.
31962 (va_start): Do not mention varargs.h.
31964 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31965 Joseph Myers <joseph@codesourcery.com>
31967 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31969 * configure: Regenerated.
31971 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31973 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31974 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31977 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31980 * Makefile (files-for-dist): Remove NOTES.
31981 (NOTES): Remove rule.
31982 * README: Don't refer to NOTES.
31983 * manual/creature.texi: Don't include macros.texi.
31984 * manual/intro.texi (creature.texi): Remove comment referring to
31987 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31988 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31989 * configure: Regenerated.
31990 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31991 LIBC_TRY_CC_OPTION.
31992 (libc_cv_as_i686): Likewise.
31993 (libc_cv_cc_avx): Likewise.
31994 (libc_cv_cc_sse2avx): Likewise.
31995 (libc_cv_cc_fma4): Likewise.
31996 (libc_cv_cc_novzeroupper): Likewise.
31997 * sysdeps/i386/configure: Regenerated.
32000 * sysdeps/i386/fpu/s_cexp.S: Remove.
32001 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32002 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32003 * math/libm-test.inc (cexp_test): Add more tests.
32004 * sysdeps/i386/fpu/libm-test-ulps: Update.
32005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32007 2012-03-21 Allan McRae <allan@archlinux.org>
32009 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32011 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32014 * math/w_exp2.c: Do not include <float.h>.
32015 (o_threshold, u_threshold): Remove.
32016 (__exp2): Calculate result before checking finiteness and calling
32018 * math/w_exp2f.c: Likewise.
32019 * math/w_exp2l.c: Likewise.
32020 * math/libm-test.inc (exp2_test): Require overflow exception for
32024 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32025 range of signed 64-bit integers before using fistpll. Remove
32026 checks for whether integers fit in mantissa bits.
32027 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32028 the range of signed 32-bit integers before using fistpl. Remove
32029 checks for whether integers fit in mantissa bits.
32030 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32031 (__ieee754_powl): Test for y outside the range of signed 64-bit
32032 integers before using fistpll. Reduce 64-bit values to 63-bit
32034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32035 divide-by-zero is raised for zero to large negative powers.
32036 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32037 (__ieee754_powl): Test for y outside the range of signed 64-bit
32038 integers before using fistpll. Reduce 64-bit values to 63-bit
32040 * math/libm-test.inc (pow_test): Add more tests.
32042 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32044 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32045 <stdio-common/_itoa.h>.
32046 * debug/segfault.c: Likewise.
32047 * elf/dl-cache.c: Likewise.
32048 * elf/dl-minimal.c: Likewise.
32049 * elf/dl-misc.c: Likewise.
32050 * elf/dl-sysdep.c: Likewise.
32051 * elf/dl-version.c: Likewise.
32052 * elf/rtld.c: Likewise.
32053 * hurd/hurdsock.c: Likewise.
32054 * hurd/lookup-retry.c: Likewise.
32055 * malloc/malloc.c: Likewise.
32056 * malloc/mtrace.c: Likewise.
32057 * nscd/nscd_getgr_r.c: Likewise.
32058 * nscd/nscd_getpw_r.c: Likewise.
32059 * nscd/nscd_getserv_r.c: Likewise.
32060 * posix/getopt_init.c: Likewise.
32061 * posix/wordexp.c: Likewise.
32062 * stdio-common/_itoa.c: Likewise.
32063 * stdio-common/printf_fphex.c: Likewise.
32064 * stdio-common/vfprintf.c: Likewise.
32065 * string/_strerror.c: Likewise.
32066 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32067 * sysdeps/i386/i686/hp-timing.h: Likewise.
32068 * sysdeps/mach/_strerror.c: Likewise.
32069 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32070 * sysdeps/mach/hurd/sethostid.c: Likewise.
32071 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32072 * sysdeps/mach/xpg-strerror.c: Likewise.
32073 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32074 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32075 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32076 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32077 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32078 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32079 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32080 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32081 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32082 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32083 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32084 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32085 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32086 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32087 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32088 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32089 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32090 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32091 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32092 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32093 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32095 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32097 * stdio-common/_itoa.h: Moved to ...
32098 * sysdeps/generic/_itoa.h: Here.
32100 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32102 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32103 instead of "_itoa.h" and "_itowa.h".
32104 * stdio-common/vfprintf.: Likewise.
32106 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32108 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32110 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32111 (__signbit): Likwise.
32112 (llrintf): Likwise.
32115 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32117 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32120 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32122 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32123 OVERFLOW_EXCEPTION_OK.
32124 * math/libm-test.inc ("Philosophy"): Update comment about
32126 (OVERFLOW_EXCEPTION): Define.
32127 (OVERFLOW_EXCEPTION_OK): Likewise.
32128 (INVALID_EXCEPTION_OK): Renumber.
32129 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32130 (IGNORE_ZERO_INF_SIGN): Likewise.
32131 (test_exceptions): Handle FE_OVERFLOW.
32132 (exp10_test): Expect overflow exceptions.
32133 (exp2_test): Likewise.
32134 (expm1_test): Likewise.
32135 (nextafter_test): Likewise.
32136 (pow_test): Likewise.
32137 (scalbn_test): Likewise.
32138 (scalbln_test): Likewise.
32140 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32142 * sysdeps/x86_64/bits/atomic.h
32143 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32145 (atomic_exchange_acq): Likewise.
32146 (__arch_exchange_and_add_body): Likewise.
32147 (__arch_add_body): Likewise.
32148 (atomic_add_negative): Likewise.
32149 (atomic_add_zero): Likewise.
32151 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32153 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32154 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32156 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32158 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32159 Check __x86_64__ instead of __WORDSIZE.
32161 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32163 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32165 2012-03-19 David S. Miller <davem@davemloft.net>
32167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32169 * sysdeps/sparc/fpu/fenv_private.h: New file.
32170 * sysdeps/sparc/fpu/math_private.h: Use it.
32171 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32173 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32174 (libc_feholdexcept_setroundl): Remove.
32175 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32177 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32178 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32180 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32182 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32183 int64_t instead of long int.
32184 (INSERT_WORDS64): Likwise.
32186 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32188 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32189 _Unwind_GetCFA return to _Unwind_Ptr first.
32191 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32194 * math/s_clog.c: Include <float.h>.
32195 (__clog): Scale large or subnormal inputs.
32196 * math/s_clogf.c: Likewise.
32197 * math/s_clogl.c: Likewise.
32198 * math/s_clog10.c: Include <float.h>.
32199 (M_LOG10_2): Define.
32200 (__clog10): Scale large or subnormal inputs.
32201 * math/s_clog10f.c: Likewise.
32202 * math/s_clog10l.c: Likewise.
32203 * math/libm-test.inc (clog_test): Add more tests.
32204 (clog10_test): Likewise.
32205 * sysdeps/i386/fpu/libm-test-ulps: Update.
32206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32209 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32211 * math/libm-test.inc (atan2_test): Add another test.
32213 * Makerules (common-objdir-compile): Remove.
32214 * sysdeps/unix/Makefile (config-generated): Do not add
32215 $(unix-generated) to variable.
32216 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32217 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32219 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32221 [generic bits/local_lim.h] (before-compile): Do not append to
32223 [generic bits/local_lim.h] (common-generated): Likewise.
32224 [generic sys/param.h] (before-compile): Do not append to variable.
32225 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32226 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32227 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32228 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32230 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32231 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32232 [generic sys/param.h] ($(addprefix
32233 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32234 [generic sys/param.h] (common-generated): Do not append to
32236 [generic sys/param.h] (sysdep_headers): Likewise.
32237 [generic bits/errno.h] (before-compile): Do not append to
32239 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32241 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32242 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32243 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32244 [generic bits/errno.h] (common-generated): Do not append to
32246 [generic bits/ioctls.h] (before-compile): Do not append to
32248 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32250 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32251 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32252 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32254 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32255 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32256 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32257 [generic bits/ioctls.h] (common-generated): Do not append to
32259 [generic sys/syscall.h] (syscall.h): Remove variable.
32260 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32262 [generic sys/syscall.h] (before-compile): Do not append to
32264 [generic sys/syscall.h] (common-generated): Likewise.
32265 * sysdeps/unix/errnos-tmpl.c: Remove file.
32266 * sysdeps/unix/errnos.awk: Likewise.
32267 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32268 * sysdeps/unix/ioctls.awk: Likewise.
32269 * sysdeps/unix/mk-local_lim.c: Likewise.
32270 * sysdeps/unix/snarf-ioctls: Likewise.
32272 2012-03-19 Richard Henderson <rth@twiddle.net>
32274 * sysdeps/i386/fpu/fenv_private.h: New file.
32275 * sysdeps/i386/fpu/math_private.h: Use it.
32276 (math_opt_barrier, math_force_eval): Remove.
32277 (libc_feholdexcept_setround_53bit): Remove.
32278 (libc_feupdateenv_53bit): Remove.
32279 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32280 (math_opt_barrier, math_force_eval): Remove.
32281 (libc_feholdexcept): Remove.
32282 (libc_feholdexcept_setround): Remove.
32283 (libc_fetestexcept, libc_fesetenv): Remove.
32284 (libc_feupdateenv_test): Remove.
32285 (libc_feupdateenv, libc_feholdsetround): Remove.
32286 (libc_feresetround): Remove.
32288 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32289 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32291 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32292 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32293 (libc_feupdateenv_testl): New.
32294 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32295 (libc_feupdateenv_testf): New.
32296 (libc_feupdateenv): Use libc_feupdateenv_test.
32297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32298 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32300 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32301 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32302 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32303 (libc_feresetround_noex): New.
32304 (libc_feresetround_noexf): New.
32305 (libc_feresetround_noexl): New.
32306 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32307 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32308 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32309 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32312 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32314 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32315 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32316 SET_RESTORE_ROUND_NOEX.
32317 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32318 SET_RESTORE_ROUND_NOEXF.
32319 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32320 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32321 (libc_feholdsetroundf): New.
32322 (libc_feresetround, libc_feresetroundf): New.
32324 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32325 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32326 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32328 * sysdeps/generic/math_private.h: Include <fenv.h>.
32329 (default_libc_feholdexcept): New.
32330 (default_libc_feholdexcept_setround): New.
32331 (default_libc_fesetenv, default_libc_feupdateenv): New.
32332 (libc_feholdexcept): Only define if undefined.
32333 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32334 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32335 (libc_feholdexcept_setroundl): Likewise.
32336 (libc_feholdexcept_setround_53bit): Likewise.
32337 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32338 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32339 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32340 (libc_feupdateenv_53bit): Likewise.
32341 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32342 (libc_feholdexcept): Convert from macro to inline function.
32343 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32344 (libc_fesetenv, libc_feupdateenv): Likewise.
32346 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32347 not previously defined.
32348 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32349 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32350 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32351 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32352 * sysdeps/ieee754/flt-32/math_private.h: New file.
32353 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32354 math_private.h below SET_FLOAT_WORD.
32355 (__isnan, __isinf_ns, __finite): Remove.
32356 (__isnanf, __isinf_nsf, __finitef): Remove.
32358 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32362 2012-03-17 David S. Miller <davem@davemloft.net>
32365 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32368 2012-03-16 David S. Miller <davem@davemloft.net>
32370 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32374 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32376 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32377 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32378 sysdep_routines when subdir is sysvipc.
32379 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32380 __getshmlba helper.
32382 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32384 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32386 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32389 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32391 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32392 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32393 (__lround): Renamed to ...
32394 (__llround): This. Replace long int with long long int.
32395 Define lround functions as aliases of llround functions.
32396 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32398 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32400 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32401 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32402 adresses to uintptr_t. Replace "long int" and "unsigned long
32403 int" with "greg_t" on va_arg.
32405 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32407 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32408 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32410 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32411 Move e_machine check before EI_CLASS check. Handle x32
32412 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32413 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32414 SKIP_EM_IA_64 and include
32415 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32417 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32418 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32419 (add_system_dir): New macro.
32421 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32422 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32424 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32435 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32437 * math/w_j0f.c (j0f): Likewise.
32439 * math/w_j0l.c (__j0l): Likewise.
32441 * math/w_j1.c (j1): Likewise.
32443 * math/w_j1f.c (j1f): Likewise.
32445 * math/w_j1l.c (__j1l): Likewise.
32447 * math/w_jn.c (jn): Likewise.
32449 * math/w_jnf.c (jnf): Likewise.
32451 * math/w_jnl.c (__jnl): Likewise.
32453 * math/libm-test.inc (j0_test): Add more tests.
32454 (j1_test): Likewise.
32455 (jn_test): Likewise. Add trailing semicolon to existing test.
32456 (y0_test): Likewise.
32457 (y1_test): Likewise.
32458 * sysdeps/i386/fpu/libm-test-ulps: Update.
32459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32463 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32464 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32465 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32466 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32467 (__tanl): Set errno for infinite argument.
32468 * sysdeps/i386/fpu/mptan.c: Remove.
32469 * sysdeps/i386/fpu/s_tan.S: Likewise.
32470 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32471 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32472 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32473 * math/libm-test.inc (tan_test): Add more tests and enable more
32474 tests for double and long double.
32475 * sysdeps/i386/fpu/libm-test-ulps: Update.
32476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32478 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32480 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32481 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32483 2012-03-16 Roland McGrath <roland@hack.frob.com>
32485 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32486 * configure.in: Use it for both main tree and add-ons.
32487 * configure: Regenerated.
32489 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32491 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32493 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32495 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32499 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32500 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32501 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32502 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32503 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32505 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32506 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32507 != 0 for prec == 2.
32508 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32509 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32510 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32511 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32512 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32513 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32514 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32515 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32516 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32517 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32518 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32519 * math/libm-test.inc (cos_test): Add more tests and enable more
32520 tests for long double.
32521 (sin_test): Likewise.
32522 (sincos_test): Likewise.
32523 * sysdeps/i386/fpu/libm-test-ulps: Update.
32524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32526 2012-03-16 David S. Miller <davem@davemloft.net>
32528 * sysdeps/sparc/fpu/math_private.h: New file.
32530 2012-03-15 David S. Miller <davem@davemloft.net>
32532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32546 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32547 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32549 * sysdeps/sparc/sparc-ifunc.h: New file.
32550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32576 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32595 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32597 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32601 2012-03-15 Andreas Jaeger <aj@suse.de>
32604 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32605 ieee754/flt-32 implementation for sin, cos and sincos.
32606 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32607 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32608 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32609 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32610 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32611 ieee754/flt-32 implementation for tan.
32613 * math/libm-test.inc (cos_test): Enable some large input tests for
32615 (sin_test): Likewise.
32616 (sincos_test): Likewise.
32617 (tan_test): Add tests for large input.
32619 * sysdeps/i386/fpu/libm-test-ulps: Update.
32621 2012-03-15 Andreas Jaeger <aj@suse.de>
32624 * math/libm-test.inc (cos_test): Add more test cases.
32625 (sin_test): Likewise.
32626 (sincos_test): Likewise.
32628 2012-03-15 Andreas Jaeger <aj@suse.de>
32631 * math/libm-test.inc (cos_test): Add a test case for large input
32633 (sin_test): Likewise.
32634 (sincos_test): Likewise.
32636 2012-03-15 Andreas Jaeger <aj@suse.de>,
32637 Joseph Myers <joseph@codesourcery.com>
32640 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32641 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32642 * sysdeps/i386/fpu/branred.c: Likewise.
32643 * sysdeps/i386/fpu/dosincos.c: Likewise.
32644 * sysdeps/i386/fpu/mpa.c: Likewise.
32645 * sysdeps/i386/fpu/s_cos.S: Likewise.
32646 * sysdeps/i386/fpu/s_sin.S: Likewise.
32647 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32648 * sysdeps/i386/fpu/sincos32.c: Likewise.
32650 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32652 (libc_feupdateenv_53bit): Define.
32653 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32655 (libc_feupdateenv_53bit): Define.
32657 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32658 53 bit (without extend i386 double precision).
32660 * math/libm-test.inc (sincos_test): Add tests for large input.
32664 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32666 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32670 2012-03-15 David S. Miller <davem@davemloft.net>
32672 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32673 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32674 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32675 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32699 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32700 fmin/fmax sysdep routines.
32701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32703 2012-03-14 David S. Miller <davem@davemloft.net>
32705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32777 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32782 * sysdeps/sparc/configure.in: New file.
32783 * sysdeps/sparc/configure: Generate.
32784 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32785 * configure: Regenerate.
32786 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32787 * config.make.in (have-as-vis3): New.
32788 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32789 available use -Av9d instead of -Av9a.
32790 * sysdeps/sparc/sparc64/Makefile: Likewise.
32791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32806 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32807 fzeros/fnegs to load 0x80000000 into a float register instead of
32809 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32811 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32815 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32816 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32817 ($(inst_includedir)/bits/syscall.h): Remove rule.
32818 ($(objpfx)bits/syscall.d): Include instead of
32819 $(objpfx)syscall-list.d.
32820 (generated): Change syscall-list.h and syscall-list.d to
32821 bits/syscall.h and bits/syscall.d.
32823 2012-03-14 Roland McGrath <roland@hack.frob.com>
32826 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32828 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32831 * math/s_csqrt.c: Include <float.h>.
32832 (__csqrt): Scale large or subnormal inputs.
32833 * math/s_csqrtf.c: Likewise.
32834 * math/s_csqrtl.c: Likewise.
32835 * math/libm-test.inc (csqrt_test): Add more tests.
32836 * sysdeps/i386/fpu/libm-test-ulps: Update.
32837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32840 * math/libm-test.inc (hypot_test): Add more tests.
32842 2012-03-13 David S. Miller <davem@davemloft.net>
32845 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32846 double-precision for the calculation instead of scaling.
32848 2012-03-13 Joseph Myers <joseph@codesourcery.com>
32850 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32851 manipulate bits before adding and subtracting TWO52[sx].
32852 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32853 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32855 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32857 2012-03-13 David S. Miller <davem@davemloft.net>
32859 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32860 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32862 rtld-global-offsets.h
32863 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32865 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32868 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32870 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32871 'err' in the ifdef scope in which it is actually used.
32873 * nss/nss_db/db-init.c: Include string.h
32875 2012-03-12 David S. Miller <davem@davemloft.net>
32877 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32878 masking out of the most significant byte of random value used.
32879 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32880 Fix coding style in previous change.
32882 * sysdeps/unix/sysv/linux/kernel-features.h
32883 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32884 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32886 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32889 2012-03-11 David S. Miller <davem@davemloft.net>
32891 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32892 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32893 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32894 for 'resultvar' otherwise things get truncated on 64-bit.
32896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32897 Fix masking out of the most significant byte of random value used.
32899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32901 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32905 2012-03-09 David S. Miller <davem@davemloft.net>
32907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32908 variables with appropriate CPP guards.
32909 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32910 frame pointer, not the stack pointer. Correct layout comments. Fix test
32911 on resulting framesize and the management of the outregs buffer for pltexit.
32912 Preserve floating point return values across _dl_call_pltexit call.
32913 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32914 framesize and the management of the outregs buffer for pltexit.
32915 Preserve floating point return values across _dl_call_pltexit
32917 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32918 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32919 (print_exit): Fix format string for return register value.
32921 2012-03-10 Joseph Myers <joseph@codesourcery.com>
32923 * sunrpc/Makefile (others): Add rpcgen.
32924 ($(objpfx)rpcgen): Remove special build rule and dependency on
32926 * sunrpc/rpcgen.c: New file.
32928 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32931 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32932 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32933 * sysdeps/i386/crti.S: Likewise.
32934 * sysdeps/i386/crtn.S: Likewise.
32935 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32936 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32937 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32938 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32939 * sysdeps/sh/crti.S: Likewise.
32940 * sysdeps/sh/crtn.S: Likewise.
32941 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32944 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32946 * locale/programs/locfile-kw.gperf: Likewise.
32947 * locale/programs/charmap-kw.h: Regenerated.
32948 * locale/programs/locfile-kw.h: Likewise.
32951 * intl/plural.y: Replace FSF snail mail address with URL.
32952 * intl/plural.c: Regenerated.
32954 2012-03-09 Richard Henderson <rth@twiddle.net>
32956 * include/math_private.h: Remove file.
32957 * math/math_private.h: Move file ...
32958 * sysdeps/generic/math_private.h: ... here.
32960 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32961 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32962 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32964 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32965 and <math_private.h>.
32966 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32967 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32968 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32969 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32970 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32971 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32972 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32974 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32975 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32977 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32978 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32980 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32981 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32982 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32983 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32984 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32985 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32987 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32988 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32990 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32991 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32992 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32993 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32994 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32995 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33021 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33023 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33025 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33027 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33029 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33030 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33031 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33032 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33033 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33034 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33035 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33036 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33037 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33038 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33039 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33040 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33041 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33045 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33046 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33047 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33048 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33049 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33050 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33054 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33055 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33056 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33057 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33058 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33059 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33060 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33061 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33062 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33063 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33064 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33065 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33066 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33067 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33068 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33069 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33070 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33071 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33072 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33073 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33074 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33075 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33076 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33077 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33078 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33079 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33080 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33081 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33082 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33083 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33084 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33085 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33086 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33087 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33088 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33089 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33090 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33091 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33092 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33093 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33094 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33095 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33096 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33097 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33098 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33099 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33100 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33101 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33102 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33103 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33104 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33105 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33106 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33107 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33108 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33109 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33110 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33111 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33112 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33113 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33114 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33115 * sysdeps/ieee754/k_standard.c: Likewise.
33116 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33118 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33119 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33120 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33121 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33122 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33123 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33124 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33128 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33129 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33130 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33131 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33132 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33133 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33134 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33135 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33136 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33137 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33138 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33139 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33140 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33141 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33142 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33143 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33144 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33145 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33147 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33148 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33149 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33150 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33152 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33153 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33154 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33155 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33156 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33157 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33158 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33159 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33160 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33161 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33162 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33165 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33167 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33168 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33171 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33231 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33234 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33235 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33236 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33238 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33241 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33252 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33253 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33255 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33256 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33257 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33258 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33259 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33260 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33262 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33263 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33264 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33265 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33266 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33267 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33268 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33269 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33270 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33271 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33272 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33273 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33274 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33275 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33276 * sysdeps/ieee754/s_lib_version.c: Likewise.
33277 * sysdeps/ieee754/s_matherr.c: Likewise.
33278 * sysdeps/ieee754/s_signgam.c: Likewise.
33279 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33280 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33281 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33282 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33283 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33284 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33285 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33286 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33287 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33288 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33289 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33290 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33291 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33292 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33293 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33294 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33295 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33296 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33297 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33301 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33303 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33304 * sunrpc/rpc_main.c: Likewise.
33305 * sunrpc/rpc_svcout.c: Likewise.
33307 2012-03-09 David S. Miller <davem@davemloft.net>
33309 * include/math_private.h: New file.
33311 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33313 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33314 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33315 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33316 from <bits/socket_type.h>.
33317 (enum __socket_type): Don't define here.
33318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33320 bits/socket_type.h.
33323 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33324 checking __USE_GNU.
33326 * Makerules ($(inst_includedir)/%.h): New rule.
33327 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33328 (install-others): Remove variable setting.
33329 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33331 2012-03-08 Richard Henderson <rth@twiddle.net>
33333 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33334 from macro to inline function; merge with the
33335 !__LIBC_INTERNAL_MATH_INLINES version.
33336 (__ieee754_sqrtf): Likewise.
33338 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33339 to inline function.
33340 (__rintf, __floor, __floorf): Likewise.
33342 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33343 macro to inline function.
33344 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33346 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33347 not <math/math_private.h>.
33349 2012-03-08 David S. Miller <davem@davemloft.net>
33351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33353 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33355 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33357 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33359 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33360 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33362 2012-03-08 Ulrich Drepper <drepper@gmail.com>
33364 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33365 be defined individually, they must be defined as a block. Define
33366 S for printing a string instead of hidint the different by using a
33367 macro for adding the 'l'.
33368 * stdio-common/tst-fphex-wide.c: Adjust.
33370 2012-03-07 Marek Polacek <polacek@redhat.com>
33372 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33374 2012-03-08 Marek Polacek <polacek@redhat.com>
33377 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33378 * stdio-common/tst-fphex.c: Define a few macros to make the
33379 test reusable. Use them.
33380 * stdio-common/tst-fphex-wide.c: New file.
33382 2012-03-08 Joseph Myers <joseph@codesourcery.com>
33385 * manual/macros.texi (gnusystems): New macro.
33386 (nongnusystems): Likewise.
33387 (gnulinuxhurdsystems): Likewise.
33388 (gnuhurdsystems): Likewise..
33389 (gnulinuxsystems): Likewise.
33390 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33391 variants of the GNU system, not "GNU system".
33392 * manual/conf.texi: Likewise.
33393 * manual/errno.texi: Likewise. Update example of errno macro
33395 * manual/filesys.texi: Likewise.
33396 (getumask): Document as specific to GNU/Hurd.
33397 * manual/install.texi: Likewise. Reword some references to
33399 * manual/intro.texi: Likewise.
33400 * manual/io.texi: Likewise.
33401 (File Name Portability): Detail which constraints are inapplicable
33402 to all GNU systems and which are only inapplicable to GNU/Hurd.
33403 * manual/job.texi: Likewise.
33404 * manual/llio.texi: Likewise.
33405 (O_NOCTTY): Document as present on GNU/Linux.
33406 * manual/maint.texi: Likewise.
33407 * manual/memory.texi: Likewise.
33408 * manual/pattern.texi: Likewise.
33409 * manual/pipe.texi: Likewise.
33410 * manual/process.texi: Likewise.
33411 * manual/resource.texi: Likewise.
33412 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33414 * manual/setjmp.texi: Likewise.
33415 * manual/signal.texi: Likewise.
33416 * manual/startup.texi: Likewise.
33417 * manual/stdio.texi: Likewise.
33418 * manual/terminal.texi: Likewise.
33419 (ONLCR): Document as POSIX.
33420 (OXTABS): Document availability on GNU/Linux as XTABS.
33421 (ONOEOT): Document availability separately from other bits.
33422 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33423 * manual/time.texi: Likewise.
33424 * manual/users.texi: Likewise.
33425 * INSTALL: Regenerated.
33426 * sysdeps/gnu/errlist.c: Regenerated.
33428 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33429 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33430 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33432 * configure: Regenerated.
33434 2012-03-07 Joseph Myers <joseph@codesourcery.com>
33436 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33437 default includes instead of AC_HEADER_CHECK.
33438 * sysdeps/i386/configure: Regenerated.
33441 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33442 * math/s_cacoshf.c (__cacoshf): Likewise.
33443 * math/s_cacoshl.c (__cacoshl): Likewise.
33444 * math/s_casinh.c (__casinh): Set signs of result from argument.
33445 * math/s_casinhf.c (__casinhf): Likewise.
33446 * math/s_casinhl.c (__casinhl): Likewise.
33447 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33448 (casinh_test): Add more tests.
33449 * sysdeps/i386/fpu/libm-test-ulps: Update.
33450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33452 2012-03-07 Ulrich Drepper <drepper@gmail.com>
33454 * po/zh_TW.po: Update from translation team.
33456 * login/Makefile (distribute): Remove variable.
33457 * catgets/Makefile: Likewise.
33458 * mach/Makefile: Likewise.
33459 * malloc/Makefile: Likewise.
33460 * misc/Makefile: Likewise.
33461 * iconv/Makefile: Likewise.
33462 * nscd/Makefile: Likewise.
33463 * hurd/Makefile: Likewise.
33464 * manual/Makefile: Likewise.
33465 * locale/Makefile: Likewise.
33466 * intl/Makefile: Likewise.
33467 * conform/Makefile: Likewise.
33468 * nss/Makefile: Likewise.
33469 * time/Makefile: Likewise.
33470 * soft-fp/Makefile: Likewise.
33471 * dirent/Makefile: Likewise.
33472 * gmon/Makefile: Likewise.
33473 * po/Makefile: Likewise.
33474 * rt/Makefile: Likewise.
33475 * socket/Makefile: Likewise.
33476 * math/Makefile: Likewise.
33477 * signal/Makefile: Likewise.
33478 * debug/Makefile: Likewise.
33479 * elf/Makefile: Likewise.
33480 * timezone/Makefile: Likewise.
33481 * stdlib/Makefile: Likewise.
33482 * iconvdata/Makefile: Likewise.
33483 * sunrpc/Makefile: Likewise.
33484 * io/Makefile: Likewise.
33485 * argp/Makefile: Likewise.
33486 * inet/Makefile: Likewise.
33487 * hesiod/Makefile: Likewise.
33488 * grp/Makefile: Likewise.
33489 * csu/Makefile: Likewise.
33490 * wctype/Makefile: Likewise.
33491 * crypt/Makefile: Likewise.
33492 * libio/Makefile: Likewise.
33493 * string/Makefile: Likewise.
33494 * nis/Makefile: Likewise.
33495 * resolv/Makefile: Likewise.
33496 * stdio-common/Makefile: Likewise.
33497 * wcsmbs/Makefile: Likewise.
33498 * dlfcn/Makefile: Likewise.
33499 * posix/Makefile: Likewise.
33502 * timezone/Makefile: Don't install timezone files, just the programs
33505 2012-03-06 Ulrich Drepper <drepper@gmail.com>
33507 * nss/databases.def: Add missing gshadow entry.
33509 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33511 2012-03-06 Marek Polacek <polacek@redhat.com>
33514 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33515 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33516 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33517 * stdio-common/tst-long-dbl-fphex.c: New file.
33519 2012-03-06 David S. Miller <davem@davemloft.net>
33521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33522 (set_obp_int): New function.
33523 (get_obp_int): New function.
33524 (__get_clockfreq_via_dev_openprom): Likewise.
33525 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33526 Avoid unused variable warnings on 'val' and use builtin_expect.
33527 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33529 (INLINE_CLONE_SYSCALL): Likewise.
33531 2012-03-05 David S. Miller <davem@davemloft.net>
33533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33535 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33539 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33540 only for |x| >= 40.
33541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33543 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
33545 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33546 Replace gettimeofday with __vdso_gettimeofday.
33548 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33549 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33550 __vdso_clock_gettime and __vdso_getcpu.
33552 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33553 time with __vdso_time.
33555 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33557 * manual/lang.texi (size_t): Note types to which size_t may be
33558 equivalent with the GNU C Library, but do not describe when
33559 differences between them are significant.
33561 2012-03-05 Andreas Jaeger <aj@suse.de>
33563 * sysdeps/i386/fpu/libm-test-ulps: Update.
33565 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33568 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33569 (__ieee754_pow): Save and restore rounding mode and use
33570 round-to-nearest for main computations.
33571 * math/libm-test.inc (pow_test_tonearest): New function.
33572 (pow_test_towardzero): Likewise.
33573 (pow_test_downward): Likewise.
33574 (pow_test_upward): Likewise.
33575 (main): Call the new functions.
33576 * sysdeps/i386/fpu/libm-test-ulps: Update.
33577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33580 * math/libm-test.inc (cosh_test_tonearest): New function.
33581 (cosh_test_towardzero): Likewise.
33582 (cosh_test_downward): Likewise.
33583 (cosh_test_upward): Likewise.
33584 (sinh_test_tonearest): Likewise.
33585 (sinh_test_towardzero): Likewise.
33586 (sinh_test_downward): Likewise.
33587 (sinh_test_upward): Likewise.
33588 (main): Call the new functions.
33589 * sysdeps/i386/fpu/libm-test-ulps: Update.
33590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33592 2012-03-05 Tom de Vries <tom@codesourcery.com>
33594 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33595 default stack guard is set in last bytes.
33596 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33598 2012-03-05 Kees Cook <keescook@chromium.org>
33600 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33603 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33604 possibly allocate from heap instead of stack.
33605 * stdio-common/bug-vfprintf-nargs.c: New file.
33606 * stdio-common/Makefile (tests): Add nargs overflow test.
33608 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33612 2012-03-03 Marek Polacek <polacek@redhat.com>
33614 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33615 * math/math_private.h: Likewise.
33616 * stdlib/tst-strtod.c: Likewise.
33617 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33618 * sysdeps/x86_64/bits/atomic.h: Likewise.
33620 2012-03-02 David S. Miller <davem@davemloft.net>
33622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33626 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33627 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33628 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33629 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33631 2012-03-02 Roland McGrath <roland@hack.frob.com>
33634 * manual/examples/README: New file, says the example source files
33635 can be used under GPL>=2.
33636 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33637 line containing just "*/".
33638 * manual/examples/add.c: Add copyright header (GPL>=2).
33639 * manual/examples/argp-ex1.c: Likewise.
33640 * manual/examples/argp-ex2.c: Likewise.
33641 * manual/examples/argp-ex3.c: Likewise.
33642 * manual/examples/argp-ex4.c: Likewise.
33643 * manual/examples/atexit.c: Likewise.
33644 * manual/examples/db.c: Likewise.
33645 * manual/examples/dir.c: Likewise.
33646 * manual/examples/dir2.c: Likewise.
33647 * manual/examples/execinfo.c: Likewise.
33648 * manual/examples/filecli.c: Likewise.
33649 * manual/examples/filesrv.c: Likewise.
33650 * manual/examples/fmtmsgexpl.c: Likewise.
33651 * manual/examples/genpass.c: Likewise.
33652 * manual/examples/inetcli.c: Likewise.
33653 * manual/examples/inetsrv.c: Likewise.
33654 * manual/examples/isockad.c: Likewise.
33655 * manual/examples/longopt.c: Likewise.
33656 * manual/examples/memopen.c: Likewise.
33657 * manual/examples/memstrm.c: Likewise.
33658 * manual/examples/mkfsock.c: Likewise.
33659 * manual/examples/mkisock.c: Likewise.
33660 * manual/examples/mygetpass.c: Likewise.
33661 * manual/examples/pipe.c: Likewise.
33662 * manual/examples/popen.c: Likewise.
33663 * manual/examples/rprintf.c: Likewise.
33664 * manual/examples/search.c: Likewise.
33665 * manual/examples/select.c: Likewise.
33666 * manual/examples/setjmp.c: Likewise.
33667 * manual/examples/sigh1.c: Likewise.
33668 * manual/examples/sigusr.c: Likewise.
33669 * manual/examples/stpcpy.c: Likewise.
33670 * manual/examples/strdupa.c: Likewise.
33671 * manual/examples/strftim.c: Likewise.
33672 * manual/examples/strncat.c: Likewise.
33673 * manual/examples/subopt.c: Likewise.
33674 * manual/examples/swapcontext.c: Likewise.
33675 * manual/examples/termios.c: Likewise.
33676 * manual/examples/testopt.c: Likewise.
33677 * manual/examples/testpass.c: Likewise.
33678 * manual/examples/timeval_subtract.c: Likewise.
33681 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33683 * manual/timeval_subtract.c.texi: ... here, new file.
33685 2012-03-02 David S. Miller <davem@davemloft.net>
33687 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33689 2012-03-02 Joseph Myers <joseph@codesourcery.com>
33692 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33693 (__sin): Save and restore rounding mode and use round-to-nearest
33694 for all computations.
33695 (__cos): Save and restore rounding mode and use round-to-nearest
33696 for all computations.
33697 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33699 (tan): Save and restore rounding mode and use round-to-nearest for
33701 * math/libm-test.inc (cos_test_tonearest): New function.
33702 (cos_test_towardzero): Likewise.
33703 (cos_test_downward): Likewise.
33704 (cos_test_upward): Likewise.
33705 (sin_test_tonearest): Likewise.
33706 (sin_test_towardzero): Likewise.
33707 (sin_test_downward): Likewise.
33708 (sin_test_upward): Likewise.
33709 (tan_test_tonearest): Likewise.
33710 (tan_test_towardzero): Likewise.
33711 (tan_test_downward): Likewise.
33712 (tan_test_upward): Likewise.
33713 (main): Call the new functions.
33714 * sysdeps/i386/fpu/libm-test-ulps: Update.
33715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33718 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33719 small n, then large n, before computing and testing k+n.
33720 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33721 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33725 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33726 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33727 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33728 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33729 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33730 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33731 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33732 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33733 * math/libm-test.inc (scalbn_test): Add more tests.
33734 (scalbln_test): Likewise.
33736 * manual/filesys.texi (mode_t): Describe constraints on size and
33737 signedness, not exact equivalence to a particular type.
33739 (ino64_t): Likewise.
33741 (nlink_t): Likewise.
33742 (blkcnt_t): Likewise.
33743 (blkcnt64_t): Likewise.
33744 * manual/llio.texi (off_t): Likewise.
33747 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33748 (__ieee754_exp): Save and restore rounding mode and use
33749 round-to-nearest for all computations.
33750 * math/libm-test.inc (exp_test_tonearest): New function.
33751 (exp_test_towardzero): Likewise.
33752 (exp_test_downward): Likewise.
33753 (exp_test_upward): Likewise.
33754 (main): Call the new functions.
33755 * sysdeps/i386/fpu/libm-test-ulps: Update.
33756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33758 2012-03-01 Chris Demetriou <cgd@google.com>
33760 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33761 have predictable order.
33763 2012-03-01 David S. Miller <davem@davemloft.net>
33765 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33767 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33768 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33769 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33770 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33772 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33773 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33774 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33776 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33777 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33778 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33779 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33780 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33784 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33785 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33786 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33788 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33789 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33790 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33791 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33792 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33795 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33796 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33797 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33798 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33799 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33801 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33802 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33803 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33804 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33805 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33806 * sysdeps/sparc/elf/configure: Regenerated.
33808 2012-03-01 Joseph Myers <joseph@codesourcery.com>
33810 * configure.in (AS, LD): Require binutils 2.20 or later.
33811 * configure: Regenerated.
33812 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33813 as required minimum version.
33814 * INSTALL: Regenerated.
33818 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33819 before squaring exponent.
33820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33821 bottom long double and 27 bits of top long double before squaring
33823 * math/libm-test.inc (erfc_test): Add more tests.
33824 * sysdeps/i386/fpu/libm-test-ulps: Update.
33825 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33828 2012-03-01 Kai Tietz <ktietz@redhat.com>
33830 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33831 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33832 containing bit-fields.
33833 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33834 * soft-fp/single.h (_FP_UNION_S): Likewise.
33835 * soft-fp/double.h (_FP_UNION_D): Likewise.
33837 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33840 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33841 not include ../strcmp.S.
33842 [USE_AS_STRNCASECMP_L]: Likewise.
33843 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33844 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33845 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33846 (__strncasecmp_l_ia32): Define as alias to
33847 __strncasecmp_l_nonascii.
33850 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33851 * sysdeps/i386/fpu/libm-test-ulps: Update.
33852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33854 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33857 2012-02-29 Jeff Law <law@redhat.com>
33859 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33860 out of bounds read.
33862 2012-02-29 Marek Polacek <polacek@redhat.com>
33865 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33866 * elf/Makefile: Add rules to run tst-unused-dep.out.
33868 2012-02-28 David S. Miller <davem@davemloft.net>
33870 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33871 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33872 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33874 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33875 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33877 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33879 * math/libm-test.inc (llround_test): Move one test from
33880 lround_test. Use TEST_f_L in moved test.
33881 (lround_test): Move misplaced test to llround_test. Add testcase
33884 2012-02-28 Ulrich Drepper <drepper@gmail.com>
33886 * sysdeps/x86_64/fpu/e_expf.S: New file.
33887 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33889 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33892 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33893 of remain_len that may cause incomplete multi-byte character and
33895 * posix/bug-regex33.c: New file.
33896 * posix/Makefile (tests): Add bug-regex33.
33898 2012-02-28 Joseph Myers <joseph@codesourcery.com>
33900 * manual/macros.texi: New file.
33901 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33902 * manual/libc.texinfo: Include macros.texi.
33903 * manual/creatute.texi: Likewise.
33904 * manual/install.texi: Likewise.
33905 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33906 @glibcadj{} in references to the GNU C Library.
33907 * manual/charset.texi: Likewise.
33908 * manual/conf.texi: Likewise.
33909 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33910 when not using those macros.
33911 * manual/creature.texi: Likewise.
33912 * manual/crypt.texi: Likewise.
33913 * manual/errno.texi: Likewise.
33914 * manual/filesys.texi: Likewise.
33915 * manual/header.texi: Likewise.
33916 * manual/install.texi: Likewise.
33917 * manual/intro.texi: Likewise.
33918 * manual/io.texi: Likewise.
33919 * manual/job.texi: Likewise.
33920 * manual/lang.texi: Likewise.
33921 * manual/libc.texiinfo: Likewise.
33922 * manual/llio.texi: Likewise.
33923 * manual/locale.texi: Likewise.
33924 * manual/maint.texi: Likewise.
33925 * manual/math.texi: Likewise.
33926 * manual/memory.texi: Likewise.
33927 * manual/message.texi: Likewise.
33928 * manual/nss.texi: Likewise.
33929 * manual/pattern.texi: Likewise.
33930 * manual/process.texi: Likewise.
33931 * manual/resource.texi: Likewise.
33932 * manual/search.texi: Likewise.
33933 * manual/setjmp.texi: Likewise.
33934 * manual/signal.texi: Likewise.
33935 * manual/socket.texi: Likewise.
33936 * manual/startup.texi: Likewise.
33937 * manual/stdio.texi: Likewise.
33938 * manual/string.texi: Likewise.
33939 * manual/sysinfo.texi: Likewise.
33940 * manual/syslog.texi: Likewise.
33941 * manual/terminal.texi: Likewise.
33942 * manual/time.texi: Likewise.
33943 * manual/users.texi: Likewise.
33944 * INSTALL: Regenerated.
33945 * NOTES: Regenerated.
33946 * sysdeps/gnu/errlist.c: Regenerated.
33948 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33950 * include/dirent.h: Include <dirstream.h> before
33953 2012-02-28 David S. Miller <davem@davemloft.net>
33955 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33956 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33957 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33958 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33960 2012-02-27 David S. Miller <davem@davemloft.net>
33962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33964 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33965 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33968 frame pointer instead of stack pointer relative arg slot.
33969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33970 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33971 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33973 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33976 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33978 2012-02-27 David S. Miller <davem@davemloft.net>
33980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33984 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33985 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33986 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33987 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33989 2012-02-27 Joseph Myers <joseph@codesourcery.com>
33991 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33992 later. Allow versions 5-9.
33993 * configure: Regenerated.
33994 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33995 required minimum version and 4.6 as recommended version. Do not
33996 mention bugs in GCC 2.7 and 2.8.
33997 * INSTALL: Regenerated.
33999 2012-02-27 David S. Miller <davem@davemloft.net>
34001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34005 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34006 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34007 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34008 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34011 manipulate bits before adding and subtracting TWO112[sx].
34012 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34014 2012-02-27 Roland McGrath <roland@hack.frob.com>
34017 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34018 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34019 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34020 being in POSIX, because they are in 1003.1-2008.
34022 * rt/tst-aio.c: Include <fcntl.h>.
34023 * rt/tst-aio7.c: Likewise.
34024 * rt/tst-aio64.c: Likewise.
34026 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34028 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34030 * manual/install.texi (--with-headers): Describe headers as
34031 interface headers, not private headers.
34032 (Specific advice for GNU/Linux systems): Describe use of headers
34033 from "make headers_install", not private headers from older
34035 * INSTALL: Regenerated.
34036 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34038 * sysdeps/unix/sysv/linux/configure: Regenerated.
34040 * manual/llio.texi (fclean): Remove documentation.
34042 * manual/Makefile (libc-texi-generated): New variable. Include
34044 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34045 $(libc-texi-generated), not duplicated list of files.
34046 (version.texi, stamp-version): New rules.
34047 (realclean): Remove $(libc-texi-generated), not individual files
34048 from that list. Do not remove dir-add.texinfo.
34049 * manual/libc.texinfo: Comment out uses of edition numbers and
34050 references to printed manual. Remove last-updated dates.
34051 (EDITION): Comment out.
34053 (VERSION, UPDATED): Remove.
34054 (version.texi): Include.
34056 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34058 * sysdeps/posix/spawni.c: Include <signal.h>.
34059 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34060 * sysdeps/pthread/aio_fsync.c: Likewise.
34062 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34064 * conform/Makefile (tests): Run only when not cross-compiling and
34065 when fast-check is not defined.
34067 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34068 * conform/data/limits.h-data: Fixes for POSIX2008.
34069 * conform/run-conformtest.sh: Run all tests.
34070 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34072 * include/bits/dlfcn.h: Likewise.
34073 * include/langinfo.h: Likewise.
34074 * include/monetary.h: Likewise.
34075 * include/sys/poll.h: Likewise.
34077 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34079 * posix/spawn.h: Define __need_sigset_t.
34080 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34081 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34082 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34083 to get sigevent_t only.
34084 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34085 only for __USE_GNU.
34086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34087 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34088 process_vm_writev only for __USE_GNU.
34089 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34091 * conform/Makefile: For now ignore errors from run-conformtest.
34092 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34093 POSIX to avoid namespace pollution. Don't prepend headers.
34094 * conform/data/aio.h-data: Fixes for POSIX testing.
34095 * conform/data/fcntl.h-data: Likewise.
34096 * conform/data/glob.h-data: Likewise.
34097 * conform/data/grp.h-data: Likewise.
34098 * conform/data/pthread.h-data: Likewise.
34099 * conform/data/pwd.h-data: Likewise.
34100 * conform/data/signal.h-data: Likewise.
34101 * conform/data/spawn.h-data: Likewise.
34102 * conform/data/stdio.h-data: Likewise.
34103 * conform/data/stdlib.h-data: Likewise.
34104 * conform/data/stropts.h-data: Likewise.
34105 * conform/data/sys/mman.h-data: Likewise.
34106 * conform/data/sys/stat.h-data: Likewise.
34107 * conform/data/sys/types.h-data: Likewise.
34108 * conform/data/sys/wait.h-data: Likewise.
34109 * conform/data/time.h-data: Likewise.
34110 * conform/data/unistd.h-data: Likewise.
34111 * conform/data/utime.h-data: Likewise.
34113 * io/sys/stat.h: fchmod was always in POSIX.
34114 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34115 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34116 * rt/aio.h: Define __need_timespec before including <time.h>.
34117 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34118 struct. Add forward declaration of pthread_attr_t and use it in
34120 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34121 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34122 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34123 always remove CLK_TCK definition.
34125 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34127 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34129 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34131 * conform/run-conformtest.sh: New file.
34132 * conform/Makefile: Run run-conformtest for tests.
34133 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34136 * conform/data/uchar.h-data: New file.
34137 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34138 * conform/data/arpa/inet.h-data: Likewise.
34139 * conform/data/assert.h-data: Likewise.
34140 * conform/data/complex.h-data: Likewise.
34141 * conform/data/cpio.h-data: Likewise.
34142 * conform/data/ctype.h-data: Likewise.
34143 * conform/data/dirent.h-data: Likewise.
34144 * conform/data/dlfcn.h-data: Likewise.
34145 * conform/data/errno.h-data: Likewise.
34146 * conform/data/fcntl.h-data: Likewise.
34147 * conform/data/float.h-data: Likewise.
34148 * conform/data/fmtmsg.h-data: Likewise.
34149 * conform/data/fnmatch.h-data: Likewise.
34150 * conform/data/ftw.h-data: Likewise.
34151 * conform/data/glob.h-data: Likewise.
34152 * conform/data/grp.h-data: Likewise.
34153 * conform/data/iconv.h-data: Likewise.
34154 * conform/data/inttypes.h-data: Likewise.
34155 * conform/data/langinfo.h-data: Likewise.
34156 * conform/data/libgen.h-data: Likewise.
34157 * conform/data/limits.h-data: Likewise.
34158 * conform/data/locale.h-data: Likewise.
34159 * conform/data/math.h-data: Likewise.
34160 * conform/data/monetary.h-data: Likewise.
34161 * conform/data/mqueue.h-data: Likewise.
34162 * conform/data/ndbm.h-data: Likewise.
34163 * conform/data/net/if.h-data: Likewise.
34164 * conform/data/netdb.h-data: Likewise.
34165 * conform/data/netinet/in.h-data: Likewise.
34166 * conform/data/nl_types.h-data: Likewise.
34167 * conform/data/poll.h-data: Likewise.
34168 * conform/data/pthread.h-data: Likewise.
34169 * conform/data/pwd.h-data: Likewise.
34170 * conform/data/regex.h-data: Likewise.
34171 * conform/data/sched.h-data: Likewise.
34172 * conform/data/search.h-data: Likewise.
34173 * conform/data/semaphore.h-data: Likewise.
34174 * conform/data/setjmp.h-data: Likewise.
34175 * conform/data/signal.h-data: Likewise.
34176 * conform/data/spawn.h-data: Likewise.
34177 * conform/data/stdarg.h-data: Likewise.
34178 * conform/data/stdio.h-data: Likewise.
34179 * conform/data/stdlib.h-data: Likewise.
34180 * conform/data/string.h-data: Likewise.
34181 * conform/data/strings.h-data: Likewise.
34182 * conform/data/stropts.h-data: Likewise.
34183 * conform/data/sys/ipc.h-data: Likewise.
34184 * conform/data/sys/mman.h-data: Likewise.
34185 * conform/data/sys/msg.h-data: Likewise.
34186 * conform/data/sys/resource.h-data: Likewise.
34187 * conform/data/sys/select.h-data: Likewise.
34188 * conform/data/sys/sem.h-data: Likewise.
34189 * conform/data/sys/shm.h-data: Likewise.
34190 * conform/data/sys/socket.h-data: Likewise.
34191 * conform/data/sys/stat.h-data: Likewise.
34192 * conform/data/sys/statvfs.h-data: Likewise.
34193 * conform/data/sys/time.h-data: Likewise.
34194 * conform/data/sys/timeb.h-data: Likewise.
34195 * conform/data/sys/times.h-data: Likewise.
34196 * conform/data/sys/types.h-data: Likewise.
34197 * conform/data/sys/uio.h-data: Likewise.
34198 * conform/data/sys/un.h-data: Likewise.
34199 * conform/data/sys/utsname.h-data: Likewise.
34200 * conform/data/sys/wait.h-data: Likewise.
34201 * conform/data/syslog.h-data: Likewise.
34202 * conform/data/tar.h-data: Likewise.
34203 * conform/data/termios.h-data: Likewise.
34204 * conform/data/utime.h-data: Likewise.
34205 * conform/data/utmpx.h-data: Likewise.
34206 * conform/data/varargs.h-data: Likewise.
34207 * conform/data/wchar.h-data: Likewise.
34208 * conform/data/wctype.h-data: Likewise.
34209 * conform/data/wordexp.h-data: Likewise.
34211 * include/stropts.h: New file.
34212 * include/uchar.h: New file.
34213 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34214 * include/assert.h: Likewise.
34215 * include/ctype.h: Likewise.
34216 * include/dirent.h: Likewise.
34217 * include/dlfcn.h: Likewise.
34218 * include/fcntl.h: Likewise.
34219 * include/fnmatch.h: Likewise.
34220 * include/glob.h: Likewise.
34221 * include/grp.h: Likewise.
34222 * include/libio.h: Likewise.
34223 * include/locale.h: Likewise.
34224 * include/math.h: Likewise.
34225 * include/net/if.h: Likewise.
34226 * include/netdb.h: Likewise.
34227 * include/netinet/in.h: Likewise.
34228 * include/pthread.h: Likewise.
34229 * include/pwd.h: Likewise.
34230 * include/regex.h: Likewise.
34231 * include/sched.h: Likewise.
34232 * include/search.h: Likewise.
34233 * include/setjmp.h: Likewise.
34234 * include/signal.h: Likewise.
34235 * include/stdio.h: Likewise.
34236 * include/stdlib.h: Likewise.
34237 * include/string.h: Likewise.
34238 * include/sys/cdefs.h: Likewise.
34239 * include/sys/mman.h: Likewise.
34240 * include/sys/msg.h: Likewise.
34241 * include/sys/resource.h: Likewise.
34242 * include/sys/select.h: Likewise.
34243 * include/sys/socket.h: Likewise.
34244 * include/sys/stat.h: Likewise.
34245 * include/sys/statvfs.h: Likewise.
34246 * include/sys/time.h: Likewise.
34247 * include/sys/times.h: Likewise.
34248 * include/sys/uio.h: Likewise.
34249 * include/sys/utsname.h: Likewise.
34250 * include/sys/wait.h: Likewise.
34251 * include/termios.h: Likewise.
34252 * include/time.h: Likewise.
34253 * include/ulimit.h: Likewise.
34254 * include/unistd.h: Likewise.
34255 * include/utime.h: Likewise.
34256 * include/wchar.h: Likewise.
34257 * include/wctype.h: Likewise.
34258 * include/wordexp.h: Likewise.
34260 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34262 * time/time.h: TIME_UTC must be a macro.
34263 Make timespec_get available for ISO C11 only as well.
34265 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34267 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34268 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34270 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34272 * configure.in: Use -o not -a in test for unsupported multi-arch.
34274 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34276 * manual/texinfo.tex: Update to version 2012-01-19.16.
34278 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34280 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34282 2012-02-24 Roland McGrath <roland@hack.frob.com>
34285 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34286 * manual/fdl-1.3.texi: New file.
34287 * manual/fdl-1.1.texi: File removed.
34290 * manual/libc.texinfo (FDL_VERSION): New @set.
34291 Use it for mention of FDL in cover text.
34292 (Documentation License): Use it in @include file name.
34294 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34295 Roland McGrath <roland@hack.frob.com>
34298 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34299 not LONG_LONG_MAX and LONG_LONG_MIN.
34300 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34301 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34303 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34305 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34309 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34310 manipulate bits before adding and subtracting TWO23[sx].
34311 * math/libm-test.inc (nearbyint_test): Add more tests.
34313 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34316 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34317 bits before adding and subtracting TWO23[sx].
34318 * math/libm-test.inc (rint_test): Add more tests.
34319 (rint_test_tonearest): Likewise.
34320 (rint_test_towardzero): Likewise.
34321 (rint_test_downward): Likewise.
34322 (rint_test_upward: Likewise.
34324 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34327 * include/stdc-predef.h: New file. Extracted from features.h.
34328 * include/features.h: Include stdc-predef.h.
34329 * Makefile (headers): Add stdc-predef.h.
34330 * CONFORMANCE (Compiler limitations): Update.
34332 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34334 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34336 2012-02-21 David S. Miller <davem@davemloft.net>
34338 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34339 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34341 2012-02-20 David S. Miller <davem@davemloft.net>
34343 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34344 using a normal save/restore sequence, rather than allocating a
34345 dummy stack frame just to store a frame pointer and restore.
34346 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34348 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34350 * manual/install.texi: Fix stray word in line-wrapped comment.
34352 2012-02-20 David S. Miller <davem@davemloft.net>
34354 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34355 both binutils and gcc support GOTDATA.
34357 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34358 "rd %pc" in the PIC register setup sequences.
34360 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34361 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34362 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34363 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34364 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34366 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34367 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34368 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34369 (SYSCALL_ERROR_HANDLER): Likewise.
34370 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34371 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34373 (SYSCALL_ERROR_HANDLER): Likewise.
34375 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34376 (HAVE_GCC_GOTDATA): New.
34377 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34378 relocation support in both binutils and gcc.
34379 * sysdeps/sparc/elf/configure: Regenerate.
34381 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34382 * sysdeps/sparc/sparc32/elf/configure: Delete.
34383 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34384 * sysdeps/sparc/sparc64/elf/configure: Delete.
34385 * sysdeps/sparc/elf/configure.in: New file.
34386 * sysdeps/sparc/elf/configure: Generate.
34388 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34389 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34390 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34391 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34392 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34394 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34396 * manual/install.texi: Do not mention specific glibc version
34398 * manual/libc.texinfo (VERSION, UPDATED): Update.
34399 (@copying): Use @copyright{} and range of years.
34401 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34404 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34405 [crti.S not in sysdirs] (generated): Do not append.
34406 [crti.S not in sysdirs] (omit-deps): Likewise.
34407 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34408 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34409 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34410 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34411 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34413 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34414 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34415 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34416 * csu/defs.awk: Remove file.
34417 * sysdeps/generic/initfini.c: Likewise.
34418 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34420 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34423 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34425 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34426 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34427 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34428 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34429 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34430 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34432 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34433 (__EPOLL_PACKED): Define to empty if not defined by
34435 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34439 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34441 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34442 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34443 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34444 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34446 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34450 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34452 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34454 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34455 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34456 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34459 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34461 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34462 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34464 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34466 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34467 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34469 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34471 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34474 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34476 * math/w_acos.c: Use non-signaling floating-point comparisons.
34477 * math/w_acosf.c: Likewise.
34478 * math/w_acosh.c: Likewise.
34479 * math/w_acoshf.c: Likewise.
34480 * math/w_acoshl.c: Likewise.
34481 * math/w_acosl.c: Likewise.
34482 * math/w_asin.c: Likewise.
34483 * math/w_asinf.c: Likewise.
34484 * math/w_asinl.c: Likewise.
34485 * math/w_atanh.c: Likewise.
34486 * math/w_atanhf.c: Likewise.
34487 * math/w_atanhl.c: Likewise.
34488 * math/w_exp2.c: Likewise.
34489 * math/w_exp2f.c: Likewise.
34490 * math/w_exp2l.c: Likewise.
34491 * math/w_j0.c: Likewise.
34492 * math/w_j0f.c: Likewise.
34493 * math/w_j0l.c: Likewise.
34494 * math/w_j1.c: Likewise.
34495 * math/w_j1f.c: Likewise.
34496 * math/w_j1l.c: Likewise.
34497 * math/w_jn.c: Likewise.
34498 * math/w_jnf.c: Likewise.
34499 * math/w_log.c: Likewise.
34500 * math/w_log10.c: Likewise.
34501 * math/w_log10f.c: Likewise.
34502 * math/w_log10l.c: Likewise.
34503 * math/w_log2.c: Likewise.
34504 * math/w_log2f.c: Likewise.
34505 * math/w_log2l.c: Likewise.
34506 * math/w_logf.c: Likewise.
34507 * math/w_logl.c: Likewise.
34508 * math/w_sqrt.c: Likewise.
34509 * math/w_sqrtf.c: Likewise.
34510 * math/w_sqrtl.c: Likewise.
34511 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34512 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34513 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34514 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34515 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34517 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34520 * manual/string.texi (strnlen): Use correct parameter name in
34521 equivalent expression.
34523 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34526 * manual/users.texi (seteuid): Consistently use neweuid for
34529 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34532 * manual/nss.texi (Services in the NSS configuration): Correct
34533 list of services in example configuration file.
34535 2012-02-19 Nick Bowler <nbowler@draconx.ca>
34538 * manual/arith.texi: Remove statements about negative zero
34539 behaving identically to zero.
34541 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34544 * manual/install.texi: Do not document upgrading from libc5.
34546 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34549 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34551 2012-02-18 David S. Miller <davem@davemloft.net>
34553 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34554 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34555 %o7 across the call.
34556 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34559 SETUP_PIC_REG_LEAF.
34560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34561 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34562 * sysdeps/sparc/crtn.S: Likewise.
34564 2012-02-17 Ulrich Drepper <drepper@gmail.com>
34566 * aout/Makefile: Remove.
34568 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34571 * manual/examples/argp-ex1.c (main): Format definition in GNU
34573 * manual/examples/argp-ex2.c (main): Likewise.
34574 * manual/examples/argp-ex3.c (main): Likewise.
34575 * manual/examples/argp-ex4.c (main): Likewise.
34576 * manual/examples/longopt.c (main): Use new-style prototype
34578 * manual/examples/strncat.c (main): Specify return type and use
34579 (void) for arguments.
34580 * manual/examples/subopt.c (main): Use char **argv argument.
34582 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34585 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34588 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34591 * manual/string.texi (strchr): Change when strchrnul is
34594 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34597 * manual/locale.texi (setlocale): Document LOCPATH.
34599 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34602 * manual/process.texi (execle): Move @dots{} before last argument.
34604 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
34607 * manual/charset.texi (Generic Charset Conversion): Fix typo
34608 (LC_TYPE -> LC_CTYPE).
34610 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34613 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34614 (scalbnf): Likewise.
34615 (scalbnl): Likewise.
34616 (scalbln): Likewise.
34617 (scalblnf): Likewise.
34618 (scalblnl): Likewise.
34619 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34620 (vwarnx): Likewise.
34623 * manual/filesys.texi (telldir): Use braces around return type.
34624 * manual/llio.texi (mmap): Add space after comma.
34625 (mmap64): Likewise.
34626 * manual/math.texi (jn): Use @var{} on parameter names.
34632 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34634 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34636 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34637 (sched_get_priority_max): Likewise.
34638 * manual/signal.texi (sigvec): Add space after comma.
34639 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34641 (if_indextoname): Likewise.
34642 (if_freenameindex): Likewise.
34643 (sendto): Use ',' instead of '.' in prototype.
34644 * manual/startup.texi (syscall): Use @dots{} instead of literal
34646 * manual/stdio.texi (__fpending): Separate initial words of
34647 paragraph from @deftypefun line.
34648 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34650 (vsyslog): Use @var{} on parameter names.
34651 * manual/terminal.texi (stty): Use @var{} on parameter names.
34652 * manual/users.texi (getutmp): Use @var{} on parameter names.
34653 (getutmpx): Likewise.
34655 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34658 * manual/stdio.texi (fopen): Fix typos in description of
34661 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34664 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34665 get clock_id definition.
34667 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
34670 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34671 (madvise): Cast every argument to void on its own.
34673 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34676 * manual/startup.texi (Exit Status): Fix typo.
34678 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34681 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34682 * manual/examples/argp-ex2.c: Likewise.
34683 * manual/examples/argp-ex3.c: Likewise.
34685 2012-02-16 Richard Henderson <rth@redhat.com>
34687 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34688 * sysdeps/s390/s390-32/initfini.c: Remove.
34689 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34690 * sysdeps/s390/s390-64/initfini.c: Remove.
34692 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34694 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34695 compiler output for sysdeps/generic/initfini.c.
34696 * sysdeps/sh/elf/initfini.c: Remove file.
34698 2012-02-16 David S. Miller <davem@davemloft.net>
34701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34703 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34704 * sysdeps/sparc/crti.S: New file.
34705 * sysdeps/sparc/crtn.S: New file.
34706 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34707 * sysdeps/sparc/sparc64/Makefile: Likewise.
34709 2012-02-15 Mike Frysinger <vapier@gentoo.org>
34712 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34714 2012-02-15 Roland McGrath <roland@hack.frob.com>
34717 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34719 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34720 (write, read, close): Likewise.
34721 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34723 2012-02-15 Joseph Myers <joseph@codesourcery.com>
34725 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34726 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34727 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34728 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34730 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34734 2012-02-14 Marek Polacek <polacek@redhat.com>
34736 * sysdeps/x86_64/crti.S: New file.
34737 * sysdeps/x86_64/crtn.S: New file.
34738 * sysdeps/x86_64/elf/initfini.c: Remove file.
34740 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34742 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34743 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34744 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34745 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34747 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34751 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34753 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34754 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34755 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34756 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34758 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34762 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34764 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34765 __feraiseexcept instead of feraiseexcept.
34767 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34768 nanosleep invocations.
34769 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34770 strings, and add error checking for a nanosleep invocations.
34772 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34774 Replace FSF snail mail address with URLs, as per GNU coding standards.
34775 Most of the snail mail addresses were wrong anyway, and omitting
34776 them makes the source code easier to maintain. Almost all of the
34777 changes are to license notices and to locale LC_IDENTIFICATION
34778 addresses, except for this one:
34779 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34780 not its snail mail address.
34782 2012-02-09 Richard Henderson <rth@twiddle.net>
34784 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34785 of kernel-features.h.
34787 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34789 2012-02-08 Marek Polacek <polacek@redhat.com>
34791 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34792 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34793 * sysdeps/gnu/_G_config.h: Likewise.
34794 * sysdeps/generic/_G_config.h: Likewise.
34796 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34798 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34802 * sysdeps/powerpc/powerpc32/crti.S: New file.
34803 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34804 * sysdeps/powerpc/powerpc64/crti.S: New file.
34805 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34807 * Makeconfig (have-initfini): Don't set.
34808 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34809 * configure.in (nopic_initfini): Don't substitute.
34810 * config.h.in (HAVE_INITFINI): Don't #undef.
34811 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34812 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34814 2012-02-08 Joseph Myers <joseph@codesourcery.com>
34816 Support crti.S and crtn.S provided directly by architectures.
34817 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34818 [crti.S in sysdirs] (omit-deps): Likewise.
34819 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34820 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34821 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34822 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34823 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34824 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34825 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34826 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34827 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34828 compiler output for sysdeps/generic/initfini.c.
34829 * sysdeps/i386/elf/Makefile: Remove file.
34830 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34832 2012-02-07 Marek Polacek <polacek@redhat.com>
34834 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34835 * sysdeps/gnu/_G_config.h: Likewise.
34836 * sysdeps/mach/hurd/_G_config.h: Likewise.
34838 2012-02-07 Marek Polacek <polacek@redhat.com>
34840 * math/Makefile (tests): Add tst-CMPLX2.
34841 * math/tst-CMPLX2.c: New file.
34843 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34845 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34847 * math/libm-test.inc (jn_test): Add missing L suffix.
34849 2012-02-06 Marek Polacek <polacek@redhat.com>
34851 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34852 * sysdeps/i386/fpu/e_powf.S: Likewise.
34853 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34854 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34855 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34856 * sysdeps/i386/fpu/e_pow.S: Likewise.
34857 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34859 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34860 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34861 * sysdeps/i386/fpu/e_log2.S: Likewise.
34862 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34863 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34864 * sysdeps/i386/fpu/e_powl.S: Likewise.
34865 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34866 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34867 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34868 * sysdeps/i386/fpu/e_logl.S: Likewise.
34869 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34870 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34871 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34872 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34873 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34874 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34875 * sysdeps/i386/fpu/e_log.S: Likewise.
34876 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34877 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34878 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34879 * sysdeps/i386/fpu/e_logf.S: Likewise.
34880 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34881 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34882 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34883 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34884 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34885 * sysdeps/i386/fpu/e_log10.S: Likewise.
34886 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34887 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34888 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34889 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34890 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34891 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34892 * sysdeps/i386/asm-syntax.h: Likewise.
34893 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34894 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34895 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34896 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34897 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34898 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34899 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34900 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34901 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34902 * sysdeps/powerpc/sysdep.h: Likewise.
34903 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34904 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34906 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34909 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34911 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34913 * sysdeps/i386/sysdep.h: Include <features.h>.
34914 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34917 2012-02-05 Joseph Myers <joseph@codesourcery.com>
34919 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34921 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34924 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34926 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34927 (SETUP_PIC_REG): Use GET_PC_THUNK.
34928 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34931 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34933 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34934 for non-PIC compilation.
34935 (SETUP_PIC_REG): Add .p2align directive.
34936 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34937 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34938 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34939 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34940 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34941 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34942 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34943 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34944 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34945 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34946 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34947 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34948 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34949 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34950 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34951 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34952 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34953 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34954 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34955 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34956 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34957 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34958 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34959 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34960 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34961 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34962 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34964 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34965 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34966 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34968 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34969 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34970 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34971 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34972 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34973 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34974 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34975 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34976 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34978 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34980 * math/tst-CMPLX.c: Include <stdio.h>.
34982 2012-01-31 Joseph Myers <joseph@codesourcery.com>
34984 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34986 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34987 * sysdeps/sparc/bits/mathdef.h: Likewise.
34989 2012-01-31 Marek Polacek <polacek@redhat.com>
34991 * libio/libio.h: Don't define _PARAMS.
34992 * locale/programs/config.h: Don't define PARAMS.
34993 * stdlib/strtol_l.c: Likewise.
34994 (__strtol_l): Remove PARAMS from the prototype.
34996 2012-01-31 Ulrich Drepper <drepper@gmail.com>
34998 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34999 names. Just use the correct names. Remove unnecessary wrapper
35001 * malloc/arena.c: Likewise.
35002 * malloc/hooks.c: Likewise.
35004 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35005 ARENA_TEST says not to. Simplify test for creation of a new arena.
35006 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35008 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35010 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35012 (update_get_addr): New function.
35013 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35014 GET_ADDR_MODULE parameter.
35016 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35018 * crypt/cert.c: Remove __STDC__ conditionals.
35019 * crypt/crypt-entry.c: Likewise.
35020 * crypt/crypt_util.c: Likewise.
35021 * libio/filedoalloc.c: Likewise.
35022 * libio/fileops.c: Likewise.
35023 * libio/genops.c: Likewise.
35024 * libio/iofclose.c: Likewise.
35025 * libio/iofdopen.c: Likewise.
35026 * libio/iofopen.c: Likewise.
35027 * libio/iofopen64.c: Likewise.
35028 * libio/iogetdelim.c: Likewise.
35029 * libio/iopopen.c: Likewise.
35030 * libio/obprintf.c: Likewise.
35031 * libio/oldfileops.c: Likewise.
35032 * libio/oldiofclose.c: Likewise.
35033 * libio/oldiofdopen.c: Likewise.
35034 * libio/oldiofopen.c: Likewise.
35035 * libio/oldiopopen.c: Likewise.
35036 * libio/wfiledoalloc.c: Likewise.
35037 * libio/wgenops.c: Likewise.
35038 * locale/programs/xmalloc.c: Likewise.
35039 * misc/syslog.c: Likewise.
35040 * stdio-common/xbug.c: Likewise.
35041 * string/memchr.c: Likewise.
35042 * string/memcmp.c: Likewise.
35043 * string/memrchr.c: Likewise.
35044 * string/rawmemchr.c: Likewise.
35045 * sysdeps/posix/getcwd.c: Likewise.
35046 * time/strftime_l.c: Likewise.
35048 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35050 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35051 * config.make.in (config-cflags-sse2avx): Define.
35052 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35055 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35057 * scripts/config.guess: Update from upstream config git repository.
35058 * scripts/config.sub: Likewise.
35060 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35062 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35064 (R_TILEPRO_*, R_TILEGX_*): New macros.
35066 * scripts/firstversions.awk: Fix bug in version range handling.
35068 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35070 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35072 * include/sys/epoll.h: New file.
35073 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35076 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35078 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35079 Avoid unnecessary __WORDSIZE == 64 test.
35080 (fmaxf): Use VEX format if possible.
35085 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35086 * math/math_private.h: Remove libc_fegetround* and
35088 * sysdeps/i386/configure.in: Check for -msse2avx.
35089 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35090 also if SSE2AVX is defined.
35091 Remove libc_fegetround* and libc_fesetround*.
35092 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35093 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35096 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35097 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35098 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35099 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35100 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35102 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35104 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35106 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35110 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35113 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35115 * Makeconfig (libm): Define.
35116 * elf/Makefile: Add rules to build and run tst-relsort1.
35117 * elf/tst-relsort1.c: New file.
35118 * elf/tst-relsort1mod1.c: New file.
35119 * elf/tst-relsort1mod2.c: New file.
35121 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35123 * math/s_ldexp.c: Remove __STDC__ conditionals.
35124 * math/s_ldexpf.c: Likewise.
35125 * math/s_ldexpl.c: Likewise.
35126 * math/s_nextafter.c: Likewise.
35127 * math/s_nexttowardf.c: Likewise.
35128 * math/s_significand.c: Likewise.
35129 * math/s_significandf.c: Likewise.
35130 * math/s_significandl.c: Likewise.
35131 * math/w_jnl.c: Likewise.
35132 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35133 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35134 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35135 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35136 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35137 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35138 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35139 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35140 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35141 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35142 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35143 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35144 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35146 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35147 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35148 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35149 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35151 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35152 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35153 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35154 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35156 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35157 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35158 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35159 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35160 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35161 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35162 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35163 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35164 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35165 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35166 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35167 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35168 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35169 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35170 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35171 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35172 * sysdeps/ieee754/k_standard.c: Likewise.
35173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35177 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35182 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35187 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35216 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35220 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35221 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35222 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35224 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35226 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35227 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35228 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35229 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35230 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35231 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35232 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35233 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35234 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35235 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35236 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35237 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35238 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35239 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35240 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35241 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35242 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35243 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35244 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35245 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35246 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35247 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35248 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35249 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35250 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35251 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35252 * sysdeps/ieee754/s_matherr.c: Likewise.
35253 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35254 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35258 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35260 * crypt/md5.h: Remove __STDC__ conditionals.
35261 * libio/libioP.h: Likewise.
35262 * locale/programs/config.h: Likewise.
35263 * sysdeps/generic/sysdep.h: Likewise.
35264 * sysdeps/i386/asm-syntax.h: Likewise.
35265 * sysdeps/s390/asm-syntax.h: Likewise.
35266 * sysdeps/unix/sysdep.h: Likewise.
35267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35270 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35272 * libio/libio.h: Remove __STDC__ conditionals.
35273 * malloc/obstack.h: Likewise.
35274 * math/complex.h: Likewise.
35275 * math/math.h: Likewise.
35276 * sysdeps/generic/_G_config.h: Likewise.
35277 * sysdeps/gnu/_G_config.h: Likewise.
35278 * sysdeps/mach/hurd/_G_config.h: Likewise.
35279 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35280 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35281 * sysdeps/sparc/bits/mathdef.h: Likewise.
35283 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35286 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35287 Clean up HAS_* macros.
35288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35289 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35291 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35293 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35294 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35295 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35296 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35297 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35299 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35301 * elf/tst-unique3.cc (gets): Remove declaration.
35302 * elf/tst-unique3lib.cc (gets): Likewise.
35303 * elf/tst-unique3lib2.cc (gets): Likewise.
35304 * elf/tst-unique4.cc (gets): Likewise.
35306 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35308 * include/stdio.h: Add C++ protection. Add gets declarations and
35310 * debug/tst-chk1.c: Don't declare gets here.
35311 * stdio-common/tst-gets.c: Likewise.
35313 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35315 * posix/glob: Remove directory.
35317 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35319 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35321 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35323 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35324 of the non-standard EPFNOSUPPORT.
35326 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35328 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35329 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35330 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35332 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35334 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35336 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35338 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35340 * nscd/grpcache.c (cache_addgr): Likewise.
35341 * nscd/hstcache.c (cache_addhst): Likewise.
35342 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35343 * nscd/pwdcache.c (cache_addpw): Likewise.
35344 * nscd/servicescache.c (cache_addserv): Likewise.
35346 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35348 * malloc/malloc.c: Various cleanups.
35349 * malloc/hooks.c: Likewise.
35351 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35352 * stdlib/bug-fmtmsg1.c: New file.
35354 * stdlib/fmtmsg.c (init): Add missing unlock.
35355 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35357 2012-01-12 Marek Polacek <polacek@redhat.com>
35359 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35362 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35364 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35365 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35366 macro to ensure uniqueness of label name.
35367 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35368 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35370 2012-01-11 Ulrich Drepper <drepper@gmail.com>
35372 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35374 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35375 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35376 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35377 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35379 2012-01-10 Ulrich Drepper <drepper@gmail.com>
35381 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35383 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35384 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35385 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35387 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35389 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35390 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35391 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35392 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35394 * math/bits/math-finite.h: Add ldexp support.
35396 2012-01-10 Marek Polacek <polacek@redhat.com>
35398 * locale/programs/localedef.h (show_archive_content): Add noreturn
35401 2012-01-09 Ulrich Drepper <drepper@gmail.com>
35403 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35405 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35407 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35409 * io/Makefile (headers): Add bits/poll2.h.
35411 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35414 typo #include statement.
35416 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35418 * include/sys/cdefs.h: Define __attribute_alloc_size.
35419 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35420 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35421 * elf/pldd.c: Likewise.
35422 * iconv/iconv_charmap.c: Likewise.
35423 * iconv/iconvconfig.c: Likewise.
35424 * iconv/strtab.c: Likewise.
35425 * locale/programs/locale.c: Likewise.
35426 * locale/programs/localedef.h: Likewise.
35427 * locale/programs/simple-hash.c: Likewise.
35428 * nscd/nscd.h: Likewise.
35429 * nss/makedb.c: Likewise.
35430 * sysdeps/generic/ldconfig.h: Likewise.
35431 * locale/programs/localedef.c: Remove xmalloc prototype.
35432 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35434 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35436 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35439 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35441 * math/Makefile (tests): Add tst-CMPLX.
35442 * math/tst-CMPLX.c: New file.
35444 * math/complex.h (CMPLXL): Fix typo.
35446 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35447 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35449 * debug/tst-chk1.c: Add poll and ppoll tests.
35450 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35451 * include/sys/poll.h: Add hidden proto for ppoll.
35452 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35453 * sysdeps/mach/hurd/ppoll.c: Likewise.
35454 * io/ppoll.c: Likewise.
35455 * debug/poll_chk.c: New file.
35456 * debug/ppoll_chk.c: New file.
35457 * include/bits/poll2.h: New file.
35458 * io/bits/poll2.h: New file.
35461 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35463 * configure.in: static is always set to yes. Remove.
35464 * config.make.in: Don't set build-static.
35465 * Makeconfig: Remove use of build-static.
35466 * dlfcn/Makefile: Likewise.
35467 * elf/Makefile: Likewise.
35468 * math/Makefile: Likewise.
35469 * misc/Makefile: Likewise.
35470 * nptl/Makefile: Likewise.
35471 * sysdeps/mach/hurd/Makefile: Likewise.
35473 * configure.in: PWD_P is not used anymore.
35474 * config.make.in: Remove PWD_P entry.
35476 * configure.in: Remove last remnants of RANLIB.
35477 No need to check for signed size_t anymore.
35478 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35480 Remove __builtin_expect test because we require at least gcc 3.4.
35481 * aclocal.m4: Likewise.
35483 * wcsmbs/mbrtoc16.c: Implement using towc function.
35484 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35485 * wcsmbs/wcsmbsload.c: Likewise.
35486 * iconv/gconv_simple.c: Likewise.
35487 * iconv/gconv_int.h: Likewise.
35488 * iconv/gconv_builtin.h: Likewise.
35489 * iconv/iconv_prog.c: Remove CHAR16 handling.
35491 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35493 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35495 * configure.in: Remove --with-elf and --enable-bounded options.
35496 Dont set base_machine for ia64. More non-ELF conditions removed.
35497 Remove testing and setting of leading underscore information.
35498 * config.make.in (build-bounded): Set to no.
35499 * config.h.in: Remove NO_UNDERSCORES entry.
35500 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35502 * csu/start.c: Remove !NO_UNDERSCORE code.
35503 * locale/localeinfo.h: Likewise.
35504 * sysdeps/generic/machine-gmon.h: Likewise.
35505 * sysdeps/generic/sysdep.h: Likewise.
35506 * sysdeps/i386/sysdep.h: Likewise.
35507 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35508 * sysdeps/mach/sysdep.h: Likewise.
35509 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35510 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35511 * sysdeps/sh/sysdep.h: Likewise.
35512 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35513 * sysdeps/unix/i386/sysdep.S: Likewise.
35514 * sysdeps/unix/sparc/start.c: Likewise.
35515 * sysdeps/unix/sparc/sysdep.S: Likewise.
35516 * sysdeps/unix/sparc/sysdep.h: Likewise.
35517 * sysdeps/unix/start.c: Likewise.
35518 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35519 * sysdeps/x86_64/sysdep.h: Likewise.
35521 2012-01-07 Ulrich Drepper <drepper@gmail.com>
35524 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35526 * argp/argp-fmtstream.h: Use const instead __const.
35527 * argp/argp.h: Likewise.
35528 * assert/assert.h: Likewise.
35529 * bits/fenv.h: Likewise.
35530 * bits/sched.h: Likewise.
35531 * bits/sigset.h: Likewise.
35532 * bits/sigthread.h: Likewise.
35533 * catgets/nl_types.h: Likewise.
35534 * conform/data/pthread.h-data: Likewise.
35535 * crypt/crypt-private.h: Likewise.
35536 * crypt/crypt.h: Likewise.
35537 * crypt/crypt_util.c: Likewise.
35538 * ctype/ctype.h: Likewise.
35539 * debug/execinfo.h: Likewise.
35540 * debug/mbsnrtowcs_chk.c: Likewise.
35541 * debug/mbsrtowcs_chk.c: Likewise.
35542 * debug/wcsnrtombs_chk.c: Likewise.
35543 * debug/wcsrtombs_chk.c: Likewise.
35544 * debug/wcstombs_chk.c: Likewise.
35545 * dirent/dirent.h: Likewise.
35546 * dlfcn/dlfcn.h: Likewise.
35547 * elf/neededtest4.c: Likewise.
35548 * grp/grp.h: Likewise.
35549 * gshadow/gshadow.h: Likewise.
35550 * iconv/gconv.h: Likewise.
35551 * iconv/gconv_int.h: Likewise.
35552 * iconv/gconv_simple.c: Likewise.
35553 * iconv/iconv.h: Likewise.
35554 * iconv/loop.c: Likewise.
35555 * iconv/skeleton.c: Likewise.
35556 * include/aio.h: Likewise.
35557 * include/aliases.h: Likewise.
35558 * include/argz.h: Likewise.
35559 * include/arpa/inet.h: Likewise.
35560 * include/assert.h: Likewise.
35561 * include/dirent.h: Likewise.
35562 * include/dlfcn.h: Likewise.
35563 * include/execinfo.h: Likewise.
35564 * include/fcntl.h: Likewise.
35565 * include/fenv.h: Likewise.
35566 * include/glob.h: Likewise.
35567 * include/grp.h: Likewise.
35568 * include/libintl.h: Likewise.
35569 * include/mntent.h: Likewise.
35570 * include/netdb.h: Likewise.
35571 * include/pwd.h: Likewise.
35572 * include/rpc/netdb.h: Likewise.
35573 * include/sched.h: Likewise.
35574 * include/search.h: Likewise.
35575 * include/shadow.h: Likewise.
35576 * include/signal.h: Likewise.
35577 * include/stdio.h: Likewise.
35578 * include/stdlib.h: Likewise.
35579 * include/string.h: Likewise.
35580 * include/sys/socket.h: Likewise.
35581 * include/sys/stat.h: Likewise.
35582 * include/sys/statfs.h: Likewise.
35583 * include/sys/statvfs.h: Likewise.
35584 * include/sys/syslog.h: Likewise.
35585 * include/sys/time.h: Likewise.
35586 * include/sys/uio.h: Likewise.
35587 * include/time.h: Likewise.
35588 * include/unistd.h: Likewise.
35589 * include/utmp.h: Likewise.
35590 * include/wchar.h: Likewise.
35591 * include/wctype.h: Likewise.
35592 * inet/aliases.h: Likewise.
35593 * inet/arpa/inet.h: Likewise.
35594 * inet/netinet/ether.h: Likewise.
35595 * inet/netinet/in.h: Likewise.
35596 * intl/libintl.h: Likewise.
35597 * io/bits/fcntl2.h: Likewise.
35598 * io/fcntl.h: Likewise.
35599 * io/ftw.h: Likewise.
35600 * io/sys/poll.h: Likewise.
35601 * io/sys/stat.h: Likewise.
35602 * io/sys/statfs.h: Likewise.
35603 * io/sys/statvfs.h: Likewise.
35604 * io/utime.h: Likewise.
35605 * libio/bits/stdio.h: Likewise.
35606 * libio/bits/stdio2.h: Likewise.
35607 * libio/libio.h: Likewise.
35608 * libio/libioP.h: Likewise.
35609 * libio/stdio.h: Likewise.
35610 * locale/lc-ctype.c: Likewise.
35611 * locale/locale.h: Likewise.
35612 * login/utmp.h: Likewise.
35613 * malloc/arena.c: Likewise.
35614 * malloc/malloc.c: Likewise.
35615 * malloc/malloc.h: Likewise.
35616 * malloc/mcheck.c: Likewise.
35617 * malloc/mtrace.c: Likewise.
35618 * math/bits/mathcalls.h: Likewise.
35619 * math/fenv.h: Likewise.
35620 * math/math_private.h: Likewise.
35621 * misc/bits/error.h: Likewise.
35622 * misc/bits/syslog.h: Likewise.
35623 * misc/err.h: Likewise.
35624 * misc/error.h: Likewise.
35625 * misc/fstab.h: Likewise.
35626 * misc/mntent.h: Likewise.
35627 * misc/regexp.h: Likewise.
35628 * misc/search.h: Likewise.
35629 * misc/sgtty.h: Likewise.
35630 * misc/sys/mman.h: Likewise.
35631 * misc/sys/syslog.h: Likewise.
35632 * misc/sys/uio.h: Likewise.
35633 * misc/sys/xattr.h: Likewise.
35634 * misc/ttyent.h: Likewise.
35635 * nis/rpcsvc/ypclnt.h: Likewise.
35636 * nss/nss.h: Likewise.
35637 * posix/bits/unistd.h: Likewise.
35638 * posix/fnmatch.h: Likewise.
35639 * posix/glob.h: Likewise.
35640 * posix/sched.h: Likewise.
35641 * posix/spawn.h: Likewise.
35642 * posix/sys/wait.h: Likewise.
35643 * posix/unistd.h: Likewise.
35644 * posix/wordexp.h: Likewise.
35645 * pwd/pwd.h: Likewise.
35646 * resolv/netdb.h: Likewise.
35647 * resource/sys/resource.h: Likewise.
35648 * rt/aio.h: Likewise.
35649 * rt/bits/mqueue2.h: Likewise.
35650 * rt/mqueue.h: Likewise.
35651 * shadow/shadow.h: Likewise.
35652 * signal/signal.h: Likewise.
35653 * socket/send.c: Likewise.
35654 * socket/sendto.c: Likewise.
35655 * socket/sys/socket.h: Likewise.
35656 * stdio-common/printf.h: Likewise.
35657 * stdlib/bits/stdlib.h: Likewise.
35658 * stdlib/fmtmsg.h: Likewise.
35659 * stdlib/monetary.h: Likewise.
35660 * stdlib/stdlib.h: Likewise.
35661 * stdlib/ucontext.h: Likewise.
35662 * streams/stropts.h: Likewise.
35663 * string/argz.h: Likewise.
35664 * string/bits/string2.h: Likewise.
35665 * string/string.h: Likewise.
35666 * string/strings.h: Likewise.
35667 * sunrpc/rpc/auth.h: Likewise.
35668 * sunrpc/rpc/auth_des.h: Likewise.
35669 * sunrpc/rpc/clnt.h: Likewise.
35670 * sunrpc/rpc/netdb.h: Likewise.
35671 * sunrpc/rpc/pmap_clnt.h: Likewise.
35672 * sunrpc/rpc/xdr.h: Likewise.
35673 * sysdeps/generic/inttypes.h: Likewise.
35674 * sysdeps/generic/net/if.h: Likewise.
35675 * sysdeps/generic/sys/swap.h: Likewise.
35676 * sysdeps/gnu/net/if.h: Likewise.
35677 * sysdeps/gnu/utmpx.h: Likewise.
35678 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35679 * sysdeps/i386/i486/bits/string.h: Likewise.
35680 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35681 * sysdeps/s390/bits/string.h: Likewise.
35682 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35683 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35684 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35685 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35686 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35687 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35688 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35689 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35690 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35691 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35692 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35693 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35694 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35695 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35696 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35697 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35698 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35700 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35701 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35702 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35703 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35704 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35705 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35706 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35707 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35708 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35709 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35710 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35711 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35712 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35713 * sysvipc/sys/ipc.h: Likewise.
35714 * sysvipc/sys/msg.h: Likewise.
35715 * sysvipc/sys/sem.h: Likewise.
35716 * sysvipc/sys/shm.h: Likewise.
35717 * termios/termios.h: Likewise.
35718 * time/sys/time.h: Likewise.
35719 * time/time.h: Likewise.
35720 * wcsmbs/bits/wchar2.h: Likewise.
35721 * wcsmbs/uchar.h: Likewise.
35722 * wcsmbs/wchar.h: Likewise.
35723 * wctype/wctype.h: Likewise.
35726 * Makeconfig: Remove all but ELF support including AIX support.
35727 * Makerules: Likewise.
35728 * config.h.in: Likewise.
35729 * config.make.in: Likewise.
35730 * configure: Likewise.
35731 * configure.in: Likewise.
35732 * csu/Makefile: Likewise.
35733 * csu/version.c: Likewise.
35734 * debug/Makefile: Likewise.
35735 * dlfcn/Makefile: Likewise.
35736 * elf/Makefile: Likewise.
35737 * extra-lib.mk: Likewise.
35738 * iconv/Makefile: Likewise.
35739 * include/libc-symbols.h: Likewise.
35740 * include/shlib-compat.h: Likewise.
35741 * resolv/Makefile: Likewise.
35742 * resolv/res_libc.c: Likewise.
35743 * rt/Makefile: Likewise.
35744 * sysdeps/i386/asm-syntax.h: Likewise.
35745 * sysdeps/i386/sysdep.h: Likewise.
35746 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35747 * sysdeps/mach/sysdep.h: Likewise.
35748 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35749 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35750 * sysdeps/s390/asm-syntax.h: Likewise.
35751 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35753 * sysdeps/sh/sysdep.h: Likewise.
35754 * sysdeps/unix/sparc/sysdep.h: Likewise.
35755 * sysdeps/wordsize-32/divdi3.c: Likewise.
35756 * sysdeps/x86_64/sysdep.h: Likewise.
35758 * argp/Versions: Remove _argp_unlock_xxx.
35761 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35762 * abilist/libBrokenLocale.abilist: Likewise.
35763 * abilist/libanl.abilist: Likewise.
35764 * abilist/libc.abilist: Likewise.
35765 * abilist/libcrypt.abilist: Likewise.
35766 * abilist/libdl.abilist: Likewise.
35767 * abilist/libm.abilist: Likewise.
35768 * abilist/libnsl.abilist: Likewise.
35769 * abilist/libpthread.abilist: Likewise.
35770 * abilist/libresolv.abilist: Likewise.
35771 * abilist/librt.abilist: Likewise.
35772 * abilist/libthread_db.abilist: Likewise.
35773 * abilist/libutil.abilist: Likewise.
35774 * abilist/libnss_db.abilist: New file.
35776 * scripts/abilist.awk: Add support for indirect functions.
35778 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35780 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35782 * shlib-versions: Remove entries for ports architectures.
35784 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35786 * elf/stackguard-macros.h: Remove support for IA-64.
35787 * elf/tst-auditmod1.c: Likewise.
35788 * sysdeps/generic/ldsodefs.h: Likewise.
35790 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35791 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35795 * configure.in: Remove --enable-omitfp support.
35797 * config.make.in: Likewise.
35798 * Makeconfig: Likewise.
35799 * manual/install.texi: Likewise.
35801 In case anyone cares, the IA-64 architecture could move to ports.
35802 * sysdeps/ia64/*: Removed.
35803 * sysdeps/unix/sysv/linux/ia64/*: Removed.
35804 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35807 * configure.in: Remove entries for unsupported architectures.
35810 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35811 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35813 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35814 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35815 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35816 fall back to using wcrtomb.
35817 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35818 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35820 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35821 * wcsmbs/tst-c16c32-1.c: New file.
35823 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35826 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35828 * elf/tst-unique3.cc: Add explicit declaration of gets.
35829 * elf/tst-unique3lib.cc: Likewise.
35830 * elf/tst-unique3lib2.cc: Likewise.
35831 * elf/tst-unique4.cc: Likewise.
35833 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35835 2012-01-06 Joseph Myers <joseph@codesourcery.com>
35838 * assert/assert.h (static_assert): Don't define for C++.
35839 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35840 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35842 2012-01-03 Ulrich Drepper <drepper@gmail.com>
35844 * iconv/loop.c (single loop): Fix assertion in storing of
35847 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35849 2012-01-01 Ulrich Drepper <drepper@gmail.com>
35851 * posix/getconf.c: Update copyright year.
35852 * nss/getent.c: Likewise.
35853 * nss/makedb.c: Likewise.
35854 * iconv/iconvconfig.c: Likewise.
35855 * iconv/iconv_prog.c: Likewise.
35856 * elf/ldconfig.c: Likewise.
35857 * elf/pldd.c: Likewise.
35858 * elf/sotruss.ksh: Likewise.
35859 * catgets/gencat.c: Likewise.
35860 * csu/version.c: Likewise.
35861 * elf/ldd.bash.in: Likewise.
35862 * elf/sprof.c (print_version): Likewise.
35863 * locale/programs/locale.c: Likewise.
35864 * locale/programs/localedef.c: Likewise.
35865 * login/programs/pt_chown.c: Likewise.
35866 * nscd/nscd.c (print_version): Likewise.
35867 * debug/xtrace.sh: Likewise.
35868 * malloc/memusage.sh: Likewise.
35869 * malloc/mtrace.pl: Likewise.
35870 * debug/catchsegv.sh: Likewise.
35872 2011-12-30 Jakub Jelinek <jakub@redhat.com>
35874 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35877 2011-12-24 Ulrich Drepper <drepper@gmail.com>
35880 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35881 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35883 * iconv/gconv_int.h: Likewise.
35884 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35885 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35886 from libc for GLIBC_2.16.
35887 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35888 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35889 * wcsmbs/uchar.h: Really define mbstate_t.
35890 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35891 * wcsmbs/c16rtomb.c: New file.
35892 * wcsmbs/mbrtoc16.c: New file.
35893 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35894 for C/POSIX locale.
35895 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35896 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35898 * wcsmbs/wchar.h: Add missing __restrict.
35900 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35903 * time/Makefile (routines): Add timespec_get.
35904 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35905 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35906 timespec for ISO C11.
35907 * time/timespec_get.c: New file.
35908 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35909 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35912 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35913 * stdlib/stdlib.h: Declare aligned_alloc.
35914 * Versions.def: Add GLIBC_2.16 for libc.
35915 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35918 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35921 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35925 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35928 * assert/assert.h (static_assert): Define.
35930 * version.h: Update for 2.16 development version.
35933 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35936 * version.h (RELEASE): Bump for 2.15 release.
35937 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35939 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35940 Patch by Marek Polacek <mpolacek@redhat.com>.
35942 * bits/byteswap.h: Protect long long constants with __extension__.
35943 * sysdeps/i386/bits/byteswap.h: Likewise.
35944 * sysdeps/ia64/bits/byteswap.h: Likewise.
35945 * sysdeps/s390/bits/byteswap.h: Likewise.
35946 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35948 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35951 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35952 destination buffer.
35953 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35955 2011-12-23 Marek Polacek <polacek@redhat.com>
35957 * elf/dl-addr.c (determine_info): Add inline keyword.
35958 * elf/tst-auditmod4b.c (check_avx): Likewise.
35959 * elf/tst-auditmod6b.c (check_avx): Likewise.
35960 * elf/tst-auditmod6c.c (check_avx): Likewise.
35961 * elf/tst-auditmod7b.c (check_avx): Likewise.
35963 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35965 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35968 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35971 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35972 processing for last bytes.
35974 2011-08-06 Bruno Haible <bruno@clisp.org>
35977 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35978 U+0385, not to U+1FEE.
35981 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35982 entry for U+00A5 U+0301.
35984 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35987 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35988 buffer for the output is too small.
35990 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35994 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35995 SSE flags if possible.
35997 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36001 processing for last bytes.
36003 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36005 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36006 (syscall-list-default-options, syscall-list-default-condition)
36007 (syscall-list-includes): Define.
36008 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36009 list of ABIs and options and #if conditions for each ABI. Do not
36010 handle common syscalls between ABIs specially.
36011 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36013 (syscall-list-variants, syscall-list-32bit-options)
36014 (syscall-list-32bit-condition, syscall-list-64bit-options)
36015 (syscall-list-64bit-condition): Define.
36016 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36017 (syscall-list-variants, syscall-list-32bit-options)
36018 (syscall-list-32bit-condition, syscall-list-64bit-options)
36019 (syscall-list-64bit-condition): Define.
36020 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36022 (syscall-list-variants, syscall-list-32bit-options)
36023 (syscall-list-32bit-condition, syscall-list-64bit-options)
36024 (syscall-list-64bit-condition): Define.
36025 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36027 (syscall-list-variants, syscall-list-32bit-options)
36028 (syscall-list-32bit-condition, syscall-list-64bit-options)
36029 (syscall-list-64bit-condition): Define.
36031 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36033 * locale/iso-639.def: Add brx entry.
36036 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36037 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36039 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36040 __feraiseexcept_renamed.
36042 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36045 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36046 EPOLLET with unsigned values.
36047 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36048 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36050 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36051 to large cancellation.
36052 * math/s_cacoshf.c: Likewise.
36053 * math/s_cacoshl.c: Likewise.
36055 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36059 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36060 * math/s_cacoshf.c: Likewise.
36061 * math/s_cacoshl.c: Likewise.
36063 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36066 * iconv/gconv.h: Define __GCONV_SWAP.
36067 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36068 * iconvdata/utf-16.c: Likewise.
36069 * iconvdata/utf-32.c: Likewise.
36071 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36074 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36075 numerator after shifting it by one limb.
36077 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36079 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36080 under [__USE_EXTERN_INLINES].
36082 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36085 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36087 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36089 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36090 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36092 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36093 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36094 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36095 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36096 for strncasecmp/strncasecmp_l compilation.
36097 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36098 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36100 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36103 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36106 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36109 * time/tzfile.c (__tzfile_read): Check values from file header.
36111 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36113 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36114 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36115 * powerpc/powerpc32/dl-start.S: Likewise.
36116 * powerpc/powerpc32/elf/start.S: Likewise.
36117 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36118 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36119 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36120 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36121 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36122 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36123 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36124 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36125 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36126 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36127 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36128 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36129 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36130 * powerpc/powerpc32/memset.S: Likewise.
36131 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36132 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36133 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36134 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36135 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36136 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36137 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36138 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36139 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36140 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36141 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36142 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36143 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36145 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36147 * math/libm-test.inc: Added more nearbyint tests.
36148 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36149 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36151 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36153 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36155 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36158 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36160 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36161 Add wcscpy-ssse3 wcscpy-c.
36162 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36163 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36164 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36165 * sysdeps/x86_64/wcschr.S: New file.
36166 * sysdeps/x86_64/wcsrchr.S: New file.
36167 * string/test-strcmp.c: Remove checking of wcscmp function for
36169 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36170 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36171 wcsrchr-sse2 wcsrchr-c.
36172 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36173 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36174 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36175 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36176 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36177 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36178 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36179 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36180 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36181 * wcsmbc/wcschr.c (WCSCHR): New macro.
36183 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36185 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36186 * wcsmbs/test-wcsrchr.c: New file.
36187 * string/test-strrchr.c: Add wcsrchr support.
36189 * wcsmbs/test-wcscpy.c: New file.
36190 * string/test-strcpy.c: Add wcscpy support.
36193 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36198 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36201 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36203 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36205 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36206 Minor optimizations.
36208 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36209 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36210 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36212 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36214 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36215 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36216 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36217 for gcc to avoid warnings.
36218 * inet/Makefile (tests): Add tst-checks.
36219 * inet/tst-checks.c: New file.
36221 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36224 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36227 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36228 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36230 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36232 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36234 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36237 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36239 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36241 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36242 conditional on GCC version.
36243 (__arch_compare_and_exchange_val_8_acq)
36244 (__arch_compare_and_exchange_val_16_acq)
36245 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36246 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36247 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36249 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36251 * sysdeps/sh/backtrace.c: New file.
36253 2011-12-02 Andreas Schwab <schwab@redhat.com>
36255 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36258 2011-12-01 Andreas Schwab <schwab@redhat.com>
36260 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36261 falling back to utime.
36263 2011-11-30 Andreas Schwab <schwab@redhat.com>
36265 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36266 expectations for float.
36268 2011-11-29 Andreas Schwab <schwab@redhat.com>
36270 * locale/weight.h (findidx): Add parameter len.
36271 * locale/weightwc.h (findidx): Likewise.
36272 * posix/fnmatch_loop.c (FCT): Adjust caller.
36273 * posix/regcomp.c (build_equiv_class): Likewise.
36274 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36275 * posix/regexec.c (check_node_accept_bytes): Likewise.
36276 * string/strcoll_l.c (STRCOLL): Likewise.
36277 * string/strxfrm_l.c (STRXFRM): Likewise.
36279 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36281 * Makefile.in: Remove CVSOPT handling.
36282 * configure.in: Remove use of AC_REVISION.
36283 * iconvdata/Makefile (distribute): No need to filter out CVS.
36284 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36287 2011-11-16 Andreas Schwab <schwab@redhat.com>
36289 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36290 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36291 [USE_AS_STRNCASECMP_L]: Likewise.
36292 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36293 NO_TLS_DIRECT_SEG_REFS.
36294 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36295 Fix argument offsets for non-PIC.
36296 [USE_AS_STRNCASECMP_L]: Likewise.
36297 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36298 NO_TLS_DIRECT_SEG_REFS.
36300 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36302 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36304 * locale/loadlocale.c (_nl_load_locale): Likewise.
36306 2011-11-15 Andreas Schwab <schwab@redhat.com>
36308 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36309 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36310 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36311 (SYSCALL_GETTIME): Set errno on error.
36313 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36314 count references to noai6ai_cached.
36316 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36318 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36320 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36321 FD_CLOEXEC for /proc/self/maps.
36323 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36324 FD_CLOEXEC for /proc/meminfo.
36326 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36329 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36330 FD_CLOEXEC for given file.
36332 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36334 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36335 FD_CLOEXEC for /etc/hosts.
36336 (_gethtent): Likewise.
36338 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36340 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36341 cancellation and set FD_CLOEXEC for /etc/netgroup.
36343 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36344 reading /etc/publickey.
36346 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36347 allow cancellation when reading /etc/group.
36349 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36351 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36353 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36354 when using data file.
36356 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36358 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36359 (write_nis_obj): Use "c" and "e" in fopen.
36361 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36363 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36365 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36367 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36369 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36372 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36374 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36376 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36378 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36379 file parsing and set FD_CLOEXEC.
36381 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36383 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36385 2011-11-14 Andreas Schwab <schwab@redhat.com>
36387 * malloc/arena.c (arena_get2): Don't call reused_arena when
36388 _int_new_arena failed.
36390 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36392 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36393 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36394 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36395 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36396 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36397 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36398 to compile strcasecmp and strncasecmp.
36399 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36400 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36404 2011-11-13 Ulrich Drepper <drepper@gmail.com>
36406 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36407 locale-defines.sym to gen-as-const-headers.
36408 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36409 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36411 to compile strcasecmp and strncasecmp.
36412 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36413 strcasecmp_l and strncasecmp_l.
36414 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36415 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36416 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36417 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36418 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36419 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36420 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36421 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36422 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36423 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36424 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36426 2011-11-12 Ulrich Drepper <drepper@gmail.com>
36428 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36429 result of SYSDEP_GETTIME_CPU to retval.
36430 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36431 parameter list to macro. Remove trailing semicolon. Adjust users.
36433 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36436 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36438 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36440 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36441 from unused variable.
36443 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36445 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36448 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36451 * sunrpc/rpc_prot.c (rejected): Fix case value.
36453 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36454 unsigned long long int to avoid warnings in shift.
36456 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36458 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36461 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36462 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36463 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36465 * nis/nis_table.c (nis_list): Use variable of correct type for
36466 result of __follow_path call.
36468 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36470 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36471 of math functions ceil, trunc, floor, round, and sqrt, when
36472 avaliable on the platform.
36473 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36475 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36476 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36477 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36479 2011-10-30 Marek Polacek <mpolacek@redhat.com>
36481 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36482 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36484 2011-11-11 Roland McGrath <roland@hack.frob.com>
36486 * include/unistd.h: Fix __readlink return type.
36487 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36489 2011-11-11 Ulrich Drepper <drepper@gmail.com>
36491 * stdlib/ucontext.h: Undo last change for makecontext.
36493 2011-11-11 Andreas Schwab <schwab@redhat.com>
36495 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36497 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36498 * setjmp/setjmp.h: Mark functions as non-leaf.
36499 * setjmp/bits/setjmp2.h: Likewise.
36500 * stdlib/ucontext.h: Likewise.
36502 2011-11-10 Andreas Schwab <schwab@redhat.com>
36504 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36505 (reused_arena): Don't check arena limit.
36506 (arena_get2): Atomically check arena limit.
36508 2011-11-08 Ulrich Drepper <drepper@gmail.com>
36510 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36511 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36516 2011-11-07 Andreas Schwab <schwab@redhat.com>
36518 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36519 handler when locking.
36521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36522 Fix size of allocated buffer.
36524 2011-11-04 Andreas Schwab <schwab@redhat.com>
36527 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36528 declarations for long double functions.
36529 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36531 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36533 2011-11-03 Andreas Schwab <schwab@redhat.com>
36535 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36538 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36541 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36543 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36545 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36547 * include/alloca.h (stackinfo_alloca_round): Define.
36548 (extend_alloca): Use it.
36549 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36550 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36553 * scripts/check-local-headers.sh: Ignore libaudit.h.
36555 * nscd/Makefile (extra-objs): Make recursively expanded.
36557 2011-11-01 Ulrich Drepper <drepper@gmail.com>
36559 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36562 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36563 * posix/tst-rfc3484-2.c: Likewise.
36564 * posix/tst-rfc3484-3.c: Likewise.
36566 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36568 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36570 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36571 process_vm_writev from libc using GLIBC_2.15 version.
36573 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36575 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36577 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36580 2011-10-31 Ulrich Drepper <drepper@gmail.com>
36583 * nss/getent.c (initgroups_keys): Show error message in case no group
36586 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36587 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36588 __bump_nl_timestamp.
36589 * nscd/connections (nscd_init): When host database is served open
36590 netlink socket and request notification about configuration changes.
36591 (main_loop_poll): Track netlink file descriptor and bump timestamp
36592 in case data becomes available.
36593 (main_loop_epoll): Likewise.
36594 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36595 (database_pers_head): Add extra_data fileds.
36596 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36597 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36598 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36601 in6ai data, call __free_in6ai.
36602 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36603 Add -DHAVE_NETLINK.
36604 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36605 interface information. Reuse previous data if netlink timestamp
36607 (__bump_nl_timestamp): New function.
36608 (__free_in6ai): New function.
36610 2011-10-30 Ulrich Drepper <drepper@gmail.com>
36612 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36613 close_not_cancel_no_status here.
36614 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36616 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36619 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36622 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36623 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36624 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36626 2011-07-03 Andreas Jaeger <aj@suse.de>
36629 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36630 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36631 * math/libm-test.inc (sin_test): Add test case.
36633 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36636 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36637 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36639 * elf/chroot_canon.c (chroot_canon): Cleanups.
36641 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36644 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36645 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36647 * string/test-strchr.c: Make usable for strchrnul testing.
36648 * string/test-strchrnul.c: New file.
36649 * string/Makefile (strop-tests): Add strchrnul.
36651 * po/it.po: Update from translation team.
36652 * po/es.po: Likewise.
36654 2011-10-28 Ulrich Drepper <drepper@gmail.com>
36656 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36657 the three constants needed as parameters. Drop the others.
36658 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36659 __m128i_strloadu_tolower.
36660 Create and initialize variable zero and use it in all the places
36661 where _mm_setzero_si128 was used.
36663 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36664 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36665 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36666 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36668 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36669 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36670 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36671 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36672 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36673 __mpranred, __mptan.
36674 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36675 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36676 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36677 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36678 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36679 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36680 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36681 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36682 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36684 2011-10-28 Andreas Schwab <schwab@redhat.com>
36686 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36687 redefine if SHARED.
36688 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36691 wide char related routines to wcsmbs subdir.
36693 2011-10-27 Andreas Schwab <schwab@redhat.com>
36696 * misc/sys/cdefs.h (__THROWNL): Define.
36697 * posix/unistd.h: Use __THREADNL instead of __THREAD
36698 for memory synchronization functions.
36700 2011-10-26 Roland McGrath <roland@hack.frob.com>
36703 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36705 * manual/stdio.texi (Obstack Streams): Node removed.
36707 2011-10-26 Andreas Schwab <schwab@redhat.com>
36709 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36710 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36711 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36713 * math/math_private.h (math_force_eval): Allow non-addressable
36715 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36717 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36719 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36720 file is not needed.
36722 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36723 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36724 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36725 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36726 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36727 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36728 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36729 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36731 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36732 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36733 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36734 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36735 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36736 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36737 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36738 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36739 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36740 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36741 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36742 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36743 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36744 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36745 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36746 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36747 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36748 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36749 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36751 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36752 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36754 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36755 place. Use VEX encoding when compiling for AVX.
36757 2011-10-25 Andreas Schwab <schwab@redhat.com>
36759 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36760 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36762 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36764 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36766 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36767 useless if() expression.
36768 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36769 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36771 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36772 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36773 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36774 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36775 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36776 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36778 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36779 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36780 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36782 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36783 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36784 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36785 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36786 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36788 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36790 2011-10-25 Andreas Schwab <schwab@redhat.com>
36792 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36794 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36796 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36798 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36799 .text section. Avoid duplicate constants.
36800 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36802 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36808 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36809 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36810 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36811 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36812 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36813 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36814 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36815 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36816 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36817 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36818 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36820 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36821 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36822 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36823 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36824 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36825 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36826 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36827 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36828 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36829 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36830 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36831 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36832 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36833 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36834 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36835 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36836 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36837 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36838 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36839 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36840 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36841 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36842 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36843 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36844 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36846 2011-10-24 Ulrich Drepper <drepper@gmail.com>
36848 * sysdeps/x86_64/dla.h: Move to ...
36849 * sysdeps/x86_64/fpu/dla.h: ...here.
36850 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36851 situations. Use __builtin_fma only for gcc 4.6 and up.
36853 * config.make.in: Add have-mfma4 entry.
36854 * configure.in: Substitute libc_cv_cc_fma4.
36855 * math/Makefile (dbl-only-routines): Add sincostab.
36856 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36857 Use __sincostab not sincos.
36858 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36860 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36865 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36866 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36867 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36868 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36870 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36871 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36873 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36874 define aliases when function name is a macro.
36875 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36876 sysdeps/ieee754/dbl-64/sincos.tbl.
36877 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36878 fma4-enabled routines.
36879 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36880 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36881 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36882 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36883 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36884 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36885 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36886 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36887 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36888 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36889 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36890 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36891 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36892 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36893 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36894 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36895 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36896 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36897 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36898 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36899 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36900 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36901 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36902 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36903 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36904 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36905 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36906 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36907 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36908 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36910 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36919 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36921 2011-10-24 Andreas Schwab <schwab@redhat.com>
36923 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36925 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36927 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36929 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36931 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36933 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36934 Remove unused variable magic_bits.
36935 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36937 * string/strnlen.c: Define and use STRNLEN macro.
36938 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36939 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36941 * wcsmbs/wcslen.c: Define and use WCSLEN.
36942 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36943 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36944 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36945 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36946 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36947 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36948 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36950 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36953 strnlen-sse2-no-bsf.
36954 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36955 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36956 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36957 Add strnlen support.
36958 (USE_AS_STRNLEN): New macro.
36959 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36960 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36961 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36962 * sysdeps/x86_64/wcslen.S: New file.
36964 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36966 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36967 XMM-moves are used for copying on small sizes.
36969 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36971 * wcsmbs/Makefile (strop-tests): Add wcschr.
36972 * wcsmbs/test-wcschr.c: New file.
36973 * string/test-strchr.c: Update.
36974 Add wcschr support.
36977 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36979 * wcsmbs/Makefile (strop-tests): Add wcslen.
36980 * wcsmbs/test-wcslen.c: New file.
36981 * string/test-strlen.c: Update.
36982 Add wcslen support.
36985 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36987 * po/it.po: Update from translation team.
36989 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36991 * sysdeps/x86_64/wcscmp.S: Update.
36992 Fix wrong comparison semantics.
36993 wcscmp shall use signed comparison not unsigned.
36994 Don't use substraction to avoid overflow bug.
36995 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36996 * wcsmbc/wcscmp.c: Likewise.
36997 * string/test-strcmp.c: Likewise.
36998 Add new tests to check cases with negative values.
37000 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37002 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37003 * sysdeps/x86_64/dla.h: ...here. New file.
37004 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37005 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37009 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37010 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37011 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37014 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37017 __ynl_finite aliases.
37019 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37023 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37025 [DLA_FMA] (EMULV): Use DLA_FMA.
37026 [DLA_FMA] (MUL12): Use EMULV.
37027 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37028 that are not needed.
37029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37035 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37037 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37039 * math/s_nan.c: Undef __nan.
37040 * math/s_nanf.c: Undef __nanf.
37041 * math/s_nanl.c: Undef __nanl.
37042 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37045 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37047 * math/s_catan.c: Add branch predictions.
37048 * math/s_catanf.c: Likewise.
37049 * math/s_catanh.c: Likewise.
37050 * math/s_catanhf.c: Likewise.
37051 * math/s_catanhl.c: Likewise.
37052 * math/s_catanl.c: Likewise.
37053 * math/s_cexp.c: Likewise.
37054 * math/s_cexpf.c: Likewise.
37055 * math/s_cexpl.c: Likewise.
37056 * math/s_clog.c: Likewise.
37057 * math/s_clog10.c: Likewise.
37058 * math/s_clog10f.c: Likewise.
37059 * math/s_clog10l.c: Likewise.
37060 * math/s_clogf.c: Likewise.
37061 * math/s_clogl.c: Likewise.
37062 * math/s_csqrt.c: Likewise.
37063 * math/s_csqrtf.c: Likewise.
37064 * math/s_csqrtl.c: Likewise.
37065 * math/s_ctanf.c: Likewise.
37066 * math/s_ctanh.c: Likewise.
37067 * math/s_ctanhf.c: Likewise.
37068 * math/s_ctanhl.c: Likewise.
37069 * math/s_ctanl.c: Likewise.
37071 * math/math_private.h: Define __nan, __nanf, __nanl.
37072 * math/s_cacosh.c: Include <math_private.h>.
37073 * math/s_cacoshl.c: Likewise.
37074 * math/s_casinh.c: Likewise.
37075 * math/s_casinhf.c: Likewise.
37076 * math/s_casinhl.c: Likewise.
37077 * math/s_ccos.c: Rely entire on ccosh.
37078 * math/s_ccosf.c: Rely entire on ccoshf.
37079 * math/s_ccosl.c: Rely entirely on ccoshl.
37080 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37081 Remove tests for FE_INVALID.
37082 * math/s_ccoshf.c: Likewise.
37083 * math/s_ccoshl.c: Likewise.
37084 * math/s_csin.c: Likewise.
37085 * math/s_csinf.c: Likewise.
37086 * math/s_csinh.c Likewise.
37087 * math/s_csinhf.c: Likewise.
37088 * math/s_csinhl.c: Likewise.
37089 * math/s_csinl.c: Likewise.
37090 * math/s_ctan.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37092 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37093 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37095 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37098 compilation problems.
37100 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37103 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37105 * sysdeps/i386/configure.in: Test for -mfma4 option.
37106 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37107 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37108 COMMON_CPUID_INDEX_80000001.
37109 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37110 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37111 use it if FMA3 is not supported.
37112 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37114 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37115 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37117 2011-10-20 Andreas Schwab <schwab@redhat.com>
37120 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37121 it would create a cycle with a link time dependency.
37123 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37125 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37127 * string/Makefile (strop-tests): Add rawmemchr.
37128 * string/test-rawmemchr.c: New file.
37130 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37132 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37133 when compiling str{,n}casecmp and when AVX is available. Hook up
37134 new optimized code in initializers.
37136 2011-10-19 Andreas Schwab <schwab@redhat.com>
37138 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37139 __feraiseexcept instead of feraiseexcept.
37141 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37143 * math/math_private.h: Define defaults for libc_fetestexcept and
37145 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37146 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37147 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37148 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37149 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37150 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37151 libc_fetestexcept and libc_feupdateenv.
37153 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37154 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37155 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37156 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37157 libc_feholdexcept_setround.
37159 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37160 Add s_nearbyint-c and s_nearbyintf-c.
37161 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37162 nearbyintf inlines.
37163 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37164 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37165 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37166 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37168 * math/math_private.h: Define defaults for libc_fegetround,
37169 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37170 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37171 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37172 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37173 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37174 standard functions.
37175 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37176 Remove comments and hacks for old compiler versions.
37177 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37178 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37179 libc_feholdexceptl.
37181 2011-10-18 Andreas Schwab <schwab@redhat.com>
37183 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37184 (__feraiseexcept_renamed): Add __NTH.
37185 (feraiseexcept): Add __NTH. Rename local variables to fix
37186 namespace violations.
37188 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37190 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37192 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37194 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37195 recently added interfaces.
37196 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37198 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37199 about macro parameter expansion.
37201 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37202 __NO_MATH_INLINES is defined. Cleanups.
37204 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37205 and __floorf is target has SSE4.1.
37206 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37207 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37208 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37209 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37211 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37213 (floorf): Likewise.
37215 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37217 2011-10-17 Andreas Schwab <schwab@redhat.com>
37219 * misc/sys/cdefs.h: Fix last change.
37221 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37224 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37226 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37228 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37229 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37230 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37231 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37232 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37233 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37234 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37235 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37236 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37237 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37238 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37239 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37240 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37241 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37242 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37243 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37244 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37245 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37246 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37247 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37248 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37249 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37251 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37252 ceil, ceilf, floor, floorf.
37254 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37255 Perform IRELATIVE relocations last.
37257 * elf/do-rel.h: Add another parameter nrelative, replacing the
37258 local variable with the same name. Change name of the function
37259 to end in Rel or Rela (uppercase).
37260 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37261 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37262 elf_dynamic_do_##reloc function.
37264 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37266 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37267 is sufficient, at least on modern CPUs.
37269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37271 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37272 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37274 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37276 * math/bits/math-finite.h: Add entries for exp.
37277 * math/e_expl.c: Add __*_finite alias.
37278 * sysdeps/i386/fpu/e_exp.S: Likewise.
37279 * sysdeps/i386/fpu/e_expf.S: Likewise.
37280 * sysdeps/i386/fpu/e_expl.c: Likewise.
37281 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37282 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37285 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37286 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37287 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37289 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37290 is sufficient, at least on modern CPUs.
37292 * ctype/ctype-info.c (__ctype_init): Define.
37293 * include/ctype.h (__ctype_init): Declare.
37294 (__ctype_b_loc): The variable is always initialized.
37295 (__ctype_toupper_loc): Likewise.
37296 (__ctype_tolower_loc): Likewise.
37297 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37298 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37300 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37302 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37304 * configure.in: Also look in $cxxmachine/include for C++ system
37307 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37309 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37310 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37311 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37312 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37313 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37314 (USE_AS_WMEMCMP): New macro.
37316 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37317 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37318 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37319 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37321 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37322 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37323 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37324 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37325 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37326 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37327 (USE_AS_WMEMCMP): New macro.
37328 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37329 * sysdeps/string/test-memcmp.c: Update.
37330 Fix simple_wmemcmp.
37332 * wcsmbs/wmemcmp.c: Update.
37333 (WMEMCMP): New macro.
37336 2011-10-12 Andreas Jaeger <aj@suse.de>
37339 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37341 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37343 * libio/iofwide.c (do_length): Avoid warning.
37345 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37347 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37349 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37351 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37352 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37353 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37354 * sysdeps/i386/i686/fpu/e_log.S: New file.
37355 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37356 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37358 * ctype/ctype.h: Add support for inlined isXXX functions when
37359 compiling C++ code.
37361 2011-10-14 Andreas Schwab <schwab@redhat.com>
37363 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37365 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37367 2011-10-13 Roland McGrath <roland@hack.frob.com>
37370 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37372 2011-10-13 Andreas Schwab <schwab@redhat.com>
37374 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37375 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37378 * sysdeps/x86_64/memrchr.S: Check for zero size.
37380 * string/stratcliff.c: Add memrchr tests.
37382 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37385 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37386 rawmemchr-sse2 rawmemchr-sse2-bsf.
37387 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37388 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37389 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37390 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37391 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37392 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37393 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37394 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37395 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37396 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37397 * string/memrchr.c (MEMRCHR): New macro.
37399 2011-10-12 Ulrich Drepper <drepper@gmail.com>
37401 Add integration with gcc's -ffinite-math-only and optimize wrapper
37403 * Versions.def: Define GLIBC_2.15 version for libm.
37404 * math/Makefile (headers): Add bits/math-finite.h.
37405 * math/bits/math-finite.h: New file.
37406 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37407 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37408 * math/e_acoshl.c: Add __*_finite alias.
37409 * math/e_acosl.c: Likewise.
37410 * math/e_asinl.c: Likewise.
37411 * math/e_atan2l.c: Likewise.
37412 * math/e_atanhl.c: Likewise.
37413 * math/e_coshl.c: Likewise.
37414 * math/e_exp10.c: Likewise.
37415 * math/e_exp10f.c: Likewise.
37416 * math/e_exp10l.c: Likewise.
37417 * math/e_exp2l.c: Likewise.
37418 * math/e_fmodl.c: Likewise.
37419 * math/e_gammal_r.c: Likewise.
37420 * math/e_hypotl.c: Likewise.
37421 * math/e_j0l.c: Likewise.
37422 * math/e_j1l.c: Likewise.
37423 * math/e_jnl.c: Likewise.
37424 * math/e_lgammal_r.c: Likewise.
37425 * math/e_log10l.c: Likewise.
37426 * math/e_log2l.c: Likewise.
37427 * math/e_logl.c: Likewise.
37428 * math/e_powl.c: Likewise.
37429 * math/e_sinhl.c: Likewise.
37430 * math/e_sqrtl.c: Likewise.
37431 * math/e_scalb.c: Completely rewritten and optimized.
37432 * math/e_scalbf.c: Likewise.
37433 * math/e_scalbl.c: Likewise.
37434 * math/w_acos.c: Likewise.
37435 * math/w_acosf.c: Likewise.
37436 * math/w_acosl.c: Likewise.
37437 * math/w_acosh.c: Likewise.
37438 * math/w_acoshf.c: Likewise.
37439 * math/w_acoshl.c: Likewise.
37440 * math/w_asin.c: Likewise.
37441 * math/w_asinf.c: Likewise.
37442 * math/w_asinl.c: Likewise.
37443 * math/w_atan2.c: Likewise.
37444 * math/w_atan2f.c: Likewise.
37445 * math/w_atan2l.c: Likewise.
37446 * math/w_atanh.c: Likewise.
37447 * math/w_atanhf.c: Likewise.
37448 * math/w_atanhl.c: Likewise.
37449 * math/w_exp10.c: Likewise.
37450 * math/w_exp10f.c: Likewise.
37451 * math/w_exp10l.c: Likewise.
37452 * math/w_fmod.c: Likewise.
37453 * math/w_fmodf.c: Likewise.
37454 * math/w_fmodl.c: Likewise.
37455 * math/w_j0.c: Likewise.
37456 * math/w_j0f.c: Likewise.
37457 * math/w_j0l.c: Likewise.
37458 * math/w_j1.c: Likewise.
37459 * math/w_j1f.c: Likewise.
37460 * math/w_j1l.c: Likewise.
37461 * math/w_jn.c: Likewise.
37462 * math/w_jnf.c: Likewise.
37463 * math/w_log.c: Likewise.
37464 * math/w_logf.c: Likewise.
37465 * math/w_logl.c: Likewise.
37466 * math/w_log10.c: Likewise.
37467 * math/w_log10f.c: Likewise.
37468 * math/w_log10l.c: Likewise.
37469 * math/w_log2.c: Likewise.
37470 * math/w_log2f.c: Likewise.
37471 * math/w_log2l.c: Likewise.
37472 * math/w_pow.c: Likewise.
37473 * math/w_powf.c: Likewise.
37474 * math/w_powl.c: Likewise.
37475 * math/w_remainder.c: Likewise.
37476 * math/w_remainderf.c: Likewise.
37477 * math/w_remainderl.c: Likewise.
37478 * math/w_scalb.c: Likewise.
37479 * math/w_scalbf.c: Likewise.
37480 * math/w_scalbl.c: Likewise.
37481 * math/w_sqrt.c: Likewise.
37482 * math/w_sqrtf.c: Likewise.
37483 * math/w_sqrtl.c: Likewise.
37484 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37485 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37487 * math/math_private.h: Declare __kernel_standard_f.
37488 * math/w_cosh.c: Remove cruft and optimize a bit.
37489 * math/w_coshf.c: Likewise.
37490 * math/w_coshl.c: Likewise.
37491 * math/w_exp2.c: Likewise.
37492 * math/w_exp2f.c: Likewise.
37493 * math/w_exp2l.c: Likewise.
37494 * math/w_hypot.c: Likewise.
37495 * math/w_hypotf.c: Likewise.
37496 * math/w_hypotl.c: Likewise.
37497 * math/w_lgamma.c: Likewise.
37498 * math/w_lgamma_r.c: Likewise.
37499 * math/w_lgammaf.c: Likewise.
37500 * math/w_lgammaf_r.c: Likewise.
37501 * math/w_lgammal.c: Likewise.
37502 * math/w_lgammal_r.c: Likewise.
37503 * math/w_sinh.c: Likewise.
37504 * math/w_sinhf.c: Likewise.
37505 * math/w_sinhl.c: Likewise.
37506 * math/w_tgamma.c: Likewise.
37507 * math/w_tgammaf.c: Likewise.
37508 * math/w_tgammal.c: Likewise.
37509 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37510 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37511 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37512 Minor optimizations. Pretty printing. Remove cruft.
37513 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37514 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37515 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37516 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37517 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37518 * sysdeps/i386/fpu/e_asin.S: Likewise.
37519 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37520 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37521 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37522 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37523 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37524 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37525 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37526 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37527 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37528 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37529 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37530 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37531 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37532 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37533 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37534 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37535 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37536 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37537 * sysdeps/i386/fpu/e_log.S: Likewise.
37538 * sysdeps/i386/fpu/e_log10.S: Likewise.
37539 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37540 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37541 * sysdeps/i386/fpu/e_log2.S: Likewise.
37542 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37543 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37544 * sysdeps/i386/fpu/e_logf.S: Likewise.
37545 * sysdeps/i386/fpu/e_logl.S: Likewise.
37546 * sysdeps/i386/fpu/e_pow.S: Likewise.
37547 * sysdeps/i386/fpu/e_powf.S: Likewise.
37548 * sysdeps/i386/fpu/e_powl.S: Likewise.
37549 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37550 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37551 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37552 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37553 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37554 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37555 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37556 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37557 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37558 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37559 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37567 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37579 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37580 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37581 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37582 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37583 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37584 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37585 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37586 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37587 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37588 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37589 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37590 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37591 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37592 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37593 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37594 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37595 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37596 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37597 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37598 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37599 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37600 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37601 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37602 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37603 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37604 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37605 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37606 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37607 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37608 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37609 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37610 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37611 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37612 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37613 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37614 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37615 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37616 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37617 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37618 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37619 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37620 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37621 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37622 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37623 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37624 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37626 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37627 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37628 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37629 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37630 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37632 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37633 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37634 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37635 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37636 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37637 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37638 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37639 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37640 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37641 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37642 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37643 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37644 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37645 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37646 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37647 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37648 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37649 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37650 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37651 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37652 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37653 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37654 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37655 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37656 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37657 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37658 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37659 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37660 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37661 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37662 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37663 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37664 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37665 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37666 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37667 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37668 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37669 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37670 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37671 (__isnanf): Likewise.
37672 (__isinf_ns): Likewise.
37673 (__isinf_nsf): Likewise.
37674 (__finite): Likewise.
37675 (__finitef): Likewise.
37676 (__ieee754_sqrt): Define as macro.
37677 (__ieee754_sqrtf): Define as macro.
37678 (__ieee754_sqrtl): Define as macro.
37679 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37681 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37682 __FINITE_MATH_ONLY__ consistent.
37683 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37685 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37687 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37690 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37692 2011-10-09 Ulrich Drepper <drepper@gmail.com>
37694 * po/ja.po: Update from translation team.
37696 2011-10-08 Roland McGrath <roland@hack.frob.com>
37698 * locale/programs/locarchive.c (prepare_address_space): New function.
37699 (create_archive, enlarge_archive, open_archive): Use it.
37701 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37702 inside [SHARED], where it is used.
37704 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37706 * nss/getent.c (netgroup_keys): Remove unused variable.
37707 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37709 2011-10-08 Ulrich Drepper <drepper@gmail.com>
37711 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37712 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37714 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37715 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37716 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37717 * math/Makefile (libm-calls): Add s_isinf_ns.
37718 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37719 * math/multc3.c: Likewise.
37720 * math/s_casin.c: Likewise.
37721 * math/s_casinf.c: Likewise.
37722 * math/s_casinl.c: Likewise.
37723 * math/s_ccos.c: Likewise.
37724 * math/s_ccosf.c: Likewise.
37725 * math/s_ccosl.c: Likewise.
37726 * math/s_ctan.c: Likewise.
37727 * math/s_ctanf.c: Likewise.
37728 * math/s_ctanh.c: Likewise.
37729 * math/s_ctanhf.c: Likewise.
37730 * math/s_ctanhl.c: Likewise.
37731 * math/s_ctanl.c: Likewise.
37732 * math/w_fmod.c: Likewise.
37733 * math/w_fmodf.c: Likewise.
37734 * math/w_fmodl.c: Likewise.
37735 * math/w_remainder.c: Likewise.
37736 * math/w_remainderf.c: Likewise.
37737 * math/w_remainderl.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37739 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37740 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37741 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37742 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37743 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37744 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37745 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37747 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37749 * stdio-common/printf_fphex.c: Likewise.
37750 * stdio-common/printf_size.c: Likewise.
37752 * math/e_exp10.c: Include math_private.h using <...> not "...".
37753 * math/e_exp10f.c: Likewise.
37754 * math/e_exp10l.c: Likewise.
37755 * math/e_exp2l.c: Likewise.
37756 * math/e_j0l.c: Likewise.
37757 * math/e_j1l.c: Likewise.
37758 * math/e_jnl.c: Likewise.
37759 * math/e_lgammal_r.c: Likewise.
37760 * math/e_rem_pio2l.c: Likewise.
37761 * math/e_scalb.c: Likewise.
37762 * math/e_scalbf.c: Likewise.
37763 * math/e_scalbl.c: Likewise.
37764 * math/k_cosl.c: Likewise.
37765 * math/k_sinl.c: Likewise.
37766 * math/k_tanl.c: Likewise.
37767 * math/s_cacoshf.c: Likewise.
37768 * math/s_catan.c: Likewise.
37769 * math/s_catanf.c: Likewise.
37770 * math/s_catanh.c: Likewise.
37771 * math/s_catanhf.c: Likewise.
37772 * math/s_catanhl.c: Likewise.
37773 * math/s_catanl.c: Likewise.
37774 * math/s_ccosh.c: Likewise.
37775 * math/s_ccoshf.c: Likewise.
37776 * math/s_ccoshl.c: Likewise.
37777 * math/s_cexp.c: Likewise.
37778 * math/s_cexpf.c: Likewise.
37779 * math/s_cexpl.c: Likewise.
37780 * math/s_clog.c: Likewise.
37781 * math/s_clog10.c: Likewise.
37782 * math/s_clog10f.c: Likewise.
37783 * math/s_clog10l.c: Likewise.
37784 * math/s_clogf.c: Likewise.
37785 * math/s_clogl.c: Likewise.
37786 * math/s_csin.c: Likewise.
37787 * math/s_csinf.c: Likewise.
37788 * math/s_csinh.c: Likewise.
37789 * math/s_csinhf.c: Likewise.
37790 * math/s_csinhl.c: Likewise.
37791 * math/s_csinl.c: Likewise.
37792 * math/s_csqrt.c: Likewise.
37793 * math/s_csqrtf.c: Likewise.
37794 * math/s_csqrtl.c: Likewise.
37795 * math/s_ctan.c: Likewise.
37796 * math/s_ctanf.c: Likewise.
37797 * math/s_ctanh.c: Likewise.
37798 * math/s_ctanhf.c: Likewise.
37799 * math/s_ctanhl.c: Likewise.
37800 * math/s_ctanl.c: Likewise.
37801 * math/s_ldexp.c: Likewise.
37802 * math/s_ldexpf.c: Likewise.
37803 * math/s_ldexpl.c: Likewise.
37804 * math/s_significand.c: Likewise.
37805 * math/s_significandf.c: Likewise.
37806 * math/s_significandl.c: Likewise.
37807 * math/w_acos.c: Likewise.
37808 * math/w_acosf.c: Likewise.
37809 * math/w_acosh.c: Likewise.
37810 * math/w_acoshf.c: Likewise.
37811 * math/w_acoshl.c: Likewise.
37812 * math/w_acosl.c: Likewise.
37813 * math/w_asin.c: Likewise.
37814 * math/w_asinf.c: Likewise.
37815 * math/w_asinl.c: Likewise.
37816 * math/w_atan2.c: Likewise.
37817 * math/w_atan2f.c: Likewise.
37818 * math/w_atan2l.c: Likewise.
37819 * math/w_atanh.c: Likewise.
37820 * math/w_atanhf.c: Likewise.
37821 * math/w_atanhl.c: Likewise.
37822 * math/w_cosh.c: Likewise.
37823 * math/w_coshf.c: Likewise.
37824 * math/w_coshl.c: Likewise.
37825 * math/w_dremf.c: Likewise.
37826 * math/w_exp10.c: Likewise.
37827 * math/w_exp10f.c: Likewise.
37828 * math/w_exp10l.c: Likewise.
37829 * math/w_exp2.c: Likewise.
37830 * math/w_exp2f.c: Likewise.
37831 * math/w_fmod.c: Likewise.
37832 * math/w_fmodf.c: Likewise.
37833 * math/w_fmodl.c: Likewise.
37834 * math/w_hypot.c: Likewise.
37835 * math/w_hypotf.c: Likewise.
37836 * math/w_hypotl.c: Likewise.
37837 * math/w_j0.c: Likewise.
37838 * math/w_j0f.c: Likewise.
37839 * math/w_j0l.c: Likewise.
37840 * math/w_j1.c: Likewise.
37841 * math/w_j1f.c: Likewise.
37842 * math/w_j1l.c: Likewise.
37843 * math/w_jn.c: Likewise.
37844 * math/w_jnf.c: Likewise.
37845 * math/w_jnl.c: Likewise.
37846 * math/w_lgamma.c: Likewise.
37847 * math/w_lgamma_r.c: Likewise.
37848 * math/w_lgammaf.c: Likewise.
37849 * math/w_lgammaf_r.c: Likewise.
37850 * math/w_lgammal.c: Likewise.
37851 * math/w_lgammal_r.c: Likewise.
37852 * math/w_log.c: Likewise.
37853 * math/w_log10.c: Likewise.
37854 * math/w_log10f.c: Likewise.
37855 * math/w_log10l.c: Likewise.
37856 * math/w_log2.c: Likewise.
37857 * math/w_log2f.c: Likewise.
37858 * math/w_log2l.c: Likewise.
37859 * math/w_logf.c: Likewise.
37860 * math/w_logl.c: Likewise.
37861 * math/w_pow.c: Likewise.
37862 * math/w_powf.c: Likewise.
37863 * math/w_powl.c: Likewise.
37864 * math/w_remainder.c: Likewise.
37865 * math/w_remainderf.c: Likewise.
37866 * math/w_remainderl.c: Likewise.
37867 * math/w_scalb.c: Likewise.
37868 * math/w_scalbf.c: Likewise.
37869 * math/w_scalbl.c: Likewise.
37870 * math/w_sinh.c: Likewise.
37871 * math/w_sinhf.c: Likewise.
37872 * math/w_sinhl.c: Likewise.
37873 * math/w_sqrt.c: Likewise.
37874 * math/w_sqrtf.c: Likewise.
37875 * math/w_sqrtl.c: Likewise.
37876 * math/w_tgamma.c: Likewise.
37877 * math/w_tgammaf.c: Likewise.
37878 * math/w_tgammal.c: Likewise.
37880 * po/ja.po: Update from translation team.
37882 2011-09-29 Andreas Jaeger <aj@suse.de>
37885 * sunrpc/netname.c (netname2host): Fix logic.
37889 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37891 * math/w_remainder.c (__remainder): Likewise.
37892 * math/w_remainderf.c (__remainderf): Likewise.
37893 * math/libm-test.inc (remainder_test): Add test cases.
37895 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37897 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37900 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37902 * string/test-memcmp.c: Avoid unncessary #defines.
37903 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37905 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37907 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37908 Use new sse2 version for core i3 - i7 as it's faster
37909 than sse42 version.
37910 (bit_Prefer_PMINUB_for_stringop): New.
37911 * sysdeps/x86_64/rawmemchr.S: Update.
37912 Replace with faster SSE2 version.
37913 * sysdeps/x86_64/memrchr.S: New file.
37914 * sysdeps/x86_64/memchr.S: Update.
37915 Replace with faster SSE2 version.
37917 2011-09-12 Marek Polacek <mpolacek@redhat.com>
37919 * elf/dl-load.c (lose): Add cast to avoid warning.
37921 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37923 * po/ca.po: Update from translation team.
37925 * inet/getnetgrent_r.c: Hook up nscd.
37926 * nscd/Makefile (routines): Add nscd_netgroup.
37927 (nscd-modules): Add netgroupcache.
37928 (CFLAGS-netgroupcache.c): Define.
37929 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37930 (cache_search): Add const to second parameter.
37931 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37933 (dbs): Add netgrdb entry.
37934 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37935 (verify_persistent_db): Handle netgrdb.
37936 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37937 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37939 (netgroup_response_header): Define.
37940 (innetgroup_response_header): Define.
37941 (datahead): Add netgroup_response_header and innetgroup_response_header
37943 * nscd/nscd.conf: Add entries for netgroup cache.
37944 * nscd/nscd.h (dbtype): Add netgrdb.
37945 (_PATH_NSCD_NETGROUP_DB): Define.
37946 (netgroup_iov_disabled): Declare.
37947 (xmalloc, xcalloc, xrealloc): Move declarations here.
37948 (cache_search): Adjust prototype.
37949 Add netgroup-related prototypes.
37950 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37951 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37952 (__nscd_innetgr): Declare.
37953 * nscd/selinux.c (perms): Use access_vector_t as element type and
37954 add netgroup-related initializers.
37955 * nscd/netgroupcache.c: New file.
37956 * nscd/nscd_netgroup.c: New file.
37957 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37958 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37959 For four parameters use innetgr.
37960 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37961 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37962 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37963 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37965 * nscd/connections.c (register_traced_file): Don't register file
37966 for disabled databases.
37968 2011-10-06 Ulrich Drepper <drepper@gmail.com>
37970 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37972 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37973 from tree and freeing node.
37975 2011-09-25 Jiri Olsa <jolsa@redhat.com>
37977 * nss/nsswitch.c (__nss_database_lookup): Handle
37978 nss_parse_service_list out of memory case.
37980 2011-09-15 Jiri Olsa <jolsa@redhat.com>
37982 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37983 out of memory case.
37985 2011-10-04 Andreas Schwab <schwab@redhat.com>
37987 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37988 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37990 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37991 elf_machine_rela, elf_machine_lazy_rel.
37992 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37993 (ELF_DYNAMIC_DO_REL): Likewise.
37994 (ELF_DYNAMIC_DO_RELA): Likewise.
37995 (ELF_DYNAMIC_RELOCATE): Likewise.
37996 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37997 to ELF_DYNAMIC_DO_REL.
37998 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37999 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38000 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38002 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38003 skip_ifunc, don't call ifunc function if non-zero.
38004 (elf_machine_rela): Likewise.
38005 (elf_machine_lazy_rel): Likewise.
38006 (elf_machine_lazy_rela): Likewise.
38007 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38008 (elf_machine_lazy_rel): Likewise.
38009 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38011 (elf_machine_lazy_rel): Likewise.
38012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38014 (elf_machine_lazy_rel): Likewise.
38015 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38016 (elf_machine_lazy_rel): Likewise.
38017 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38018 (elf_machine_lazy_rel): Likewise.
38019 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38020 (elf_machine_lazy_rel): Likewise.
38021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38022 (elf_machine_lazy_rel): Likewise.
38023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38024 (elf_machine_lazy_rel): Likewise.
38025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38026 (elf_machine_lazy_rel): Likewise.
38028 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38030 * nss/nss_files/files-init.c (_nss_files_init): Use static
38031 initialization for all the *_traced_file variables.
38033 2011-09-28 Andreas Schwab <schwab@redhat.com>
38035 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38037 2011-09-27 Roland McGrath <roland@hack.frob.com>
38040 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38042 2011-09-27 Andreas Schwab <schwab@redhat.com>
38044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38045 Reread the line before reparsing it.
38047 2011-09-26 Andreas Schwab <schwab@redhat.com>
38049 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38051 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38052 Maxim Kuvyrkov <maxim@codesourcery.com>
38053 Joseph Myers <joseph@codesourcery.com>
38055 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38056 if needed for __stack_chk_guard.
38058 2011-09-19 Roland McGrath <roland@hack.frob.com>
38060 * sysdeps/posix/spawni.c (script_execute): Always define it.
38061 It will be optimized away if unused.
38062 (maybe_script_execute): New function.
38063 (__spawni): Call it.
38065 * Makerules: Don't include tls.make.
38066 (config-tls): Always set to thread.
38067 * tls.make.c: File removed.
38069 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38071 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38072 * config.make.in (CPPFLAGS-config): New substituted variable.
38074 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38076 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38079 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38080 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38082 2011-09-15 Roland McGrath <roland@hack.frob.com>
38084 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38085 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38086 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38087 (CALL_FAIL): Likewise.
38088 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38089 (CALL_FAIL): Macro removed.
38090 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38092 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38094 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38095 for __FINITE_MATH_ONLY__ == 1.
38097 2011-09-15 Andreas Schwab <schwab@redhat.com>
38099 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38100 __ieee754_sqrt instead of sqrt.
38101 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38102 __ieee754_sqrtf instead of sqrtf.
38103 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38104 __floorf instead of floorf.
38105 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38106 __floorf, __truncf instead of floorf, truncf.
38108 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38110 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38112 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38113 __extern_always_inline.
38114 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38117 2011-09-14 Andreas Schwab <schwab@redhat.com>
38119 * elf/rtld.c (dl_main): Also relocate in dependency order when
38120 doing symbol dependency testing.
38122 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38124 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38125 Always define `refsym'.
38127 2011-09-13 Andreas Schwab <schwab@redhat.com>
38129 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38130 (__FD_ELT): Renamed from __FDELT.
38131 * misc/bits/select2.h (__FD_ELT): Likewise.
38132 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38133 __FD_MASK instead of __FDELT, __FDMASK.
38134 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38136 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38139 * elf/Makefile (gen-ldd): Fix pattern.
38141 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38142 (init_tls): Likewise.
38144 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38146 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38148 2011-09-12 Andreas Schwab <schwab@redhat.com>
38150 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38151 `struct cmsghdr *' instead of `void *'.
38152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38155 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38157 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38159 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38160 ldd_rewrite_script.
38162 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38164 * configure.in: Remove --with-tls option.
38165 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38166 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38167 out in case it is missing.
38168 * sysdeps/ia64/elf/configure.in: Likewise.
38169 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38170 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38171 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38172 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38173 * sysdeps/sh/elf/configure.in: Likewise.
38174 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38175 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38176 * sysdeps/x86_64/elf/configure.in: Likewise.
38177 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38178 * sysdeps/mach/hurd/tls.h: Likewise.
38181 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38184 * configure.in: Fix use of AC_INIT.
38186 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38188 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38190 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38192 * malloc/hooks.c: Likewise.
38195 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38196 variables statically.
38197 (narenas): Initialize.
38198 (list_lock): Initialize.
38199 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38200 initializtion of main_arena and list_lock. Small cleanups.
38201 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38202 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38203 Add initializers to main_arena and mp_.
38204 (malloc_state): Remove pagesize member. Change all users to use
38207 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38208 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38209 is always initialized.
38211 * malloc/malloc.c: Removed unused configurations and dead code.
38212 * malloc/arena.c: Likewise.
38213 * malloc/hooks.c: Likewise.
38214 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38216 * include/tls.h: Removed. USE___THREAD must always be defined.
38217 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38218 * elf/dl-libc.c: Likewise.
38219 * elf/dl-tsd.c: Likewise.
38220 * include/errno.h: Likewise.
38221 * include/netdb.h: Likewise.
38222 * include/resolv.h: Likewise.
38223 * inet/herrno-loc.c: Likewise.
38224 * inet/herrno.c: Likewise.
38225 * malloc/arena.c: Likewise.
38226 * malloc/hooks.c: Likewise.
38227 * malloc/malloc.c: Likewise.
38228 * resolv/res-state.c: Likewise.
38229 * resolv/res_libc.c: Likewise.
38230 * sysdeps/i386/dl-machine.h: Likewise.
38231 * sysdeps/ia64/dl-machine.h: Likewise.
38232 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38233 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38234 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38235 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38236 * sysdeps/sh/dl-machine.h: Likewise.
38237 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38238 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38239 * sysdeps/unix/i386/sysdep.S: Likewise.
38240 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38241 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38245 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38246 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38250 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38251 * sysdeps/x86_64/dl-machine.h: Likewise.
38252 * tls.make.c: Likewise.
38254 * configure.in: Remove --with-__thread option. Make tests for
38255 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38256 tls_model attribute fail if no support is available. Remove
38258 * Makeconfig: Adjust for dropped configure option. All features are
38260 * Makerules: Likewise.
38261 * Versions.def: Likewise.
38262 * argp/argp-fmtstream.c: Likewise.
38263 * argp/argp-fmtstream.h: Likewise.
38264 * argp/argp-help.c: Likewise.
38265 * assert/assert.c: Likewise.
38266 * config.h.in: Likewise.
38267 * config.make.in: Likewise.
38268 * configure: Likewise.
38269 * configure.in: Likewise.
38270 * csu/Versions: Likewise.
38271 * csu/init.c: Likewise.
38272 * elf/tst-audit2.c: Likewise.
38273 * elf/tst-tls10.c: Likewise.
38274 * elf/tst-tls10.h: Likewise.
38275 * elf/tst-tls11.c: Likewise.
38276 * elf/tst-tls12.c: Likewise.
38277 * elf/tst-tls14.c: Likewise.
38278 * elf/tst-tlsmod11.c: Likewise.
38279 * elf/tst-tlsmod12.c: Likewise.
38280 * elf/tst-tlsmod13.c: Likewise.
38281 * elf/tst-tlsmod13a.c: Likewise.
38282 * elf/tst-tlsmod14a.c: Likewise.
38283 * elf/tst-tlsmod15b.c: Likewise.
38284 * elf/tst-tlsmod16a.c: Likewise.
38285 * elf/tst-tlsmod16b.c: Likewise.
38286 * elf/tst-tlsmod7.c: Likewise.
38287 * elf/tst-tlsmod8.c: Likewise.
38288 * elf/tst-tlsmod9.c: Likewise.
38289 * gmon/gmon.c: Likewise.
38290 * grp/fgetgrent_r.c: Likewise.
38291 * grp/putgrent.c: Likewise.
38292 * hurd/fopenport.c: Likewise.
38293 * include/libc-symbols.h: Likewise.
38294 * include/tls.h: Likewise.
38295 * intl/gettextP.h: Likewise.
38296 * intl/loadinfo.h: Likewise.
38297 * locale/global-locale.c: Likewise.
38298 * locale/localeinfo.h: Likewise.
38299 * mach/devstream.c: Likewise.
38300 * malloc/arena.c: Likewise.
38301 * malloc/set-freeres.c: Likewise.
38302 * misc/err.c: Likewise.
38303 * misc/getttyent.c: Likewise.
38304 * misc/mntent_r.c: Likewise.
38305 * posix/getopt.c: Likewise.
38306 * posix/wordexp.c: Likewise.
38307 * pwd/fgetpwent_r.c: Likewise.
38308 * resolv/Versions: Likewise.
38309 * resolv/res_hconf.c: Likewise.
38310 * shadow/fgetspent_r.c: Likewise.
38311 * shadow/putspent.c: Likewise.
38312 * stdio-common/printf_fphex.c: Likewise.
38313 * stdio-common/tmpfile.c: Likewise.
38314 * stdlib/abort.c: Likewise.
38315 * stdlib/fmtmsg.c: Likewise.
38316 * sunrpc/auth_unix.c: Likewise.
38317 * sunrpc/clnt_perr.c: Likewise.
38318 * sunrpc/clnt_tcp.c: Likewise.
38319 * sunrpc/clnt_udp.c: Likewise.
38320 * sunrpc/clnt_unix.c: Likewise.
38321 * sunrpc/openchild.c: Likewise.
38322 * sunrpc/svc_simple.c: Likewise.
38323 * sunrpc/svc_tcp.c: Likewise.
38324 * sunrpc/svc_udp.c: Likewise.
38325 * sunrpc/svc_unix.c: Likewise.
38326 * sunrpc/xdr.c: Likewise.
38327 * sunrpc/xdr_array.c: Likewise.
38328 * sunrpc/xdr_rec.c: Likewise.
38329 * sunrpc/xdr_ref.c: Likewise.
38330 * sunrpc/xdr_stdio.c: Likewise.
38332 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38334 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38336 2011-07-03 Andreas Jaeger <aj@suse.de>
38338 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38339 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38340 regenerate with gen-libm-tests.pl.
38342 2010-05-12 Petr Baudis <pasky@suse.cz>
38345 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38346 around j0() zero points by switching to j1().
38347 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38350 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38352 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38354 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38356 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38358 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38359 Patch in part by Pavel Roskin <proski@gnu.org>.
38362 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38364 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38365 Free memory block if necessary.
38368 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38369 be NULL. Don't lock in this case.
38371 2011-09-09 Roland McGrath <roland@hack.frob.com>
38373 * elf/elf.h (ELFOSABI_GNU): New macro.
38374 (ELFOSABI_LINUX): Define to that.
38376 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38378 * string/strncat.c (strncat): Undef the symbol in case it has been
38379 defined in bits/string.h.
38381 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38383 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38385 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38388 2011-08-17 Andreas Jaeger <aj@suse.de>
38390 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38392 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38393 Ian Lance Taylor <iant@google.com>
38395 * math/libm-test.inc (lround_test): New testcase.
38396 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38398 2011-09-08 Ulrich Drepper <drepper@gmail.com>
38400 * Makefile: Remove support for automatic cvs check-ins.
38401 * Makerules: Likewise.
38402 * config.make.in: Likewise.
38403 * configure.in: Likewise.
38404 * intl/Makefile: Likewise.
38405 * locale/Makefile: Likewise.
38406 * po/Makefile: Likewise.
38407 * posix/Makefile: Likewise.
38408 * sysdeps/gnu/Makefile: Likewise.
38409 * sysdeps/mach/hurd/Makefile: Likewise.
38410 * sysdeps/sparc/sparc32/Makefile: Likewise.
38413 * posix/Makefile (bug-regex32-ENV): Define.
38414 Patch by John Stanley <jpsinthemix@verizon.net>.
38416 * misc/Makefile (headers): Add bits/select2.h.
38417 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38418 * misc/bits/select2.h: New file.
38419 * include/bits/select2.h: New file.
38420 * debug/Makefile (routines): Add fdelt_chk.
38421 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38422 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38424 * debug/fdelt_chk.c: New file.
38426 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38427 * wcsmbs/test-wmemcmp.c: Likewise.
38428 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38429 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38431 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38433 * string/Makefile (strop-tests): Add memcmp.
38434 * string/test-wmemcmp.c: New file.
38435 * string/test-memcmp.c: Add wmemcmp support.
38437 2011-09-08 Roland McGrath <roland@hack.frob.com>
38440 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38443 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38444 garbage value in a __mach_port_mod_refs call in the cases of the
38445 task-self and thread-self ports.
38447 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38449 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38451 2011-09-08 Andreas Schwab <schwab@redhat.com>
38453 * elf/dl-load.c (lose): Check for non-null L.
38455 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38457 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38459 * elf/dl-libc.c (dlerror_run): Pass back error code from
38463 * elf/dl-load.c (lose): Free l_origin if it is valid.
38465 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38467 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38468 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38469 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38470 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38471 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38472 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38474 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38476 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38477 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38478 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38479 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38480 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38481 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38482 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38483 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38484 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38485 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38487 2011-08-15 Alan Modra <amodra@gmail.com>
38490 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38491 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38492 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38493 ppc_mcount to static-only-routines.
38494 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38496 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38497 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38499 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38501 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38502 for finite and infinity parameters.
38504 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38506 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38507 and add nop instructions for throughput optimization.
38508 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38510 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38512 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38513 aligned copy for power7 with vector-scalar instructions.
38514 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38516 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38521 2011-09-07 Andreas Schwab <schwab@redhat.com>
38524 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38527 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38529 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38530 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38531 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38532 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38535 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38537 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38538 Forgot to demangle the pointer.
38540 * sysdeps/i386/sysdep.h: Define atom_text_section.
38541 * sysdeps/x86_64/sysdep.h: Likewise.
38542 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38543 section with atom_text_section.
38544 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38545 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38546 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38548 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38550 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38551 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38552 already be defined. Change to take two parameters and don't assign
38553 result to variable. Adjust all users.
38554 Define INTERNAL_GETTIME if not already defined.
38555 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38558 HAVE_CLOCK_GETTIME_VSYSCALL.
38559 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38562 gettimeofday vsyscall, just use time.
38564 2011-09-06 Andreas Schwab <schwab@redhat.com>
38566 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38569 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38571 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38573 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38575 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38576 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38577 syscall if possible.
38579 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38581 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38582 e_ident. Don't pass to find_mapsXX.
38583 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38585 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38588 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38589 * sysdeps/x86_64/multiarch/strchr.S: Update.
38590 Check bit_slow_BSF bit.
38591 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38592 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38593 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38595 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38598 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38600 (tryshell): Define.
38601 (__spawni): Change last parameter to be flag. Test
38602 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38603 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38604 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38605 * posix/spawni.c: Likewise.
38606 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38607 * posix/spawnp.c: Likewise. Change normal version to use
38608 SPAWN_XFLAGS_USE_PATH.
38609 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38610 SPAWN_XFLAGS_TRY_SHELL.
38613 * posix/glob.h: Remove gcc 1.x support.
38616 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38618 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38621 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38623 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38624 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38625 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38626 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38627 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38628 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38630 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38632 * sysdeps/x86_64/wcscmp.S: New file.
38634 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38635 wcscmp-c wcscmp-sse2
38636 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38637 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38638 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38639 * wcsmbs/wcscmp.c: Allow renaming.
38641 2011-09-05 David S. Miller <davem@davemloft.net>
38643 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38644 stack slot, rather than the struct return pointer slot.
38645 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38646 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38648 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38650 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38652 * po/ja.po: Update from translation team.
38655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38656 kernel in 64-bit binaries.
38658 2011-09-01 David S. Miller <davem@davemloft.net>
38660 * elf/elf.h (HWCAP_SPARC_*): Move to..
38661 * sysdeps/sparc/sysdep.h: this new file and add new values.
38662 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38663 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38664 _DL_HWCAP_COUNT to 24.
38665 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38667 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38668 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38669 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38671 instead of magic constants.
38672 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38674 2011-08-31 David S. Miller <davem@davemloft.net>
38676 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38678 Reimplement to do errno handling inline.
38679 (SYSCALL_ERROR_HANDLER): New macro.
38680 (__SYSCALL_STRING): Do not do errno handling in asm.
38681 (__CLONE_SYSCALL_STRING): Delete.
38682 (__INTERNAL_SYSCALL_STRING): Delete.
38683 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38684 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38685 (PSEUDO): Reimplement to do errno handling inline.
38686 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38687 (SYSCALL_ERROR_HANDLER): New macro.
38688 (__SYSCALL_STRING): Do not do errno handling in asm.
38689 (__CLONE_SYSCALL_STRING): Delete.
38690 (__INTERNAL_SYSCALL_STRING): Delete.
38691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38692 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38694 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38695 (inline_syscall*): Add 'err' argument.
38696 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38697 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38698 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38699 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38701 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38702 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38704 2011-08-30 Andreas Schwab <schwab@redhat.com>
38706 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38708 2011-08-29 Jiri Olsa <jolsa@redhat.com>
38710 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38713 2011-08-24 David S. Miller <davem@davemloft.net>
38715 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38717 2011-08-24 Andreas Schwab <schwab@redhat.com>
38719 * elf/Makefile: Add rules to build and run unload8 test.
38720 * elf/unload8.c: New file.
38721 * elf/unload8mod1.c: New file.
38722 * elf/unload8mod1x.c: New file.
38723 * elf/unload8mod2.c: New file.
38724 * elf/unload8mod3.c: New file.
38726 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38729 2011-08-23 David S. Miller <davem@davemloft.net>
38731 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38732 subtract stack bias.
38733 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38734 %sp not %fp in calculations.
38735 (_JMPBUF_UNWINDS_ADJ): Likewise.
38737 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38738 (aio_suspend): Call it to force an exception region around the
38739 AIO_MISC_WAIT() invocation.
38741 2011-08-23 Andreas Schwab <schwab@redhat.com>
38743 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38746 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38748 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38750 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38751 and <dl-machine.h>.
38752 (Elf64_FuncDesc): Remove.
38754 2011-08-22 David S. Miller <davem@davemloft.net>
38756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38757 sigaltstack check, add missing cfi directives.
38758 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38759 missing cfi directives, and sigaltstack handling.
38761 2011-08-16 Andreas Schwab <schwab@redhat.com>
38764 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38765 object is seen twice.
38766 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38768 * elf/Makefile (distribute): Add tst-initorder2.c.
38769 (tests): Add tst-initorder2.
38770 (modules-names): Add tst-initorder2a tst-initorder2b
38771 tst-initorder2c tst-initorder2d. Add rules to build them.
38772 ($(objpfx)tst-initorder2.out): New rule.
38773 * elf/tst-initorder2.c: New file.
38774 * elf/tst-initorder2.exp: New file.
38776 2011-08-22 Andreas Schwab <schwab@redhat.com>
38778 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38780 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38781 dependencies back to end of function.
38783 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38784 $(elfobjdir)/ld.so.
38786 2011-08-21 Ulrich Drepper <drepper@gmail.com>
38788 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38789 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38791 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38792 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38793 of __vdso_gettimeofday.
38794 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38795 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38797 (_libc_vdso_platform_setup): Remove initialization of
38798 __vdso_gettimeofday and __vdso_time.
38800 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38802 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38803 and fgetc_unlocked.
38804 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38807 * elf/dl-open.c (add_to_global): Report additions to the global scope
38808 for LD_DEBUG=scopes.
38809 (dl_open_worker): Also print scope of newly loaded dependencies.
38810 (_dl_show_scope): Indicate if there is no scope.
38813 * stdio-common/Makefile (tests): Add bug24.
38814 * stdio-common/bug24.c: New file.
38816 2011-08-19 Andreas Jaeger <aj@suse.de>
38819 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38820 non-existant file when using close-on-exec mode.
38822 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38825 the very first instruction.
38827 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38828 the CFI state in the end.
38829 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38830 inclusion of dl-trampoline.h.
38831 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38833 2011-08-19 Andreas Schwab <schwab@redhat.com>
38835 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38836 expectations for long double.
38838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38839 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38841 2011-08-14 David S. Miller <davem@davemloft.net>
38843 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38844 artificual limit depends upon the system page size.
38846 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38848 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38849 * resolv/Makefile: Define CFLAGS-libresolv.
38851 2011-08-17 Andreas Schwab <schwab@redhat.com>
38853 * nss/makedb.c (compute_tables): Make variables used in nested
38856 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38858 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38859 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38860 if buffer was too small.
38862 * elf/pldd.c (main): Attach to all threads in the process.
38863 Rewrite /proc handling to use *at functions.
38865 2011-08-16 Ulrich Drepper <drepper@gmail.com>
38867 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38868 specifies first scope to show.
38869 (dl_open_worker): Update callers. Move printing scope of new
38870 object to before the relocation.
38871 * elf/rtld.c (dl_main): Update _dl_show_scope call.
38872 * sysdeps/generic/ldsodefs.h: Update declaration.
38874 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38875 string for the scope number.
38877 2011-08-14 Ulrich Drepper <drepper@gmail.com>
38879 * nscd/servicescache.c (cache_addserv): Make sure written is always
38882 2011-08-14 Roland McGrath <roland@hack.frob.com>
38884 * sysdeps/i386/i486/bits/atomic.h
38885 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38886 statement expression, so as to suppress "set but not used" warning.
38887 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38889 * string/strncat.c (STRNCAT): Use prototype definition.
38891 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38892 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38894 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38895 (localedef-modules): Add localedef.
38896 (locale-modules): Add locale.
38898 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38899 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38900 to avoid a warning.
38902 2011-08-14 David S. Miller <davem@davemloft.net>
38904 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38905 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38907 2011-08-13 Ulrich Drepper <drepper@gmail.com>
38909 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38910 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38911 * elf/rtld.c (dl_main): Set l_name of vDSO.
38912 Call _dl_show_scope when DL_DEBUG_SCOPES.
38913 (process_dl_debug): Recognize scopes flag and also set it for all.
38914 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38915 Declare _dl_show_scope.
38917 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38918 (do_dlopen): Pass caller_dlopen to dl_open.
38919 (__libc_dlopen_mode): Initialize caller_dlopen.
38921 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38922 of libc. Make tolower call locale-independent. Optimize a bit by
38923 using isdigit instead of isalnum.
38924 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38926 2011-08-12 Ulrich Drepper <drepper@gmail.com>
38928 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38929 was a dependency or dynamically loaded.
38931 2011-08-11 Ulrich Drepper <drepper@gmail.com>
38933 * intl/l10nflist.c: Allow architecture-specific pop function.
38934 * sysdeps/x86_64/l10nflist.c: New file.
38936 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38939 2011-08-10 Andreas Schwab <schwab@redhat.com>
38941 * include/dirent.h: Add libc_hidden_proto for scandirat and
38942 scandirat64. Don't declare __scandirat64.
38943 * dirent/scandirat.c: Add libc_hidden_def.
38944 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38945 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38947 2011-08-10 David S. Miller <davem@davemloft.net>
38949 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38951 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38952 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38953 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38955 2011-08-09 Ulrich Drepper <drepper@gmail.com>
38957 * Versions.def [libc]: Add GLIBC_2.15.
38958 * dirent/Makefile (routines): Add scandirat and scandirat64.
38959 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38961 * dirent/dirent.h: Declare scandirat and scandirat64.
38962 * dirent/scandirat.c: New file.
38963 * dirent/scandirat64.c: New file.
38964 * sysdeps/wordsize-64/scandirat.c: New file.
38965 * sysdeps/wordsize-64/scandirat64.c: New file.
38966 * dirent/opendir.c: Define opendirat.
38967 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38969 * dirent/scandir64.c: Adjust for scandir.c change.
38970 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38971 __scandirat64, and __scandir_cancel_handler.
38972 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38973 additional parameter and use openat instead of open (outside of ld.so).
38974 Add new __opendir as wrapper around __opendirat.
38975 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38976 here without requiring old scandirat implementation.
38978 2011-08-08 Ulrich Drepper <drepper@gmail.com>
38980 * dirent/scandir.c (cancel_handler): Renamed to
38981 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38982 defined. Adjust users.
38983 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38986 2011-08-04 Ulrich Drepper <drepper@gmail.com>
38988 * string/test-string.h (IMPL): Use __STRING to expand name and then
38991 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38994 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38996 * string/Makefile: Update.
38997 (strop-tests): Append strncat.
38998 * string/test-wcscmp.c: New file.
38999 New comprehensive test for wcscmp.
39000 * string/test-strcmp.c: Update.
39001 (WIDE): New define.
39003 2011-07-22 Andreas Schwab <schwab@redhat.com>
39005 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39008 2011-07-26 Andreas Schwab <schwab@redhat.com>
39010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39011 encoding to ACE if AI_IDN.
39013 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39016 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39018 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39020 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39021 Fix overflow bug in strncat.
39022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39024 * string/test-strncat.c: Update.
39025 Add new tests for checking overflow bugs.
39027 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39030 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39031 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39032 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39033 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39034 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39035 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39036 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39037 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39040 (USE_AS_STRCAT): Define.
39041 Add strcat and strncat support.
39042 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39044 2011-07-25 Andreas Schwab <schwab@redhat.com>
39046 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39047 __n bigger than INT_MAX+1.
39048 (__strncmp_g): Likewise.
39050 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39052 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39053 * libio/stido.h: Likewise.
39055 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39060 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39061 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39063 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39064 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39067 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39072 (_dl_x86_64_save_sse): Likewise.
39074 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39078 (_dl_x86_64_save_sse): Likewise.
39080 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39082 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39084 2011-07-21 Andreas Schwab <schwab@redhat.com>
39086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39088 (_dl_x86_64_save_sse): Use correct AVX check.
39090 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39093 bug in strncpy/strncat.
39094 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39096 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39098 * string/tester.c (test_strcat): Add tests for different alignments
39099 of source and destination.
39100 (test_strncat): Likewise.
39102 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39105 * posix/glob.c (glob): Check passed in values before using them in
39106 expressions to avoid some overflows.
39107 (glob_in_dir): Likewise.
39110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39111 check for AVX enablement so that we don't crash with old kernels and
39113 * elf/tst-audit4.c: Add same checks here.
39114 * elf/tst-audit6.c: Likewise.
39116 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39118 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39120 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39122 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39124 * po/cs.po: Update from translation team.
39125 * po/bg.po: Likewise.
39127 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39129 * misc/sys/cdefs.h: Add support for const attribute.
39130 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39131 to gnu_dev_{major,minor,makedev} functions.
39133 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39135 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39137 2011-07-20 Andreas Schwab <schwab@redhat.com>
39139 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39142 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39144 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39145 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39146 register in order to avoid conflicts with the soft frame pointer
39147 being held in r11 when necessary.
39148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39149 (INTERNAL_VSYSCALL_NCS): Likewise.
39151 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39153 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39154 * elf/dl-fini.c (_dl_fini): Adjust caller.
39155 * elf/dl-close.c (_dl_close_worker): Likewise.
39156 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39158 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39160 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39161 "aux_cache->nlibs < 0".
39163 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39164 in the reload-count case.
39166 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39169 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39170 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39171 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39172 * sysdeps/x86_64/multiarch/strcat.S: New file.
39173 * sysdeps/x86_64/multiarch/strncat.S: New file.
39174 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39175 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39176 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39177 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39179 (USE_AS_STRCAT): Define.
39180 Add strcat and strncat support.
39181 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39182 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39183 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39184 * string/strncat.c: Update.
39185 (USE_AS_STRNCAT): Define.
39186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39187 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39189 * sysdeps/x86_64/multiarch/init-arch.h
39190 (bit_Prefer_PMINUB_for_stringop): New.
39191 (index_Prefer_PMINUB_for_stringop): Likewise.
39192 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39193 bit_Prefer_PMINUB_for_stringop.
39195 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39197 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39199 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39200 of casting of buffer.
39201 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39202 buffer32 and buffer64.
39203 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39204 writes instead of casting of buffer.
39205 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39207 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39210 2011-07-19 Andreas Schwab <schwab@redhat.com>
39212 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39214 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39216 * nscd/nscd.c (termination_handler): Don't do anything for a database
39217 if it has not yet been initialized.
39219 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39221 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39223 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39225 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39227 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39229 * po/nl.po: Update from translation team.
39230 * po/sv.po: Likewise.
39232 2011-07-16 Roland McGrath <roland@hack.frob.com>
39234 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39235 now disallowed by GCC.
39237 * configure.in (use-default-link): Default to yes if a test -shared
39238 link meets our qualifications.
39239 * configure: Regenerated.
39241 * config.make.in (output-format): New variable.
39242 * configure.in: Check for ld --print-output-format support.
39243 * configure: Regenerated.
39244 * Makerules ($(common-objpfx)format.lds)
39245 [$(output-format) != unknown]: Just use $(output-format),
39246 instead of the linker-script munging.
39248 2011-07-14 Roland McGrath <roland@hack.frob.com>
39250 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39251 of $(common-objpfx)shlib.lds.
39252 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39254 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39255 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39257 * configure.in (-z relro check): Adjust test code to add a large
39258 writable data section after it.
39259 * configure: Regenerated.
39261 2011-07-11 Roland McGrath <roland@hack.frob.com>
39263 * configure.in (-z relro check): Fix test code to make the variable
39265 * configure: Regenerated.
39267 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39269 * nscd/nscd.h (struct traced_file): Define.
39270 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39271 elements. Add traced_files.
39272 (inotify_fd): Declare.
39273 (register_traced_file): Declare.
39274 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39275 (inotify_fd): Export.
39276 (resolv_conf_descr): Remove.
39277 (nscd_init): Move inotify descriptor creation to main.
39278 Don't register files for notification here.
39279 (register_traced_file): New function.
39280 (invalidate_cache): Don't use reset_res to determine whether to call
39281 res_init, go through the list of registered files.
39282 (main_loop_poll): The inotify descriptors are now stored in the
39283 structures for the traced files.
39284 (main_loop_epoll): Likewise
39285 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39286 to __nss_disable_nscd.
39287 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39288 for a database anymore. Check the records for all the registered
39290 * nss/Makefile (libnss_files-routines): Add files-init.
39291 (libnss_db-routines): Add db-init.
39292 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39293 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39294 * nss/nss_db/db-init.c: New file.
39295 * nss/nss_files/files-init.c: New file.
39296 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39297 __nss_lookup_function.
39298 (__nss_lookup_function): Call nss_load_library.
39299 (nss_load_all_libraries): New function.
39300 (__nss_disable_nscd): Take parameter with callback function for files
39301 to register. Set is_nscd. Load all the DSOs for the NSS modules
39302 used for the cached services.
39303 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39304 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39305 options for features to all the files in nscd.
39307 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39309 2011-07-10 Roland McGrath <roland@hack.frob.com>
39311 * csu/elf-init.c (__libc_csu_init): Comment typo.
39313 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39315 * po/pl.po: Update from translation team.
39316 * po/ja.po: Likewise.
39317 * po/ru.po: Likewise.
39318 * po/ko.po: Likewise.
39319 * po/fr.po: Likewise.
39321 2011-07-09 Roland McGrath <roland@hack.frob.com>
39323 * configure.in (.ctors/.dtors header and trailer check):
39324 Use an empirical test on a built program.
39325 * configure: Regenerated.
39327 * configure.in (-z relro check): Use an empirical test on a built DSO.
39328 Detect, but do not require, on ia64.
39329 * configure: Regenerated.
39331 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39332 Update tests that use readelf to use $READELF instead.
39333 * configure: Regenerated.
39335 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39337 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39338 if the result is not used.
39340 2011-07-05 Andreas Jaeger <aj@suse.de>
39343 * stdlib/tst-strtod.c: Add testcase.
39345 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39347 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39348 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39349 The latter has a higher limit. Take additional parameter to pass to
39351 (__pathconf): Pass file to __statfs_link_max.
39352 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39354 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39358 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39359 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39361 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39362 (__statfs_filesize_max): Likewise.
39363 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39365 2011-07-05 Andreas Jaeger <aj@suse.de>
39367 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39369 2011-07-06 Marek Polacek <mpolacek@redhat.com>
39371 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39373 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39376 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39378 * Makefile (strop-tests): Add strncat.
39379 * string/test-strncat.c: New file.
39381 2011-06-30 Marek Polacek <mpolacek@redhat.com>
39383 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39385 2011-06-21 Andreas Jaeger <aj@suse.de>
39387 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39388 Copy rule from iconvdata/Makefile.
39390 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39393 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39394 but no long options are defined, just return 'W'.
39396 2011-06-22 Marek Polacek <mpolacek@redhat.com>
39399 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39401 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39403 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39405 (innetgr): Likewise.
39407 2011-07-05 Roland McGrath <roland@hack.frob.com>
39409 * config.make.in (install_root): Default to $(DESTDIR).
39411 2011-07-05 Ulrich Drepper <drepper@gmail.com>
39413 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39415 2011-07-02 Roland McGrath <roland@hack.frob.com>
39417 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39419 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39420 containing directory rather than embedding absolute directory names.
39422 * scripts/check-local-headers.sh: Rewritten using awk.
39423 Match by word, not by line. Print error messages for matches.
39424 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39426 * Makerules [shlib-lds-flags empty]:
39427 ($(common-objpfx)libc_pic.opts): New target.
39428 ($(common-objpfx)libc_pic.os.clean): New target.
39429 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39431 * config.make.in (OBJCOPY): New variable.
39432 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39433 * configure: Regenerated.
39435 * config.make.in (use-default-link): New variable.
39436 * configure.in (use_default_link): Grok --with-default-link to set it.
39437 * configure: Regenerated.
39438 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39439 (shlib-lds, shlib-lds-flags): Define to empty.
39441 * Makerules (shlib-lds): New variable.
39442 (shlib-lds-flags): New variable.
39443 (build-shlib, build-moduile, build-module-asneeded): Use it.
39444 ($(common-objpfx)libc.so): Use $(shlib-lds).
39445 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39446 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39448 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39449 DT_FLAGS/DT_FLAGS_1 with zero flags.
39451 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39452 linker script munging.
39454 2011-07-02 Ulrich Drepper <drepper@gmail.com>
39456 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39458 * crypt/sha512.c (sha512_process_block): Perform total addition using
39459 128-bit if possible.
39460 (__sha512_finish_ctx): Likewise.
39461 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39463 * crypt/sha256.c (SWAP64): Define.
39464 (sha256_process_block): Perform total addition using 64-bit if
39466 (__sha256_finish_ctx): Likewise.
39468 2011-07-01 Ulrich Drepper <drepper@gmail.com>
39470 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39472 * nscd/hstcache.c (cache_addhst): Likewise.
39473 * nscd/grpcache.c (cache_addgr): Likewise.
39474 * nscd/aicache.c (addhstaiX): Likewise
39475 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39477 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
39479 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39481 * nscd/hstcache.c (cache_addhst): Likewise.
39482 * nscd/grpcache.c (cache_addgr): Likewise.
39483 * nscd/aicache.c (addhstaiX): Likewise
39485 2011-07-01 Andreas Schwab <schwab@redhat.com>
39487 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39488 domain only when needed.
39490 2011-06-30 Andreas Schwab <schwab@redhat.com>
39492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39493 is always restored.
39495 2011-06-29 Ulrich Drepper <drepper@gmail.com>
39497 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39498 are re-adding the entry.
39499 * nscd/servicescache.c (cache_addserv): Likewise.
39501 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39503 * sysdeps/generic/dl-irel.h: fix protection against multiple
39505 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39507 2011-06-28 Ulrich Drepper <drepper@gmail.com>
39510 * malloc/memusage.sh: Fix quoting in message.
39511 * debug/xtrace.sh: Likewise.
39513 * configure.in: Remove support for --experimental-malloc option, make
39515 * config.make.in: Likewise.
39516 * malloc/Makefile: Likewise.
39518 2011-06-27 Andreas Schwab <schwab@redhat.com>
39520 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39521 two-byte characters.
39523 2011-06-27 Roland McGrath <roland@hack.frob.com>
39525 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39526 AC_CACHE_CHECK invocation.
39527 * configure: Regenerated.
39529 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39531 2011-06-27 Ulrich Drepper <drepper@gmail.com>
39534 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39535 bit from old_res_options.
39537 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39539 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39540 value type for setfct.
39542 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39544 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39545 __gettimeofday instead of gettimeofday.
39547 2011-06-26 Ulrich Drepper <drepper@gmail.com>
39549 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39551 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39558 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39561 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39562 strcpy-sse2-unaligned strncpy-sse2-unaligned
39563 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39564 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39565 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39566 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39567 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39568 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39569 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39570 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39571 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39572 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39573 (STRCPY): Support SSE2 and SSSE3 versions.
39575 2011-06-24 Ulrich Drepper <drepper@gmail.com>
39578 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39579 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39580 kernels which artificially limit size of requests.
39582 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39585 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39586 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39587 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39588 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39589 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39590 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39591 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39594 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39595 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39596 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39597 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39598 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39600 Enable unaligned load optimization for Intel Core i3, i5 and i7
39602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39604 (index_Fast_Unaligned_Load): Define.
39605 (HAS_FAST_UNALIGNED_LOAD): Define.
39607 2011-06-23 Marek Polacek <mpolacek@redhat.com>
39609 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39611 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39614 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39615 until it is clear that the information is realy needed.
39616 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39618 2011-06-22 Andreas Schwab <schwab@redhat.com>
39620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39622 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39624 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39625 /sys/devices/system/cpu/online if it is usable.
39627 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39628 reading the information from the /proc filesystem to once a second.
39630 2011-06-21 Andreas Jaeger <aj@suse.de>
39632 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39633 NULL after inclusion of kernel headers.
39635 2011-06-21 Ulrich Drepper <drepper@gmail.com>
39637 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39638 calls to internal_setent.
39641 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39642 addresses using gethostbyname4_r ignore IPv4 addresses.
39644 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39645 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39647 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39649 2011-06-20 David S. Miller <davem@davemloft.net>
39651 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39653 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39655 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39656 (elf_irel): Use it.
39657 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39658 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39659 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39660 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39661 * sysdeps/x86_64/dl-irel.h: Likewise.
39663 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39664 * elf/dl-sym.c: Likewise.
39666 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39668 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39669 need to dereference resplen2.
39671 2011-06-14 Andreas Schwab <schwab@redhat.com>
39673 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39675 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39677 * Makeconfig: Define vardbdir and inst_vardbdir.
39678 * nss/Makefile: Add rules to install db-Makefile.
39680 * nss/nss_db/db-XXX.c: Cleanup.
39682 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39683 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39685 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39686 * nss/makedb.c: Implement -g option to specify that value strings
39687 are generated and should not be added to table iterated over for
39689 * nss/nss_db/db-initgroups.c: New file.
39691 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39694 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39695 (internal_getgrouplist): Adjust to name change.
39696 Update use_initgroups_entry if this is not the first call.
39697 * nss/databases.def: Add initgroups entry.
39699 * nss/makedb.c (compute_tables): Check result of multiple hash table
39700 sizes to minimize maximum chain length.
39702 2011-06-14 Ulrich Drepper <drepper@gmail.com>
39704 * Versions.def: Add entry for libnss_db.
39705 * shlib-versions: Likewise.
39706 * nss/Makefile: Add rules to build libnss_db.
39707 * nss/Versions: Add libnss_db information. Organize libnss_files
39709 * nss/db-Makefile: Add gshadow support. Change rules for the new
39710 makedb progra. Some minor improvements to generate smaller files.
39711 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39713 * nss/makedb.c: ...here.
39714 Improve database format to be smaller and require less memory at
39716 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39718 * nss/nss_db/db-netgrp.c: Likewise.
39719 * nss/nss_db/db-open.c: Likewise.
39720 * nss/nss_files/flies-XXX.x: Adjust comments.
39721 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39722 * nss/nss_files/files-grp.c: Likewise.
39723 * nss/nss_files/files-hosts.c: Likewise.
39724 * nss/nss_files/files-network.c: Likewise.
39725 * nss/nss_files/files-proto.c: Likewise.
39726 * nss/nss_files/files-pwd.c: Likewise.
39727 * nss/nss_files/files-rpc.c: Likewise.
39728 * nss/nss_files/files-service.c: Likewise.
39729 * nss/nss_files/files-sgrp.c: Likewise.
39730 * nss/nss_files/files-spwd.c: Likewise.
39731 * nss/nss_db/db-alias.c: Removed.
39732 * nss/nss_db/dummy-db.h: Removed.
39734 2011-06-02 Ulrich Drepper <drepper@gmail.com>
39736 * nss/makedb.c: Rewritten to not use database library.
39737 * nss/Makefile: Update to build new makedb program.
39739 2011-06-14 Andreas Jaeger <aj@suse.de>
39741 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39742 memset declaration.
39744 2011-06-10 Andreas Schwab <schwab@redhat.com>
39746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39749 2011-06-10 Roland McGrath <roland@hack.frob.com>
39751 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39752 * elf/Makefile ($(objpfx)ld.so): Likewise.
39754 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39755 Don't list ld.so twice in dependencies.
39757 * posix/bug-regex31.c: Include <stdlib.h>.
39759 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39761 * nis/nss_compat/compat-spwd.c
39762 (getspent_next_nss_netgr): Remove unused variable.
39763 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39765 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39766 nonmembers" output to use the right array.
39768 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39770 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39772 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39773 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39774 * catgets/gencat.c (read_input_file): Likewise.
39775 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39777 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39778 variable definition inside #if's controlling its use.
39780 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39782 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39784 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39786 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39789 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39791 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39792 * configure: Regenerated.
39794 * Makerules: Revert last change.
39795 * elf/Makefile: Likewise.
39797 2011-06-09 Roland McGrath <roland@hack.frob.com>
39799 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39800 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39801 (reloc-link): Likewise.
39803 2011-06-09 Ulrich Drepper <drepper@gmail.com>
39805 * elf/Makefile: Add rules to build pldd.
39806 * elf/pldd.c: New file.
39807 * elf/pldd-xx.c: New file.
39809 2011-06-07 Ulrich Drepper <drepper@gmail.com>
39811 * version.h: Update for 2.15 development version.
39813 2011-06-07 David S. Miller <davem@davemloft.net>
39815 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39818 elf_machine_lazy_rel): Likewise.
39819 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39821 elf_machine_lazy_rel): Likewise.
39822 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39823 dl_hwcap via passed in argument.
39824 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39827 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39829 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39831 2011-06-06 Roland McGrath <roland@hack.frob.com>
39834 * manual/fdl-1.1.texi: New file, verbatim from:
39835 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39836 * manual/lgpl-2.1.texi: New file, verbatim from:
39837 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39838 * manual/Makefile (licenses): New variable, list those new file names.
39840 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39842 * manual/fdl.texi: File removed.
39843 * manual/lesser.texi: File removed.
39844 * manual/libc.texinfo (Copying, Documentation License):
39845 Use new @include file names, put @appendix directive before @include.
39847 2011-06-04 Jakub Jelinek <jakub@redhat.com>
39850 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39851 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39852 (mq_open): Add __NTH.
39854 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39857 Assume Intel Core i3/i5/i7 processor if AVX is available.
39859 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39864 2011-05-31 Andreas Schwab <schwab@redhat.com>
39866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39867 memory. Use alloca_account. Fix memory leak when retrying.
39869 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39871 * version.h (RELEASE): Bump for 2.14 release.
39872 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39874 * config.make.in (RANLIB): Remove entry.
39876 2011-05-30 Ulrich Drepper <drepper@gmail.com>
39878 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39879 (libc.pot): Work around missing support for .ksh extension in xgettext.
39882 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39883 if both request failed.
39884 (send_dg): In case of server errors clear resplen or *resplen2.
39887 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39888 when there are multiple maps.
39889 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39890 (_dl_fini): Remove test here.
39892 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39894 2011-05-29 Ulrich Drepper <drepper@gmail.com>
39897 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39898 bit from old_res_options.
39899 (gaih_inet): Likewise.
39902 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39905 * resolv/res_init.c (res_setoptions): Make the code more compact.
39908 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39912 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39914 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39917 * malloc/malloc.h: Declare malloc hook variables as volatile.
39919 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39923 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39924 raise in the comment.
39925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39926 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39927 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39929 2011-05-28 Ulrich Drepper <drepper@gmail.com>
39932 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39933 grow the buffers more if it already has to be sufficient.
39934 (build_wcs_upper_buffer): Likewise.
39935 * posix/regexec.c (check_matching): Likewise.
39936 (clean_state_log_if_needed): Likewise.
39937 (extend_buffers): Don't enlarge buffers beyond size of the input
39939 Patches mostly by Emil Wojak <emil@wojak.eu>.
39940 * posix/bug-regex32.c: New file.
39941 * posix/Makefile (tests): Add bug-regex32.
39943 * locale/findlocale.c (_nl_find_locale): Return right away if
39944 _nl_explode_name failed.
39945 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39947 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39949 * debug/xtrace.sh: Unify messages.
39950 * malloc/memusage.sh: Likewise.
39953 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39954 time symbol from vDSO. Substitute with vsyscall if not available.
39955 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39958 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39959 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39960 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39961 Add sendmmsg and internal_sendmmsg.
39962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39963 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39964 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39966 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39967 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39968 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39970 2011-05-27 Ulrich Drepper <drepper@gmail.com>
39973 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39974 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39976 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39980 * iconvdata/Makefile (tests): Add bug-iconv9.
39981 * iconvdata/bug-iconv9.c: New file.
39983 2011-05-27 Andreas Schwab <schwab@redhat.com>
39986 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39988 2011-05-25 Jakub Jelinek <jakub@redhat.com>
39990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39991 (struct user_regs_struct): Change intcs field back to cs.
39993 2011-05-25 Ulrich Drepper <drepper@gmail.com>
39995 * po/ja.po: Update from translation team.
39997 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40000 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40001 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40003 2011-05-20 Andreas Schwab <schwab@redhat.com>
40005 * stdlib/longlong.h: Update from GCC.
40007 2011-05-23 Andreas Schwab <schwab@redhat.com>
40009 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40011 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40012 Add parameter name.
40013 (__sysconf): Pass it down.
40015 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40018 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40020 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40021 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40022 add in in __libc_use_alloca calls. Adjust callers.
40023 (glob): Use malloc in some situations.
40025 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40026 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40029 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40031 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40032 and CLOCK_BOOTTIME_ALARM.
40035 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40038 * string/_strerror.c (__strerror_r): Print negative errors as signed
40042 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40043 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40044 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40046 * configure.in: Fix typo in redirection and correct removal of test
40047 files in two cases.
40050 * locale/setlocale.c (new_composite_name): Fix test to check for
40051 identical name of all categories.
40054 * libio/filedoalloc.c (local_isatty): New function.
40055 (_IO_file_doallocate): Use local_isatty.
40056 * stdio-common/perror.c (perror): In case a new stream is used
40057 forward the stream error.
40058 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40061 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40066 * include/alloca.h (extend_alloca_account): Define.
40069 * posix/regex.h: Fix comments with documentation of user-accessible
40070 fields after compilation and describe correct free'ing of pattern
40071 after re_compile_pattern.
40072 Patch by Reuben Thomas <rrt@sc3d.org>.
40074 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40076 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40077 and -mno-altivec to prevent the compiler from using Altivec and/or
40078 VSX instructions when the corresponding registers are not available.
40080 2011-05-19 Andreas Schwab <schwab@redhat.com>
40082 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40084 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40086 * libio/freopen.c (freopen): Use __dup2, not dup2.
40087 * libio/freopen64.c (freopen64): Likewise.
40089 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40092 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40093 * math/Makefile (tests): Add test-powl.
40094 (CFLAGS-test-powl.c): Define.
40095 * math/test-powl.c: New file.
40097 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40099 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40101 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40104 * iconvdata/gb18030.c: Update to GB18020-2005.
40106 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40108 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40109 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40110 Patch by Aharon Robbins <arnold@skeeve.com>.
40113 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40117 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40118 through underflows.
40121 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40122 point to strings before performing equality test for error_one_per_line
40126 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40129 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40130 (struct user_fpregs_struct): Avoid __uint*_t types.
40133 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40134 symbol info. Use it instead of calling _dl_addr locally.
40135 (lock_and_info): New function.
40136 (tr_freehook): Call lock_and_info and pass symbol info as additional
40137 parameter to tr_where.
40138 (tr_mallochook): Likewise.
40139 (tr_reallochook): Likewise.
40140 (tr_memalignhook): Likewise.
40142 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40143 used and couldn't be at all thread-safe.
40145 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40147 * libio/freopen.c (freopen): Don't close old file descriptor
40148 before the new one is opened. Instead dup the new file descriptor
40149 to the old one after the new stream is created.
40150 * libio/freopen64.c (freopen64): Likewise.
40151 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40152 * libio/fileops.c (_IO_new_file_close_it): Handle new
40153 _IO_FLAGS2_NOCLOSE flag.
40154 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40155 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40156 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40157 _IO_FLAGS2_NOCLOSE flag.
40158 * include/unistd.h: Add hidden_proto for dup3.
40159 Define __have_dup3.
40160 * io/dup3.c: Define hidden symbol.
40161 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40164 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40165 when an incomplete long option is used.
40166 * posix/tst-getopt_long1.c: New file.
40167 * posix/Makefile (tests): Add tst-getopt_long1.
40170 * scripts/config.guess: Update from autoconf-2.68.
40171 * scripts/config.sub: Likewise.
40174 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40176 (has_cpuclock): ...this. New function.
40177 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40178 macro here based on has_cpuclock code.
40181 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40182 First byte (not low byte) is now always NUL.
40183 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40186 Use non-cancelable interfaces.
40189 * locale/iso-639.def: Add entry for Sorani.
40192 * include/stdlib.h: Move include protection to the right place.
40193 Define abort_msg_s. Declare __abort_msg with it.
40194 * stdlib/abort.c (__abort_msg): Adjust type.
40195 * assert/assert.c (__assert_fail_base): New function. Majority
40196 of code from __assert_fail. Allocate memory for __abort_msg with
40198 (__assert_fail): Now call __assert_fail_base.
40199 * assert/assert-perr.c: Remove bulk of implementation. Use
40200 __assert_fail_base.
40201 * include/assert.hL Declare __assert_fail_base.
40202 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40204 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40206 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40210 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40211 until all modules are registered in the DTV.
40212 * elf/Makefile: Add rules to build and run tst-tls19.
40213 * elf/tst-tls19.c: New file.
40214 * elf/tst-tls19mod1.c: New file.
40215 * elf/tst-tls19mod2.c: New file.
40216 * elf/tst-tls19mod3.c: New file.
40217 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40220 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40224 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40225 two-byte sequence errors.
40226 * iconvdata/Makefile (tests): Add bug-iconv8.
40227 * iconvdata/bug-iconv8.c: New file.
40230 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40233 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40236 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40237 (dummy_getcfa): New function.
40238 (init): Get _Unwind_GetCFA address, use dummy if not found.
40239 (backtrace_helper): In recursion check, also check whether CFA changes.
40240 (__backtrace): Completely initialize arg.
40242 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40243 storing incomplete byte sequence in state object. Avoid testing for
40244 guaranteed too small input if we know there is enough data available.
40246 2011-05-11 Andreas Schwab <schwab@redhat.com>
40248 * Makeconfig (+link-pie): Indent.
40249 * Rules (binaries-pie): Define if $(have-fpie) and
40251 (binaries-shared): Also filter out $(binaries-pie).
40252 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40253 * nscd/Makefile (others-pie): Add nscd.
40254 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40255 ($(objpfx)nscd): Remove command override.
40256 * login/Makefile (others-pie): Add pt_chown.
40257 ($(objpfx)pt_chown): Remove command override.
40258 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40259 remove command overrides.
40261 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40263 * libio/tst_putwc.c: Fix error messages.
40266 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40267 currently writing and seek to current position when not.
40268 * libio/Makefile (tests): Add bug-fclose1.
40269 * libio/bug-fclose1.c: New file.
40271 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40274 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40275 don't set DF_1_NODELETE here.
40276 (do_lookup_x): When entering new entry test for copy relocation
40277 and if necessary set DF_1_NODELETE flag.
40278 * elf/tst-unique4.cc: New file.
40279 * elf/tst-unique4.h: New file.
40280 * elf/tst-unique4lib.cc: New file.
40281 * elf/Makefile: Add rules to build and run tst-unique4.
40282 Patch by Piotr Bury <pbury@goahead.com>.
40284 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40287 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40290 * misc/mntent_r.c (addmntent): Flush the stream after the output
40293 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40294 (is_trusted_path_normalize): Skip initial colon. Append slash
40295 to empty buffer. Duplicate is_trusted_path code but allow
40296 constructed patch to be prefix.
40297 (is_dst): Allow $ORIGIN followed by /.
40298 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40299 Correct testing of result of is_trusted_path_normalize
40300 (decompose_rpath): Fix warning.
40302 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40305 * grp/initgroups.c (internal_getgrouplist): When we found the service
40306 list through the initgroups entry in nsswitch.conf do not always
40307 continue on a successful lookup. Don't always use the
40308 __nss_group_database value if it is set.
40309 * nss/nsswitch.conf (initgroups): Change action for successful db
40310 lookup to continue for compatibility.
40312 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40315 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40317 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40319 * iconvdata/tst-tables.sh: Likewise.
40320 * iconvdata/cp770.c: New file.
40321 * iconvdata/cp771.c: New file.
40322 * iconvdata/cp772.c: New file.
40323 * iconvdata/cp773.c: New file.
40324 * iconvdata/cp774.c: New file.
40325 * iconvdata/testdata/CP770: New file.
40326 * iconvdata/testdata/CP770..UTF8: New file.
40327 * iconvdata/testdata/CP771: New file.
40328 * iconvdata/testdata/CP771..UTF8: New file.
40329 * iconvdata/testdata/CP772: New file.
40330 * iconvdata/testdata/CP772..UTF8: New file.
40331 * iconvdata/testdata/CP773: New file.
40332 * iconvdata/testdata/CP773..UTF8: New file.
40333 * iconvdata/testdata/CP774: New file.
40334 * iconvdata/testdata/CP774..UTF8: New file.
40336 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40338 * iconvdata/gen-8bit-gap.sh: Likewise.
40339 * iconvdata/gen-8bit.sh: Likewise.
40341 * locale/iso-639.def: Add ary entry.
40344 * locale/C-translit.h.in: Add U20A1 transliteration.
40347 * locale/iso-639.def: Add wae entry.
40348 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40351 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40355 * locale/C-translit.h.in: Add entry for U20B9.
40356 Patch by pravin.d.s@gmail.com.
40358 2011-05-08 Ulrich Drepper <drepper@gmail.com>
40361 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40362 ENAMETOOLONG use generic getcwd.
40363 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40364 in rtld. Use *stat64.
40365 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40366 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40367 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40368 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40369 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40370 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40371 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40372 __fstatat64 macros.
40373 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40374 * dirent/rewinddir.c: Add libc_hidden_def.
40375 * sysdeps/mach/hurd/rewinddir.c: Likewise.
40376 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
40378 * include/dirent.h (__alloc_dir): Add flags parameter.
40379 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40380 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40382 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40383 from fdopendir if O_CLOEXEC is already set.
40385 2011-03-15 Alan Modra <amodra@gmail.com>
40387 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40388 l_tls_firstbyte_offset non-zero. Save padding offset in
40389 l_tls_firstbyte_offset for later use.
40390 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40391 freeing static tls block.
40393 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40395 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40396 where #ifdef was intended. The intent is to prevent ARG_MAX from
40397 being defined by the kernel headers.
40399 2011-05-07 Ulrich Drepper <drepper@gmail.com>
40402 * resolv/resolv.h: Define RES_NOTLDQUERY.
40403 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40404 no-tld-query and set RES_NOTLDQUERY.
40405 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40406 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40407 modern BIND to search name as TLD unless forbidden.
40409 2011-05-07 Petr Baudis <pasky@suse.cz>
40410 Ulrich Drepper <drepper@gmail.com>
40413 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40414 (is_trusted_path): ...to here.
40415 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40416 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40417 using is_trusted_path_normalize() in setuid scripts.
40419 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40421 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40422 __BEGIN/__END_DECLS.
40424 2011-05-06 Ulrich Drepper <drepper@gmail.com>
40426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40427 NSS_STATUS_NOTFOUND if no record was found.
40429 2011-05-05 Andreas Schwab <schwab@redhat.com>
40431 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40432 (headers-not-in-tirpc): Remove rpc/netdb.h
40433 * resolv/netdb.h: Revert last change.
40435 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40437 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40438 circular dependency between libgcc.a and libc.a.
40440 2011-05-05 Andreas Schwab <schwab@redhat.com>
40442 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40443 * nis/Makefile: Don't install rpcsvc/*.
40444 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40445 instead of <rpc/types.h>.
40446 (MAXHOSTNAMELEN): Define.
40448 2011-05-03 Andreas Schwab <schwab@redhat.com>
40450 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40452 2011-04-28 Maciej Babinski <mbabinski@google.com>
40455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40456 gethostbyname4_r when IPv6 results are possible.
40458 2011-05-02 Ulrich Drepper <drepper@gmail.com>
40461 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40462 _PC_PIPE_BUF handling.
40464 2011-04-30 Bruno Haible <bruno@clisp.org>
40467 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40468 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40470 * inet/getnameinfo.c (getnameinfo): Likewise.
40472 2011-04-29 Ulrich Drepper <drepper@gmail.com>
40474 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40475 to groups setting in database lookup.
40476 * nss/nsswitch.conf: Add initgroups entry.
40478 2011-04-22 Ulrich Drepper <drepper@gmail.com>
40481 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40483 Patch by Eric Blake <eblake@redhat.com>.
40485 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40487 * sunrpc/Makefile (need-export-routines): Add svc_run.
40488 (routines): Remove svc_run.
40489 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40490 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40491 * sunrpc/svc_run.c (svc_run): Likewise.
40492 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40494 2011-04-21 Ulrich Drepper <drepper@gmail.com>
40496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40497 problem in reallocation in last patch.
40499 2011-04-20 Ulrich Drepper <drepper@gmail.com>
40501 * sunrpc/Makefile: Move inclusion of Rules.
40503 2011-04-19 Ulrich Drepper <drepper@gmail.com>
40505 * nss/nss_files/files-initgroups.c: New file.
40506 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40507 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40508 _nss_files_initgroups_dyn.
40510 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40512 * elf/elf.h (R_ARM_IRELATIVE): Define.
40514 2011-04-19 Ulrich Drepper <drepper@gmail.com>
40516 * po/ru.po: Update from translation team.
40518 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40520 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40523 2011-02-06 Mike Frysinger <vapier@gentoo.org>
40526 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40527 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40532 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40536 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40537 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40540 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40543 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40545 * stdlib/bug-getcontext.c: New file.
40546 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40548 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40550 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40551 instructions into .machine "z9-109".
40552 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40553 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40555 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40557 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40558 between environment variables and auxiliary vector.
40560 2011-04-16 Ulrich Drepper <drepper@gmail.com>
40562 * Makefile: Add rules to build linkobj/libc.so.
40563 * include/libc-symbols.h: Define libc_hidden_nolink.
40564 * include/rpc/auth.h: Mark functions which are to be hidden.
40565 * include/rpc/auth_des.h: Likewise.
40566 * include/rpc/auth_unix.h: Likewise.
40567 * include/rpc/clnt.h: Likewise.
40568 * include/rpc/des_crypt.h: Likewise.
40569 * include/rpc/key_prot.h: Likewise.
40570 * include/rpc/pmap_clnt.h: Likewise.
40571 * include/rpc/pmap_prot.h: Likewise.
40572 * include/rpc/pmap_rmt.h: Likewise.
40573 * include/rpc/rpc_msg.h: Likewise.
40574 * include/rpc/svc.h: Likewise.
40575 * include/rpc/svc_auth.h: Likewise.
40576 * include/rpc/xdr.h: Likewise.
40577 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40578 * nss/Makefile: Likewise.
40579 * sunrpc/Makefile: Don't install headers. Build library with normal
40580 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40581 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40582 for the compat linking library. Remove use of INTDEF/INTUSE.
40583 * sunrpc/auth_none.c: Likewise.
40584 * sunrpc/auth_unix.c: Likewise.
40585 * sunrpc/authdes_prot.c: Likewise.
40586 * sunrpc/authuxprot.c: Likewise.
40587 * sunrpc/clnt_gen.c: Likewise.
40588 * sunrpc/clnt_perr.c: Likewise.
40589 * sunrpc/clnt_raw.c: Likewise.
40590 * sunrpc/clnt_simp.c: Likewise.
40591 * sunrpc/clnt_tcp.c: Likewise.
40592 * sunrpc/clnt_udp.c: Likewise.
40593 * sunrpc/clnt_unix.c: Likewise.
40594 * sunrpc/des_crypt.c: Likewise.
40595 * sunrpc/des_soft.c: Likewise.
40596 * sunrpc/get_myaddr.c: Likewise.
40597 * sunrpc/key_call.c: Likewise.
40598 * sunrpc/key_prot.c: Likewise.
40599 * sunrpc/netname.c: Likewise.
40600 * sunrpc/pm_getmaps.c: Likewise.
40601 * sunrpc/pm_getport.c: Likewise.
40602 * sunrpc/pmap_clnt.c: Likewise.
40603 * sunrpc/pmap_prot.c: Likewise.
40604 * sunrpc/pmap_prot2.c: Likewise.
40605 * sunrpc/pmap_rmt.c: Likewise.
40606 * sunrpc/publickey.c: Likewise.
40607 * sunrpc/rpc_cmsg.c: Likewise.
40608 * sunrpc/rpc_common.c: Likewise.
40609 * sunrpc/rpc_dtable.c: Likewise.
40610 * sunrpc/rpc_prot.c: Likewise.
40611 * sunrpc/rpc_thread.c: Likewise.
40612 * sunrpc/rtime.c: Likewise.
40613 * sunrpc/svc.c: Likewise.
40614 * sunrpc/svc_auth.c: Likewise.
40615 * sunrpc/svc_authux.c: Likewise.
40616 * sunrpc/svc_raw.c: Likewise.
40617 * sunrpc/svc_run.c: Likewise.
40618 * sunrpc/svc_simple.c: Likewise.
40619 * sunrpc/svc_tcp.c: Likewise.
40620 * sunrpc/svc_udp.c: Likewise.
40621 * sunrpc/svc_unix.c: Likewise.
40622 * sunrpc/svcauth_des.c: Likewise.
40623 * sunrpc/xcrypt.c: Likewise.
40624 * sunrpc/xdr.c: Likewise.
40625 * sunrpc/xdr_array.c: Likewise.
40626 * sunrpc/xdr_float.c: Likewise.
40627 * sunrpc/xdr_intXX_t.c: Likewise.
40628 * sunrpc/xdr_mem.c: Likewise.
40629 * sunrpc/xdr_rec.c: Likewise.
40630 * sunrpc/xdr_ref.c: Likewise.
40631 * sunrpc/xdr_sizeof.c: Likewise.
40632 * sunrpc/xdr_stdio.c: Likewise.
40634 2011-04-10 Ulrich Drepper <drepper@gmail.com>
40637 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40638 * sysdeps/ia64/dl-tls.h: Likewise.
40639 * sysdeps/powerpc/dl-tls.h: Likewise.
40640 * sysdeps/s390/dl-tls.h: Likewise.
40641 * sysdeps/sh/dl-tls.h: Likewise.
40642 * sysdeps/sparc/dl-tls.h: Likewise.
40643 * sysdeps/x86_64/dl-tls.h: Likewise.
40644 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40646 2011-03-14 Andreas Schwab <schwab@redhat.com>
40648 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40649 rpath element also skip the following colon.
40650 (expand_dynamic_string_token): Add is_path parameter and pass
40651 down to DL_DST_REQUIRED and _dl_dst_substitute.
40652 (decompose_rpath): Call expand_dynamic_string_token with
40653 non-zero is_path. Ignore empty rpaths.
40654 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40657 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40662 2011-04-09 Ulrich Drepper <drepper@gmail.com>
40665 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40666 Patch by Filipe David Manana <fdmanana@apache.org>.
40668 2011-04-07 Andreas Schwab <schwab@redhat.com>
40670 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40671 Maintain aligned stack.
40672 (CHECK_RSP): Remove unused macro.
40674 2011-04-03 Ulrich Drepper <drepper@gmail.com>
40676 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40677 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40679 2011-04-02 Ulrich Drepper <drepper@gmail.com>
40681 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40683 * include/features.h: Mention __USE_XOPEN2K8 in comment.
40685 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40688 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40689 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40690 * sysdeps/x86_64/memmove.c: New file.
40691 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40692 (memcpy): Renamed to ...
40693 (__new_memcpy): This.
40694 (memcpy): Provide GLIBC_2_14 memcpy.
40695 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40696 (memcpy): Provide GLIBC_2_2_5 memcpy.
40698 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40701 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40703 2011-03-30 Andreas Schwab <schwab@redhat.com>
40705 * misc/syncfs.c: New file.
40706 * misc/Makefile (routines): Add syncfs.
40707 * posix/unistd.h: Declare syncfs.
40708 * sysdeps/unix/syscalls.list: Add syncfs.
40710 2011-04-01 Andreas Schwab <schwab@redhat.com>
40712 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40716 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40719 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40722 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40726 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40728 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40732 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40733 sync_file_range.c with -fexceptions.
40734 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40735 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40736 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40737 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40738 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40739 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40740 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40741 sync_file_range as cancellation point
40742 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40743 now a wrapper around __call_sync_file_range with cancellation handling.
40744 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40745 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40746 function name to __call_sync_file_range.
40747 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40748 Add call_sync_file_range.
40750 2011-04-01 Andreas Schwab <schwab@redhat.com>
40752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40755 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40757 * iconv/iconv.h: Fix typo in comment.
40758 * io/fcntl.h: Likewise.
40759 * libio/stdio.h: Likewise.
40760 * posix/spawn.h: Likewise.
40761 * posix/unistd.h: Likewise.
40762 * stdlib/stdlib.h: Likewise.
40763 * time/time.h: Likewise.
40764 * wcsmbs/wchar.h: Likewise.
40766 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40767 open_by_handle): Add.
40768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40769 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40770 Augment a few comments.
40771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40772 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40773 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40776 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40779 * io/fcntl.h (AT_EMPTY_PATH): Define.
40781 2011-03-30 Ulrich Drepper <drepper@gmail.com>
40783 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40784 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40785 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40787 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
40788 * Versions.def: Add GLIBC_2.14.
40789 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40792 2011-03-22 Ulrich Drepper <drepper@gmail.com>
40794 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40796 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40798 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40801 * string/test-strncmp.c (do_page_test): New function.
40802 (check2): Likewise.
40803 (test_main): Call check2.
40804 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40806 2011-03-20 Ulrich Drepper <drepper@gmail.com>
40809 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40810 Handle cache information in CPU leaf 4.
40811 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40813 2011-03-18 Ulrich Drepper <drepper@gmail.com>
40816 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40817 character representation.
40818 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40820 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40822 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40823 END(__isnan) to END(__isnanf) to match function entry point/label
40824 EALIGN(__isnanf,...).
40826 2011-03-10 Jakub Jelinek <jakub@redhat.com>
40828 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40830 2011-03-10 Ulrich Drepper <drepper@gmail.com>
40833 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40834 copy from the symbol referenced in the relocation to initialize the
40836 Patch by Piotr Bury <pbury@goahead.com>.
40837 * elf/Makefile: Add rules to build and tst-unique3.
40838 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40839 * elf/tst-unique3.cc: New file.
40840 * elf/tst-unique3.h: New file.
40841 * elf/tst-unique3lib.cc: New file.
40842 * elf/tst-unique3lib2.cc: New file.
40844 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40846 2011-03-10 Mike Frysinger <vapier@gentoo.org>
40848 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40849 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40852 2011-03-06 Ulrich Drepper <drepper@gmail.com>
40854 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40855 to-be-loaded object along a path to loader is ld.so.
40857 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40858 Ulrich Drepper <drepper@gmail.com>
40860 * sysdeps/x86_64/memset.S: After aligning destination, code
40861 branches to different locations depending on the value of
40862 misalignment, when multiarch is enabled. Fix this.
40864 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40866 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40867 Set _x86_64_preferred_memory_instruction for AMD processsors.
40868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40869 Set bit_Prefer_SSE_for_memop for AMD processors.
40871 2011-03-04 Ulrich Drepper <drepper@gmail.com>
40873 * libio/fmemopen.c (fmemopen): Optimize a bit.
40875 2011-03-03 Andreas Schwab <schwab@redhat.com>
40877 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40879 2011-03-03 Roland McGrath <roland@redhat.com>
40881 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40883 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40885 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40886 __bzero_ultra1 instead of __memset_ultra1.
40888 2011-02-23 Andreas Schwab <schwab@redhat.com>
40889 Ulrich Drepper <drepper@gmail.com>
40892 * include/link.h (struct link_map): Add l_orig_initfini.
40893 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40894 returning unsuccessfully.
40895 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40896 close of a file loaded at startup, restore the original l_initfini
40898 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40899 list, store the pointer.
40900 * elf/Makefile ($(objpfx)noload-mem): New rule.
40901 (noload-ENV): Define.
40902 (tests): Add $(objpfx)noload-mem.
40903 * elf/noload.c: Include <memcheck.h>.
40904 (main): Call mtrace. Close all opened handles.
40906 2011-02-17 Andreas Schwab <schwab@redhat.com>
40909 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40910 dependencies are missing.
40912 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40914 Fix __if_freereq crash: Unlike the generic version which uses free,
40916 * sysdeps/mach/hurd/ifreq.h: New file.
40918 2011-01-27 Petr Baudis <pasky@suse.cz>
40919 Ulrich Drepper <drepper@gmail.com>
40922 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40923 to extend_alloca().
40924 * stdio-common/bug23.c: New file.
40925 * stdio-common/Makefile (tests): Add bug23.
40927 2010-09-28 Andreas Schwab <schwab@redhat.com>
40928 Ulrich Drepper <drepper@gmail.com>
40931 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40932 before performing relro protection. At old place add assertion
40933 to make sure nothing changed.
40935 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40936 Glauber de Oliveira Costa <glommer@gmail.com>
40938 * elf/elf.h: Add new ARM TLS relocs.
40940 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40943 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40945 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40947 * sysdeps/wordsize-64/tst-writev.c: New file.
40949 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40951 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40952 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40953 insns in _dl_start to prevent a TOC reference before relocs are
40956 2011-02-15 Ulrich Drepper <drepper@gmail.com>
40959 * Makeconfig: Remove RANLIB definition.
40960 * Makerules: Don't use RANLIB.
40961 * aclocal.m4: Remove ranlib test.
40962 * configure.in: No need to check for ranlib.
40963 * elf/rtld-Rules: Don't use RANLIB.
40965 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40967 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40969 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40970 inclusion protection macro.
40972 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40973 SIGRTMIN and SIGRTMAX and print information in that case only when
40974 SIGRTMIN is defined.
40976 2011-02-11 Jakub Jelinek <jakub@redhat.com>
40978 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40979 arginfo fn returning -1.
40981 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40982 and thousands string is zero terminated.
40984 2011-02-03 Andreas Schwab <schwab@redhat.com>
40986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40987 sysdeps/unix/sysv/linux/bits/socket.h.
40989 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40991 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40992 (__CPU_COUNT): Remove old macros.
40993 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40994 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40995 (__CPU_ALLOC, __CPU_FREE): Add macros.
40996 (__sched_cpualloc, __sched_cpufree): Add declarations.
40998 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41000 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41001 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41002 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41003 (readdhstai): Return value of addhstaiX call.
41004 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41005 (addgrbyX): Return value returned by cache_addgr.
41006 (readdgrbyname): Return value returned by addgrbyX.
41007 (readdgrbygid): Likewise.
41008 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41009 (addpwbyX): Return value returned by cache_addpw.
41010 (readdpwbyname): Return value returned by addhstbyX.
41011 (readdpwbyuid): Likewise.
41012 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41013 (addservbyX): Return value returned by cache_addserv.
41014 (readdservbyname): Return value returned by addservbyX:
41015 (readdservbyport): Likewise.
41016 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41017 (addhstbyX): Return value returned by cache_addhst.
41018 (readdhstbyname): Return value returned by addhstbyX.
41019 (readdhstbyaddr): Likewise.
41020 (readdhstbynamev6): Likewise.
41021 (readdhstbyaddrv6): Likewise.
41022 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41023 (readdinitgroups): Return value returned by addinitgroupsX.
41024 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41025 (prune_cache): Keep track of timeout value of re-added entries.
41026 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41027 * nscd/nscd.h: Adjust prototypes of readd* functions.
41029 2011-02-04 Roland McGrath <roland@redhat.com>
41031 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41032 (nis_stats): Likewise.
41033 * nis/nis_modify.c (nis_modify): Likewise.
41034 * nis/nis_remove.c (nis_remove): Likewise.
41035 * nis/nis_add.c (nis_add): Likewise.
41037 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41039 * posix/fnmatch_loop.c: Add some consts.
41041 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41043 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41046 * config.make.in (config-cflags-novzeroupper): Define.
41047 * configure.in: Substitute libc_cv_cc_novzeroupper.
41048 * elf/Makefile (AVX-CFLAGS): Define.
41049 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41050 (CFLAGS-tst-auditmod4a.c): Likewise.
41051 (CFLAGS-tst-auditmod4b.c): Likewise.
41052 (CFLAGS-tst-auditmod6b.c): Likewise.
41053 (CFLAGS-tst-auditmod6c.c): Likewise.
41054 (CFLAGS-tst-auditmod7b.c): Likewise.
41055 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41057 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41059 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41060 function to the callback.
41061 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41063 2011-02-02 Andreas Schwab <schwab@redhat.com>
41065 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41068 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41071 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41073 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41075 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41078 * elf/Makefile: Add rules to build and run new test.
41079 * elf/tst-initorder.c: New file.
41080 * elf/tst-initorder.exp: New file.
41081 * elf/tst-initordera1.c: New file.
41082 * elf/tst-initordera2.c: New file.
41083 * elf/tst-initordera3.c: New file.
41084 * elf/tst-initordera4.c: New file.
41085 * elf/tst-initorderb1.c: New file.
41086 * elf/tst-initorderb2.c: New file.
41087 * elf/tst-order-a1.c: New file.
41088 * elf/tst-order-a2.c: New file.
41089 * elf/tst-order-a3.c: New file.
41090 * elf/tst-order-a4.c: New file.
41091 * elf/tst-order-b1.c: New file.
41092 * elf/tst-order-b2.c: New file.
41093 * elf/tst-order-main.c: New file.
41094 New test case by George Gensure <werkt0@gmail.com>.
41096 2010-10-01 Andreas Schwab <schwab@redhat.com>
41098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41099 decoding ACE if AI_CANONIDN.
41101 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41103 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41105 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41107 * version.h (RELEASE): Bump for 2.13 release.
41108 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41110 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41112 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41114 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41115 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41116 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41117 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41119 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41121 * posix/getconf.c: Update copyright year.
41122 * catgets/gencat.c: Likewise.
41123 * csu/version.c: Likewise.
41124 * debug/catchsegv.sh: Likewise.
41125 * debug/xtrace.sh: Likewise.
41126 * elf/ldconfig.c: Likewise.
41127 * elf/ldd.bash.in: Likewise.
41128 * elf/sprof.c (print_version): Likewise.
41129 * iconv/iconv_prog.c: Likewise.
41130 * iconv/iconvconfig.c: Likewise.
41131 * locale/programs/locale.c: Likewise.
41132 * locale/programs/localedef.c: Likewise.
41133 * malloc/memusage.sh: Likewise.
41134 * malloc/mtrace.pl: Likewise.
41135 * nscd/nscd.c (print_version): Likewise.
41136 * nss/getent.c: Likewise.
41138 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41139 PF_CAIF, and PF_ALG.
41140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41142 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41144 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41145 (modules-names): Use them.
41146 (ifunc-test-modules, ifunc-pie-tests): Define.
41147 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41148 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41149 (test-extras): Likewise.
41150 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41151 $(compile-command.c).
41152 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41153 (all-built-dso): Define.
41154 (check-textrel.out, check-execstack.out): Depend on it.
41156 * configure.in: Don't override --enable-multi-arch.
41158 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41161 * nscd/hstcache.c (tryagain): Define.
41162 (cache_addhst): Return tryagain not notfound for temporary errors.
41163 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41166 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41169 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41170 to make the syscall.
41171 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41174 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41175 and fall back to matching as normal character if the string ends before
41176 the matching ']' is found. This is what POSIX requires.
41177 * posix/testfnm.c: Adjust test result.
41178 * posix/globtest.sh: Adjust test result. Add new test.
41179 * posix/tst-fnmatch.input: Likewise.
41180 * posix/tst-fnmatch2.c: Add new test.
41182 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41184 * elf/Makefile (check-execstack): Revert last change. Depend on
41186 (check-execstack.h): New target.
41187 (generated): Add check-execstack.h.
41188 * elf/check-execstack.c: Include "check-execstack.h".
41189 (main): Revert last change.
41190 (handle_file): Return zero if GNU_STACK is absent and
41191 DEFAULT_STACK_PERMS doesn't include PF_X.
41193 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41195 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41196 in child fails because the descriptor is already closed.
41197 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41198 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41199 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41202 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41206 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41207 temporary buffer used to handle multi lookups locally.
41208 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41210 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41212 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41215 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41217 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41218 alignment for SSE2.
41220 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41223 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41224 characters. When rounding increased number of integer digits recompute
41226 * stdio-common/tst-grouping.c: New file.
41227 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41229 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41231 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41232 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41234 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41236 * bits/select.h: Likewise.
41238 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41240 * po/ja.po: Update from translation team.
41242 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41245 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41246 implementation just like for lxstat, fxstatat, et al.
41248 2010-12-27 Jim Meyering <meyering@redhat.com>
41251 * posix/regexec.c (build_trtable): Return failure indication upon
41252 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41254 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41257 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41258 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41259 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41260 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41263 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41266 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41267 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41269 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41271 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41272 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41273 script has SORT_BY_INIT_PRIORITY.
41274 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41275 NO_CTORS_DTORS_SECTIONS is defined.
41276 * elf/soinit.c: Likewise.
41277 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41278 NO_CTORS_DTORS_SECTIONS is defined.
41279 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41280 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41281 * sysdeps/sh/init-first.c: Likewise.
41282 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41284 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41286 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41287 always use the slow path.
41289 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41291 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41292 similar rule which adds the sysdep directories to the header search in
41293 order to pick up the correct platform stackinfo.h.
41294 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41295 perform test if it is, otherwise return successfully without testing.
41296 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41297 DEFAULT_STACK_PERMS define in stackinfo.h.
41298 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41299 defined in stackinfo.h.
41300 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41301 DEFAULT_STACK_PERMS defined in stackinfo.h.
41302 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41303 * sysdeps/ia64/stackinfo.h: Likewise.
41304 * sysdeps/s390/stackinfo.h: Likewise.
41305 * sysdeps/sh/stackinfo.h: Likewise.
41306 * sysdeps/sparc/stackinfo.h: Likewise.
41307 * sysdeps/x86_64/stackinfo.h: Likewise.
41308 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41309 PF_X for powerpc64. Retain PF_X for powerpc32.
41311 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41313 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41315 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41316 GETDENTS_64BIT_ALIGNED.
41318 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41320 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41322 2010-12-10 Andreas Schwab <schwab@redhat.com>
41324 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41327 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41328 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41330 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41331 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41333 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41336 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41339 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41341 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41343 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41345 * po/it.po: Update from translation team.
41347 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41352 2010-11-30 Ulrich Drepper <drepper@gmail.com>
41354 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41356 2010-11-24 Andreas Schwab <schwab@redhat.com>
41358 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41360 (gaih_getanswer_slice): Likewise.
41362 2010-10-20 Jakub Jelinek <jakub@redhat.com>
41364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41366 2010-05-31 Petr Baudis <pasky@suse.cz>
41369 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41370 silently even in the chroot mode.
41372 2010-11-22 Ulrich Drepper <drepper@gmail.com>
41374 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41375 last patch a bit. Pretty printing
41377 2010-05-31 Petr Baudis <pasky@suse.cz>
41380 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41381 initialization of skip_initgroups_dyn.
41383 2010-11-19 Ulrich Drepper <drepper@gmail.com>
41385 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41388 2010-11-16 Ulrich Drepper <drepper@gmail.com>
41390 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41392 2010-11-11 Andreas Schwab <schwab@redhat.com>
41394 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41395 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41396 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41397 ($(objpfx)tst-fnmatch-mem): New rule.
41398 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41399 * posix/tst-fnmatch.c (main): Call mtrace.
41401 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41404 Support Intel processor model 6 and model 0x2c.
41406 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
41408 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41411 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41414 * string/test-strncasecmp.c (check_result): New function.
41415 (do_one_test): Use it.
41416 (check1): New function.
41417 (test_main): Use it.
41418 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41419 Support strcasecmp and strncasecmp.
41421 2010-11-08 Ulrich Drepper <drepper@gmail.com>
41424 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41425 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41427 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41429 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41433 * sysdeps/x86_64/multiarch/bzero.S: New file.
41434 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41435 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41436 * sysdeps/x86_64/multiarch/memset.S: New file.
41437 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41439 Set bit_Prefer_SSE_for_memop for Intel processors.
41440 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41442 (index_Prefer_SSE_for_memop): Define.
41443 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41445 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
41447 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41448 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41450 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41453 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41454 (__x86_64_raw_data_cache_size_half): Likewise.
41455 (__x86_64_raw_shared_cache_size): Likewise.
41456 (__x86_64_raw_shared_cache_size_half): Likewise.
41458 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41459 (__x86_64_raw_data_cache_size_half): Likewise.
41460 (__x86_64_raw_shared_cache_size): Likewise.
41461 (__x86_64_raw_shared_cache_size_half): Likewise.
41462 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41463 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41464 and __x86_64_raw_shared_cache_size_half. Round
41465 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41466 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41467 to multiple of 256 bytes.
41469 2010-11-03 Ulrich Drepper <drepper@gmail.com>
41472 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41473 of inacessible symlinks. Verify result of symlink before returning it.
41474 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41475 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41477 2010-10-28 Erich Ritz <erichritz@gmail.com>
41479 * math/math.h (isinf): Fix typo in comment.
41481 2010-11-01 Ulrich Drepper <drepper@gmail.com>
41483 * po/da.po: Update from translation team.
41485 2010-10-26 Ulrich Drepper <drepper@gmail.com>
41487 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41488 is added to the list.
41490 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41491 Ulrich Drepper <drepper@gmail.com>
41493 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41494 the global list here. Move code to...
41495 (_dl_add_to_namespace_list): ...here. New function.
41496 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41497 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41498 * elf/dl-load.c (lose): Don't remove the element from the list.
41499 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41500 (_dl_map_object): Likewise.
41502 2010-10-25 Ulrich Drepper <drepper@gmail.com>
41505 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41506 into all bytes of SSE register.
41507 Patch by Richard Li <richardpku@gmail.com>.
41509 2010-10-24 Ulrich Drepper <drepper@gmail.com>
41512 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41515 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41517 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41518 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41519 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41520 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41525 2010-10-22 Andreas Schwab <schwab@redhat.com>
41527 * include/dlfcn.h (__RTLD_SECURE): Define.
41528 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41529 mode & __RTLD_SECURE instead.
41530 (open_path): Rename preloaded parameter to secure.
41531 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41532 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41533 * elf/dl-deps.c (openaux): Likewise.
41534 * elf/rtld.c (struct map_args): Remove is_preloaded.
41535 (map_doit): Don't use it.
41536 (dl_main): Likewise.
41537 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41538 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41540 2010-09-09 Andreas Schwab <schwab@redhat.com>
41542 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41543 (sysd-rules-targets): Remove duplicates.
41544 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41545 rtld-%.$o dependency.
41547 2010-10-18 Andreas Schwab <schwab@redhat.com>
41549 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41550 _dl_map_object do it.
41552 2010-10-19 Ulrich Drepper <drepper@gmail.com>
41554 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41555 fast fma builtins, define the macros in the C99 standard.
41556 (FP_FAST_FMAF): Likewise.
41557 (FP_FAST_FMAL): Likewise.
41558 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41560 * bits/mathdef.h: Update copyright year.
41561 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41563 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41565 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41566 builtins, define the macros in the C99 standard.
41567 (FP_FAST_FMAF): Likewise.
41568 (FP_FAST_FMAL): Likewise.
41569 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41571 (FP_FAST_FMAF): Likewise.
41573 2010-10-15 Jakub Jelinek <jakub@redhat.com>
41576 * math/libm-test.inc (fma_test): Some new testcases.
41577 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41578 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41579 y and infinite z. Do multiplication by C already in long double.
41580 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41582 y and infinite z. Do bitwise or of inexact bit into u.d.
41583 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41584 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41585 * sysdeps/i386/fpu/s_fma.S: Removed.
41586 * sysdeps/i386/fpu/s_fmal.S: Removed.
41588 2010-10-16 Jakub Jelinek <jakub@redhat.com>
41591 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41593 computation is not scheduled after fetestexcept. Fix value
41594 of minimum denormal long double.
41596 2010-10-14 Jakub Jelinek <jakub@redhat.com>
41599 * math/libm-test.inc (fma_test): Add some more tests.
41600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41603 2010-10-15 Andreas Schwab <schwab@redhat.com>
41605 * scripts/data/localplt-s390-linux-gnu.data: New file.
41606 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41608 2010-10-13 Jakub Jelinek <jakub@redhat.com>
41611 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41612 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41614 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41616 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41618 if one of x and y is very large and the other is subnormal.
41619 * sysdeps/s390/fpu/s_fmaf.c: New file.
41620 * sysdeps/s390/fpu/s_fma.c: New file.
41621 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41622 * sysdeps/powerpc/fpu/s_fma.S: New file.
41623 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41624 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41625 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41627 2010-10-12 Jakub Jelinek <jakub@redhat.com>
41630 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41632 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41633 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41634 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41635 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41636 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41637 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41638 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41640 2010-10-12 Ulrich Drepper <drepper@redhat.com>
41643 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41644 * posix/bug-regex31.input: Add test case.
41646 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41648 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41649 * posix/bug-regex31.input: New file.
41652 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41653 (parse_sub_exp): Fix last change, use postorder.
41655 * posix/bug-regex31.c: New file.
41656 * posix/Makefile: Add rules to build and run bug-regex31.
41658 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41661 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41664 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41665 to have entries in sys_siglist.
41668 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41671 2010-10-07 Jakub Jelinek <jakub@redhat.com>
41674 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41675 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41676 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41677 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41678 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41679 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41680 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41681 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41682 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41683 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41684 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41685 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41686 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41687 * math/ftestexcept.c (fetestexcept): Likewise.
41688 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41689 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41690 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41691 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41692 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41693 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41694 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41696 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41699 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41702 2010-10-06 Ulrich Drepper <drepper@gmail.com>
41704 * string/bug-strstr1.c: New file.
41705 * string/Makefile: Add rules to build and run bug-strstr1.
41707 2010-10-05 Eric Blake <eblake@redhat.com>
41710 * string/str-two-way.h (two_way_long_needle): Always clear memory
41711 when skipping input due to the shift table.
41713 2010-10-03 Ulrich Drepper <drepper@gmail.com>
41716 * malloc/mcheck.c: Handle large requests.
41719 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41720 for strncmp and strncasecmp.
41721 * string/stratcliff.c: Add tests for strcmp and strncmp.
41722 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41724 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41726 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41729 2010-09-30 Andreas Jaeger <aj@suse.de>
41731 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41732 (CGROUP_SUPER_MAGIC): Define.
41733 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41734 Handle btrfs and cgroup file systems.
41735 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41738 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
41740 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41741 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41743 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41746 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41747 trying to locate the ELF header.
41749 2010-09-27 Andreas Schwab <schwab@redhat.com>
41752 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41753 Mask out sign-bit copies when constructing f_fsid.
41755 2010-09-24 Petr Baudis <pasky@suse.cz>
41757 * debug/stack_chk_fail_local.c: Add missing licence exception.
41758 * debug/warning-nop.c: Likewise.
41760 2010-09-15 Joseph Myers <joseph@codesourcery.com>
41762 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41763 implementing getdents64 using getdents syscall, set d_type if
41764 __ASSUME_GETDENTS32_D_TYPE.
41766 2010-09-16 Andreas Schwab <schwab@redhat.com>
41768 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41769 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41771 2010-09-21 Ulrich Drepper <drepper@redhat.com>
41774 * posix/unistd.h: Undo change of feature selection for ftruncate from
41777 2010-09-20 Ulrich Drepper <drepper@redhat.com>
41779 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41782 2010-09-20 Andreas Schwab <schwab@redhat.com>
41784 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41786 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41788 2010-09-14 Andreas Schwab <schwab@redhat.com>
41790 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41791 variables after CHECK_SP call.
41792 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41794 2010-09-13 Andreas Schwab <schwab@redhat.com>
41795 Ulrich Drepper <drepper@redhat.com>
41797 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41798 re-relocationg ld.so.
41799 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41800 _dl_init_paths call.
41801 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41804 2010-09-14 Ulrich Drepper <drepper@redhat.com>
41806 * resolv/res_init.c (__res_vinit): Count the default server we added.
41808 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41809 Ulrich Drepper <drepper@redhat.com>
41812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41813 (____longjmp_chk): Use %ebx for saving value across system call.
41816 2010-09-06 Andreas Schwab <schwab@redhat.com>
41818 * manual/Makefile: Don't mix pattern rules with normal rules.
41820 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41822 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41824 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41825 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41826 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41827 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41828 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41831 2010-09-04 Ulrich Drepper <drepper@redhat.com>
41834 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41835 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41837 2010-09-02 Ulrich Drepper <drepper@redhat.com>
41839 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41840 * sysdeps/x86_64/addmul_1.S: Likewise.
41841 * sysdeps/x86_64/lshift.S: Likewise.
41842 * sysdeps/x86_64/mul_1.S: Likewise.
41843 * sysdeps/x86_64/rshift.S: Likewise.
41844 * sysdeps/x86_64/sub_n.S: Likewise.
41845 * sysdeps/x86_64/submul_1.S: Likewise.
41847 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41849 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41850 Define __sched_param instead of SCHED_* and sched_param when
41851 <bits/sched.h> is included with __need_schedparam defined.
41852 * bits/sched.h [__need_schedparam]
41853 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41854 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41855 (__defined_schedparam): Define to 1.
41856 (__sched_param): New structure, identical to sched_param.
41857 (__need_schedparam): Undefine.
41859 2010-08-31 Mike Frysinger <vapier@gentoo.org>
41861 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41862 (epoll_create1): Declare.
41864 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41866 2010-08-31 Andreas Schwab <schwab@redhat.com>
41869 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41870 shifting retval into place.
41872 2010-09-01 Ulrich Drepper <drepper@redhat.com>
41874 * nis/rpcsvc/nis.h: Update copyright notice.
41875 * nis/rpcsvc/nis.x: Likewise.
41876 * nis/rpcsvc/nis_callback.h: Likewise.
41877 * nis/rpcsvc/nis_callback.x: Likewise.
41878 * nis/rpcsvc/nis_object.x: Likewise.
41879 * nis/rpcsvc/nis_tags.h: Likewise.
41880 * nis/rpcsvc/yp.h: Likewise.
41881 * nis/rpcsvc/yp.x: Likewise.
41882 * nis/rpcsvc/ypupd.h: Likewise.
41883 * nis/yp_xdr.c: Likewise.
41884 * nis/ypupdate_xdr.c: Likewise.
41886 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41887 mainly the body of pmap_getport. Add parameters to specify timeouts.
41888 (pmap_getport): Use __libc_rpc_getport.
41889 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41890 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41891 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41893 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41898 2010-08-27 Roland McGrath <roland@redhat.com>
41900 * sysdeps/i386/i686/multiarch/Makefile
41901 (CFLAGS-varshift.c): New variable.
41903 2010-08-27 Ulrich Drepper <drepper@redhat.com>
41905 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41906 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41908 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41910 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41912 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41914 * sysdeps/x86_64/strlen.S: Unroll the loop.
41915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41916 strlen-sse2 strlen-sse2-bsf.
41917 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41918 __strlen_no_bsf if bit_Slow_BSF is set.
41919 (__strlen_sse42): Removed.
41920 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41921 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41923 2010-08-25 Roland McGrath <roland@redhat.com>
41925 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41926 * sysdeps/x86_64/multiarch/varshift.c: New file.
41927 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41928 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41929 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41930 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41932 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41935 strlen-sse2 strlen-sse2-bsf.
41936 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41937 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41938 (__strlen_sse2): Removed.
41939 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41942 bit_Slow_BSF for Atom.
41943 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41944 (index_Slow_BSF): Define.
41945 (HAS_SLOW_BSF): Define.
41947 2010-08-25 Ulrich Drepper <drepper@redhat.com>
41950 * resolv/res_init.c (__res_vinit): When no server address at all
41951 is given default to loopback.
41953 2010-08-24 Roland McGrath <roland@redhat.com>
41955 * configure.in: Remove config-name.h generation.
41956 * configure: Regenerated.
41957 * config-name.in: File removed.
41958 * scripts/config-uname.sh: New file.
41959 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41960 ($(objdir)config-name.h): New target.
41962 * sunrpc/rpc_parse.h: Avoid nested comment.
41964 2010-08-24 Richard Henderson <rth@redhat.com>
41965 Ulrich Drepper <drepper@redhat.com>
41966 H.J. Lu <hongjiu.lu@intel.com>
41968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41970 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41971 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41972 _mm_alignr_epi8 with _mm_loadu_si128.
41973 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41974 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41975 (__m128i_shift_right): Removed.
41976 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41977 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41978 * sysdeps/x86_64/multiarch/varshift.h: New file.
41979 * sysdeps/x86_64/multiarch/varshift.S: New file.
41981 2010-08-21 Mike Frysinger <vapier@gentoo.org>
41983 * configure.in: Move assembler checks to before sysdep dir checking.
41985 2010-08-20 Petr Baudis <pasky@suse.cz>
41987 * LICENSES: Sync the sunrpc license.
41989 2010-08-19 Ulrich Drepper <drepper@redhat.com>
41991 * sunrpc/auth_des.c: Update copyright notice once again.
41992 * sunrpc/auth_none.c: Likewise.
41993 * sunrpc/auth_unix.c: Likewise.
41994 * sunrpc/authdes_prot.c: Likewise.
41995 * sunrpc/authuxprot.c: Likewise.
41996 * sunrpc/bindrsvprt.c: Likewise.
41997 * sunrpc/clnt_gen.c: Likewise.
41998 * sunrpc/clnt_perr.c: Likewise.
41999 * sunrpc/clnt_raw.c: Likewise.
42000 * sunrpc/clnt_simp.c: Likewise.
42001 * sunrpc/clnt_tcp.c: Likewise.
42002 * sunrpc/clnt_udp.c: Likewise.
42003 * sunrpc/clnt_unix.c: Likewise.
42004 * sunrpc/des_crypt.c: Likewise.
42005 * sunrpc/des_soft.c: Likewise.
42006 * sunrpc/get_myaddr.c: Likewise.
42007 * sunrpc/getrpcport.c: Likewise.
42008 * sunrpc/key_call.c: Likewise.
42009 * sunrpc/key_prot.c: Likewise.
42010 * sunrpc/openchild.c: Likewise.
42011 * sunrpc/pm_getmaps.c: Likewise.
42012 * sunrpc/pm_getport.c: Likewise.
42013 * sunrpc/pmap_clnt.c: Likewise.
42014 * sunrpc/pmap_prot.c: Likewise.
42015 * sunrpc/pmap_prot2.c: Likewise.
42016 * sunrpc/pmap_rmt.c: Likewise.
42017 * sunrpc/rpc/auth.h: Likewise.
42018 * sunrpc/rpc/auth_unix.h: Likewise.
42019 * sunrpc/rpc/clnt.h: Likewise.
42020 * sunrpc/rpc/des_crypt.h: Likewise.
42021 * sunrpc/rpc/key_prot.h: Likewise.
42022 * sunrpc/rpc/netdb.h: Likewise.
42023 * sunrpc/rpc/pmap_clnt.h: Likewise.
42024 * sunrpc/rpc/pmap_prot.h: Likewise.
42025 * sunrpc/rpc/pmap_rmt.h: Likewise.
42026 * sunrpc/rpc/rpc.h: Likewise.
42027 * sunrpc/rpc/rpc_des.h: Likewise.
42028 * sunrpc/rpc/rpc_msg.h: Likewise.
42029 * sunrpc/rpc/svc.h: Likewise.
42030 * sunrpc/rpc/svc_auth.h: Likewise.
42031 * sunrpc/rpc/types.h: Likewise.
42032 * sunrpc/rpc/xdr.h: Likewise.
42033 * sunrpc/rpc_clntout.c: Likewise.
42034 * sunrpc/rpc_cmsg.c: Likewise.
42035 * sunrpc/rpc_common.c: Likewise.
42036 * sunrpc/rpc_cout.c: Likewise.
42037 * sunrpc/rpc_dtable.c: Likewise.
42038 * sunrpc/rpc_hout.c: Likewise.
42039 * sunrpc/rpc_main.c: Likewise.
42040 * sunrpc/rpc_parse.c: Likewise.
42041 * sunrpc/rpc_parse.h: Likewise.
42042 * sunrpc/rpc_prot.c: Likewise.
42043 * sunrpc/rpc_sample.c: Likewise.
42044 * sunrpc/rpc_scan.c: Likewise.
42045 * sunrpc/rpc_scan.h: Likewise.
42046 * sunrpc/rpc_svcout.c: Likewise.
42047 * sunrpc/rpc_tblout.c: Likewise.
42048 * sunrpc/rpc_util.c: Likewise.
42049 * sunrpc/rpc_util.h: Likewise.
42050 * sunrpc/rpcinfo.c: Likewise.
42051 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42052 * sunrpc/rpcsvc/key_prot.x: Likewise.
42053 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42054 * sunrpc/rpcsvc/mount.x: Likewise.
42055 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42056 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42057 * sunrpc/rpcsvc/rex.x: Likewise.
42058 * sunrpc/rpcsvc/rstat.x: Likewise.
42059 * sunrpc/rpcsvc/rusers.x: Likewise.
42060 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42061 * sunrpc/rpcsvc/spray.x: Likewise.
42062 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42063 * sunrpc/rtime.c: Likewise.
42064 * sunrpc/svc.c: Likewise.
42065 * sunrpc/svc_auth.c: Likewise.
42066 * sunrpc/svc_authux.c: Likewise.
42067 * sunrpc/svc_raw.c: Likewise.
42068 * sunrpc/svc_run.c: Likewise.
42069 * sunrpc/svc_simple.c: Likewise.
42070 * sunrpc/svc_tcp.c: Likewise.
42071 * sunrpc/svc_udp.c: Likewise.
42072 * sunrpc/svc_unix.c: Likewise.
42073 * sunrpc/svcauth_des.c: Likewise.
42074 * sunrpc/xcrypt.c: Likewise.
42075 * sunrpc/xdr.c: Likewise.
42076 * sunrpc/xdr_array.c: Likewise.
42077 * sunrpc/xdr_float.c: Likewise.
42078 * sunrpc/xdr_mem.c: Likewise.
42079 * sunrpc/xdr_rec.c: Likewise.
42080 * sunrpc/xdr_ref.c: Likewise.
42081 * sunrpc/xdr_sizeof.c: Likewise.
42082 * sunrpc/xdr_stdio.c: Likewise.
42084 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42087 2010-08-19 Andreas Schwab <schwab@redhat.com>
42089 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42091 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42093 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42094 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42095 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42096 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42097 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42098 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42099 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42100 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42101 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42102 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42103 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42104 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42105 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42106 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42108 2010-07-26 Anton Blanchard <anton@samba.org>
42110 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42111 * malloc/arena.c (heap_trim): Likewise.
42113 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42115 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42118 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42120 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42122 * sysdeps/i386/elf/Makefile: New file.
42124 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42126 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42127 from fanotify_init.
42128 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42131 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42133 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42135 * sysdeps/multiarch/strcmp.S: Likewise.
42137 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42140 strncase_l-nonascii.
42141 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42142 Add strncase_l-ssse3.
42143 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42144 * sysdeps/x86_64/strcmp.S: Likewise.
42145 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42146 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42147 * sysdeps/x86_64/strncase.S: New file.
42148 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42149 * sysdeps/x86_64/strncase_l.S: New file.
42150 * string/Makefile (strop-tests): Add strncasecmp.
42151 * string/test-strncasecmp.c: New file.
42153 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42156 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42157 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42159 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42161 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42163 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42165 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42166 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42167 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42169 2010-05-01 Alan Modra <amodra@gmail.com>
42171 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42172 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42173 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42174 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42175 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42176 tidying. Don't tail-call __sigjmp_save for static lib.
42177 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42179 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42180 (CALL_MCOUNT): Add eh info, and nop after bl.
42181 (TAIL_CALL_SYSCALL_ERROR): New macro.
42182 (PSEUDO_RET): Use it.
42183 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42184 Correct save location of integer regs and cr.
42185 (_dl_profile_resolve): Correct cr save location. Delete nops
42186 after bl when SHARED. Reduce cfi size a little by better
42187 placement of cfi directives.
42188 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42189 make a stack frame. Instead use parm save area as a temp.
42190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42191 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42193 Don't make a stack frame for parent, use parm save area.
42194 Increase child stack frame to 112 bytes. Don't save unused reg,
42195 and adjust reg usage. Set up cfi on error recovery and
42196 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42198 (__makecontext): Add dummy nop after jump to exit.
42199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42200 Use correct parm save area and cr save, reduce stack frame.
42201 Correct cfi for possible PSEUDO_RET frame setup.
42202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42203 Branch to local label emitted by PSEUDO_RET rather than
42206 2010-08-12 Andreas Schwab <schwab@redhat.com>
42209 * locale/programs/locale.c (print_assignment): New function.
42210 (show_locale_vars): Use it.
42212 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42214 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42216 (struct statfs64): Likewise.
42217 (_STATFS_F_FLAGS): Define.
42218 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42220 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42221 (ST_VALID): Define locally.
42222 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42223 __statvfs_getflags, use the provided value.
42224 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42225 __ASSUME_STATFS_F_FLAGS.
42227 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42229 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42230 Add sys/fanotify.h.
42231 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42232 fanotify_mask for GLIBC_2.13.
42233 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42234 fanotify_init and fanotify_mark.
42235 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42236 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42238 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42240 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42241 prlimit64 for GLIBC_2.13.
42242 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42247 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42248 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42249 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42252 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42255 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42256 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42258 * nss/Makefile: Add rules to build and run tst-nss-test1.
42259 * shlib-versions: Add entry for libnss_test1.
42260 * nss/nss_test1.c: New file.
42261 * nss/tst-nss-test1.c: New file.
42263 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42264 (__nss_configure_lookup): Set appropriate entry in
42265 __nss_configure_lookup to true.
42266 * nss/nsswitch.h: Define enum with indeces of databases in
42267 databases and __nss_database_custom arrays. Declare
42268 __nss_database_custom.
42269 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42270 to avoid using nscd when custom rules are installed.
42271 * nss/getXXbyYY_r.c: Likewise.
42272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42274 * nss/nss_files/files-parse.c: Whitespace fixes.
42276 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42279 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42280 * posix/fnmatch_loop.c: Likewise.
42282 2010-07-17 Andi Kleen <ak@linux.intel.com>
42284 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42285 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42286 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42287 * Versions.def [GLIBC_2.13]: Add.
42289 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42291 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42292 Also fail if tpwd after pwuid call is NULL.
42294 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42296 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42297 when converting to ms.
42299 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42301 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42302 EOPNOTSUPP errors with ENOTTY.
42303 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42304 EOPNOTSUPP errors with ENOTTY.
42306 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42308 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42309 Add strcasecmp_l-ssse3.
42310 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42312 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42313 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42314 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42316 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42318 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42320 * string/Makefile (strop-tests): Add strcasecmp.
42321 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42322 strcasecmp_l-nonascii.
42323 (gen-as-const-headers): Add locale-defines.sym.
42324 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42325 * sysdeps/x86_64/strcasecmp.S: New file.
42326 * sysdeps/x86_64/strcasecmp_l.S: New file.
42327 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42328 * sysdeps/x86_64/locale-defines.sym: New file.
42329 * string/test-strcasecmp.c: New file.
42331 * string/test-strcasestr.c: Test both ends of the range of characters.
42332 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42334 2010-07-29 Roland McGrath <roland@redhat.com>
42337 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42339 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42341 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42344 2010-07-27 Andreas Schwab <schwab@redhat.com>
42346 * manual/memory.texi (Malloc Tunable Parameters): Document
42349 2010-07-26 Roland McGrath <roland@redhat.com>
42352 * configure.in (-fgnu89-inline check): Set and substitute
42353 gnu89_inline, not libc_cv_gnu89_inline.
42354 * configure: Regenerated.
42355 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42357 2010-07-26 Ulrich Drepper <drepper@redhat.com>
42359 * string/test-strnlen.c: New file.
42360 * string/Makefile (strop-tests): Add strnlen.
42361 * string/tester.c (test_strnlen): Add a few more test cases.
42362 * string/tst-strlen.c: Better error reporting.
42364 * sysdeps/x86_64/strnlen.S: New file.
42366 2010-07-24 Ulrich Drepper <drepper@redhat.com>
42368 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42369 lower-latency instructions.
42371 2010-07-23 Ulrich Drepper <drepper@redhat.com>
42373 * string/test-strcasestr.c: New file.
42374 * string/test-strstr.c: New file.
42375 * string/Makefile (strop-tests): Add strstr and strcasestr.
42376 * string/str-two-way.h: Don't undefine MAX.
42377 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42379 2010-07-21 Andreas Schwab <schwab@redhat.com>
42381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42382 strcasestr-nonascii.
42383 (CFLAGS-strcasestr-nonascii.c): Define.
42384 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42386 Remove unused attribute.
42388 2010-07-20 Roland McGrath <roland@redhat.com>
42390 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42391 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42392 ld.so.cache was broken. With it, there is no way to disable dsocaps
42393 like LD_HWCAP_MASK can disable hwcaps.
42395 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42397 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42399 2010-07-16 Ulrich Drepper <drepper@redhat.com>
42401 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42402 call in strcasestr.
42403 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42404 __strcasestr_sse42_nonascii.
42405 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42406 strcasestr-nonascii.c.
42407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42409 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
42411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42412 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42414 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42416 2010-07-09 Ulrich Drepper <drepper@redhat.com>
42418 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42421 2010-07-06 Andreas Schwab <schwab@redhat.com>
42424 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42427 2010-07-06 Ulrich Drepper <drepper@redhat.com>
42429 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42430 _PC_PIPE_BUF using F_GETPIPE_SZ.
42432 2010-07-05 Roland McGrath <roland@redhat.com>
42434 * manual/arith.texi (Rounding Functions): Fix rint description
42435 implicit in round description.
42437 2010-07-02 Ulrich Drepper <drepper@redhat.com>
42439 * elf/Makefile: Fix linking for a few tests to make recent linker
42442 2010-06-30 Andreas Schwab <schwab@redhat.com>
42444 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42445 $(common-objpfx)libc_nonshared.a.
42447 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
42449 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42450 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42451 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42452 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42453 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42454 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42455 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42456 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42471 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42472 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42473 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42474 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42475 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42476 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42477 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42478 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42479 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42480 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42481 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42482 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42498 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42500 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42501 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42502 * string/memmove.c (memmove): Renamed to ...
42503 (MEMMOVE): ...this. Default to memmove.
42504 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42505 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42508 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42509 mempcpy-ssse3-back memmove-ssse3-back.
42510 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42511 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42512 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42513 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42514 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42515 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42516 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42517 * sysdeps/x86_64/multiarch/memmove.c: New file.
42518 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42519 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42520 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42521 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42522 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42525 (index_Fast_Copy_Backward): Define.
42526 (HAS_ARCH_FEATURE): Define.
42527 (HAS_FAST_REP_STRING): Define.
42528 (HAS_FAST_COPY_BACKWARD): Define.
42530 2010-06-21 Andreas Schwab <schwab@redhat.com>
42532 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42533 Restore proper fallback handling.
42535 2010-06-19 Ulrich Drepper <drepper@redhat.com>
42538 * posix/group_member.c (__group_member): Correct checking loop.
42540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42541 OOM in getpwuid_r correctly. Return error number when the caller
42542 should return, otherwise -1.
42543 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42544 call returning > 0 value.
42545 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42547 2010-06-07 Andreas Schwab <schwab@redhat.com>
42549 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42550 libc_nonshared.a from targets in modules-names.
42552 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42554 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42557 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
42559 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42560 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42564 2010-06-02 Andreas Schwab <schwab@redhat.com>
42566 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42568 2010-06-14 Ulrich Drepper <drepper@redhat.com>
42570 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42572 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42575 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42576 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42577 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42579 2010-06-14 Roland McGrath <roland@redhat.com>
42581 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42583 2010-06-07 Jakub Jelinek <jakub@redhat.com>
42585 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42586 __REDIRECT followed by __THROW.
42587 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42588 * posix/getopt.h (getopt): Likewise.
42590 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42592 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42593 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42594 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42596 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42597 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42599 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
42601 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42603 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42607 Properly check family and model.
42609 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42611 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42613 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
42615 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42617 2010-05-21 Ulrich Drepper <drepper@redhat.com>
42619 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42622 2010-05-19 Andreas Schwab <schwab@redhat.com>
42624 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42627 2010-05-21 Andreas Schwab <schwab@redhat.com>
42629 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42630 and internal_recvmmsg.
42631 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42632 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42633 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42634 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42636 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42637 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42638 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42640 2010-05-20 Andreas Schwab <schwab@redhat.com>
42642 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42644 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
42646 POWER7 optimizations.
42647 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42648 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42650 2010-05-19 Ulrich Drepper <drepper@redhat.com>
42652 * version.h: Update for 2.13 development version.
42654 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
42656 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42657 exceptions. Return 0.
42659 2010-05-07 Roland McGrath <roland@redhat.com>
42661 * elf/ldconfig.c (main): Add a const.
42663 2010-05-06 Ulrich Drepper <drepper@redhat.com>
42665 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42666 (args_options): Add no-idn option.
42667 (ahosts_keys_int): Add idn_flags to ai_flags.
42668 (parse_option): Handle 'i' option to clear idn_flags.
42670 * malloc/malloc.c (_int_free): Possible race in the most recently
42671 added check. Only act on the data if no current modification
42674 See ChangeLog.17 for earlier changes.